@bze/bzejs 0.0.6 → 0.0.7

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 (499) hide show
  1. package/main/codegen/beezee/burner/burn_coins_proposal.js +0 -13
  2. package/main/codegen/beezee/burner/burned_coins.js +0 -13
  3. package/main/codegen/beezee/burner/events.js +0 -23
  4. package/main/codegen/beezee/burner/genesis.js +0 -21
  5. package/main/codegen/beezee/burner/params.js +0 -7
  6. package/main/codegen/beezee/burner/query.js +0 -48
  7. package/main/codegen/beezee/burner/tx.amino.js +28 -0
  8. package/main/codegen/beezee/burner/tx.js +0 -20
  9. package/main/codegen/beezee/burner/tx.registry.js +47 -0
  10. package/main/codegen/beezee/cointrunk/accepted_domain.js +0 -13
  11. package/main/codegen/beezee/cointrunk/accepted_domain_proposal.js +0 -17
  12. package/main/codegen/beezee/cointrunk/anon_articles_counter.js +1 -13
  13. package/main/codegen/beezee/cointrunk/article.js +1 -23
  14. package/main/codegen/beezee/cointrunk/events.js +1 -71
  15. package/main/codegen/beezee/cointrunk/genesis.js +1 -43
  16. package/main/codegen/beezee/cointrunk/params.js +0 -26
  17. package/main/codegen/beezee/cointrunk/publisher.js +1 -21
  18. package/main/codegen/beezee/cointrunk/publisher_proposal.js +0 -19
  19. package/main/codegen/beezee/cointrunk/query.js +0 -158
  20. package/main/codegen/beezee/cointrunk/tx.amino.js +59 -0
  21. package/main/codegen/beezee/cointrunk/tx.js +0 -51
  22. package/main/codegen/beezee/cointrunk/tx.registry.js +65 -0
  23. package/main/codegen/bze/bundle.js +16 -12
  24. package/main/codegen/bze/client.js +67 -0
  25. package/main/codegen/cosmos/app/v1alpha1/config.js +0 -31
  26. package/main/codegen/cosmos/app/v1alpha1/module.js +0 -53
  27. package/main/codegen/cosmos/app/v1alpha1/query.js +0 -18
  28. package/main/codegen/cosmos/auth/v1beta1/auth.js +1 -57
  29. package/main/codegen/cosmos/auth/v1beta1/genesis.js +0 -21
  30. package/main/codegen/cosmos/auth/v1beta1/query.js +0 -150
  31. package/main/codegen/cosmos/authz/v1beta1/authz.js +8 -63
  32. package/main/codegen/cosmos/authz/v1beta1/event.js +0 -29
  33. package/main/codegen/cosmos/authz/v1beta1/genesis.js +0 -18
  34. package/main/codegen/cosmos/authz/v1beta1/query.js +0 -101
  35. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +96 -0
  36. package/main/codegen/cosmos/authz/v1beta1/tx.js +0 -81
  37. package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +83 -0
  38. package/main/codegen/cosmos/bank/v1beta1/authz.js +0 -18
  39. package/main/codegen/cosmos/bank/v1beta1/bank.js +0 -145
  40. package/main/codegen/cosmos/bank/v1beta1/genesis.js +0 -61
  41. package/main/codegen/cosmos/bank/v1beta1/query.js +0 -248
  42. package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +101 -0
  43. package/main/codegen/cosmos/bank/v1beta1/tx.js +0 -65
  44. package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +65 -0
  45. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -229
  46. package/main/codegen/cosmos/base/kv/v1beta1/kv.js +0 -31
  47. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -31
  48. package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +0 -54
  49. package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +0 -337
  50. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -135
  51. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -45
  52. package/main/codegen/cosmos/base/store/v1beta1/listening.js +0 -17
  53. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -206
  54. package/main/codegen/cosmos/base/v1beta1/coin.js +0 -45
  55. package/main/codegen/cosmos/bundle.js +101 -73
  56. package/main/codegen/cosmos/capability/v1beta1/capability.js +1 -41
  57. package/main/codegen/cosmos/capability/v1beta1/genesis.js +1 -33
  58. package/main/codegen/cosmos/client.js +86 -0
  59. package/main/codegen/cosmos/crisis/v1beta1/genesis.js +0 -11
  60. package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +32 -0
  61. package/main/codegen/cosmos/crisis/v1beta1/tx.js +0 -22
  62. package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +47 -0
  63. package/main/codegen/cosmos/crypto/ed25519/keys.js +0 -21
  64. package/main/codegen/cosmos/crypto/hd/v1/hd.js +0 -19
  65. package/main/codegen/cosmos/crypto/keyring/v1/record.js +0 -57
  66. package/main/codegen/cosmos/crypto/multisig/keys.js +0 -21
  67. package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +0 -31
  68. package/main/codegen/cosmos/crypto/secp256k1/keys.js +0 -21
  69. package/main/codegen/cosmos/crypto/secp256r1/keys.js +0 -21
  70. package/main/codegen/cosmos/distribution/v1beta1/distribution.js +0 -216
  71. package/main/codegen/cosmos/distribution/v1beta1/genesis.js +0 -184
  72. package/main/codegen/cosmos/distribution/v1beta1/query.js +0 -234
  73. package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +91 -0
  74. package/main/codegen/cosmos/distribution/v1beta1/tx.js +0 -105
  75. package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +101 -0
  76. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +5 -21
  77. package/main/codegen/cosmos/evidence/v1beta1/genesis.js +0 -18
  78. package/main/codegen/cosmos/evidence/v1beta1/query.js +0 -51
  79. package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +34 -0
  80. package/main/codegen/cosmos/evidence/v1beta1/tx.js +0 -23
  81. package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +47 -0
  82. package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +8 -96
  83. package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +0 -18
  84. package/main/codegen/cosmos/feegrant/v1beta1/query.js +0 -87
  85. package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +57 -0
  86. package/main/codegen/cosmos/feegrant/v1beta1/tx.js +0 -41
  87. package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +65 -0
  88. package/main/codegen/cosmos/genutil/v1beta1/genesis.js +0 -19
  89. package/main/codegen/cosmos/gov/v1/genesis.js +1 -47
  90. package/main/codegen/cosmos/gov/v1/gov.js +15 -196
  91. package/main/codegen/cosmos/gov/v1/query.js +1 -209
  92. package/main/codegen/cosmos/gov/v1/tx.amino.js +180 -0
  93. package/main/codegen/cosmos/gov/v1/tx.js +0 -144
  94. package/main/codegen/cosmos/gov/v1/tx.registry.js +119 -0
  95. package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -47
  96. package/main/codegen/cosmos/gov/v1beta1/gov.js +15 -198
  97. package/main/codegen/cosmos/gov/v1beta1/query.js +1 -209
  98. package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +139 -0
  99. package/main/codegen/cosmos/gov/v1beta1/tx.js +0 -111
  100. package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +101 -0
  101. package/main/codegen/cosmos/group/v1/events.js +1 -96
  102. package/main/codegen/cosmos/group/v1/genesis.js +1 -65
  103. package/main/codegen/cosmos/group/v1/query.js +1 -359
  104. package/main/codegen/cosmos/group/v1/tx.amino.js +424 -0
  105. package/main/codegen/cosmos/group/v1/tx.js +1 -365
  106. package/main/codegen/cosmos/group/v1/tx.registry.js +281 -0
  107. package/main/codegen/cosmos/group/v1/types.js +27 -269
  108. package/main/codegen/cosmos/mint/v1beta1/genesis.js +0 -13
  109. package/main/codegen/cosmos/mint/v1beta1/mint.js +0 -32
  110. package/main/codegen/cosmos/mint/v1beta1/query.js +0 -52
  111. package/main/codegen/cosmos/nft/v1beta1/event.js +0 -45
  112. package/main/codegen/cosmos/nft/v1beta1/genesis.js +0 -49
  113. package/main/codegen/cosmos/nft/v1beta1/nft.js +0 -41
  114. package/main/codegen/cosmos/nft/v1beta1/query.js +0 -170
  115. package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +36 -0
  116. package/main/codegen/cosmos/nft/v1beta1/tx.js +0 -24
  117. package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +47 -0
  118. package/main/codegen/cosmos/orm/v1/orm.js +0 -59
  119. package/main/codegen/cosmos/orm/v1alpha1/schema.js +1 -45
  120. package/main/codegen/cosmos/params/v1beta1/params.js +0 -37
  121. package/main/codegen/cosmos/params/v1beta1/query.js +0 -68
  122. package/main/codegen/cosmos/slashing/v1beta1/genesis.js +0 -74
  123. package/main/codegen/cosmos/slashing/v1beta1/query.js +0 -68
  124. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +5 -43
  125. package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +24 -0
  126. package/main/codegen/cosmos/slashing/v1beta1/tx.js +0 -18
  127. package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +47 -0
  128. package/main/codegen/cosmos/staking/v1beta1/authz.js +1 -48
  129. package/main/codegen/cosmos/staking/v1beta1/genesis.js +0 -76
  130. package/main/codegen/cosmos/staking/v1beta1/query.js +0 -368
  131. package/main/codegen/cosmos/staking/v1beta1/staking.js +17 -366
  132. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +213 -0
  133. package/main/codegen/cosmos/staking/v1beta1/tx.js +8 -129
  134. package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +119 -0
  135. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -95
  136. package/main/codegen/cosmos/tx/v1beta1/service.js +2 -173
  137. package/main/codegen/cosmos/tx/v1beta1/tx.js +0 -261
  138. package/main/codegen/cosmos/upgrade/v1beta1/query.js +0 -102
  139. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +62 -0
  140. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +0 -37
  141. package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +65 -0
  142. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +5 -61
  143. package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +131 -0
  144. package/main/codegen/cosmos/vesting/v1beta1/tx.js +1 -94
  145. package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +83 -0
  146. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +1 -117
  147. package/main/codegen/cosmos_proto/cosmos.js +1 -42
  148. package/main/codegen/google/api/http.js +0 -69
  149. package/main/codegen/google/protobuf/any.js +0 -13
  150. package/main/codegen/google/protobuf/descriptor.js +6 -815
  151. package/main/codegen/google/protobuf/duration.js +1 -13
  152. package/main/codegen/google/protobuf/empty.js +0 -7
  153. package/main/codegen/google/protobuf/timestamp.js +1 -13
  154. package/main/codegen/helpers.js +1 -1
  155. package/main/codegen/index.js +22 -11
  156. package/main/codegen/tendermint/abci/types.js +12 -785
  157. package/main/codegen/tendermint/crypto/keys.js +0 -13
  158. package/main/codegen/tendermint/crypto/proof.js +1 -83
  159. package/main/codegen/tendermint/libs/bits/types.js +1 -21
  160. package/main/codegen/tendermint/p2p/types.js +12 -100
  161. package/main/codegen/tendermint/types/block.js +0 -17
  162. package/main/codegen/tendermint/types/evidence.js +8 -81
  163. package/main/codegen/tendermint/types/params.js +0 -84
  164. package/main/codegen/tendermint/types/types.js +18 -266
  165. package/main/codegen/tendermint/types/validator.js +1 -51
  166. package/main/codegen/tendermint/version/types.js +1 -25
  167. package/module/codegen/beezee/burner/burn_coins_proposal.js +0 -13
  168. package/module/codegen/beezee/burner/burned_coins.js +0 -13
  169. package/module/codegen/beezee/burner/events.js +0 -23
  170. package/module/codegen/beezee/burner/genesis.js +0 -19
  171. package/module/codegen/beezee/burner/params.js +0 -9
  172. package/module/codegen/beezee/burner/query.js +0 -46
  173. package/module/codegen/beezee/burner/tx.amino.js +23 -0
  174. package/module/codegen/beezee/burner/tx.js +0 -20
  175. package/module/codegen/beezee/burner/tx.registry.js +33 -0
  176. package/module/codegen/beezee/cointrunk/accepted_domain.js +0 -13
  177. package/module/codegen/beezee/cointrunk/accepted_domain_proposal.js +0 -17
  178. package/module/codegen/beezee/cointrunk/anon_articles_counter.js +1 -13
  179. package/module/codegen/beezee/cointrunk/article.js +1 -23
  180. package/module/codegen/beezee/cointrunk/events.js +1 -71
  181. package/module/codegen/beezee/cointrunk/genesis.js +1 -31
  182. package/module/codegen/beezee/cointrunk/params.js +1 -27
  183. package/module/codegen/beezee/cointrunk/publisher.js +1 -21
  184. package/module/codegen/beezee/cointrunk/publisher_proposal.js +0 -19
  185. package/module/codegen/beezee/cointrunk/query.js +0 -144
  186. package/module/codegen/beezee/cointrunk/tx.amino.js +56 -0
  187. package/module/codegen/beezee/cointrunk/tx.js +1 -52
  188. package/module/codegen/beezee/cointrunk/tx.registry.js +51 -0
  189. package/module/codegen/bze/bundle.js +16 -12
  190. package/module/codegen/bze/client.js +38 -0
  191. package/module/codegen/cosmos/app/v1alpha1/config.js +0 -37
  192. package/module/codegen/cosmos/app/v1alpha1/module.js +0 -47
  193. package/module/codegen/cosmos/app/v1alpha1/query.js +0 -20
  194. package/module/codegen/cosmos/auth/v1beta1/auth.js +1 -53
  195. package/module/codegen/cosmos/auth/v1beta1/genesis.js +0 -19
  196. package/module/codegen/cosmos/auth/v1beta1/query.js +0 -148
  197. package/module/codegen/cosmos/authz/v1beta1/authz.js +9 -60
  198. package/module/codegen/cosmos/authz/v1beta1/event.js +0 -31
  199. package/module/codegen/cosmos/authz/v1beta1/genesis.js +0 -16
  200. package/module/codegen/cosmos/authz/v1beta1/query.js +0 -91
  201. package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +91 -0
  202. package/module/codegen/cosmos/authz/v1beta1/tx.js +0 -78
  203. package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +69 -0
  204. package/module/codegen/cosmos/bank/v1beta1/authz.js +0 -21
  205. package/module/codegen/cosmos/bank/v1beta1/bank.js +0 -123
  206. package/module/codegen/cosmos/bank/v1beta1/genesis.js +0 -47
  207. package/module/codegen/cosmos/bank/v1beta1/query.js +0 -230
  208. package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +78 -0
  209. package/module/codegen/cosmos/bank/v1beta1/tx.js +0 -55
  210. package/module/codegen/cosmos/bank/v1beta1/tx.registry.js +51 -0
  211. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -193
  212. package/module/codegen/cosmos/base/kv/v1beta1/kv.js +0 -29
  213. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -31
  214. package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +0 -48
  215. package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +0 -307
  216. package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -127
  217. package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -41
  218. package/module/codegen/cosmos/base/store/v1beta1/listening.js +0 -25
  219. package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -194
  220. package/module/codegen/cosmos/base/v1beta1/coin.js +0 -52
  221. package/module/codegen/cosmos/bundle.js +101 -73
  222. package/module/codegen/cosmos/capability/v1beta1/capability.js +1 -37
  223. package/module/codegen/cosmos/capability/v1beta1/genesis.js +1 -29
  224. package/module/codegen/cosmos/client.js +57 -0
  225. package/module/codegen/cosmos/crisis/v1beta1/genesis.js +0 -13
  226. package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +27 -0
  227. package/module/codegen/cosmos/crisis/v1beta1/tx.js +0 -24
  228. package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +33 -0
  229. package/module/codegen/cosmos/crypto/ed25519/keys.js +0 -29
  230. package/module/codegen/cosmos/crypto/hd/v1/hd.js +0 -21
  231. package/module/codegen/cosmos/crypto/keyring/v1/record.js +0 -59
  232. package/module/codegen/cosmos/crypto/multisig/keys.js +0 -23
  233. package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +0 -33
  234. package/module/codegen/cosmos/crypto/secp256k1/keys.js +0 -29
  235. package/module/codegen/cosmos/crypto/secp256r1/keys.js +0 -23
  236. package/module/codegen/cosmos/distribution/v1beta1/distribution.js +1 -185
  237. package/module/codegen/cosmos/distribution/v1beta1/genesis.js +1 -153
  238. package/module/codegen/cosmos/distribution/v1beta1/query.js +1 -211
  239. package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +88 -0
  240. package/module/codegen/cosmos/distribution/v1beta1/tx.js +0 -98
  241. package/module/codegen/cosmos/distribution/v1beta1/tx.registry.js +87 -0
  242. package/module/codegen/cosmos/evidence/v1beta1/evidence.js +5 -21
  243. package/module/codegen/cosmos/evidence/v1beta1/genesis.js +0 -16
  244. package/module/codegen/cosmos/evidence/v1beta1/query.js +0 -49
  245. package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +29 -0
  246. package/module/codegen/cosmos/evidence/v1beta1/tx.js +0 -28
  247. package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +33 -0
  248. package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +9 -81
  249. package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +0 -16
  250. package/module/codegen/cosmos/feegrant/v1beta1/query.js +0 -81
  251. package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +54 -0
  252. package/module/codegen/cosmos/feegrant/v1beta1/tx.js +0 -46
  253. package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +51 -0
  254. package/module/codegen/cosmos/genutil/v1beta1/genesis.js +0 -17
  255. package/module/codegen/cosmos/gov/v1/genesis.js +1 -35
  256. package/module/codegen/cosmos/gov/v1/gov.js +16 -177
  257. package/module/codegen/cosmos/gov/v1/query.js +2 -198
  258. package/module/codegen/cosmos/gov/v1/tx.amino.js +167 -0
  259. package/module/codegen/cosmos/gov/v1/tx.js +2 -130
  260. package/module/codegen/cosmos/gov/v1/tx.registry.js +105 -0
  261. package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -35
  262. package/module/codegen/cosmos/gov/v1beta1/gov.js +16 -183
  263. package/module/codegen/cosmos/gov/v1beta1/query.js +2 -198
  264. package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +128 -0
  265. package/module/codegen/cosmos/gov/v1beta1/tx.js +2 -101
  266. package/module/codegen/cosmos/gov/v1beta1/tx.registry.js +87 -0
  267. package/module/codegen/cosmos/group/v1/events.js +1 -96
  268. package/module/codegen/cosmos/group/v1/genesis.js +1 -45
  269. package/module/codegen/cosmos/group/v1/query.js +1 -327
  270. package/module/codegen/cosmos/group/v1/tx.amino.js +429 -0
  271. package/module/codegen/cosmos/group/v1/tx.js +3 -347
  272. package/module/codegen/cosmos/group/v1/tx.registry.js +267 -0
  273. package/module/codegen/cosmos/group/v1/types.js +28 -258
  274. package/module/codegen/cosmos/mint/v1beta1/genesis.js +0 -15
  275. package/module/codegen/cosmos/mint/v1beta1/mint.js +1 -33
  276. package/module/codegen/cosmos/mint/v1beta1/query.js +0 -54
  277. package/module/codegen/cosmos/nft/v1beta1/event.js +0 -47
  278. package/module/codegen/cosmos/nft/v1beta1/genesis.js +0 -39
  279. package/module/codegen/cosmos/nft/v1beta1/nft.js +0 -43
  280. package/module/codegen/cosmos/nft/v1beta1/query.js +1 -163
  281. package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +31 -0
  282. package/module/codegen/cosmos/nft/v1beta1/tx.js +0 -26
  283. package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +33 -0
  284. package/module/codegen/cosmos/orm/v1/orm.js +0 -57
  285. package/module/codegen/cosmos/orm/v1alpha1/schema.js +1 -41
  286. package/module/codegen/cosmos/params/v1beta1/params.js +0 -35
  287. package/module/codegen/cosmos/params/v1beta1/query.js +0 -62
  288. package/module/codegen/cosmos/slashing/v1beta1/genesis.js +1 -63
  289. package/module/codegen/cosmos/slashing/v1beta1/query.js +0 -66
  290. package/module/codegen/cosmos/slashing/v1beta1/slashing.js +5 -43
  291. package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +19 -0
  292. package/module/codegen/cosmos/slashing/v1beta1/tx.js +0 -20
  293. package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +33 -0
  294. package/module/codegen/cosmos/staking/v1beta1/authz.js +1 -44
  295. package/module/codegen/cosmos/staking/v1beta1/genesis.js +1 -57
  296. package/module/codegen/cosmos/staking/v1beta1/query.js +1 -341
  297. package/module/codegen/cosmos/staking/v1beta1/staking.js +18 -339
  298. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +216 -0
  299. package/module/codegen/cosmos/staking/v1beta1/tx.js +9 -130
  300. package/module/codegen/cosmos/staking/v1beta1/tx.registry.js +105 -0
  301. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +2 -88
  302. package/module/codegen/cosmos/tx/v1beta1/service.js +3 -158
  303. package/module/codegen/cosmos/tx/v1beta1/tx.js +1 -226
  304. package/module/codegen/cosmos/upgrade/v1beta1/query.js +1 -99
  305. package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +59 -0
  306. package/module/codegen/cosmos/upgrade/v1beta1/tx.js +0 -43
  307. package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +51 -0
  308. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +5 -61
  309. package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +114 -0
  310. package/module/codegen/cosmos/vesting/v1beta1/tx.js +1 -82
  311. package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +69 -0
  312. package/module/codegen/cosmos/vesting/v1beta1/vesting.js +1 -97
  313. package/module/codegen/cosmos_proto/cosmos.js +1 -38
  314. package/module/codegen/google/api/http.js +0 -67
  315. package/module/codegen/google/protobuf/any.js +0 -95
  316. package/module/codegen/google/protobuf/descriptor.js +7 -672
  317. package/module/codegen/google/protobuf/duration.js +1 -13
  318. package/module/codegen/google/protobuf/empty.js +0 -19
  319. package/module/codegen/google/protobuf/timestamp.js +1 -13
  320. package/module/codegen/helpers.js +1 -1
  321. package/module/codegen/index.js +4 -3
  322. package/module/codegen/tendermint/abci/types.js +13 -734
  323. package/module/codegen/tendermint/crypto/keys.js +0 -15
  324. package/module/codegen/tendermint/crypto/proof.js +1 -75
  325. package/module/codegen/tendermint/libs/bits/types.js +1 -17
  326. package/module/codegen/tendermint/p2p/types.js +12 -96
  327. package/module/codegen/tendermint/types/block.js +0 -17
  328. package/module/codegen/tendermint/types/evidence.js +9 -74
  329. package/module/codegen/tendermint/types/params.js +1 -81
  330. package/module/codegen/tendermint/types/types.js +19 -259
  331. package/module/codegen/tendermint/types/validator.js +1 -47
  332. package/module/codegen/tendermint/version/types.js +1 -25
  333. package/package.json +1 -1
  334. package/src/codegen/beezee/burner/burn_coins_proposal.ts +2 -16
  335. package/src/codegen/beezee/burner/burned_coins.ts +2 -16
  336. package/src/codegen/beezee/burner/events.ts +3 -29
  337. package/src/codegen/beezee/burner/genesis.ts +2 -22
  338. package/src/codegen/beezee/burner/params.ts +2 -10
  339. package/src/codegen/beezee/burner/query.ts +5 -59
  340. package/src/codegen/beezee/burner/tx.amino.ts +32 -0
  341. package/src/codegen/beezee/burner/tx.registry.ts +37 -0
  342. package/src/codegen/beezee/burner/tx.ts +3 -26
  343. package/src/codegen/beezee/cointrunk/accepted_domain.ts +2 -16
  344. package/src/codegen/beezee/cointrunk/accepted_domain_proposal.ts +2 -20
  345. package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +2 -16
  346. package/src/codegen/beezee/cointrunk/article.ts +2 -26
  347. package/src/codegen/beezee/cointrunk/events.ts +7 -89
  348. package/src/codegen/beezee/cointrunk/genesis.ts +2 -38
  349. package/src/codegen/beezee/cointrunk/params.ts +3 -33
  350. package/src/codegen/beezee/cointrunk/publisher.ts +2 -24
  351. package/src/codegen/beezee/cointrunk/publisher_proposal.ts +2 -22
  352. package/src/codegen/beezee/cointrunk/query.ts +13 -187
  353. package/src/codegen/beezee/cointrunk/tx.amino.ts +75 -0
  354. package/src/codegen/beezee/cointrunk/tx.registry.ts +58 -0
  355. package/src/codegen/beezee/cointrunk/tx.ts +5 -64
  356. package/src/codegen/bze/bundle.ts +22 -14
  357. package/src/codegen/bze/client.ts +48 -0
  358. package/src/codegen/cosmos/app/v1alpha1/config.ts +3 -53
  359. package/src/codegen/cosmos/app/v1alpha1/module.ts +4 -124
  360. package/src/codegen/cosmos/app/v1alpha1/query.ts +3 -25
  361. package/src/codegen/cosmos/auth/v1beta1/auth.ts +4 -64
  362. package/src/codegen/cosmos/auth/v1beta1/genesis.ts +2 -25
  363. package/src/codegen/cosmos/auth/v1beta1/query.ts +15 -195
  364. package/src/codegen/cosmos/authz/v1beta1/authz.ts +16 -86
  365. package/src/codegen/cosmos/authz/v1beta1/event.ts +3 -45
  366. package/src/codegen/cosmos/authz/v1beta1/genesis.ts +2 -19
  367. package/src/codegen/cosmos/authz/v1beta1/query.ts +7 -130
  368. package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +128 -0
  369. package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +79 -0
  370. package/src/codegen/cosmos/authz/v1beta1/tx.ts +7 -101
  371. package/src/codegen/cosmos/bank/v1beta1/authz.ts +2 -19
  372. package/src/codegen/cosmos/bank/v1beta1/bank.ts +8 -200
  373. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +3 -70
  374. package/src/codegen/cosmos/bank/v1beta1/query.ts +20 -339
  375. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +110 -0
  376. package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +58 -0
  377. package/src/codegen/cosmos/bank/v1beta1/tx.ts +5 -70
  378. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +11 -325
  379. package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +3 -35
  380. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +3 -76
  381. package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +5 -64
  382. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +27 -476
  383. package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +10 -163
  384. package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +4 -52
  385. package/src/codegen/cosmos/base/store/v1beta1/listening.ts +2 -23
  386. package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +16 -259
  387. package/src/codegen/cosmos/base/v1beta1/coin.ts +5 -57
  388. package/src/codegen/cosmos/bundle.ts +159 -103
  389. package/src/codegen/cosmos/capability/v1beta1/capability.ts +4 -48
  390. package/src/codegen/cosmos/capability/v1beta1/genesis.ts +3 -46
  391. package/src/codegen/cosmos/client.ts +76 -0
  392. package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +2 -18
  393. package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +37 -0
  394. package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +37 -0
  395. package/src/codegen/cosmos/crisis/v1beta1/tx.ts +3 -28
  396. package/src/codegen/cosmos/crypto/ed25519/keys.ts +3 -27
  397. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +2 -34
  398. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +6 -83
  399. package/src/codegen/cosmos/crypto/multisig/keys.ts +2 -22
  400. package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +3 -35
  401. package/src/codegen/cosmos/crypto/secp256k1/keys.ts +3 -27
  402. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +3 -32
  403. package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +13 -237
  404. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +9 -236
  405. package/src/codegen/cosmos/distribution/v1beta1/query.ts +19 -303
  406. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +120 -0
  407. package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +100 -0
  408. package/src/codegen/cosmos/distribution/v1beta1/tx.ts +9 -123
  409. package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +8 -26
  410. package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +2 -20
  411. package/src/codegen/cosmos/evidence/v1beta1/query.ts +5 -67
  412. package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +41 -0
  413. package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +37 -0
  414. package/src/codegen/cosmos/evidence/v1beta1/tx.ts +3 -30
  415. package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +16 -137
  416. package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +2 -19
  417. package/src/codegen/cosmos/feegrant/v1beta1/query.ts +7 -115
  418. package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +74 -0
  419. package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +58 -0
  420. package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +5 -61
  421. package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +2 -21
  422. package/src/codegen/cosmos/gov/v1/genesis.ts +2 -55
  423. package/src/codegen/cosmos/gov/v1/gov.ts +34 -284
  424. package/src/codegen/cosmos/gov/v1/query.ts +19 -293
  425. package/src/codegen/cosmos/gov/v1/tx.amino.ts +226 -0
  426. package/src/codegen/cosmos/gov/v1/tx.registry.ts +121 -0
  427. package/src/codegen/cosmos/gov/v1/tx.ts +13 -173
  428. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +2 -55
  429. package/src/codegen/cosmos/gov/v1beta1/gov.ts +36 -296
  430. package/src/codegen/cosmos/gov/v1beta1/query.ts +19 -293
  431. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +174 -0
  432. package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +100 -0
  433. package/src/codegen/cosmos/gov/v1beta1/tx.ts +11 -132
  434. package/src/codegen/cosmos/group/v1/events.ts +12 -137
  435. package/src/codegen/cosmos/group/v1/genesis.ts +2 -80
  436. package/src/codegen/cosmos/group/v1/query.ts +27 -481
  437. package/src/codegen/cosmos/group/v1/tx.amino.ts +583 -0
  438. package/src/codegen/cosmos/group/v1/tx.registry.ts +310 -0
  439. package/src/codegen/cosmos/group/v1/tx.ts +34 -554
  440. package/src/codegen/cosmos/group/v1/types.ts +51 -472
  441. package/src/codegen/cosmos/mint/v1beta1/genesis.ts +2 -19
  442. package/src/codegen/cosmos/mint/v1beta1/mint.ts +3 -53
  443. package/src/codegen/cosmos/mint/v1beta1/query.ts +7 -73
  444. package/src/codegen/cosmos/nft/v1beta1/event.ts +4 -54
  445. package/src/codegen/cosmos/nft/v1beta1/genesis.ts +3 -52
  446. package/src/codegen/cosmos/nft/v1beta1/nft.ts +3 -69
  447. package/src/codegen/cosmos/nft/v1beta1/query.ts +15 -210
  448. package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +42 -0
  449. package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +37 -0
  450. package/src/codegen/cosmos/nft/v1beta1/tx.ts +3 -37
  451. package/src/codegen/cosmos/orm/v1/orm.ts +5 -140
  452. package/src/codegen/cosmos/orm/v1alpha1/schema.ts +5 -109
  453. package/src/codegen/cosmos/params/v1beta1/params.ts +3 -41
  454. package/src/codegen/cosmos/params/v1beta1/query.ts +6 -83
  455. package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +5 -100
  456. package/src/codegen/cosmos/slashing/v1beta1/query.ts +7 -87
  457. package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +9 -71
  458. package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +27 -0
  459. package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +37 -0
  460. package/src/codegen/cosmos/slashing/v1beta1/tx.ts +3 -24
  461. package/src/codegen/cosmos/staking/v1beta1/authz.ts +5 -73
  462. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +3 -91
  463. package/src/codegen/cosmos/staking/v1beta1/query.ts +29 -499
  464. package/src/codegen/cosmos/staking/v1beta1/staking.ts +44 -507
  465. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +294 -0
  466. package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +121 -0
  467. package/src/codegen/cosmos/staking/v1beta1/tx.ts +22 -172
  468. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +8 -154
  469. package/src/codegen/cosmos/tx/v1beta1/service.ts +15 -252
  470. package/src/codegen/cosmos/tx/v1beta1/tx.ts +17 -462
  471. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +11 -145
  472. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +86 -0
  473. package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +58 -0
  474. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +5 -53
  475. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +11 -109
  476. package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +155 -0
  477. package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +79 -0
  478. package/src/codegen/cosmos/vesting/v1beta1/tx.ts +7 -106
  479. package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +7 -123
  480. package/src/codegen/cosmos_proto/cosmos.ts +5 -76
  481. package/src/codegen/google/api/http.ts +4 -140
  482. package/src/codegen/google/protobuf/any.ts +2 -47
  483. package/src/codegen/google/protobuf/descriptor.ts +72 -1418
  484. package/src/codegen/google/protobuf/duration.ts +2 -30
  485. package/src/codegen/google/protobuf/empty.ts +2 -10
  486. package/src/codegen/google/protobuf/timestamp.ts +2 -28
  487. package/src/codegen/helpers.ts +3 -1
  488. package/src/codegen/index.ts +4 -3
  489. package/src/codegen/tendermint/abci/types.ts +64 -970
  490. package/src/codegen/tendermint/crypto/keys.ts +2 -16
  491. package/src/codegen/tendermint/crypto/proof.ts +6 -97
  492. package/src/codegen/tendermint/libs/bits/types.ts +2 -22
  493. package/src/codegen/tendermint/p2p/types.ts +22 -118
  494. package/src/codegen/tendermint/types/block.ts +2 -20
  495. package/src/codegen/tendermint/types/evidence.ts +16 -94
  496. package/src/codegen/tendermint/types/params.ts +7 -137
  497. package/src/codegen/tendermint/types/types.ts +40 -338
  498. package/src/codegen/tendermint/types/validator.ts +4 -58
  499. package/src/codegen/tendermint/version/types.ts +3 -31
@@ -1,7 +1,7 @@
1
1
  import { DecCoin } from "../../base/v1beta1/coin";
2
2
  import { ValidatorAccumulatedCommission, ValidatorHistoricalRewards, ValidatorCurrentRewards, DelegatorStartingInfo, ValidatorSlashEvent, Params, FeePool } from "./distribution";
3
3
  import * as _m0 from "protobufjs/minimal";
4
- import { isSet, Long } from "../../../helpers";
4
+ import { Long } from "../../../helpers";
5
5
  /**
6
6
  * DelegatorWithdrawInfo is the address for where distributions rewards are
7
7
  * withdrawn to by default this struct is only used at genesis to feed in
@@ -44,18 +44,6 @@ export const DelegatorWithdrawInfo = {
44
44
  }
45
45
  return message;
46
46
  },
47
- fromJSON(object) {
48
- return {
49
- delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
50
- withdrawAddress: isSet(object.withdrawAddress) ? String(object.withdrawAddress) : ""
51
- };
52
- },
53
- toJSON(message) {
54
- const obj = {};
55
- message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
56
- message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress);
57
- return obj;
58
- },
59
47
  fromPartial(object) {
60
48
  var _object$delegatorAddr, _object$withdrawAddre;
61
49
  const message = createBaseDelegatorWithdrawInfo();
@@ -100,22 +88,6 @@ export const ValidatorOutstandingRewardsRecord = {
100
88
  }
101
89
  return message;
102
90
  },
103
- fromJSON(object) {
104
- return {
105
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
106
- outstandingRewards: Array.isArray(object === null || object === void 0 ? void 0 : object.outstandingRewards) ? object.outstandingRewards.map(e => DecCoin.fromJSON(e)) : []
107
- };
108
- },
109
- toJSON(message) {
110
- const obj = {};
111
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
112
- if (message.outstandingRewards) {
113
- obj.outstandingRewards = message.outstandingRewards.map(e => e ? DecCoin.toJSON(e) : undefined);
114
- } else {
115
- obj.outstandingRewards = [];
116
- }
117
- return obj;
118
- },
119
91
  fromPartial(object) {
120
92
  var _object$validatorAddr, _object$outstandingRe;
121
93
  const message = createBaseValidatorOutstandingRewardsRecord();
@@ -160,18 +132,6 @@ export const ValidatorAccumulatedCommissionRecord = {
160
132
  }
161
133
  return message;
162
134
  },
163
- fromJSON(object) {
164
- return {
165
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
166
- accumulated: isSet(object.accumulated) ? ValidatorAccumulatedCommission.fromJSON(object.accumulated) : undefined
167
- };
168
- },
169
- toJSON(message) {
170
- const obj = {};
171
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
172
- message.accumulated !== undefined && (obj.accumulated = message.accumulated ? ValidatorAccumulatedCommission.toJSON(message.accumulated) : undefined);
173
- return obj;
174
- },
175
135
  fromPartial(object) {
176
136
  var _object$validatorAddr2;
177
137
  const message = createBaseValidatorAccumulatedCommissionRecord();
@@ -223,20 +183,6 @@ export const ValidatorHistoricalRewardsRecord = {
223
183
  }
224
184
  return message;
225
185
  },
226
- fromJSON(object) {
227
- return {
228
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
229
- period: isSet(object.period) ? Long.fromValue(object.period) : Long.UZERO,
230
- rewards: isSet(object.rewards) ? ValidatorHistoricalRewards.fromJSON(object.rewards) : undefined
231
- };
232
- },
233
- toJSON(message) {
234
- const obj = {};
235
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
236
- message.period !== undefined && (obj.period = (message.period || Long.UZERO).toString());
237
- message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorHistoricalRewards.toJSON(message.rewards) : undefined);
238
- return obj;
239
- },
240
186
  fromPartial(object) {
241
187
  var _object$validatorAddr3;
242
188
  const message = createBaseValidatorHistoricalRewardsRecord();
@@ -282,18 +228,6 @@ export const ValidatorCurrentRewardsRecord = {
282
228
  }
283
229
  return message;
284
230
  },
285
- fromJSON(object) {
286
- return {
287
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
288
- rewards: isSet(object.rewards) ? ValidatorCurrentRewards.fromJSON(object.rewards) : undefined
289
- };
290
- },
291
- toJSON(message) {
292
- const obj = {};
293
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
294
- message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorCurrentRewards.toJSON(message.rewards) : undefined);
295
- return obj;
296
- },
297
231
  fromPartial(object) {
298
232
  var _object$validatorAddr4;
299
233
  const message = createBaseValidatorCurrentRewardsRecord();
@@ -345,20 +279,6 @@ export const DelegatorStartingInfoRecord = {
345
279
  }
346
280
  return message;
347
281
  },
348
- fromJSON(object) {
349
- return {
350
- delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
351
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
352
- startingInfo: isSet(object.startingInfo) ? DelegatorStartingInfo.fromJSON(object.startingInfo) : undefined
353
- };
354
- },
355
- toJSON(message) {
356
- const obj = {};
357
- message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
358
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
359
- message.startingInfo !== undefined && (obj.startingInfo = message.startingInfo ? DelegatorStartingInfo.toJSON(message.startingInfo) : undefined);
360
- return obj;
361
- },
362
282
  fromPartial(object) {
363
283
  var _object$delegatorAddr2, _object$validatorAddr5;
364
284
  const message = createBaseDelegatorStartingInfoRecord();
@@ -418,22 +338,6 @@ export const ValidatorSlashEventRecord = {
418
338
  }
419
339
  return message;
420
340
  },
421
- fromJSON(object) {
422
- return {
423
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
424
- height: isSet(object.height) ? Long.fromValue(object.height) : Long.UZERO,
425
- period: isSet(object.period) ? Long.fromValue(object.period) : Long.UZERO,
426
- validatorSlashEvent: isSet(object.validatorSlashEvent) ? ValidatorSlashEvent.fromJSON(object.validatorSlashEvent) : undefined
427
- };
428
- },
429
- toJSON(message) {
430
- const obj = {};
431
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
432
- message.height !== undefined && (obj.height = (message.height || Long.UZERO).toString());
433
- message.period !== undefined && (obj.period = (message.period || Long.UZERO).toString());
434
- message.validatorSlashEvent !== undefined && (obj.validatorSlashEvent = message.validatorSlashEvent ? ValidatorSlashEvent.toJSON(message.validatorSlashEvent) : undefined);
435
- return obj;
436
- },
437
341
  fromPartial(object) {
438
342
  var _object$validatorAddr6;
439
343
  const message = createBaseValidatorSlashEventRecord();
@@ -536,62 +440,6 @@ export const GenesisState = {
536
440
  }
537
441
  return message;
538
442
  },
539
- fromJSON(object) {
540
- return {
541
- params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
542
- feePool: isSet(object.feePool) ? FeePool.fromJSON(object.feePool) : undefined,
543
- delegatorWithdrawInfos: Array.isArray(object === null || object === void 0 ? void 0 : object.delegatorWithdrawInfos) ? object.delegatorWithdrawInfos.map(e => DelegatorWithdrawInfo.fromJSON(e)) : [],
544
- previousProposer: isSet(object.previousProposer) ? String(object.previousProposer) : "",
545
- outstandingRewards: Array.isArray(object === null || object === void 0 ? void 0 : object.outstandingRewards) ? object.outstandingRewards.map(e => ValidatorOutstandingRewardsRecord.fromJSON(e)) : [],
546
- validatorAccumulatedCommissions: Array.isArray(object === null || object === void 0 ? void 0 : object.validatorAccumulatedCommissions) ? object.validatorAccumulatedCommissions.map(e => ValidatorAccumulatedCommissionRecord.fromJSON(e)) : [],
547
- validatorHistoricalRewards: Array.isArray(object === null || object === void 0 ? void 0 : object.validatorHistoricalRewards) ? object.validatorHistoricalRewards.map(e => ValidatorHistoricalRewardsRecord.fromJSON(e)) : [],
548
- validatorCurrentRewards: Array.isArray(object === null || object === void 0 ? void 0 : object.validatorCurrentRewards) ? object.validatorCurrentRewards.map(e => ValidatorCurrentRewardsRecord.fromJSON(e)) : [],
549
- delegatorStartingInfos: Array.isArray(object === null || object === void 0 ? void 0 : object.delegatorStartingInfos) ? object.delegatorStartingInfos.map(e => DelegatorStartingInfoRecord.fromJSON(e)) : [],
550
- validatorSlashEvents: Array.isArray(object === null || object === void 0 ? void 0 : object.validatorSlashEvents) ? object.validatorSlashEvents.map(e => ValidatorSlashEventRecord.fromJSON(e)) : []
551
- };
552
- },
553
- toJSON(message) {
554
- const obj = {};
555
- message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
556
- message.feePool !== undefined && (obj.feePool = message.feePool ? FeePool.toJSON(message.feePool) : undefined);
557
- if (message.delegatorWithdrawInfos) {
558
- obj.delegatorWithdrawInfos = message.delegatorWithdrawInfos.map(e => e ? DelegatorWithdrawInfo.toJSON(e) : undefined);
559
- } else {
560
- obj.delegatorWithdrawInfos = [];
561
- }
562
- message.previousProposer !== undefined && (obj.previousProposer = message.previousProposer);
563
- if (message.outstandingRewards) {
564
- obj.outstandingRewards = message.outstandingRewards.map(e => e ? ValidatorOutstandingRewardsRecord.toJSON(e) : undefined);
565
- } else {
566
- obj.outstandingRewards = [];
567
- }
568
- if (message.validatorAccumulatedCommissions) {
569
- obj.validatorAccumulatedCommissions = message.validatorAccumulatedCommissions.map(e => e ? ValidatorAccumulatedCommissionRecord.toJSON(e) : undefined);
570
- } else {
571
- obj.validatorAccumulatedCommissions = [];
572
- }
573
- if (message.validatorHistoricalRewards) {
574
- obj.validatorHistoricalRewards = message.validatorHistoricalRewards.map(e => e ? ValidatorHistoricalRewardsRecord.toJSON(e) : undefined);
575
- } else {
576
- obj.validatorHistoricalRewards = [];
577
- }
578
- if (message.validatorCurrentRewards) {
579
- obj.validatorCurrentRewards = message.validatorCurrentRewards.map(e => e ? ValidatorCurrentRewardsRecord.toJSON(e) : undefined);
580
- } else {
581
- obj.validatorCurrentRewards = [];
582
- }
583
- if (message.delegatorStartingInfos) {
584
- obj.delegatorStartingInfos = message.delegatorStartingInfos.map(e => e ? DelegatorStartingInfoRecord.toJSON(e) : undefined);
585
- } else {
586
- obj.delegatorStartingInfos = [];
587
- }
588
- if (message.validatorSlashEvents) {
589
- obj.validatorSlashEvents = message.validatorSlashEvents.map(e => e ? ValidatorSlashEventRecord.toJSON(e) : undefined);
590
- } else {
591
- obj.validatorSlashEvents = [];
592
- }
593
- return obj;
594
- },
595
443
  fromPartial(object) {
596
444
  var _object$delegatorWith, _object$previousPropo, _object$outstandingRe2, _object$validatorAccu, _object$validatorHist, _object$validatorCurr, _object$delegatorStar, _object$validatorSlas;
597
445
  const message = createBaseGenesisState();
@@ -2,7 +2,7 @@ import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
2
2
  import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution";
3
3
  import { DecCoin } from "../../base/v1beta1/coin";
4
4
  import * as _m0 from "protobufjs/minimal";
5
- import { isSet, Long } from "../../../helpers";
5
+ import { Long } from "../../../helpers";
6
6
  /** QueryParamsRequest is the request type for the Query/Params RPC method. */
7
7
 
8
8
  function createBaseQueryParamsRequest() {
@@ -26,13 +26,6 @@ export const QueryParamsRequest = {
26
26
  }
27
27
  return message;
28
28
  },
29
- fromJSON(_) {
30
- return {};
31
- },
32
- toJSON(_) {
33
- const obj = {};
34
- return obj;
35
- },
36
29
  fromPartial(_) {
37
30
  const message = createBaseQueryParamsRequest();
38
31
  return message;
@@ -67,16 +60,6 @@ export const QueryParamsResponse = {
67
60
  }
68
61
  return message;
69
62
  },
70
- fromJSON(object) {
71
- return {
72
- params: isSet(object.params) ? Params.fromJSON(object.params) : undefined
73
- };
74
- },
75
- toJSON(message) {
76
- const obj = {};
77
- message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
78
- return obj;
79
- },
80
63
  fromPartial(object) {
81
64
  const message = createBaseQueryParamsResponse();
82
65
  message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
@@ -112,16 +95,6 @@ export const QueryValidatorOutstandingRewardsRequest = {
112
95
  }
113
96
  return message;
114
97
  },
115
- fromJSON(object) {
116
- return {
117
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : ""
118
- };
119
- },
120
- toJSON(message) {
121
- const obj = {};
122
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
123
- return obj;
124
- },
125
98
  fromPartial(object) {
126
99
  var _object$validatorAddr;
127
100
  const message = createBaseQueryValidatorOutstandingRewardsRequest();
@@ -158,16 +131,6 @@ export const QueryValidatorOutstandingRewardsResponse = {
158
131
  }
159
132
  return message;
160
133
  },
161
- fromJSON(object) {
162
- return {
163
- rewards: isSet(object.rewards) ? ValidatorOutstandingRewards.fromJSON(object.rewards) : undefined
164
- };
165
- },
166
- toJSON(message) {
167
- const obj = {};
168
- message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorOutstandingRewards.toJSON(message.rewards) : undefined);
169
- return obj;
170
- },
171
134
  fromPartial(object) {
172
135
  const message = createBaseQueryValidatorOutstandingRewardsResponse();
173
136
  message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorOutstandingRewards.fromPartial(object.rewards) : undefined;
@@ -203,16 +166,6 @@ export const QueryValidatorCommissionRequest = {
203
166
  }
204
167
  return message;
205
168
  },
206
- fromJSON(object) {
207
- return {
208
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : ""
209
- };
210
- },
211
- toJSON(message) {
212
- const obj = {};
213
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
214
- return obj;
215
- },
216
169
  fromPartial(object) {
217
170
  var _object$validatorAddr2;
218
171
  const message = createBaseQueryValidatorCommissionRequest();
@@ -249,16 +202,6 @@ export const QueryValidatorCommissionResponse = {
249
202
  }
250
203
  return message;
251
204
  },
252
- fromJSON(object) {
253
- return {
254
- commission: isSet(object.commission) ? ValidatorAccumulatedCommission.fromJSON(object.commission) : undefined
255
- };
256
- },
257
- toJSON(message) {
258
- const obj = {};
259
- message.commission !== undefined && (obj.commission = message.commission ? ValidatorAccumulatedCommission.toJSON(message.commission) : undefined);
260
- return obj;
261
- },
262
205
  fromPartial(object) {
263
206
  const message = createBaseQueryValidatorCommissionResponse();
264
207
  message.commission = object.commission !== undefined && object.commission !== null ? ValidatorAccumulatedCommission.fromPartial(object.commission) : undefined;
@@ -315,22 +258,6 @@ export const QueryValidatorSlashesRequest = {
315
258
  }
316
259
  return message;
317
260
  },
318
- fromJSON(object) {
319
- return {
320
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
321
- startingHeight: isSet(object.startingHeight) ? Long.fromValue(object.startingHeight) : Long.UZERO,
322
- endingHeight: isSet(object.endingHeight) ? Long.fromValue(object.endingHeight) : Long.UZERO,
323
- pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined
324
- };
325
- },
326
- toJSON(message) {
327
- const obj = {};
328
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
329
- message.startingHeight !== undefined && (obj.startingHeight = (message.startingHeight || Long.UZERO).toString());
330
- message.endingHeight !== undefined && (obj.endingHeight = (message.endingHeight || Long.UZERO).toString());
331
- message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
332
- return obj;
333
- },
334
261
  fromPartial(object) {
335
262
  var _object$validatorAddr3;
336
263
  const message = createBaseQueryValidatorSlashesRequest();
@@ -377,22 +304,6 @@ export const QueryValidatorSlashesResponse = {
377
304
  }
378
305
  return message;
379
306
  },
380
- fromJSON(object) {
381
- return {
382
- slashes: Array.isArray(object === null || object === void 0 ? void 0 : object.slashes) ? object.slashes.map(e => ValidatorSlashEvent.fromJSON(e)) : [],
383
- pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined
384
- };
385
- },
386
- toJSON(message) {
387
- const obj = {};
388
- if (message.slashes) {
389
- obj.slashes = message.slashes.map(e => e ? ValidatorSlashEvent.toJSON(e) : undefined);
390
- } else {
391
- obj.slashes = [];
392
- }
393
- message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
394
- return obj;
395
- },
396
307
  fromPartial(object) {
397
308
  var _object$slashes;
398
309
  const message = createBaseQueryValidatorSlashesResponse();
@@ -437,18 +348,6 @@ export const QueryDelegationRewardsRequest = {
437
348
  }
438
349
  return message;
439
350
  },
440
- fromJSON(object) {
441
- return {
442
- delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
443
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : ""
444
- };
445
- },
446
- toJSON(message) {
447
- const obj = {};
448
- message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
449
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
450
- return obj;
451
- },
452
351
  fromPartial(object) {
453
352
  var _object$delegatorAddr, _object$validatorAddr4;
454
353
  const message = createBaseQueryDelegationRewardsRequest();
@@ -486,20 +385,6 @@ export const QueryDelegationRewardsResponse = {
486
385
  }
487
386
  return message;
488
387
  },
489
- fromJSON(object) {
490
- return {
491
- rewards: Array.isArray(object === null || object === void 0 ? void 0 : object.rewards) ? object.rewards.map(e => DecCoin.fromJSON(e)) : []
492
- };
493
- },
494
- toJSON(message) {
495
- const obj = {};
496
- if (message.rewards) {
497
- obj.rewards = message.rewards.map(e => e ? DecCoin.toJSON(e) : undefined);
498
- } else {
499
- obj.rewards = [];
500
- }
501
- return obj;
502
- },
503
388
  fromPartial(object) {
504
389
  var _object$rewards;
505
390
  const message = createBaseQueryDelegationRewardsResponse();
@@ -536,16 +421,6 @@ export const QueryDelegationTotalRewardsRequest = {
536
421
  }
537
422
  return message;
538
423
  },
539
- fromJSON(object) {
540
- return {
541
- delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : ""
542
- };
543
- },
544
- toJSON(message) {
545
- const obj = {};
546
- message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
547
- return obj;
548
- },
549
424
  fromPartial(object) {
550
425
  var _object$delegatorAddr2;
551
426
  const message = createBaseQueryDelegationTotalRewardsRequest();
@@ -589,26 +464,6 @@ export const QueryDelegationTotalRewardsResponse = {
589
464
  }
590
465
  return message;
591
466
  },
592
- fromJSON(object) {
593
- return {
594
- rewards: Array.isArray(object === null || object === void 0 ? void 0 : object.rewards) ? object.rewards.map(e => DelegationDelegatorReward.fromJSON(e)) : [],
595
- total: Array.isArray(object === null || object === void 0 ? void 0 : object.total) ? object.total.map(e => DecCoin.fromJSON(e)) : []
596
- };
597
- },
598
- toJSON(message) {
599
- const obj = {};
600
- if (message.rewards) {
601
- obj.rewards = message.rewards.map(e => e ? DelegationDelegatorReward.toJSON(e) : undefined);
602
- } else {
603
- obj.rewards = [];
604
- }
605
- if (message.total) {
606
- obj.total = message.total.map(e => e ? DecCoin.toJSON(e) : undefined);
607
- } else {
608
- obj.total = [];
609
- }
610
- return obj;
611
- },
612
467
  fromPartial(object) {
613
468
  var _object$rewards2, _object$total;
614
469
  const message = createBaseQueryDelegationTotalRewardsResponse();
@@ -646,16 +501,6 @@ export const QueryDelegatorValidatorsRequest = {
646
501
  }
647
502
  return message;
648
503
  },
649
- fromJSON(object) {
650
- return {
651
- delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : ""
652
- };
653
- },
654
- toJSON(message) {
655
- const obj = {};
656
- message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
657
- return obj;
658
- },
659
504
  fromPartial(object) {
660
505
  var _object$delegatorAddr3;
661
506
  const message = createBaseQueryDelegatorValidatorsRequest();
@@ -692,20 +537,6 @@ export const QueryDelegatorValidatorsResponse = {
692
537
  }
693
538
  return message;
694
539
  },
695
- fromJSON(object) {
696
- return {
697
- validators: Array.isArray(object === null || object === void 0 ? void 0 : object.validators) ? object.validators.map(e => String(e)) : []
698
- };
699
- },
700
- toJSON(message) {
701
- const obj = {};
702
- if (message.validators) {
703
- obj.validators = message.validators.map(e => e);
704
- } else {
705
- obj.validators = [];
706
- }
707
- return obj;
708
- },
709
540
  fromPartial(object) {
710
541
  var _object$validators;
711
542
  const message = createBaseQueryDelegatorValidatorsResponse();
@@ -742,16 +573,6 @@ export const QueryDelegatorWithdrawAddressRequest = {
742
573
  }
743
574
  return message;
744
575
  },
745
- fromJSON(object) {
746
- return {
747
- delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : ""
748
- };
749
- },
750
- toJSON(message) {
751
- const obj = {};
752
- message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
753
- return obj;
754
- },
755
576
  fromPartial(object) {
756
577
  var _object$delegatorAddr4;
757
578
  const message = createBaseQueryDelegatorWithdrawAddressRequest();
@@ -788,16 +609,6 @@ export const QueryDelegatorWithdrawAddressResponse = {
788
609
  }
789
610
  return message;
790
611
  },
791
- fromJSON(object) {
792
- return {
793
- withdrawAddress: isSet(object.withdrawAddress) ? String(object.withdrawAddress) : ""
794
- };
795
- },
796
- toJSON(message) {
797
- const obj = {};
798
- message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress);
799
- return obj;
800
- },
801
612
  fromPartial(object) {
802
613
  var _object$withdrawAddre;
803
614
  const message = createBaseQueryDelegatorWithdrawAddressResponse();
@@ -826,13 +637,6 @@ export const QueryCommunityPoolRequest = {
826
637
  }
827
638
  return message;
828
639
  },
829
- fromJSON(_) {
830
- return {};
831
- },
832
- toJSON(_) {
833
- const obj = {};
834
- return obj;
835
- },
836
640
  fromPartial(_) {
837
641
  const message = createBaseQueryCommunityPoolRequest();
838
642
  return message;
@@ -867,20 +671,6 @@ export const QueryCommunityPoolResponse = {
867
671
  }
868
672
  return message;
869
673
  },
870
- fromJSON(object) {
871
- return {
872
- pool: Array.isArray(object === null || object === void 0 ? void 0 : object.pool) ? object.pool.map(e => DecCoin.fromJSON(e)) : []
873
- };
874
- },
875
- toJSON(message) {
876
- const obj = {};
877
- if (message.pool) {
878
- obj.pool = message.pool.map(e => e ? DecCoin.toJSON(e) : undefined);
879
- } else {
880
- obj.pool = [];
881
- }
882
- return obj;
883
- },
884
674
  fromPartial(object) {
885
675
  var _object$pool;
886
676
  const message = createBaseQueryCommunityPoolResponse();
@@ -0,0 +1,88 @@
1
+ export const AminoConverter = {
2
+ "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": {
3
+ aminoType: "cosmos-sdk/MsgModifyWithdrawAddress",
4
+ toAmino: ({
5
+ delegatorAddress,
6
+ withdrawAddress
7
+ }) => {
8
+ return {
9
+ delegator_address: delegatorAddress,
10
+ withdraw_address: withdrawAddress
11
+ };
12
+ },
13
+ fromAmino: ({
14
+ delegator_address,
15
+ withdraw_address
16
+ }) => {
17
+ return {
18
+ delegatorAddress: delegator_address,
19
+ withdrawAddress: withdraw_address
20
+ };
21
+ }
22
+ },
23
+ "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": {
24
+ aminoType: "cosmos-sdk/MsgWithdrawDelegationReward",
25
+ toAmino: ({
26
+ delegatorAddress,
27
+ validatorAddress
28
+ }) => {
29
+ return {
30
+ delegator_address: delegatorAddress,
31
+ validator_address: validatorAddress
32
+ };
33
+ },
34
+ fromAmino: ({
35
+ delegator_address,
36
+ validator_address
37
+ }) => {
38
+ return {
39
+ delegatorAddress: delegator_address,
40
+ validatorAddress: validator_address
41
+ };
42
+ }
43
+ },
44
+ "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": {
45
+ aminoType: "cosmos-sdk/MsgWithdrawValidatorCommission",
46
+ toAmino: ({
47
+ validatorAddress
48
+ }) => {
49
+ return {
50
+ validator_address: validatorAddress
51
+ };
52
+ },
53
+ fromAmino: ({
54
+ validator_address
55
+ }) => {
56
+ return {
57
+ validatorAddress: validator_address
58
+ };
59
+ }
60
+ },
61
+ "/cosmos.distribution.v1beta1.MsgFundCommunityPool": {
62
+ aminoType: "cosmos-sdk/MsgFundCommunityPool",
63
+ toAmino: ({
64
+ amount,
65
+ depositor
66
+ }) => {
67
+ return {
68
+ amount: amount.map(el0 => ({
69
+ denom: el0.denom,
70
+ amount: el0.amount
71
+ })),
72
+ depositor
73
+ };
74
+ },
75
+ fromAmino: ({
76
+ amount,
77
+ depositor
78
+ }) => {
79
+ return {
80
+ amount: amount.map(el0 => ({
81
+ denom: el0.denom,
82
+ amount: el0.amount
83
+ })),
84
+ depositor
85
+ };
86
+ }
87
+ }
88
+ };