juno-network 0.15.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1080) hide show
  1. package/README.md +1 -4
  2. package/main/codegen/JunoSwap.client.js +165 -184
  3. package/main/codegen/amino/amino.js +5 -0
  4. package/main/codegen/amino/bundle.js +16 -0
  5. package/main/codegen/binary.js +478 -0
  6. package/main/codegen/confio/proofs.js +836 -72
  7. package/main/codegen/contracts.js +8 -4
  8. package/main/codegen/cosmos/app/v1alpha1/config.js +221 -0
  9. package/main/codegen/cosmos/app/v1alpha1/module.js +324 -0
  10. package/main/codegen/cosmos/app/v1alpha1/query.js +149 -0
  11. package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +45 -0
  12. package/main/codegen/cosmos/auth/v1beta1/auth.js +382 -0
  13. package/main/codegen/cosmos/auth/v1beta1/genesis.js +120 -0
  14. package/main/codegen/cosmos/auth/v1beta1/query.js +1133 -0
  15. package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +223 -0
  16. package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +128 -0
  17. package/main/codegen/cosmos/authz/v1beta1/authz.js +220 -13
  18. package/main/codegen/cosmos/authz/v1beta1/event.js +101 -8
  19. package/main/codegen/cosmos/authz/v1beta1/genesis.js +51 -7
  20. package/main/codegen/cosmos/authz/v1beta1/query.js +311 -21
  21. package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +65 -69
  22. package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +5 -7
  23. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +25 -0
  24. package/main/codegen/cosmos/authz/v1beta1/tx.js +312 -18
  25. package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +83 -0
  26. package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +5 -7
  27. package/main/codegen/cosmos/bank/v1beta1/authz.js +66 -7
  28. package/main/codegen/cosmos/bank/v1beta1/bank.js +425 -21
  29. package/main/codegen/cosmos/bank/v1beta1/genesis.js +138 -10
  30. package/main/codegen/cosmos/bank/v1beta1/query.js +964 -49
  31. package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +148 -163
  32. package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +11 -13
  33. package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -86
  34. package/main/codegen/cosmos/bank/v1beta1/tx.js +194 -13
  35. package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +4 -6
  36. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +677 -60
  37. package/main/codegen/cosmos/base/kv/v1beta1/kv.js +197 -0
  38. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +162 -17
  39. package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +362 -0
  40. package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1230 -57
  41. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +916 -0
  42. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +326 -0
  43. package/main/codegen/cosmos/base/store/v1beta1/listening.js +140 -0
  44. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1431 -0
  45. package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +202 -0
  46. package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +115 -0
  47. package/main/codegen/cosmos/base/v1beta1/coin.js +207 -12
  48. package/main/codegen/cosmos/bundle.js +274 -105
  49. package/main/codegen/cosmos/capability/v1beta1/capability.js +300 -0
  50. package/main/codegen/cosmos/capability/v1beta1/genesis.js +208 -0
  51. package/main/codegen/cosmos/client.js +37 -23
  52. package/main/codegen/cosmos/crisis/v1beta1/genesis.js +85 -0
  53. package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +15 -0
  54. package/main/codegen/cosmos/crisis/v1beta1/tx.js +173 -0
  55. package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +47 -0
  56. package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +33 -0
  57. package/main/codegen/cosmos/crypto/ed25519/keys.js +113 -8
  58. package/main/codegen/cosmos/crypto/hd/v1/hd.js +59 -6
  59. package/main/codegen/cosmos/crypto/keyring/v1/record.js +236 -14
  60. package/main/codegen/cosmos/crypto/multisig/keys.js +67 -7
  61. package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +125 -9
  62. package/main/codegen/cosmos/crypto/secp256k1/keys.js +104 -8
  63. package/main/codegen/cosmos/crypto/secp256r1/keys.js +86 -8
  64. package/main/codegen/cosmos/distribution/v1beta1/distribution.js +788 -56
  65. package/main/codegen/cosmos/distribution/v1beta1/genesis.js +514 -38
  66. package/main/codegen/cosmos/distribution/v1beta1/query.js +970 -53
  67. package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +107 -124
  68. package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +11 -13
  69. package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -70
  70. package/main/codegen/cosmos/distribution/v1beta1/tx.js +403 -25
  71. package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
  72. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +132 -0
  73. package/main/codegen/cosmos/evidence/v1beta1/genesis.js +107 -0
  74. package/main/codegen/cosmos/evidence/v1beta1/query.js +371 -0
  75. package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +87 -0
  76. package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +60 -0
  77. package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +15 -0
  78. package/main/codegen/cosmos/evidence/v1beta1/tx.js +186 -0
  79. package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +47 -0
  80. package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +33 -0
  81. package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +512 -0
  82. package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +107 -0
  83. package/main/codegen/cosmos/feegrant/v1beta1/query.js +575 -0
  84. package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +114 -0
  85. package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +70 -0
  86. package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +20 -0
  87. package/main/codegen/cosmos/feegrant/v1beta1/tx.js +337 -0
  88. package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +65 -0
  89. package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +43 -0
  90. package/main/codegen/cosmos/genutil/v1beta1/genesis.js +107 -0
  91. package/main/codegen/cosmos/gov/v1/genesis.js +90 -11
  92. package/main/codegen/cosmos/gov/v1/gov.js +497 -58
  93. package/main/codegen/cosmos/gov/v1/query.js +770 -56
  94. package/main/codegen/cosmos/gov/v1/query.lcd.js +107 -123
  95. package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +10 -12
  96. package/main/codegen/cosmos/gov/v1/tx.amino.js +11 -156
  97. package/main/codegen/cosmos/gov/v1/tx.js +511 -38
  98. package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +7 -9
  99. package/main/codegen/cosmos/gov/v1beta1/genesis.js +93 -14
  100. package/main/codegen/cosmos/gov/v1beta1/gov.js +560 -69
  101. package/main/codegen/cosmos/gov/v1beta1/query.js +777 -63
  102. package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +107 -123
  103. package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +10 -12
  104. package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -118
  105. package/main/codegen/cosmos/gov/v1beta1/tx.js +424 -34
  106. package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +6 -8
  107. package/main/codegen/cosmos/group/v1/events.js +729 -0
  108. package/main/codegen/cosmos/group/v1/genesis.js +259 -0
  109. package/main/codegen/cosmos/group/v1/query.js +2377 -0
  110. package/main/codegen/cosmos/group/v1/query.lcd.js +398 -0
  111. package/main/codegen/cosmos/group/v1/query.rpc.Query.js +200 -0
  112. package/main/codegen/cosmos/group/v1/tx.amino.js +80 -0
  113. package/main/codegen/cosmos/group/v1/tx.js +2590 -0
  114. package/main/codegen/cosmos/group/v1/tx.registry.js +281 -0
  115. package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +163 -0
  116. package/main/codegen/cosmos/group/v1/types.js +1607 -0
  117. package/main/codegen/cosmos/lcd.js +255 -128
  118. package/main/codegen/cosmos/mint/v1beta1/genesis.js +97 -0
  119. package/main/codegen/cosmos/mint/v1beta1/mint.js +236 -0
  120. package/main/codegen/cosmos/mint/v1beta1/query.js +461 -0
  121. package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +108 -0
  122. package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +73 -0
  123. package/main/codegen/cosmos/msg/v1/msg.js +5 -0
  124. package/main/codegen/cosmos/nft/v1beta1/event.js +325 -0
  125. package/main/codegen/cosmos/nft/v1beta1/genesis.js +244 -0
  126. package/main/codegen/cosmos/nft/v1beta1/nft.js +284 -0
  127. package/main/codegen/cosmos/nft/v1beta1/query.js +1219 -0
  128. package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +226 -0
  129. package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +125 -0
  130. package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +15 -0
  131. package/main/codegen/cosmos/nft/v1beta1/tx.js +185 -0
  132. package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +47 -0
  133. package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +33 -0
  134. package/main/codegen/cosmos/orm/v1/orm.js +400 -0
  135. package/main/codegen/cosmos/orm/v1alpha1/schema.js +278 -0
  136. package/main/codegen/cosmos/params/v1beta1/params.js +241 -0
  137. package/main/codegen/cosmos/params/v1beta1/query.js +473 -0
  138. package/main/codegen/cosmos/params/v1beta1/query.lcd.js +87 -0
  139. package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +58 -0
  140. package/main/codegen/cosmos/rpc.query.js +198 -97
  141. package/main/codegen/cosmos/rpc.tx.js +178 -96
  142. package/main/codegen/cosmos/slashing/v1beta1/genesis.js +445 -0
  143. package/main/codegen/cosmos/slashing/v1beta1/query.js +529 -0
  144. package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +115 -0
  145. package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +74 -0
  146. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +283 -0
  147. package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +15 -0
  148. package/main/codegen/cosmos/slashing/v1beta1/tx.js +149 -0
  149. package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +47 -0
  150. package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +33 -0
  151. package/main/codegen/cosmos/staking/v1beta1/authz.js +120 -26
  152. package/main/codegen/cosmos/staking/v1beta1/genesis.js +153 -13
  153. package/main/codegen/cosmos/staking/v1beta1/query.js +1467 -72
  154. package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +205 -229
  155. package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +16 -18
  156. package/main/codegen/cosmos/staking/v1beta1/staking.js +1257 -98
  157. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -189
  158. package/main/codegen/cosmos/staking/v1beta1/tx.js +513 -35
  159. package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +7 -9
  160. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +273 -43
  161. package/main/codegen/cosmos/tx/v1beta1/service.js +603 -54
  162. package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +52 -57
  163. package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +7 -9
  164. package/main/codegen/cosmos/tx/v1beta1/tx.js +856 -53
  165. package/main/codegen/cosmos/upgrade/v1beta1/query.js +523 -31
  166. package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +69 -77
  167. package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +7 -9
  168. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -47
  169. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +214 -13
  170. package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +4 -6
  171. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +248 -20
  172. package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +25 -0
  173. package/main/codegen/cosmos/vesting/v1beta1/tx.js +636 -0
  174. package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +83 -0
  175. package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +53 -0
  176. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +718 -0
  177. package/main/codegen/cosmos_proto/bundle.js +6 -6
  178. package/main/codegen/cosmos_proto/cosmos.js +129 -21
  179. package/main/codegen/cosmwasm/bundle.js +21 -21
  180. package/main/codegen/cosmwasm/client.js +21 -23
  181. package/main/codegen/cosmwasm/lcd.js +272 -145
  182. package/main/codegen/cosmwasm/rpc.query.js +211 -110
  183. package/main/codegen/cosmwasm/rpc.tx.js +193 -111
  184. package/main/codegen/cosmwasm/wasm/v1/authz.js +534 -34
  185. package/main/codegen/cosmwasm/wasm/v1/genesis.js +320 -24
  186. package/main/codegen/cosmwasm/wasm/v1/ibc.js +103 -14
  187. package/main/codegen/cosmwasm/wasm/v1/proposal.js +841 -45
  188. package/main/codegen/cosmwasm/wasm/v1/query.js +1232 -64
  189. package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +153 -175
  190. package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +13 -15
  191. package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -217
  192. package/main/codegen/cosmwasm/wasm/v1/tx.js +742 -49
  193. package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +9 -11
  194. package/main/codegen/cosmwasm/wasm/v1/types.js +447 -61
  195. package/main/codegen/gaia/bundle.js +12 -12
  196. package/main/codegen/gaia/globalfee/v1beta1/genesis.js +82 -10
  197. package/main/codegen/gaia/globalfee/v1beta1/query.js +95 -9
  198. package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +11 -13
  199. package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +3 -5
  200. package/main/codegen/gaia/lcd.js +272 -145
  201. package/main/codegen/gaia/rpc.query.js +211 -110
  202. package/main/codegen/gogoproto/bundle.js +6 -6
  203. package/main/codegen/google/api/annotations.js +5 -0
  204. package/main/codegen/google/api/http.js +1216 -0
  205. package/main/codegen/google/bundle.js +13 -10
  206. package/main/codegen/google/protobuf/any.js +278 -6
  207. package/main/codegen/google/protobuf/descriptor.js +1691 -171
  208. package/main/codegen/google/protobuf/duration.js +215 -10
  209. package/main/codegen/google/protobuf/empty.js +63 -6
  210. package/main/codegen/google/protobuf/timestamp.js +283 -9
  211. package/main/codegen/helpers.js +19 -53
  212. package/main/codegen/ibc/applications/transfer/v1/genesis.js +60 -8
  213. package/main/codegen/ibc/applications/transfer/v1/query.js +297 -17
  214. package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +40 -46
  215. package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +5 -7
  216. package/main/codegen/ibc/applications/transfer/v1/transfer.js +117 -8
  217. package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -50
  218. package/main/codegen/ibc/applications/transfer/v1/tx.js +122 -14
  219. package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +3 -5
  220. package/main/codegen/ibc/applications/transfer/v2/packet.js +67 -6
  221. package/main/codegen/ibc/bundle.js +71 -60
  222. package/main/codegen/ibc/client.js +21 -23
  223. package/main/codegen/ibc/core/channel/v1/channel.js +438 -57
  224. package/main/codegen/ibc/core/channel/v1/genesis.js +180 -16
  225. package/main/codegen/ibc/core/channel/v1/query.js +1604 -97
  226. package/main/codegen/ibc/core/channel/v1/query.lcd.js +184 -202
  227. package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +15 -17
  228. package/main/codegen/ibc/core/channel/v1/tx.amino.js +21 -470
  229. package/main/codegen/ibc/core/channel/v1/tx.js +1053 -64
  230. package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +12 -14
  231. package/main/codegen/ibc/core/client/v1/client.js +438 -28
  232. package/main/codegen/ibc/core/client/v1/genesis.js +204 -15
  233. package/main/codegen/ibc/core/client/v1/query.js +874 -45
  234. package/main/codegen/ibc/core/client/v1/query.lcd.js +110 -124
  235. package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +10 -12
  236. package/main/codegen/ibc/core/client/v1/tx.amino.js +9 -128
  237. package/main/codegen/ibc/core/client/v1/tx.js +402 -20
  238. package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +6 -8
  239. package/main/codegen/ibc/core/commitment/v1/commitment.js +236 -13
  240. package/main/codegen/ibc/core/connection/v1/connection.js +434 -52
  241. package/main/codegen/ibc/core/connection/v1/genesis.js +73 -12
  242. package/main/codegen/ibc/core/connection/v1/query.js +592 -36
  243. package/main/codegen/ibc/core/connection/v1/query.lcd.js +68 -75
  244. package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +7 -9
  245. package/main/codegen/ibc/core/connection/v1/tx.amino.js +9 -248
  246. package/main/codegen/ibc/core/connection/v1/tx.js +504 -34
  247. package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +6 -8
  248. package/main/codegen/ibc/core/port/v1/query.js +224 -0
  249. package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +44 -0
  250. package/main/codegen/ibc/core/types/v1/genesis.js +111 -0
  251. package/main/codegen/ibc/lcd.js +320 -193
  252. package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -7
  253. package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +933 -91
  254. package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +930 -88
  255. package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +378 -30
  256. package/main/codegen/ibc/rpc.query.js +257 -146
  257. package/main/codegen/ibc/rpc.tx.js +235 -153
  258. package/main/codegen/ics23/bundle.js +6 -6
  259. package/main/codegen/index.js +74 -41
  260. package/main/codegen/juno/bundle.js +77 -24
  261. package/main/codegen/juno/client.js +33 -25
  262. package/main/codegen/juno/clock/v1/genesis.js +183 -0
  263. package/main/codegen/juno/clock/v1/query.js +288 -0
  264. package/main/codegen/juno/clock/v1/query.lcd.js +80 -0
  265. package/main/codegen/juno/clock/v1/query.rpc.Query.js +59 -0
  266. package/main/codegen/juno/clock/v1/tx.amino.js +15 -0
  267. package/main/codegen/juno/clock/v1/tx.js +177 -0
  268. package/main/codegen/juno/clock/v1/tx.registry.js +47 -0
  269. package/main/codegen/juno/clock/v1/tx.rpc.msg.js +33 -0
  270. package/main/codegen/juno/cwhooks/v1/genesis.js +212 -0
  271. package/main/codegen/juno/cwhooks/v1/query.js +436 -0
  272. package/main/codegen/juno/cwhooks/v1/query.lcd.js +108 -0
  273. package/main/codegen/juno/cwhooks/v1/query.rpc.Query.js +73 -0
  274. package/main/codegen/juno/cwhooks/v1/tx.amino.js +35 -0
  275. package/main/codegen/juno/cwhooks/v1/tx.js +745 -0
  276. package/main/codegen/juno/cwhooks/v1/tx.registry.js +119 -0
  277. package/main/codegen/juno/cwhooks/v1/tx.rpc.msg.js +73 -0
  278. package/main/codegen/juno/drip/v1/genesis.js +183 -0
  279. package/main/codegen/juno/drip/v1/query.js +137 -0
  280. package/main/codegen/juno/drip/v1/query.lcd.js +52 -0
  281. package/main/codegen/juno/drip/v1/query.rpc.Query.js +45 -0
  282. package/main/codegen/juno/drip/v1/tx.amino.js +20 -0
  283. package/main/codegen/juno/drip/v1/tx.js +326 -0
  284. package/main/codegen/juno/drip/v1/tx.registry.js +65 -0
  285. package/main/codegen/juno/drip/v1/tx.rpc.msg.js +43 -0
  286. package/main/codegen/juno/feepay/v1/feepay.js +217 -0
  287. package/main/codegen/juno/feepay/v1/genesis.js +185 -0
  288. package/main/codegen/juno/feepay/v1/query.js +769 -0
  289. package/main/codegen/juno/feepay/v1/query.lcd.js +165 -0
  290. package/main/codegen/juno/feepay/v1/query.rpc.Query.js +100 -0
  291. package/main/codegen/juno/feepay/v1/tx.amino.js +35 -0
  292. package/main/codegen/juno/feepay/v1/tx.js +792 -0
  293. package/main/codegen/juno/feepay/v1/tx.registry.js +119 -0
  294. package/main/codegen/juno/feepay/v1/tx.rpc.msg.js +73 -0
  295. package/main/codegen/juno/feeshare/v1/feeshare.js +54 -6
  296. package/main/codegen/juno/feeshare/v1/genesis.js +104 -12
  297. package/main/codegen/juno/feeshare/v1/query.js +446 -27
  298. package/main/codegen/juno/feeshare/v1/query.lcd.js +78 -86
  299. package/main/codegen/juno/feeshare/v1/query.rpc.Query.js +7 -9
  300. package/main/codegen/juno/feeshare/v1/tx.amino.js +12 -56
  301. package/main/codegen/juno/feeshare/v1/tx.js +406 -18
  302. package/main/codegen/juno/feeshare/v1/tx.registry.js +19 -1
  303. package/main/codegen/juno/feeshare/v1/tx.rpc.msg.js +15 -7
  304. package/main/codegen/juno/lcd.js +339 -156
  305. package/main/codegen/juno/mint/genesis.js +43 -8
  306. package/main/codegen/juno/mint/mint.js +117 -24
  307. package/main/codegen/juno/mint/query.js +384 -19
  308. package/main/codegen/juno/mint/query.lcd.js +61 -39
  309. package/main/codegen/juno/mint/query.rpc.Query.js +19 -7
  310. package/main/codegen/juno/mint/tx.amino.js +15 -0
  311. package/main/codegen/juno/mint/tx.js +177 -0
  312. package/main/codegen/juno/mint/tx.registry.js +47 -0
  313. package/main/codegen/juno/mint/tx.rpc.msg.js +33 -0
  314. package/main/codegen/juno/rpc.query.js +258 -117
  315. package/main/codegen/juno/rpc.tx.js +250 -111
  316. package/main/codegen/osmosis/bundle.js +19 -19
  317. package/main/codegen/osmosis/client.js +21 -23
  318. package/main/codegen/osmosis/lcd.js +272 -145
  319. package/main/codegen/osmosis/rpc.query.js +211 -110
  320. package/main/codegen/osmosis/rpc.tx.js +193 -111
  321. package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -6
  322. package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +115 -11
  323. package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +64 -8
  324. package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +295 -19
  325. package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +37 -41
  326. package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +5 -7
  327. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -165
  328. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +785 -34
  329. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
  330. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +18 -10
  331. package/main/codegen/router/bundle.js +12 -12
  332. package/main/codegen/router/lcd.js +269 -142
  333. package/main/codegen/router/rpc.query.js +208 -107
  334. package/main/codegen/router/v1/genesis.js +221 -24
  335. package/main/codegen/router/v1/query.js +69 -8
  336. package/main/codegen/router/v1/query.lcd.js +11 -13
  337. package/main/codegen/router/v1/query.rpc.Query.js +3 -5
  338. package/main/codegen/tendermint/abci/types.js +2058 -229
  339. package/main/codegen/tendermint/bundle.js +21 -21
  340. package/main/codegen/tendermint/crypto/keys.js +42 -6
  341. package/main/codegen/tendermint/crypto/proof.js +228 -21
  342. package/main/codegen/tendermint/libs/bits/types.js +47 -12
  343. package/main/codegen/tendermint/p2p/types.js +230 -26
  344. package/main/codegen/tendermint/types/block.js +46 -9
  345. package/main/codegen/tendermint/types/evidence.js +198 -27
  346. package/main/codegen/tendermint/types/params.js +316 -47
  347. package/main/codegen/tendermint/types/types.js +680 -87
  348. package/main/codegen/tendermint/types/validator.js +136 -24
  349. package/main/codegen/tendermint/version/types.js +114 -18
  350. package/main/codegen/utf8.js +129 -0
  351. package/main/codegen/varint.js +440 -0
  352. package/module/codegen/amino/amino.js +1 -0
  353. package/module/codegen/amino/bundle.js +5 -0
  354. package/module/codegen/binary.js +374 -0
  355. package/module/codegen/confio/proofs.js +806 -67
  356. package/module/codegen/contracts.js +2 -2
  357. package/module/codegen/cosmos/app/v1alpha1/config.js +193 -0
  358. package/module/codegen/cosmos/app/v1alpha1/module.js +279 -0
  359. package/module/codegen/cosmos/app/v1alpha1/query.js +139 -0
  360. package/module/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +27 -0
  361. package/module/codegen/cosmos/auth/v1beta1/auth.js +352 -0
  362. package/module/codegen/cosmos/auth/v1beta1/genesis.js +94 -0
  363. package/module/codegen/cosmos/auth/v1beta1/query.js +1066 -0
  364. package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +62 -0
  365. package/module/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +83 -0
  366. package/module/codegen/cosmos/authz/v1beta1/authz.js +210 -9
  367. package/module/codegen/cosmos/authz/v1beta1/event.js +101 -5
  368. package/module/codegen/cosmos/authz/v1beta1/genesis.js +46 -3
  369. package/module/codegen/cosmos/authz/v1beta1/query.js +298 -17
  370. package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -3
  371. package/module/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +4 -4
  372. package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +18 -0
  373. package/module/codegen/cosmos/authz/v1beta1/tx.js +303 -14
  374. package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +69 -0
  375. package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +4 -4
  376. package/module/codegen/cosmos/bank/v1beta1/authz.js +61 -3
  377. package/module/codegen/cosmos/bank/v1beta1/bank.js +400 -17
  378. package/module/codegen/cosmos/bank/v1beta1/genesis.js +121 -6
  379. package/module/codegen/cosmos/bank/v1beta1/query.js +943 -45
  380. package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +0 -9
  381. package/module/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +10 -10
  382. package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -70
  383. package/module/codegen/cosmos/bank/v1beta1/tx.js +181 -9
  384. package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +3 -3
  385. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +636 -57
  386. package/module/codegen/cosmos/base/kv/v1beta1/kv.js +169 -0
  387. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +153 -15
  388. package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +315 -0
  389. package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1197 -53
  390. package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +859 -0
  391. package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +296 -0
  392. package/module/codegen/cosmos/base/store/v1beta1/listening.js +132 -0
  393. package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1347 -0
  394. package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +60 -0
  395. package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +74 -0
  396. package/module/codegen/cosmos/base/v1beta1/coin.js +207 -9
  397. package/module/codegen/cosmos/bundle.js +272 -103
  398. package/module/codegen/cosmos/capability/v1beta1/capability.js +270 -0
  399. package/module/codegen/cosmos/capability/v1beta1/genesis.js +180 -0
  400. package/module/codegen/cosmos/client.js +21 -5
  401. package/module/codegen/cosmos/crisis/v1beta1/genesis.js +77 -0
  402. package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +8 -0
  403. package/module/codegen/cosmos/crisis/v1beta1/tx.js +163 -0
  404. package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +33 -0
  405. package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +17 -0
  406. package/module/codegen/cosmos/crypto/ed25519/keys.js +113 -5
  407. package/module/codegen/cosmos/crypto/hd/v1/hd.js +59 -3
  408. package/module/codegen/cosmos/crypto/keyring/v1/record.js +236 -11
  409. package/module/codegen/cosmos/crypto/multisig/keys.js +62 -3
  410. package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +120 -5
  411. package/module/codegen/cosmos/crypto/secp256k1/keys.js +104 -5
  412. package/module/codegen/cosmos/crypto/secp256r1/keys.js +86 -5
  413. package/module/codegen/cosmos/distribution/v1beta1/distribution.js +753 -52
  414. package/module/codegen/cosmos/distribution/v1beta1/genesis.js +475 -34
  415. package/module/codegen/cosmos/distribution/v1beta1/query.js +943 -49
  416. package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +0 -9
  417. package/module/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +10 -10
  418. package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -74
  419. package/module/codegen/cosmos/distribution/v1beta1/tx.js +390 -21
  420. package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +5 -5
  421. package/module/codegen/cosmos/evidence/v1beta1/evidence.js +124 -0
  422. package/module/codegen/cosmos/evidence/v1beta1/genesis.js +81 -0
  423. package/module/codegen/cosmos/evidence/v1beta1/query.js +339 -0
  424. package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +30 -0
  425. package/module/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +38 -0
  426. package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +8 -0
  427. package/module/codegen/cosmos/evidence/v1beta1/tx.js +176 -0
  428. package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +33 -0
  429. package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +17 -0
  430. package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +435 -0
  431. package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +81 -0
  432. package/module/codegen/cosmos/feegrant/v1beta1/query.js +524 -0
  433. package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +41 -0
  434. package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +45 -0
  435. package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +13 -0
  436. package/module/codegen/cosmos/feegrant/v1beta1/tx.js +323 -0
  437. package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +51 -0
  438. package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +23 -0
  439. package/module/codegen/cosmos/genutil/v1beta1/genesis.js +81 -0
  440. package/module/codegen/cosmos/gov/v1/genesis.js +75 -7
  441. package/module/codegen/cosmos/gov/v1/gov.js +471 -56
  442. package/module/codegen/cosmos/gov/v1/query.js +756 -53
  443. package/module/codegen/cosmos/gov/v1/query.lcd.js +0 -8
  444. package/module/codegen/cosmos/gov/v1/query.rpc.Query.js +9 -9
  445. package/module/codegen/cosmos/gov/v1/tx.amino.js +11 -150
  446. package/module/codegen/cosmos/gov/v1/tx.js +490 -35
  447. package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +6 -6
  448. package/module/codegen/cosmos/gov/v1beta1/genesis.js +78 -10
  449. package/module/codegen/cosmos/gov/v1beta1/gov.js +538 -67
  450. package/module/codegen/cosmos/gov/v1beta1/query.js +763 -60
  451. package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +0 -8
  452. package/module/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +9 -9
  453. package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -114
  454. package/module/codegen/cosmos/gov/v1beta1/tx.js +407 -31
  455. package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +5 -5
  456. package/module/codegen/cosmos/group/v1/events.js +705 -0
  457. package/module/codegen/cosmos/group/v1/genesis.js +173 -0
  458. package/module/codegen/cosmos/group/v1/query.js +2196 -0
  459. package/module/codegen/cosmos/group/v1/query.lcd.js +136 -0
  460. package/module/codegen/cosmos/group/v1/query.rpc.Query.js +135 -0
  461. package/module/codegen/cosmos/group/v1/tx.amino.js +73 -0
  462. package/module/codegen/cosmos/group/v1/tx.js +2445 -0
  463. package/module/codegen/cosmos/group/v1/tx.registry.js +267 -0
  464. package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +95 -0
  465. package/module/codegen/cosmos/group/v1/types.js +1511 -0
  466. package/module/codegen/cosmos/lcd.js +48 -1
  467. package/module/codegen/cosmos/mint/v1beta1/genesis.js +89 -0
  468. package/module/codegen/cosmos/mint/v1beta1/mint.js +226 -0
  469. package/module/codegen/cosmos/mint/v1beta1/query.js +443 -0
  470. package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +27 -0
  471. package/module/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +45 -0
  472. package/module/codegen/cosmos/msg/v1/msg.js +1 -0
  473. package/module/codegen/cosmos/nft/v1beta1/event.js +313 -0
  474. package/module/codegen/cosmos/nft/v1beta1/genesis.js +186 -0
  475. package/module/codegen/cosmos/nft/v1beta1/nft.js +274 -0
  476. package/module/codegen/cosmos/nft/v1beta1/query.js +1152 -0
  477. package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +73 -0
  478. package/module/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +83 -0
  479. package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +8 -0
  480. package/module/codegen/cosmos/nft/v1beta1/tx.js +175 -0
  481. package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +33 -0
  482. package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
  483. package/module/codegen/cosmos/orm/v1/orm.js +368 -0
  484. package/module/codegen/cosmos/orm/v1alpha1/schema.js +245 -0
  485. package/module/codegen/cosmos/params/v1beta1/params.js +213 -0
  486. package/module/codegen/cosmos/params/v1beta1/query.js +424 -0
  487. package/module/codegen/cosmos/params/v1beta1/query.lcd.js +31 -0
  488. package/module/codegen/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
  489. package/module/codegen/cosmos/rpc.query.js +32 -0
  490. package/module/codegen/cosmos/rpc.tx.js +21 -0
  491. package/module/codegen/cosmos/slashing/v1beta1/genesis.js +383 -0
  492. package/module/codegen/cosmos/slashing/v1beta1/query.js +493 -0
  493. package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +36 -0
  494. package/module/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +47 -0
  495. package/module/codegen/cosmos/slashing/v1beta1/slashing.js +273 -0
  496. package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +8 -0
  497. package/module/codegen/cosmos/slashing/v1beta1/tx.js +139 -0
  498. package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +33 -0
  499. package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +17 -0
  500. package/module/codegen/cosmos/staking/v1beta1/authz.js +111 -22
  501. package/module/codegen/cosmos/staking/v1beta1/genesis.js +131 -10
  502. package/module/codegen/cosmos/staking/v1beta1/query.js +1436 -68
  503. package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +0 -14
  504. package/module/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +15 -15
  505. package/module/codegen/cosmos/staking/v1beta1/staking.js +1225 -95
  506. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -199
  507. package/module/codegen/cosmos/staking/v1beta1/tx.js +511 -32
  508. package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +6 -6
  509. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +261 -40
  510. package/module/codegen/cosmos/tx/v1beta1/service.js +581 -52
  511. package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +0 -3
  512. package/module/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +6 -6
  513. package/module/codegen/cosmos/tx/v1beta1/tx.js +818 -50
  514. package/module/codegen/cosmos/upgrade/v1beta1/query.js +514 -28
  515. package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -5
  516. package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +6 -6
  517. package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -51
  518. package/module/codegen/cosmos/upgrade/v1beta1/tx.js +214 -10
  519. package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +3 -3
  520. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +247 -18
  521. package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +18 -0
  522. package/module/codegen/cosmos/vesting/v1beta1/tx.js +570 -0
  523. package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +69 -0
  524. package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +29 -0
  525. package/module/codegen/cosmos/vesting/v1beta1/vesting.js +622 -0
  526. package/module/codegen/cosmos_proto/bundle.js +4 -4
  527. package/module/codegen/cosmos_proto/cosmos.js +121 -15
  528. package/module/codegen/cosmwasm/bundle.js +19 -19
  529. package/module/codegen/cosmwasm/client.js +3 -3
  530. package/module/codegen/cosmwasm/lcd.js +48 -1
  531. package/module/codegen/cosmwasm/rpc.query.js +32 -0
  532. package/module/codegen/cosmwasm/rpc.tx.js +21 -0
  533. package/module/codegen/cosmwasm/wasm/v1/authz.js +504 -30
  534. package/module/codegen/cosmwasm/wasm/v1/genesis.js +294 -21
  535. package/module/codegen/cosmwasm/wasm/v1/ibc.js +102 -12
  536. package/module/codegen/cosmwasm/wasm/v1/proposal.js +815 -42
  537. package/module/codegen/cosmwasm/wasm/v1/query.js +1203 -61
  538. package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +0 -11
  539. package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +12 -12
  540. package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -219
  541. package/module/codegen/cosmwasm/wasm/v1/tx.js +728 -46
  542. package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +8 -8
  543. package/module/codegen/cosmwasm/wasm/v1/types.js +437 -59
  544. package/module/codegen/gaia/bundle.js +10 -10
  545. package/module/codegen/gaia/globalfee/v1beta1/genesis.js +77 -6
  546. package/module/codegen/gaia/globalfee/v1beta1/query.js +90 -5
  547. package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +0 -1
  548. package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +2 -2
  549. package/module/codegen/gaia/lcd.js +48 -1
  550. package/module/codegen/gaia/rpc.query.js +32 -0
  551. package/module/codegen/gogoproto/bundle.js +4 -4
  552. package/module/codegen/google/api/annotations.js +1 -0
  553. package/module/codegen/google/api/http.js +1171 -0
  554. package/module/codegen/google/bundle.js +11 -8
  555. package/module/codegen/google/protobuf/any.js +278 -3
  556. package/module/codegen/google/protobuf/descriptor.js +1534 -165
  557. package/module/codegen/google/protobuf/duration.js +154 -7
  558. package/module/codegen/google/protobuf/empty.js +63 -3
  559. package/module/codegen/google/protobuf/timestamp.js +199 -7
  560. package/module/codegen/helpers.js +19 -46
  561. package/module/codegen/ibc/applications/transfer/v1/genesis.js +55 -4
  562. package/module/codegen/ibc/applications/transfer/v1/query.js +292 -13
  563. package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +0 -3
  564. package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +4 -4
  565. package/module/codegen/ibc/applications/transfer/v1/transfer.js +117 -5
  566. package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -52
  567. package/module/codegen/ibc/applications/transfer/v1/tx.js +116 -11
  568. package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +2 -2
  569. package/module/codegen/ibc/applications/transfer/v2/packet.js +67 -3
  570. package/module/codegen/ibc/bundle.js +69 -58
  571. package/module/codegen/ibc/client.js +3 -3
  572. package/module/codegen/ibc/core/channel/v1/channel.js +424 -55
  573. package/module/codegen/ibc/core/channel/v1/genesis.js +149 -12
  574. package/module/codegen/ibc/core/channel/v1/query.js +1565 -93
  575. package/module/codegen/ibc/core/channel/v1/query.lcd.js +0 -13
  576. package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +14 -14
  577. package/module/codegen/ibc/core/channel/v1/tx.amino.js +21 -490
  578. package/module/codegen/ibc/core/channel/v1/tx.js +1049 -62
  579. package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +11 -11
  580. package/module/codegen/ibc/core/client/v1/client.js +424 -24
  581. package/module/codegen/ibc/core/client/v1/genesis.js +186 -12
  582. package/module/codegen/ibc/core/client/v1/query.js +861 -42
  583. package/module/codegen/ibc/core/client/v1/query.lcd.js +0 -8
  584. package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +9 -9
  585. package/module/codegen/ibc/core/client/v1/tx.amino.js +9 -136
  586. package/module/codegen/ibc/core/client/v1/tx.js +402 -17
  587. package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +5 -5
  588. package/module/codegen/ibc/core/commitment/v1/commitment.js +227 -9
  589. package/module/codegen/ibc/core/connection/v1/connection.js +409 -48
  590. package/module/codegen/ibc/core/connection/v1/genesis.js +62 -8
  591. package/module/codegen/ibc/core/connection/v1/query.js +579 -33
  592. package/module/codegen/ibc/core/connection/v1/query.lcd.js +0 -5
  593. package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +6 -6
  594. package/module/codegen/ibc/core/connection/v1/tx.amino.js +9 -252
  595. package/module/codegen/ibc/core/connection/v1/tx.js +495 -31
  596. package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +5 -5
  597. package/module/codegen/ibc/core/port/v1/query.js +214 -0
  598. package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
  599. package/module/codegen/ibc/core/types/v1/genesis.js +103 -0
  600. package/module/codegen/ibc/lcd.js +48 -1
  601. package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -4
  602. package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +930 -89
  603. package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +927 -86
  604. package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +365 -27
  605. package/module/codegen/ibc/rpc.query.js +35 -0
  606. package/module/codegen/ibc/rpc.tx.js +21 -0
  607. package/module/codegen/ics23/bundle.js +4 -4
  608. package/module/codegen/index.js +5 -2
  609. package/module/codegen/juno/bundle.js +75 -22
  610. package/module/codegen/juno/client.js +15 -5
  611. package/module/codegen/juno/clock/v1/genesis.js +155 -0
  612. package/module/codegen/juno/clock/v1/query.js +256 -0
  613. package/module/codegen/juno/clock/v1/query.lcd.js +21 -0
  614. package/module/codegen/juno/clock/v1/query.rpc.Query.js +36 -0
  615. package/module/codegen/juno/clock/v1/tx.amino.js +8 -0
  616. package/module/codegen/juno/clock/v1/tx.js +167 -0
  617. package/module/codegen/juno/clock/v1/tx.registry.js +33 -0
  618. package/module/codegen/juno/clock/v1/tx.rpc.msg.js +17 -0
  619. package/module/codegen/juno/cwhooks/v1/genesis.js +169 -0
  620. package/module/codegen/juno/cwhooks/v1/query.js +385 -0
  621. package/module/codegen/juno/cwhooks/v1/query.lcd.js +27 -0
  622. package/module/codegen/juno/cwhooks/v1/query.rpc.Query.js +45 -0
  623. package/module/codegen/juno/cwhooks/v1/tx.amino.js +28 -0
  624. package/module/codegen/juno/cwhooks/v1/tx.js +719 -0
  625. package/module/codegen/juno/cwhooks/v1/tx.registry.js +105 -0
  626. package/module/codegen/juno/cwhooks/v1/tx.rpc.msg.js +41 -0
  627. package/module/codegen/juno/drip/v1/genesis.js +155 -0
  628. package/module/codegen/juno/drip/v1/query.js +127 -0
  629. package/module/codegen/juno/drip/v1/query.lcd.js +15 -0
  630. package/module/codegen/juno/drip/v1/query.rpc.Query.js +27 -0
  631. package/module/codegen/juno/drip/v1/tx.amino.js +13 -0
  632. package/module/codegen/juno/drip/v1/tx.js +294 -0
  633. package/module/codegen/juno/drip/v1/tx.registry.js +51 -0
  634. package/module/codegen/juno/drip/v1/tx.rpc.msg.js +23 -0
  635. package/module/codegen/juno/feepay/v1/feepay.js +207 -0
  636. package/module/codegen/juno/feepay/v1/genesis.js +157 -0
  637. package/module/codegen/juno/feepay/v1/query.js +725 -0
  638. package/module/codegen/juno/feepay/v1/query.lcd.js +48 -0
  639. package/module/codegen/juno/feepay/v1/query.rpc.Query.js +65 -0
  640. package/module/codegen/juno/feepay/v1/tx.amino.js +28 -0
  641. package/module/codegen/juno/feepay/v1/tx.js +748 -0
  642. package/module/codegen/juno/feepay/v1/tx.registry.js +105 -0
  643. package/module/codegen/juno/feepay/v1/tx.rpc.msg.js +41 -0
  644. package/module/codegen/juno/feeshare/v1/feeshare.js +54 -3
  645. package/module/codegen/juno/feeshare/v1/genesis.js +95 -8
  646. package/module/codegen/juno/feeshare/v1/query.js +433 -23
  647. package/module/codegen/juno/feeshare/v1/query.lcd.js +0 -5
  648. package/module/codegen/juno/feeshare/v1/query.rpc.Query.js +6 -6
  649. package/module/codegen/juno/feeshare/v1/tx.amino.js +12 -62
  650. package/module/codegen/juno/feeshare/v1/tx.js +400 -13
  651. package/module/codegen/juno/feeshare/v1/tx.registry.js +20 -2
  652. package/module/codegen/juno/feeshare/v1/tx.rpc.msg.js +11 -5
  653. package/module/codegen/juno/lcd.js +68 -1
  654. package/module/codegen/juno/mint/genesis.js +43 -5
  655. package/module/codegen/juno/mint/mint.js +115 -21
  656. package/module/codegen/juno/mint/query.js +378 -14
  657. package/module/codegen/juno/mint/query.lcd.js +6 -3
  658. package/module/codegen/juno/mint/query.rpc.Query.js +14 -5
  659. package/module/codegen/juno/mint/tx.amino.js +8 -0
  660. package/module/codegen/juno/mint/tx.js +167 -0
  661. package/module/codegen/juno/mint/tx.registry.js +33 -0
  662. package/module/codegen/juno/mint/tx.rpc.msg.js +17 -0
  663. package/module/codegen/juno/rpc.query.js +44 -0
  664. package/module/codegen/juno/rpc.tx.js +35 -1
  665. package/module/codegen/osmosis/bundle.js +17 -17
  666. package/module/codegen/osmosis/client.js +3 -3
  667. package/module/codegen/osmosis/lcd.js +48 -1
  668. package/module/codegen/osmosis/rpc.query.js +32 -0
  669. package/module/codegen/osmosis/rpc.tx.js +21 -0
  670. package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -3
  671. package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +110 -7
  672. package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +59 -4
  673. package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +290 -15
  674. package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +0 -3
  675. package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +4 -4
  676. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -173
  677. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +780 -30
  678. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
  679. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +14 -8
  680. package/module/codegen/router/bundle.js +10 -10
  681. package/module/codegen/router/lcd.js +48 -1
  682. package/module/codegen/router/rpc.query.js +32 -0
  683. package/module/codegen/router/v1/genesis.js +217 -22
  684. package/module/codegen/router/v1/query.js +69 -5
  685. package/module/codegen/router/v1/query.lcd.js +0 -1
  686. package/module/codegen/router/v1/query.rpc.Query.js +2 -2
  687. package/module/codegen/tendermint/abci/types.js +1996 -220
  688. package/module/codegen/tendermint/bundle.js +19 -19
  689. package/module/codegen/tendermint/crypto/keys.js +42 -3
  690. package/module/codegen/tendermint/crypto/proof.js +221 -18
  691. package/module/codegen/tendermint/libs/bits/types.js +42 -8
  692. package/module/codegen/tendermint/p2p/types.js +226 -23
  693. package/module/codegen/tendermint/types/block.js +46 -6
  694. package/module/codegen/tendermint/types/evidence.js +191 -24
  695. package/module/codegen/tendermint/types/params.js +306 -43
  696. package/module/codegen/tendermint/types/types.js +666 -85
  697. package/module/codegen/tendermint/types/validator.js +132 -21
  698. package/module/codegen/tendermint/version/types.js +108 -15
  699. package/module/codegen/utf8.js +121 -0
  700. package/module/codegen/varint.js +420 -0
  701. package/package.json +8 -9
  702. package/src/codegen/amino/amino.ts +1 -0
  703. package/src/codegen/amino/bundle.ts +4 -0
  704. package/src/codegen/binary.ts +534 -0
  705. package/src/codegen/confio/proofs.ts +828 -387
  706. package/src/codegen/cosmos/app/v1alpha1/config.ts +255 -0
  707. package/src/codegen/cosmos/app/v1alpha1/module.ts +454 -0
  708. package/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
  709. package/src/codegen/cosmos/app/v1alpha1/query.ts +163 -0
  710. package/src/codegen/cosmos/auth/v1beta1/auth.ts +418 -0
  711. package/src/codegen/cosmos/auth/v1beta1/genesis.ts +113 -0
  712. package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +65 -0
  713. package/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +102 -0
  714. package/src/codegen/cosmos/auth/v1beta1/query.ts +1249 -0
  715. package/src/codegen/cosmos/authz/v1beta1/authz.ts +238 -81
  716. package/src/codegen/cosmos/authz/v1beta1/event.ts +127 -56
  717. package/src/codegen/cosmos/authz/v1beta1/genesis.ts +54 -19
  718. package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +1 -18
  719. package/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +4 -15
  720. package/src/codegen/cosmos/authz/v1beta1/query.ts +359 -140
  721. package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +18 -0
  722. package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +70 -0
  723. package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +4 -12
  724. package/src/codegen/cosmos/authz/v1beta1/tx.ts +336 -113
  725. package/src/codegen/cosmos/bank/v1beta1/authz.ts +59 -19
  726. package/src/codegen/cosmos/bank/v1beta1/bank.ts +454 -172
  727. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +142 -60
  728. package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +1 -35
  729. package/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +10 -39
  730. package/src/codegen/cosmos/bank/v1beta1/query.ts +1075 -385
  731. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +4 -101
  732. package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -6
  733. package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +3 -9
  734. package/src/codegen/cosmos/bank/v1beta1/tx.ts +212 -70
  735. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +767 -356
  736. package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +197 -0
  737. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +166 -77
  738. package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +364 -0
  739. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1406 -501
  740. package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1023 -0
  741. package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +343 -0
  742. package/src/codegen/cosmos/base/store/v1beta1/listening.ts +158 -0
  743. package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +63 -0
  744. package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +87 -0
  745. package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1606 -0
  746. package/src/codegen/cosmos/base/v1beta1/coin.ts +221 -70
  747. package/src/codegen/cosmos/bundle.ts +439 -157
  748. package/src/codegen/cosmos/capability/v1beta1/capability.ts +312 -0
  749. package/src/codegen/cosmos/capability/v1beta1/genesis.ts +226 -0
  750. package/src/codegen/cosmos/client.ts +31 -5
  751. package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +99 -0
  752. package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +8 -0
  753. package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +34 -0
  754. package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +20 -0
  755. package/src/codegen/cosmos/crisis/v1beta1/tx.ts +190 -0
  756. package/src/codegen/cosmos/crypto/ed25519/keys.ts +111 -34
  757. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +76 -39
  758. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +280 -108
  759. package/src/codegen/cosmos/crypto/multisig/keys.ts +63 -21
  760. package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +118 -36
  761. package/src/codegen/cosmos/crypto/secp256k1/keys.ts +108 -34
  762. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +104 -36
  763. package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +778 -261
  764. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +591 -274
  765. package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +1 -25
  766. package/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +10 -39
  767. package/src/codegen/cosmos/distribution/v1beta1/query.ts +1022 -353
  768. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +8 -105
  769. package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -12
  770. package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +5 -15
  771. package/src/codegen/cosmos/distribution/v1beta1/tx.ts +423 -133
  772. package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +146 -0
  773. package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +95 -0
  774. package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +33 -0
  775. package/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
  776. package/src/codegen/cosmos/evidence/v1beta1/query.ts +405 -0
  777. package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
  778. package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +34 -0
  779. package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +23 -0
  780. package/src/codegen/cosmos/evidence/v1beta1/tx.ts +207 -0
  781. package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +560 -0
  782. package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +93 -0
  783. package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
  784. package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +55 -0
  785. package/src/codegen/cosmos/feegrant/v1beta1/query.ts +634 -0
  786. package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +13 -0
  787. package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +52 -0
  788. package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +34 -0
  789. package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +384 -0
  790. package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +95 -0
  791. package/src/codegen/cosmos/gov/v1/genesis.ts +100 -55
  792. package/src/codegen/cosmos/gov/v1/gov.ts +560 -306
  793. package/src/codegen/cosmos/gov/v1/query.lcd.ts +1 -28
  794. package/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +9 -35
  795. package/src/codegen/cosmos/gov/v1/query.ts +929 -365
  796. package/src/codegen/cosmos/gov/v1/tx.amino.ts +10 -208
  797. package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -15
  798. package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +6 -18
  799. package/src/codegen/cosmos/gov/v1/tx.ts +582 -213
  800. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +107 -62
  801. package/src/codegen/cosmos/gov/v1beta1/gov.ts +641 -348
  802. package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +1 -28
  803. package/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +9 -35
  804. package/src/codegen/cosmos/gov/v1beta1/query.ts +948 -384
  805. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +8 -159
  806. package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -12
  807. package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +5 -15
  808. package/src/codegen/cosmos/gov/v1beta1/tx.ts +468 -168
  809. package/src/codegen/cosmos/group/v1/events.ts +855 -0
  810. package/src/codegen/cosmos/group/v1/genesis.ts +240 -0
  811. package/src/codegen/cosmos/group/v1/query.lcd.ts +139 -0
  812. package/src/codegen/cosmos/group/v1/query.rpc.Query.ts +162 -0
  813. package/src/codegen/cosmos/group/v1/query.ts +2674 -0
  814. package/src/codegen/cosmos/group/v1/tx.amino.ts +73 -0
  815. package/src/codegen/cosmos/group/v1/tx.registry.ts +268 -0
  816. package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +124 -0
  817. package/src/codegen/cosmos/group/v1/tx.ts +2998 -0
  818. package/src/codegen/cosmos/group/v1/types.ts +1964 -0
  819. package/src/codegen/cosmos/lcd.ts +48 -1
  820. package/src/codegen/cosmos/mint/v1beta1/genesis.ts +110 -0
  821. package/src/codegen/cosmos/mint/v1beta1/mint.ts +286 -0
  822. package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +30 -0
  823. package/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
  824. package/src/codegen/cosmos/mint/v1beta1/query.ts +513 -0
  825. package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
  826. package/src/codegen/cosmos/nft/v1beta1/event.ts +373 -0
  827. package/src/codegen/cosmos/nft/v1beta1/genesis.ts +222 -0
  828. package/src/codegen/cosmos/nft/v1beta1/nft.ts +354 -0
  829. package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +76 -0
  830. package/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +101 -0
  831. package/src/codegen/cosmos/nft/v1beta1/query.ts +1360 -0
  832. package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +8 -0
  833. package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +34 -0
  834. package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +20 -0
  835. package/src/codegen/cosmos/nft/v1beta1/tx.ts +213 -0
  836. package/src/codegen/cosmos/orm/v1/orm.ts +566 -0
  837. package/src/codegen/cosmos/orm/v1alpha1/schema.ts +348 -0
  838. package/src/codegen/cosmos/params/v1beta1/params.ts +250 -0
  839. package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +34 -0
  840. package/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +44 -0
  841. package/src/codegen/cosmos/params/v1beta1/query.ts +495 -0
  842. package/src/codegen/cosmos/rpc.query.ts +32 -0
  843. package/src/codegen/cosmos/rpc.tx.ts +21 -0
  844. package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +478 -0
  845. package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +39 -0
  846. package/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
  847. package/src/codegen/cosmos/slashing/v1beta1/query.ts +577 -0
  848. package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +356 -0
  849. package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +8 -0
  850. package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +34 -0
  851. package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +24 -0
  852. package/src/codegen/cosmos/slashing/v1beta1/tx.ts +160 -0
  853. package/src/codegen/cosmos/staking/v1beta1/authz.ts +130 -84
  854. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +170 -82
  855. package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +1 -48
  856. package/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +15 -59
  857. package/src/codegen/cosmos/staking/v1beta1/query.ts +1616 -586
  858. package/src/codegen/cosmos/staking/v1beta1/staking.ts +1395 -616
  859. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +10 -276
  860. package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -15
  861. package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +6 -18
  862. package/src/codegen/cosmos/staking/v1beta1/tx.ts +609 -224
  863. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +306 -181
  864. package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +1 -15
  865. package/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +6 -23
  866. package/src/codegen/cosmos/tx/v1beta1/service.ts +635 -293
  867. package/src/codegen/cosmos/tx/v1beta1/tx.ts +930 -405
  868. package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +1 -15
  869. package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +6 -23
  870. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +550 -182
  871. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +4 -77
  872. package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -6
  873. package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +3 -9
  874. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +217 -73
  875. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +284 -124
  876. package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
  877. package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +70 -0
  878. package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +45 -0
  879. package/src/codegen/cosmos/vesting/v1beta1/tx.ts +657 -0
  880. package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +724 -0
  881. package/src/codegen/cosmos_proto/bundle.ts +3 -2
  882. package/src/codegen/cosmos_proto/cosmos.ts +125 -67
  883. package/src/codegen/cosmwasm/bundle.ts +32 -30
  884. package/src/codegen/cosmwasm/client.ts +5 -3
  885. package/src/codegen/cosmwasm/lcd.ts +48 -1
  886. package/src/codegen/cosmwasm/rpc.query.ts +32 -0
  887. package/src/codegen/cosmwasm/rpc.tx.ts +21 -0
  888. package/src/codegen/cosmwasm/wasm/v1/authz.ts +528 -180
  889. package/src/codegen/cosmwasm/wasm/v1/genesis.ts +356 -134
  890. package/src/codegen/cosmwasm/wasm/v1/ibc.ts +131 -60
  891. package/src/codegen/cosmwasm/wasm/v1/proposal.ts +987 -497
  892. package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +1 -37
  893. package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -47
  894. package/src/codegen/cosmwasm/wasm/v1/query.ts +1352 -486
  895. package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +14 -298
  896. package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +0 -21
  897. package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +8 -24
  898. package/src/codegen/cosmwasm/wasm/v1/tx.ts +893 -386
  899. package/src/codegen/cosmwasm/wasm/v1/types.ts +541 -300
  900. package/src/codegen/gaia/bundle.ts +14 -12
  901. package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +97 -40
  902. package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +1 -5
  903. package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +2 -7
  904. package/src/codegen/gaia/globalfee/v1beta1/query.ts +92 -33
  905. package/src/codegen/gaia/lcd.ts +48 -1
  906. package/src/codegen/gaia/rpc.query.ts +32 -0
  907. package/src/codegen/gogoproto/bundle.ts +3 -2
  908. package/src/codegen/google/api/annotations.ts +1 -0
  909. package/src/codegen/google/api/http.ts +1351 -0
  910. package/src/codegen/google/bundle.ts +17 -10
  911. package/src/codegen/google/protobuf/any.ts +131 -24
  912. package/src/codegen/google/protobuf/descriptor.ts +1890 -1033
  913. package/src/codegen/google/protobuf/duration.ts +106 -41
  914. package/src/codegen/google/protobuf/empty.ts +49 -16
  915. package/src/codegen/google/protobuf/timestamp.ts +127 -39
  916. package/src/codegen/helpers.ts +174 -166
  917. package/src/codegen/ibc/applications/transfer/v1/genesis.ts +67 -26
  918. package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +1 -11
  919. package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +4 -15
  920. package/src/codegen/ibc/applications/transfer/v1/query.ts +322 -108
  921. package/src/codegen/ibc/applications/transfer/v1/transfer.ts +123 -46
  922. package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +2 -67
  923. package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +0 -3
  924. package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +2 -6
  925. package/src/codegen/ibc/applications/transfer/v1/tx.ts +148 -75
  926. package/src/codegen/ibc/applications/transfer/v2/packet.ts +74 -34
  927. package/src/codegen/ibc/bundle.ts +115 -90
  928. package/src/codegen/ibc/client.ts +5 -3
  929. package/src/codegen/ibc/core/channel/v1/channel.ts +489 -301
  930. package/src/codegen/ibc/core/channel/v1/genesis.ts +177 -68
  931. package/src/codegen/ibc/core/channel/v1/query.lcd.ts +1 -38
  932. package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +14 -55
  933. package/src/codegen/ibc/core/channel/v1/query.ts +1799 -794
  934. package/src/codegen/ibc/core/channel/v1/tx.amino.ts +20 -637
  935. package/src/codegen/ibc/core/channel/v1/tx.registry.ts +0 -30
  936. package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +11 -33
  937. package/src/codegen/ibc/core/channel/v1/tx.ts +1224 -442
  938. package/src/codegen/ibc/core/client/v1/client.ts +463 -184
  939. package/src/codegen/ibc/core/client/v1/genesis.ts +218 -91
  940. package/src/codegen/ibc/core/client/v1/query.lcd.ts +1 -25
  941. package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +9 -35
  942. package/src/codegen/ibc/core/client/v1/query.ts +929 -333
  943. package/src/codegen/ibc/core/client/v1/tx.amino.ts +8 -190
  944. package/src/codegen/ibc/core/client/v1/tx.registry.ts +0 -12
  945. package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +5 -15
  946. package/src/codegen/ibc/core/client/v1/tx.ts +461 -182
  947. package/src/codegen/ibc/core/commitment/v1/commitment.ts +224 -67
  948. package/src/codegen/ibc/core/connection/v1/connection.ts +485 -246
  949. package/src/codegen/ibc/core/connection/v1/genesis.ts +81 -37
  950. package/src/codegen/ibc/core/connection/v1/query.lcd.ts +1 -15
  951. package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +6 -23
  952. package/src/codegen/ibc/core/connection/v1/query.ts +653 -261
  953. package/src/codegen/ibc/core/connection/v1/tx.amino.ts +8 -328
  954. package/src/codegen/ibc/core/connection/v1/tx.registry.ts +0 -12
  955. package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +5 -15
  956. package/src/codegen/ibc/core/connection/v1/tx.ts +583 -242
  957. package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +30 -0
  958. package/src/codegen/ibc/core/port/v1/query.ts +269 -0
  959. package/src/codegen/ibc/core/types/v1/genesis.ts +135 -0
  960. package/src/codegen/ibc/lcd.ts +48 -1
  961. package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +65 -28
  962. package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1061 -473
  963. package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1056 -468
  964. package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +419 -189
  965. package/src/codegen/ibc/rpc.query.ts +35 -0
  966. package/src/codegen/ibc/rpc.tx.ts +21 -0
  967. package/src/codegen/ics23/bundle.ts +3 -2
  968. package/src/codegen/index.ts +5 -2
  969. package/src/codegen/juno/bundle.ts +127 -34
  970. package/src/codegen/juno/client.ts +21 -4
  971. package/src/codegen/juno/clock/v1/genesis.ts +188 -0
  972. package/src/codegen/juno/clock/v1/query.lcd.ts +24 -0
  973. package/src/codegen/juno/clock/v1/query.rpc.Query.ts +41 -0
  974. package/src/codegen/juno/clock/v1/query.ts +298 -0
  975. package/src/codegen/juno/clock/v1/tx.amino.ts +8 -0
  976. package/src/codegen/juno/clock/v1/tx.registry.ts +34 -0
  977. package/src/codegen/juno/clock/v1/tx.rpc.msg.ts +25 -0
  978. package/src/codegen/juno/clock/v1/tx.ts +203 -0
  979. package/src/codegen/juno/cwhooks/v1/genesis.ts +209 -0
  980. package/src/codegen/juno/cwhooks/v1/query.lcd.ts +30 -0
  981. package/src/codegen/juno/cwhooks/v1/query.rpc.Query.ts +52 -0
  982. package/src/codegen/juno/cwhooks/v1/query.ts +447 -0
  983. package/src/codegen/juno/cwhooks/v1/tx.amino.ts +28 -0
  984. package/src/codegen/juno/cwhooks/v1/tx.registry.ts +106 -0
  985. package/src/codegen/juno/cwhooks/v1/tx.rpc.msg.ts +57 -0
  986. package/src/codegen/juno/cwhooks/v1/tx.ts +851 -0
  987. package/src/codegen/juno/drip/v1/genesis.ts +190 -0
  988. package/src/codegen/juno/drip/v1/query.lcd.ts +18 -0
  989. package/src/codegen/juno/drip/v1/query.rpc.Query.ts +30 -0
  990. package/src/codegen/juno/drip/v1/query.ts +151 -0
  991. package/src/codegen/juno/drip/v1/tx.amino.ts +13 -0
  992. package/src/codegen/juno/drip/v1/tx.registry.ts +52 -0
  993. package/src/codegen/juno/drip/v1/tx.rpc.msg.ts +27 -0
  994. package/src/codegen/juno/drip/v1/tx.ts +360 -0
  995. package/src/codegen/juno/feepay/v1/feepay.ts +257 -0
  996. package/src/codegen/juno/feepay/v1/genesis.ts +191 -0
  997. package/src/codegen/juno/feepay/v1/query.lcd.ts +51 -0
  998. package/src/codegen/juno/feepay/v1/query.rpc.Query.ts +76 -0
  999. package/src/codegen/juno/feepay/v1/query.ts +886 -0
  1000. package/src/codegen/juno/feepay/v1/tx.amino.ts +28 -0
  1001. package/src/codegen/juno/feepay/v1/tx.registry.ts +106 -0
  1002. package/src/codegen/juno/feepay/v1/tx.rpc.msg.ts +52 -0
  1003. package/src/codegen/juno/feepay/v1/tx.ts +905 -0
  1004. package/src/codegen/juno/feeshare/v1/feeshare.ts +61 -29
  1005. package/src/codegen/juno/feeshare/v1/genesis.ts +119 -56
  1006. package/src/codegen/juno/feeshare/v1/query.lcd.ts +1 -19
  1007. package/src/codegen/juno/feeshare/v1/query.rpc.Query.ts +6 -23
  1008. package/src/codegen/juno/feeshare/v1/query.ts +504 -203
  1009. package/src/codegen/juno/feeshare/v1/tx.amino.ts +12 -87
  1010. package/src/codegen/juno/feeshare/v1/tx.registry.ts +20 -11
  1011. package/src/codegen/juno/feeshare/v1/tx.rpc.msg.ts +13 -13
  1012. package/src/codegen/juno/feeshare/v1/tx.ts +485 -120
  1013. package/src/codegen/juno/lcd.ts +68 -1
  1014. package/src/codegen/juno/mint/genesis.ts +58 -30
  1015. package/src/codegen/juno/mint/mint.ts +152 -73
  1016. package/src/codegen/juno/mint/query.lcd.ts +8 -10
  1017. package/src/codegen/juno/mint/query.rpc.Query.ts +16 -16
  1018. package/src/codegen/juno/mint/query.ts +431 -99
  1019. package/src/codegen/juno/mint/tx.amino.ts +8 -0
  1020. package/src/codegen/juno/mint/tx.registry.ts +34 -0
  1021. package/src/codegen/juno/mint/tx.rpc.msg.ts +25 -0
  1022. package/src/codegen/juno/mint/tx.ts +203 -0
  1023. package/src/codegen/juno/rpc.query.ts +44 -0
  1024. package/src/codegen/juno/rpc.tx.ts +35 -1
  1025. package/src/codegen/osmosis/bundle.ts +28 -26
  1026. package/src/codegen/osmosis/client.ts +5 -3
  1027. package/src/codegen/osmosis/lcd.ts +48 -1
  1028. package/src/codegen/osmosis/rpc.query.ts +32 -0
  1029. package/src/codegen/osmosis/rpc.tx.ts +21 -0
  1030. package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +56 -19
  1031. package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +126 -47
  1032. package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +80 -20
  1033. package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +1 -9
  1034. package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +4 -15
  1035. package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +318 -105
  1036. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +18 -244
  1037. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +20 -20
  1038. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +21 -17
  1039. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +881 -215
  1040. package/src/codegen/router/bundle.ts +14 -12
  1041. package/src/codegen/router/lcd.ts +48 -1
  1042. package/src/codegen/router/rpc.query.ts +32 -0
  1043. package/src/codegen/router/v1/genesis.ts +276 -119
  1044. package/src/codegen/router/v1/query.lcd.ts +1 -5
  1045. package/src/codegen/router/v1/query.rpc.Query.ts +2 -7
  1046. package/src/codegen/router/v1/query.ts +85 -34
  1047. package/src/codegen/tendermint/abci/types.ts +2651 -1184
  1048. package/src/codegen/tendermint/bundle.ts +28 -22
  1049. package/src/codegen/tendermint/crypto/keys.ts +51 -20
  1050. package/src/codegen/tendermint/crypto/proof.ts +281 -108
  1051. package/src/codegen/tendermint/libs/bits/types.ts +62 -32
  1052. package/src/codegen/tendermint/p2p/types.ts +318 -126
  1053. package/src/codegen/tendermint/types/block.ts +70 -33
  1054. package/src/codegen/tendermint/types/evidence.ts +257 -112
  1055. package/src/codegen/tendermint/types/params.ts +383 -188
  1056. package/src/codegen/tendermint/types/types.ts +886 -437
  1057. package/src/codegen/tendermint/types/validator.ts +191 -84
  1058. package/src/codegen/tendermint/version/types.ts +125 -56
  1059. package/src/codegen/utf8.ts +148 -0
  1060. package/src/codegen/varint.ts +488 -0
  1061. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +1 -1
  1062. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +1 -1
  1063. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +1 -1
  1064. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +1 -1
  1065. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +1 -1
  1066. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +1 -1
  1067. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +1 -1
  1068. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +1 -1
  1069. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +1 -1
  1070. package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +1 -1
  1071. package/types/codegen/helpers.d.ts +1 -1
  1072. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +1 -1
  1073. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +1 -1
  1074. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +1 -1
  1075. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +1 -1
  1076. package/types/codegen/index.d.ts +1 -1
  1077. package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +1 -1
  1078. package/types/codegen/juno/mint/query.lcd.d.ts +1 -1
  1079. package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +1 -1
  1080. package/types/codegen/router/v1/query.lcd.d.ts +1 -1
@@ -1,16 +1,29 @@
1
- import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin";
2
- import * as _m0 from "protobufjs/minimal";
3
- import { DeepPartial, Long } from "../../../helpers";
1
+ import { DecCoin, DecCoinAmino, DecCoinSDKType, Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin";
2
+ import { BinaryReader, BinaryWriter } from "../../../binary";
3
+ import { Decimal } from "@cosmjs/math";
4
4
  /** Params defines the set of params for the distribution module. */
5
-
6
5
  export interface Params {
7
6
  communityTax: string;
8
7
  baseProposerReward: string;
9
8
  bonusProposerReward: string;
10
9
  withdrawAddrEnabled: boolean;
11
10
  }
11
+ export interface ParamsProtoMsg {
12
+ typeUrl: "/cosmos.distribution.v1beta1.Params";
13
+ value: Uint8Array;
14
+ }
15
+ /** Params defines the set of params for the distribution module. */
16
+ export interface ParamsAmino {
17
+ community_tax?: string;
18
+ base_proposer_reward?: string;
19
+ bonus_proposer_reward?: string;
20
+ withdraw_addr_enabled?: boolean;
21
+ }
22
+ export interface ParamsAminoMsg {
23
+ type: "cosmos-sdk/Params";
24
+ value: ParamsAmino;
25
+ }
12
26
  /** Params defines the set of params for the distribution module. */
13
-
14
27
  export interface ParamsSDKType {
15
28
  community_tax: string;
16
29
  base_proposer_reward: string;
@@ -31,11 +44,36 @@ export interface ParamsSDKType {
31
44
  * read that record)
32
45
  * + one per validator for the zeroeth period, set on initialization
33
46
  */
34
-
35
47
  export interface ValidatorHistoricalRewards {
36
48
  cumulativeRewardRatio: DecCoin[];
37
49
  referenceCount: number;
38
50
  }
51
+ export interface ValidatorHistoricalRewardsProtoMsg {
52
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards";
53
+ value: Uint8Array;
54
+ }
55
+ /**
56
+ * ValidatorHistoricalRewards represents historical rewards for a validator.
57
+ * Height is implicit within the store key.
58
+ * Cumulative reward ratio is the sum from the zeroeth period
59
+ * until this period of rewards / tokens, per the spec.
60
+ * The reference count indicates the number of objects
61
+ * which might need to reference this historical entry at any point.
62
+ * ReferenceCount =
63
+ * number of outstanding delegations which ended the associated period (and
64
+ * might need to read that record)
65
+ * + number of slashes which ended the associated period (and might need to
66
+ * read that record)
67
+ * + one per validator for the zeroeth period, set on initialization
68
+ */
69
+ export interface ValidatorHistoricalRewardsAmino {
70
+ cumulative_reward_ratio?: DecCoinAmino[];
71
+ reference_count?: number;
72
+ }
73
+ export interface ValidatorHistoricalRewardsAminoMsg {
74
+ type: "cosmos-sdk/ValidatorHistoricalRewards";
75
+ value: ValidatorHistoricalRewardsAmino;
76
+ }
39
77
  /**
40
78
  * ValidatorHistoricalRewards represents historical rewards for a validator.
41
79
  * Height is implicit within the store key.
@@ -50,7 +88,6 @@ export interface ValidatorHistoricalRewards {
50
88
  * read that record)
51
89
  * + one per validator for the zeroeth period, set on initialization
52
90
  */
53
-
54
91
  export interface ValidatorHistoricalRewardsSDKType {
55
92
  cumulative_reward_ratio: DecCoinSDKType[];
56
93
  reference_count: number;
@@ -60,34 +97,62 @@ export interface ValidatorHistoricalRewardsSDKType {
60
97
  * period for a validator kept as a running counter and incremented
61
98
  * each block as long as the validator's tokens remain constant.
62
99
  */
63
-
64
100
  export interface ValidatorCurrentRewards {
65
101
  rewards: DecCoin[];
66
- period: Long;
102
+ period: bigint;
103
+ }
104
+ export interface ValidatorCurrentRewardsProtoMsg {
105
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards";
106
+ value: Uint8Array;
107
+ }
108
+ /**
109
+ * ValidatorCurrentRewards represents current rewards and current
110
+ * period for a validator kept as a running counter and incremented
111
+ * each block as long as the validator's tokens remain constant.
112
+ */
113
+ export interface ValidatorCurrentRewardsAmino {
114
+ rewards?: DecCoinAmino[];
115
+ period?: string;
116
+ }
117
+ export interface ValidatorCurrentRewardsAminoMsg {
118
+ type: "cosmos-sdk/ValidatorCurrentRewards";
119
+ value: ValidatorCurrentRewardsAmino;
67
120
  }
68
121
  /**
69
122
  * ValidatorCurrentRewards represents current rewards and current
70
123
  * period for a validator kept as a running counter and incremented
71
124
  * each block as long as the validator's tokens remain constant.
72
125
  */
73
-
74
126
  export interface ValidatorCurrentRewardsSDKType {
75
127
  rewards: DecCoinSDKType[];
76
- period: Long;
128
+ period: bigint;
77
129
  }
78
130
  /**
79
131
  * ValidatorAccumulatedCommission represents accumulated commission
80
132
  * for a validator kept as a running counter, can be withdrawn at any time.
81
133
  */
82
-
83
134
  export interface ValidatorAccumulatedCommission {
84
135
  commission: DecCoin[];
85
136
  }
137
+ export interface ValidatorAccumulatedCommissionProtoMsg {
138
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission";
139
+ value: Uint8Array;
140
+ }
141
+ /**
142
+ * ValidatorAccumulatedCommission represents accumulated commission
143
+ * for a validator kept as a running counter, can be withdrawn at any time.
144
+ */
145
+ export interface ValidatorAccumulatedCommissionAmino {
146
+ commission?: DecCoinAmino[];
147
+ }
148
+ export interface ValidatorAccumulatedCommissionAminoMsg {
149
+ type: "cosmos-sdk/ValidatorAccumulatedCommission";
150
+ value: ValidatorAccumulatedCommissionAmino;
151
+ }
86
152
  /**
87
153
  * ValidatorAccumulatedCommission represents accumulated commission
88
154
  * for a validator kept as a running counter, can be withdrawn at any time.
89
155
  */
90
-
91
156
  export interface ValidatorAccumulatedCommissionSDKType {
92
157
  commission: DecCoinSDKType[];
93
158
  }
@@ -95,15 +160,28 @@ export interface ValidatorAccumulatedCommissionSDKType {
95
160
  * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
96
161
  * for a validator inexpensive to track, allows simple sanity checks.
97
162
  */
98
-
99
163
  export interface ValidatorOutstandingRewards {
100
164
  rewards: DecCoin[];
101
165
  }
166
+ export interface ValidatorOutstandingRewardsProtoMsg {
167
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards";
168
+ value: Uint8Array;
169
+ }
170
+ /**
171
+ * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
172
+ * for a validator inexpensive to track, allows simple sanity checks.
173
+ */
174
+ export interface ValidatorOutstandingRewardsAmino {
175
+ rewards?: DecCoinAmino[];
176
+ }
177
+ export interface ValidatorOutstandingRewardsAminoMsg {
178
+ type: "cosmos-sdk/ValidatorOutstandingRewards";
179
+ value: ValidatorOutstandingRewardsAmino;
180
+ }
102
181
  /**
103
182
  * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
104
183
  * for a validator inexpensive to track, allows simple sanity checks.
105
184
  */
106
-
107
185
  export interface ValidatorOutstandingRewardsSDKType {
108
186
  rewards: DecCoinSDKType[];
109
187
  }
@@ -113,39 +191,75 @@ export interface ValidatorOutstandingRewardsSDKType {
113
191
  * This is needed to calculate appropriate amount of staking tokens
114
192
  * for delegations which are withdrawn after a slash has occurred.
115
193
  */
116
-
117
194
  export interface ValidatorSlashEvent {
118
- validatorPeriod: Long;
195
+ validatorPeriod: bigint;
119
196
  fraction: string;
120
197
  }
198
+ export interface ValidatorSlashEventProtoMsg {
199
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent";
200
+ value: Uint8Array;
201
+ }
202
+ /**
203
+ * ValidatorSlashEvent represents a validator slash event.
204
+ * Height is implicit within the store key.
205
+ * This is needed to calculate appropriate amount of staking tokens
206
+ * for delegations which are withdrawn after a slash has occurred.
207
+ */
208
+ export interface ValidatorSlashEventAmino {
209
+ validator_period?: string;
210
+ fraction?: string;
211
+ }
212
+ export interface ValidatorSlashEventAminoMsg {
213
+ type: "cosmos-sdk/ValidatorSlashEvent";
214
+ value: ValidatorSlashEventAmino;
215
+ }
121
216
  /**
122
217
  * ValidatorSlashEvent represents a validator slash event.
123
218
  * Height is implicit within the store key.
124
219
  * This is needed to calculate appropriate amount of staking tokens
125
220
  * for delegations which are withdrawn after a slash has occurred.
126
221
  */
127
-
128
222
  export interface ValidatorSlashEventSDKType {
129
- validator_period: Long;
223
+ validator_period: bigint;
130
224
  fraction: string;
131
225
  }
132
226
  /** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
133
-
134
227
  export interface ValidatorSlashEvents {
135
228
  validatorSlashEvents: ValidatorSlashEvent[];
136
229
  }
230
+ export interface ValidatorSlashEventsProtoMsg {
231
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents";
232
+ value: Uint8Array;
233
+ }
234
+ /** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
235
+ export interface ValidatorSlashEventsAmino {
236
+ validator_slash_events?: ValidatorSlashEventAmino[];
237
+ }
238
+ export interface ValidatorSlashEventsAminoMsg {
239
+ type: "cosmos-sdk/ValidatorSlashEvents";
240
+ value: ValidatorSlashEventsAmino;
241
+ }
137
242
  /** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
138
-
139
243
  export interface ValidatorSlashEventsSDKType {
140
244
  validator_slash_events: ValidatorSlashEventSDKType[];
141
245
  }
142
246
  /** FeePool is the global fee pool for distribution. */
143
-
144
247
  export interface FeePool {
145
248
  communityPool: DecCoin[];
146
249
  }
250
+ export interface FeePoolProtoMsg {
251
+ typeUrl: "/cosmos.distribution.v1beta1.FeePool";
252
+ value: Uint8Array;
253
+ }
254
+ /** FeePool is the global fee pool for distribution. */
255
+ export interface FeePoolAmino {
256
+ community_pool?: DecCoinAmino[];
257
+ }
258
+ export interface FeePoolAminoMsg {
259
+ type: "cosmos-sdk/FeePool";
260
+ value: FeePoolAmino;
261
+ }
147
262
  /** FeePool is the global fee pool for distribution. */
148
-
149
263
  export interface FeePoolSDKType {
150
264
  community_pool: DecCoinSDKType[];
151
265
  }
@@ -154,19 +268,36 @@ export interface FeePoolSDKType {
154
268
  * together with how many coins are proposed to be spent, and to which
155
269
  * recipient account.
156
270
  */
157
-
158
271
  export interface CommunityPoolSpendProposal {
159
272
  title: string;
160
273
  description: string;
161
274
  recipient: string;
162
275
  amount: Coin[];
163
276
  }
277
+ export interface CommunityPoolSpendProposalProtoMsg {
278
+ typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal";
279
+ value: Uint8Array;
280
+ }
281
+ /**
282
+ * CommunityPoolSpendProposal details a proposal for use of community funds,
283
+ * together with how many coins are proposed to be spent, and to which
284
+ * recipient account.
285
+ */
286
+ export interface CommunityPoolSpendProposalAmino {
287
+ title?: string;
288
+ description?: string;
289
+ recipient?: string;
290
+ amount?: CoinAmino[];
291
+ }
292
+ export interface CommunityPoolSpendProposalAminoMsg {
293
+ type: "cosmos-sdk/CommunityPoolSpendProposal";
294
+ value: CommunityPoolSpendProposalAmino;
295
+ }
164
296
  /**
165
297
  * CommunityPoolSpendProposal details a proposal for use of community funds,
166
298
  * together with how many coins are proposed to be spent, and to which
167
299
  * recipient account.
168
300
  */
169
-
170
301
  export interface CommunityPoolSpendProposalSDKType {
171
302
  title: string;
172
303
  description: string;
@@ -181,11 +312,31 @@ export interface CommunityPoolSpendProposalSDKType {
181
312
  * the delegators within the validator may be left with less than a full token,
182
313
  * thus sdk.Dec is used.
183
314
  */
184
-
185
315
  export interface DelegatorStartingInfo {
186
- previousPeriod: Long;
316
+ previousPeriod: bigint;
187
317
  stake: string;
188
- height: Long;
318
+ height: bigint;
319
+ }
320
+ export interface DelegatorStartingInfoProtoMsg {
321
+ typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo";
322
+ value: Uint8Array;
323
+ }
324
+ /**
325
+ * DelegatorStartingInfo represents the starting info for a delegator reward
326
+ * period. It tracks the previous validator period, the delegation's amount of
327
+ * staking token, and the creation height (to check later on if any slashes have
328
+ * occurred). NOTE: Even though validators are slashed to whole staking tokens,
329
+ * the delegators within the validator may be left with less than a full token,
330
+ * thus sdk.Dec is used.
331
+ */
332
+ export interface DelegatorStartingInfoAmino {
333
+ previous_period?: string;
334
+ stake?: string;
335
+ height?: string;
336
+ }
337
+ export interface DelegatorStartingInfoAminoMsg {
338
+ type: "cosmos-sdk/DelegatorStartingInfo";
339
+ value: DelegatorStartingInfoAmino;
189
340
  }
190
341
  /**
191
342
  * DelegatorStartingInfo represents the starting info for a delegator reward
@@ -195,26 +346,39 @@ export interface DelegatorStartingInfo {
195
346
  * the delegators within the validator may be left with less than a full token,
196
347
  * thus sdk.Dec is used.
197
348
  */
198
-
199
349
  export interface DelegatorStartingInfoSDKType {
200
- previous_period: Long;
350
+ previous_period: bigint;
201
351
  stake: string;
202
- height: Long;
352
+ height: bigint;
203
353
  }
204
354
  /**
205
355
  * DelegationDelegatorReward represents the properties
206
356
  * of a delegator's delegation reward.
207
357
  */
208
-
209
358
  export interface DelegationDelegatorReward {
210
359
  validatorAddress: string;
211
360
  reward: DecCoin[];
212
361
  }
362
+ export interface DelegationDelegatorRewardProtoMsg {
363
+ typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward";
364
+ value: Uint8Array;
365
+ }
366
+ /**
367
+ * DelegationDelegatorReward represents the properties
368
+ * of a delegator's delegation reward.
369
+ */
370
+ export interface DelegationDelegatorRewardAmino {
371
+ validator_address?: string;
372
+ reward?: DecCoinAmino[];
373
+ }
374
+ export interface DelegationDelegatorRewardAminoMsg {
375
+ type: "cosmos-sdk/DelegationDelegatorReward";
376
+ value: DelegationDelegatorRewardAmino;
377
+ }
213
378
  /**
214
379
  * DelegationDelegatorReward represents the properties
215
380
  * of a delegator's delegation reward.
216
381
  */
217
-
218
382
  export interface DelegationDelegatorRewardSDKType {
219
383
  validator_address: string;
220
384
  reward: DecCoinSDKType[];
@@ -223,7 +387,6 @@ export interface DelegationDelegatorRewardSDKType {
223
387
  * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
224
388
  * with a deposit
225
389
  */
226
-
227
390
  export interface CommunityPoolSpendProposalWithDeposit {
228
391
  title: string;
229
392
  description: string;
@@ -231,11 +394,29 @@ export interface CommunityPoolSpendProposalWithDeposit {
231
394
  amount: string;
232
395
  deposit: string;
233
396
  }
397
+ export interface CommunityPoolSpendProposalWithDepositProtoMsg {
398
+ typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit";
399
+ value: Uint8Array;
400
+ }
401
+ /**
402
+ * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
403
+ * with a deposit
404
+ */
405
+ export interface CommunityPoolSpendProposalWithDepositAmino {
406
+ title?: string;
407
+ description?: string;
408
+ recipient?: string;
409
+ amount?: string;
410
+ deposit?: string;
411
+ }
412
+ export interface CommunityPoolSpendProposalWithDepositAminoMsg {
413
+ type: "cosmos-sdk/CommunityPoolSpendProposalWithDeposit";
414
+ value: CommunityPoolSpendProposalWithDepositAmino;
415
+ }
234
416
  /**
235
417
  * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
236
418
  * with a deposit
237
419
  */
238
-
239
420
  export interface CommunityPoolSpendProposalWithDepositSDKType {
240
421
  title: string;
241
422
  description: string;
@@ -243,7 +424,6 @@ export interface CommunityPoolSpendProposalWithDepositSDKType {
243
424
  amount: string;
244
425
  deposit: string;
245
426
  }
246
-
247
427
  function createBaseParams(): Params {
248
428
  return {
249
429
  communityTax: "",
@@ -252,418 +432,634 @@ function createBaseParams(): Params {
252
432
  withdrawAddrEnabled: false
253
433
  };
254
434
  }
255
-
256
435
  export const Params = {
257
- encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
436
+ typeUrl: "/cosmos.distribution.v1beta1.Params",
437
+ encode(message: Params, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
258
438
  if (message.communityTax !== "") {
259
- writer.uint32(10).string(message.communityTax);
439
+ writer.uint32(10).string(Decimal.fromUserInput(message.communityTax, 18).atomics);
260
440
  }
261
-
262
441
  if (message.baseProposerReward !== "") {
263
- writer.uint32(18).string(message.baseProposerReward);
442
+ writer.uint32(18).string(Decimal.fromUserInput(message.baseProposerReward, 18).atomics);
264
443
  }
265
-
266
444
  if (message.bonusProposerReward !== "") {
267
- writer.uint32(26).string(message.bonusProposerReward);
445
+ writer.uint32(26).string(Decimal.fromUserInput(message.bonusProposerReward, 18).atomics);
268
446
  }
269
-
270
447
  if (message.withdrawAddrEnabled === true) {
271
448
  writer.uint32(32).bool(message.withdrawAddrEnabled);
272
449
  }
273
-
274
450
  return writer;
275
451
  },
276
-
277
- decode(input: _m0.Reader | Uint8Array, length?: number): Params {
278
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
452
+ decode(input: BinaryReader | Uint8Array, length?: number): Params {
453
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
279
454
  let end = length === undefined ? reader.len : reader.pos + length;
280
455
  const message = createBaseParams();
281
-
282
456
  while (reader.pos < end) {
283
457
  const tag = reader.uint32();
284
-
285
458
  switch (tag >>> 3) {
286
459
  case 1:
287
- message.communityTax = reader.string();
460
+ message.communityTax = Decimal.fromAtomics(reader.string(), 18).toString();
288
461
  break;
289
-
290
462
  case 2:
291
- message.baseProposerReward = reader.string();
463
+ message.baseProposerReward = Decimal.fromAtomics(reader.string(), 18).toString();
292
464
  break;
293
-
294
465
  case 3:
295
- message.bonusProposerReward = reader.string();
466
+ message.bonusProposerReward = Decimal.fromAtomics(reader.string(), 18).toString();
296
467
  break;
297
-
298
468
  case 4:
299
469
  message.withdrawAddrEnabled = reader.bool();
300
470
  break;
301
-
302
471
  default:
303
472
  reader.skipType(tag & 7);
304
473
  break;
305
474
  }
306
475
  }
307
-
308
476
  return message;
309
477
  },
310
-
311
- fromPartial(object: DeepPartial<Params>): Params {
478
+ fromPartial(object: Partial<Params>): Params {
312
479
  const message = createBaseParams();
313
480
  message.communityTax = object.communityTax ?? "";
314
481
  message.baseProposerReward = object.baseProposerReward ?? "";
315
482
  message.bonusProposerReward = object.bonusProposerReward ?? "";
316
483
  message.withdrawAddrEnabled = object.withdrawAddrEnabled ?? false;
317
484
  return message;
485
+ },
486
+ fromAmino(object: ParamsAmino): Params {
487
+ const message = createBaseParams();
488
+ if (object.community_tax !== undefined && object.community_tax !== null) {
489
+ message.communityTax = object.community_tax;
490
+ }
491
+ if (object.base_proposer_reward !== undefined && object.base_proposer_reward !== null) {
492
+ message.baseProposerReward = object.base_proposer_reward;
493
+ }
494
+ if (object.bonus_proposer_reward !== undefined && object.bonus_proposer_reward !== null) {
495
+ message.bonusProposerReward = object.bonus_proposer_reward;
496
+ }
497
+ if (object.withdraw_addr_enabled !== undefined && object.withdraw_addr_enabled !== null) {
498
+ message.withdrawAddrEnabled = object.withdraw_addr_enabled;
499
+ }
500
+ return message;
501
+ },
502
+ toAmino(message: Params): ParamsAmino {
503
+ const obj: any = {};
504
+ obj.community_tax = message.communityTax;
505
+ obj.base_proposer_reward = message.baseProposerReward;
506
+ obj.bonus_proposer_reward = message.bonusProposerReward;
507
+ obj.withdraw_addr_enabled = message.withdrawAddrEnabled;
508
+ return obj;
509
+ },
510
+ fromAminoMsg(object: ParamsAminoMsg): Params {
511
+ return Params.fromAmino(object.value);
512
+ },
513
+ toAminoMsg(message: Params): ParamsAminoMsg {
514
+ return {
515
+ type: "cosmos-sdk/Params",
516
+ value: Params.toAmino(message)
517
+ };
518
+ },
519
+ fromProtoMsg(message: ParamsProtoMsg): Params {
520
+ return Params.decode(message.value);
521
+ },
522
+ toProto(message: Params): Uint8Array {
523
+ return Params.encode(message).finish();
524
+ },
525
+ toProtoMsg(message: Params): ParamsProtoMsg {
526
+ return {
527
+ typeUrl: "/cosmos.distribution.v1beta1.Params",
528
+ value: Params.encode(message).finish()
529
+ };
318
530
  }
319
-
320
531
  };
321
-
322
532
  function createBaseValidatorHistoricalRewards(): ValidatorHistoricalRewards {
323
533
  return {
324
534
  cumulativeRewardRatio: [],
325
535
  referenceCount: 0
326
536
  };
327
537
  }
328
-
329
538
  export const ValidatorHistoricalRewards = {
330
- encode(message: ValidatorHistoricalRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
539
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards",
540
+ encode(message: ValidatorHistoricalRewards, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
331
541
  for (const v of message.cumulativeRewardRatio) {
332
542
  DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
333
543
  }
334
-
335
544
  if (message.referenceCount !== 0) {
336
545
  writer.uint32(16).uint32(message.referenceCount);
337
546
  }
338
-
339
547
  return writer;
340
548
  },
341
-
342
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards {
343
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
549
+ decode(input: BinaryReader | Uint8Array, length?: number): ValidatorHistoricalRewards {
550
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
344
551
  let end = length === undefined ? reader.len : reader.pos + length;
345
552
  const message = createBaseValidatorHistoricalRewards();
346
-
347
553
  while (reader.pos < end) {
348
554
  const tag = reader.uint32();
349
-
350
555
  switch (tag >>> 3) {
351
556
  case 1:
352
557
  message.cumulativeRewardRatio.push(DecCoin.decode(reader, reader.uint32()));
353
558
  break;
354
-
355
559
  case 2:
356
560
  message.referenceCount = reader.uint32();
357
561
  break;
358
-
359
562
  default:
360
563
  reader.skipType(tag & 7);
361
564
  break;
362
565
  }
363
566
  }
364
-
365
567
  return message;
366
568
  },
367
-
368
- fromPartial(object: DeepPartial<ValidatorHistoricalRewards>): ValidatorHistoricalRewards {
569
+ fromPartial(object: Partial<ValidatorHistoricalRewards>): ValidatorHistoricalRewards {
369
570
  const message = createBaseValidatorHistoricalRewards();
370
571
  message.cumulativeRewardRatio = object.cumulativeRewardRatio?.map(e => DecCoin.fromPartial(e)) || [];
371
572
  message.referenceCount = object.referenceCount ?? 0;
372
573
  return message;
574
+ },
575
+ fromAmino(object: ValidatorHistoricalRewardsAmino): ValidatorHistoricalRewards {
576
+ const message = createBaseValidatorHistoricalRewards();
577
+ message.cumulativeRewardRatio = object.cumulative_reward_ratio?.map(e => DecCoin.fromAmino(e)) || [];
578
+ if (object.reference_count !== undefined && object.reference_count !== null) {
579
+ message.referenceCount = object.reference_count;
580
+ }
581
+ return message;
582
+ },
583
+ toAmino(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsAmino {
584
+ const obj: any = {};
585
+ if (message.cumulativeRewardRatio) {
586
+ obj.cumulative_reward_ratio = message.cumulativeRewardRatio.map(e => e ? DecCoin.toAmino(e) : undefined);
587
+ } else {
588
+ obj.cumulative_reward_ratio = [];
589
+ }
590
+ obj.reference_count = message.referenceCount;
591
+ return obj;
592
+ },
593
+ fromAminoMsg(object: ValidatorHistoricalRewardsAminoMsg): ValidatorHistoricalRewards {
594
+ return ValidatorHistoricalRewards.fromAmino(object.value);
595
+ },
596
+ toAminoMsg(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsAminoMsg {
597
+ return {
598
+ type: "cosmos-sdk/ValidatorHistoricalRewards",
599
+ value: ValidatorHistoricalRewards.toAmino(message)
600
+ };
601
+ },
602
+ fromProtoMsg(message: ValidatorHistoricalRewardsProtoMsg): ValidatorHistoricalRewards {
603
+ return ValidatorHistoricalRewards.decode(message.value);
604
+ },
605
+ toProto(message: ValidatorHistoricalRewards): Uint8Array {
606
+ return ValidatorHistoricalRewards.encode(message).finish();
607
+ },
608
+ toProtoMsg(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsProtoMsg {
609
+ return {
610
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards",
611
+ value: ValidatorHistoricalRewards.encode(message).finish()
612
+ };
373
613
  }
374
-
375
614
  };
376
-
377
615
  function createBaseValidatorCurrentRewards(): ValidatorCurrentRewards {
378
616
  return {
379
617
  rewards: [],
380
- period: Long.UZERO
618
+ period: BigInt(0)
381
619
  };
382
620
  }
383
-
384
621
  export const ValidatorCurrentRewards = {
385
- encode(message: ValidatorCurrentRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
622
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards",
623
+ encode(message: ValidatorCurrentRewards, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
386
624
  for (const v of message.rewards) {
387
625
  DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
388
626
  }
389
-
390
- if (!message.period.isZero()) {
627
+ if (message.period !== BigInt(0)) {
391
628
  writer.uint32(16).uint64(message.period);
392
629
  }
393
-
394
630
  return writer;
395
631
  },
396
-
397
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards {
398
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
632
+ decode(input: BinaryReader | Uint8Array, length?: number): ValidatorCurrentRewards {
633
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
399
634
  let end = length === undefined ? reader.len : reader.pos + length;
400
635
  const message = createBaseValidatorCurrentRewards();
401
-
402
636
  while (reader.pos < end) {
403
637
  const tag = reader.uint32();
404
-
405
638
  switch (tag >>> 3) {
406
639
  case 1:
407
640
  message.rewards.push(DecCoin.decode(reader, reader.uint32()));
408
641
  break;
409
-
410
642
  case 2:
411
- message.period = (reader.uint64() as Long);
643
+ message.period = reader.uint64();
412
644
  break;
413
-
414
645
  default:
415
646
  reader.skipType(tag & 7);
416
647
  break;
417
648
  }
418
649
  }
419
-
420
650
  return message;
421
651
  },
422
-
423
- fromPartial(object: DeepPartial<ValidatorCurrentRewards>): ValidatorCurrentRewards {
652
+ fromPartial(object: Partial<ValidatorCurrentRewards>): ValidatorCurrentRewards {
424
653
  const message = createBaseValidatorCurrentRewards();
425
654
  message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || [];
426
- message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO;
655
+ message.period = object.period !== undefined && object.period !== null ? BigInt(object.period.toString()) : BigInt(0);
656
+ return message;
657
+ },
658
+ fromAmino(object: ValidatorCurrentRewardsAmino): ValidatorCurrentRewards {
659
+ const message = createBaseValidatorCurrentRewards();
660
+ message.rewards = object.rewards?.map(e => DecCoin.fromAmino(e)) || [];
661
+ if (object.period !== undefined && object.period !== null) {
662
+ message.period = BigInt(object.period);
663
+ }
427
664
  return message;
665
+ },
666
+ toAmino(message: ValidatorCurrentRewards): ValidatorCurrentRewardsAmino {
667
+ const obj: any = {};
668
+ if (message.rewards) {
669
+ obj.rewards = message.rewards.map(e => e ? DecCoin.toAmino(e) : undefined);
670
+ } else {
671
+ obj.rewards = [];
672
+ }
673
+ obj.period = message.period ? message.period.toString() : undefined;
674
+ return obj;
675
+ },
676
+ fromAminoMsg(object: ValidatorCurrentRewardsAminoMsg): ValidatorCurrentRewards {
677
+ return ValidatorCurrentRewards.fromAmino(object.value);
678
+ },
679
+ toAminoMsg(message: ValidatorCurrentRewards): ValidatorCurrentRewardsAminoMsg {
680
+ return {
681
+ type: "cosmos-sdk/ValidatorCurrentRewards",
682
+ value: ValidatorCurrentRewards.toAmino(message)
683
+ };
684
+ },
685
+ fromProtoMsg(message: ValidatorCurrentRewardsProtoMsg): ValidatorCurrentRewards {
686
+ return ValidatorCurrentRewards.decode(message.value);
687
+ },
688
+ toProto(message: ValidatorCurrentRewards): Uint8Array {
689
+ return ValidatorCurrentRewards.encode(message).finish();
690
+ },
691
+ toProtoMsg(message: ValidatorCurrentRewards): ValidatorCurrentRewardsProtoMsg {
692
+ return {
693
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards",
694
+ value: ValidatorCurrentRewards.encode(message).finish()
695
+ };
428
696
  }
429
-
430
697
  };
431
-
432
698
  function createBaseValidatorAccumulatedCommission(): ValidatorAccumulatedCommission {
433
699
  return {
434
700
  commission: []
435
701
  };
436
702
  }
437
-
438
703
  export const ValidatorAccumulatedCommission = {
439
- encode(message: ValidatorAccumulatedCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
704
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission",
705
+ encode(message: ValidatorAccumulatedCommission, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
440
706
  for (const v of message.commission) {
441
707
  DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
442
708
  }
443
-
444
709
  return writer;
445
710
  },
446
-
447
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission {
448
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
711
+ decode(input: BinaryReader | Uint8Array, length?: number): ValidatorAccumulatedCommission {
712
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
449
713
  let end = length === undefined ? reader.len : reader.pos + length;
450
714
  const message = createBaseValidatorAccumulatedCommission();
451
-
452
715
  while (reader.pos < end) {
453
716
  const tag = reader.uint32();
454
-
455
717
  switch (tag >>> 3) {
456
718
  case 1:
457
719
  message.commission.push(DecCoin.decode(reader, reader.uint32()));
458
720
  break;
459
-
460
721
  default:
461
722
  reader.skipType(tag & 7);
462
723
  break;
463
724
  }
464
725
  }
465
-
466
726
  return message;
467
727
  },
468
-
469
- fromPartial(object: DeepPartial<ValidatorAccumulatedCommission>): ValidatorAccumulatedCommission {
728
+ fromPartial(object: Partial<ValidatorAccumulatedCommission>): ValidatorAccumulatedCommission {
470
729
  const message = createBaseValidatorAccumulatedCommission();
471
730
  message.commission = object.commission?.map(e => DecCoin.fromPartial(e)) || [];
472
731
  return message;
732
+ },
733
+ fromAmino(object: ValidatorAccumulatedCommissionAmino): ValidatorAccumulatedCommission {
734
+ const message = createBaseValidatorAccumulatedCommission();
735
+ message.commission = object.commission?.map(e => DecCoin.fromAmino(e)) || [];
736
+ return message;
737
+ },
738
+ toAmino(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionAmino {
739
+ const obj: any = {};
740
+ if (message.commission) {
741
+ obj.commission = message.commission.map(e => e ? DecCoin.toAmino(e) : undefined);
742
+ } else {
743
+ obj.commission = [];
744
+ }
745
+ return obj;
746
+ },
747
+ fromAminoMsg(object: ValidatorAccumulatedCommissionAminoMsg): ValidatorAccumulatedCommission {
748
+ return ValidatorAccumulatedCommission.fromAmino(object.value);
749
+ },
750
+ toAminoMsg(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionAminoMsg {
751
+ return {
752
+ type: "cosmos-sdk/ValidatorAccumulatedCommission",
753
+ value: ValidatorAccumulatedCommission.toAmino(message)
754
+ };
755
+ },
756
+ fromProtoMsg(message: ValidatorAccumulatedCommissionProtoMsg): ValidatorAccumulatedCommission {
757
+ return ValidatorAccumulatedCommission.decode(message.value);
758
+ },
759
+ toProto(message: ValidatorAccumulatedCommission): Uint8Array {
760
+ return ValidatorAccumulatedCommission.encode(message).finish();
761
+ },
762
+ toProtoMsg(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionProtoMsg {
763
+ return {
764
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission",
765
+ value: ValidatorAccumulatedCommission.encode(message).finish()
766
+ };
473
767
  }
474
-
475
768
  };
476
-
477
769
  function createBaseValidatorOutstandingRewards(): ValidatorOutstandingRewards {
478
770
  return {
479
771
  rewards: []
480
772
  };
481
773
  }
482
-
483
774
  export const ValidatorOutstandingRewards = {
484
- encode(message: ValidatorOutstandingRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
775
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards",
776
+ encode(message: ValidatorOutstandingRewards, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
485
777
  for (const v of message.rewards) {
486
778
  DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
487
779
  }
488
-
489
780
  return writer;
490
781
  },
491
-
492
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards {
493
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
782
+ decode(input: BinaryReader | Uint8Array, length?: number): ValidatorOutstandingRewards {
783
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
494
784
  let end = length === undefined ? reader.len : reader.pos + length;
495
785
  const message = createBaseValidatorOutstandingRewards();
496
-
497
786
  while (reader.pos < end) {
498
787
  const tag = reader.uint32();
499
-
500
788
  switch (tag >>> 3) {
501
789
  case 1:
502
790
  message.rewards.push(DecCoin.decode(reader, reader.uint32()));
503
791
  break;
504
-
505
792
  default:
506
793
  reader.skipType(tag & 7);
507
794
  break;
508
795
  }
509
796
  }
510
-
511
797
  return message;
512
798
  },
513
-
514
- fromPartial(object: DeepPartial<ValidatorOutstandingRewards>): ValidatorOutstandingRewards {
799
+ fromPartial(object: Partial<ValidatorOutstandingRewards>): ValidatorOutstandingRewards {
515
800
  const message = createBaseValidatorOutstandingRewards();
516
801
  message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || [];
517
802
  return message;
803
+ },
804
+ fromAmino(object: ValidatorOutstandingRewardsAmino): ValidatorOutstandingRewards {
805
+ const message = createBaseValidatorOutstandingRewards();
806
+ message.rewards = object.rewards?.map(e => DecCoin.fromAmino(e)) || [];
807
+ return message;
808
+ },
809
+ toAmino(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsAmino {
810
+ const obj: any = {};
811
+ if (message.rewards) {
812
+ obj.rewards = message.rewards.map(e => e ? DecCoin.toAmino(e) : undefined);
813
+ } else {
814
+ obj.rewards = [];
815
+ }
816
+ return obj;
817
+ },
818
+ fromAminoMsg(object: ValidatorOutstandingRewardsAminoMsg): ValidatorOutstandingRewards {
819
+ return ValidatorOutstandingRewards.fromAmino(object.value);
820
+ },
821
+ toAminoMsg(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsAminoMsg {
822
+ return {
823
+ type: "cosmos-sdk/ValidatorOutstandingRewards",
824
+ value: ValidatorOutstandingRewards.toAmino(message)
825
+ };
826
+ },
827
+ fromProtoMsg(message: ValidatorOutstandingRewardsProtoMsg): ValidatorOutstandingRewards {
828
+ return ValidatorOutstandingRewards.decode(message.value);
829
+ },
830
+ toProto(message: ValidatorOutstandingRewards): Uint8Array {
831
+ return ValidatorOutstandingRewards.encode(message).finish();
832
+ },
833
+ toProtoMsg(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsProtoMsg {
834
+ return {
835
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards",
836
+ value: ValidatorOutstandingRewards.encode(message).finish()
837
+ };
518
838
  }
519
-
520
839
  };
521
-
522
840
  function createBaseValidatorSlashEvent(): ValidatorSlashEvent {
523
841
  return {
524
- validatorPeriod: Long.UZERO,
842
+ validatorPeriod: BigInt(0),
525
843
  fraction: ""
526
844
  };
527
845
  }
528
-
529
846
  export const ValidatorSlashEvent = {
530
- encode(message: ValidatorSlashEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
531
- if (!message.validatorPeriod.isZero()) {
847
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent",
848
+ encode(message: ValidatorSlashEvent, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
849
+ if (message.validatorPeriod !== BigInt(0)) {
532
850
  writer.uint32(8).uint64(message.validatorPeriod);
533
851
  }
534
-
535
852
  if (message.fraction !== "") {
536
- writer.uint32(18).string(message.fraction);
853
+ writer.uint32(18).string(Decimal.fromUserInput(message.fraction, 18).atomics);
537
854
  }
538
-
539
855
  return writer;
540
856
  },
541
-
542
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent {
543
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
857
+ decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSlashEvent {
858
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
544
859
  let end = length === undefined ? reader.len : reader.pos + length;
545
860
  const message = createBaseValidatorSlashEvent();
546
-
547
861
  while (reader.pos < end) {
548
862
  const tag = reader.uint32();
549
-
550
863
  switch (tag >>> 3) {
551
864
  case 1:
552
- message.validatorPeriod = (reader.uint64() as Long);
865
+ message.validatorPeriod = reader.uint64();
553
866
  break;
554
-
555
867
  case 2:
556
- message.fraction = reader.string();
868
+ message.fraction = Decimal.fromAtomics(reader.string(), 18).toString();
557
869
  break;
558
-
559
870
  default:
560
871
  reader.skipType(tag & 7);
561
872
  break;
562
873
  }
563
874
  }
564
-
565
875
  return message;
566
876
  },
567
-
568
- fromPartial(object: DeepPartial<ValidatorSlashEvent>): ValidatorSlashEvent {
877
+ fromPartial(object: Partial<ValidatorSlashEvent>): ValidatorSlashEvent {
569
878
  const message = createBaseValidatorSlashEvent();
570
- message.validatorPeriod = object.validatorPeriod !== undefined && object.validatorPeriod !== null ? Long.fromValue(object.validatorPeriod) : Long.UZERO;
879
+ message.validatorPeriod = object.validatorPeriod !== undefined && object.validatorPeriod !== null ? BigInt(object.validatorPeriod.toString()) : BigInt(0);
571
880
  message.fraction = object.fraction ?? "";
572
881
  return message;
882
+ },
883
+ fromAmino(object: ValidatorSlashEventAmino): ValidatorSlashEvent {
884
+ const message = createBaseValidatorSlashEvent();
885
+ if (object.validator_period !== undefined && object.validator_period !== null) {
886
+ message.validatorPeriod = BigInt(object.validator_period);
887
+ }
888
+ if (object.fraction !== undefined && object.fraction !== null) {
889
+ message.fraction = object.fraction;
890
+ }
891
+ return message;
892
+ },
893
+ toAmino(message: ValidatorSlashEvent): ValidatorSlashEventAmino {
894
+ const obj: any = {};
895
+ obj.validator_period = message.validatorPeriod ? message.validatorPeriod.toString() : undefined;
896
+ obj.fraction = message.fraction;
897
+ return obj;
898
+ },
899
+ fromAminoMsg(object: ValidatorSlashEventAminoMsg): ValidatorSlashEvent {
900
+ return ValidatorSlashEvent.fromAmino(object.value);
901
+ },
902
+ toAminoMsg(message: ValidatorSlashEvent): ValidatorSlashEventAminoMsg {
903
+ return {
904
+ type: "cosmos-sdk/ValidatorSlashEvent",
905
+ value: ValidatorSlashEvent.toAmino(message)
906
+ };
907
+ },
908
+ fromProtoMsg(message: ValidatorSlashEventProtoMsg): ValidatorSlashEvent {
909
+ return ValidatorSlashEvent.decode(message.value);
910
+ },
911
+ toProto(message: ValidatorSlashEvent): Uint8Array {
912
+ return ValidatorSlashEvent.encode(message).finish();
913
+ },
914
+ toProtoMsg(message: ValidatorSlashEvent): ValidatorSlashEventProtoMsg {
915
+ return {
916
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent",
917
+ value: ValidatorSlashEvent.encode(message).finish()
918
+ };
573
919
  }
574
-
575
920
  };
576
-
577
921
  function createBaseValidatorSlashEvents(): ValidatorSlashEvents {
578
922
  return {
579
923
  validatorSlashEvents: []
580
924
  };
581
925
  }
582
-
583
926
  export const ValidatorSlashEvents = {
584
- encode(message: ValidatorSlashEvents, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
927
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents",
928
+ encode(message: ValidatorSlashEvents, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
585
929
  for (const v of message.validatorSlashEvents) {
586
930
  ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim();
587
931
  }
588
-
589
932
  return writer;
590
933
  },
591
-
592
- decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents {
593
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
934
+ decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSlashEvents {
935
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
594
936
  let end = length === undefined ? reader.len : reader.pos + length;
595
937
  const message = createBaseValidatorSlashEvents();
596
-
597
938
  while (reader.pos < end) {
598
939
  const tag = reader.uint32();
599
-
600
940
  switch (tag >>> 3) {
601
941
  case 1:
602
942
  message.validatorSlashEvents.push(ValidatorSlashEvent.decode(reader, reader.uint32()));
603
943
  break;
604
-
605
944
  default:
606
945
  reader.skipType(tag & 7);
607
946
  break;
608
947
  }
609
948
  }
610
-
611
949
  return message;
612
950
  },
613
-
614
- fromPartial(object: DeepPartial<ValidatorSlashEvents>): ValidatorSlashEvents {
951
+ fromPartial(object: Partial<ValidatorSlashEvents>): ValidatorSlashEvents {
615
952
  const message = createBaseValidatorSlashEvents();
616
953
  message.validatorSlashEvents = object.validatorSlashEvents?.map(e => ValidatorSlashEvent.fromPartial(e)) || [];
617
954
  return message;
955
+ },
956
+ fromAmino(object: ValidatorSlashEventsAmino): ValidatorSlashEvents {
957
+ const message = createBaseValidatorSlashEvents();
958
+ message.validatorSlashEvents = object.validator_slash_events?.map(e => ValidatorSlashEvent.fromAmino(e)) || [];
959
+ return message;
960
+ },
961
+ toAmino(message: ValidatorSlashEvents): ValidatorSlashEventsAmino {
962
+ const obj: any = {};
963
+ if (message.validatorSlashEvents) {
964
+ obj.validator_slash_events = message.validatorSlashEvents.map(e => e ? ValidatorSlashEvent.toAmino(e) : undefined);
965
+ } else {
966
+ obj.validator_slash_events = [];
967
+ }
968
+ return obj;
969
+ },
970
+ fromAminoMsg(object: ValidatorSlashEventsAminoMsg): ValidatorSlashEvents {
971
+ return ValidatorSlashEvents.fromAmino(object.value);
972
+ },
973
+ toAminoMsg(message: ValidatorSlashEvents): ValidatorSlashEventsAminoMsg {
974
+ return {
975
+ type: "cosmos-sdk/ValidatorSlashEvents",
976
+ value: ValidatorSlashEvents.toAmino(message)
977
+ };
978
+ },
979
+ fromProtoMsg(message: ValidatorSlashEventsProtoMsg): ValidatorSlashEvents {
980
+ return ValidatorSlashEvents.decode(message.value);
981
+ },
982
+ toProto(message: ValidatorSlashEvents): Uint8Array {
983
+ return ValidatorSlashEvents.encode(message).finish();
984
+ },
985
+ toProtoMsg(message: ValidatorSlashEvents): ValidatorSlashEventsProtoMsg {
986
+ return {
987
+ typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents",
988
+ value: ValidatorSlashEvents.encode(message).finish()
989
+ };
618
990
  }
619
-
620
991
  };
621
-
622
992
  function createBaseFeePool(): FeePool {
623
993
  return {
624
994
  communityPool: []
625
995
  };
626
996
  }
627
-
628
997
  export const FeePool = {
629
- encode(message: FeePool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
998
+ typeUrl: "/cosmos.distribution.v1beta1.FeePool",
999
+ encode(message: FeePool, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
630
1000
  for (const v of message.communityPool) {
631
1001
  DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
632
1002
  }
633
-
634
1003
  return writer;
635
1004
  },
636
-
637
- decode(input: _m0.Reader | Uint8Array, length?: number): FeePool {
638
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1005
+ decode(input: BinaryReader | Uint8Array, length?: number): FeePool {
1006
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
639
1007
  let end = length === undefined ? reader.len : reader.pos + length;
640
1008
  const message = createBaseFeePool();
641
-
642
1009
  while (reader.pos < end) {
643
1010
  const tag = reader.uint32();
644
-
645
1011
  switch (tag >>> 3) {
646
1012
  case 1:
647
1013
  message.communityPool.push(DecCoin.decode(reader, reader.uint32()));
648
1014
  break;
649
-
650
1015
  default:
651
1016
  reader.skipType(tag & 7);
652
1017
  break;
653
1018
  }
654
1019
  }
655
-
656
1020
  return message;
657
1021
  },
658
-
659
- fromPartial(object: DeepPartial<FeePool>): FeePool {
1022
+ fromPartial(object: Partial<FeePool>): FeePool {
660
1023
  const message = createBaseFeePool();
661
1024
  message.communityPool = object.communityPool?.map(e => DecCoin.fromPartial(e)) || [];
662
1025
  return message;
1026
+ },
1027
+ fromAmino(object: FeePoolAmino): FeePool {
1028
+ const message = createBaseFeePool();
1029
+ message.communityPool = object.community_pool?.map(e => DecCoin.fromAmino(e)) || [];
1030
+ return message;
1031
+ },
1032
+ toAmino(message: FeePool): FeePoolAmino {
1033
+ const obj: any = {};
1034
+ if (message.communityPool) {
1035
+ obj.community_pool = message.communityPool.map(e => e ? DecCoin.toAmino(e) : undefined);
1036
+ } else {
1037
+ obj.community_pool = [];
1038
+ }
1039
+ return obj;
1040
+ },
1041
+ fromAminoMsg(object: FeePoolAminoMsg): FeePool {
1042
+ return FeePool.fromAmino(object.value);
1043
+ },
1044
+ toAminoMsg(message: FeePool): FeePoolAminoMsg {
1045
+ return {
1046
+ type: "cosmos-sdk/FeePool",
1047
+ value: FeePool.toAmino(message)
1048
+ };
1049
+ },
1050
+ fromProtoMsg(message: FeePoolProtoMsg): FeePool {
1051
+ return FeePool.decode(message.value);
1052
+ },
1053
+ toProto(message: FeePool): Uint8Array {
1054
+ return FeePool.encode(message).finish();
1055
+ },
1056
+ toProtoMsg(message: FeePool): FeePoolProtoMsg {
1057
+ return {
1058
+ typeUrl: "/cosmos.distribution.v1beta1.FeePool",
1059
+ value: FeePool.encode(message).finish()
1060
+ };
663
1061
  }
664
-
665
1062
  };
666
-
667
1063
  function createBaseCommunityPoolSpendProposal(): CommunityPoolSpendProposal {
668
1064
  return {
669
1065
  title: "",
@@ -672,193 +1068,281 @@ function createBaseCommunityPoolSpendProposal(): CommunityPoolSpendProposal {
672
1068
  amount: []
673
1069
  };
674
1070
  }
675
-
676
1071
  export const CommunityPoolSpendProposal = {
677
- encode(message: CommunityPoolSpendProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1072
+ typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",
1073
+ encode(message: CommunityPoolSpendProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
678
1074
  if (message.title !== "") {
679
1075
  writer.uint32(10).string(message.title);
680
1076
  }
681
-
682
1077
  if (message.description !== "") {
683
1078
  writer.uint32(18).string(message.description);
684
1079
  }
685
-
686
1080
  if (message.recipient !== "") {
687
1081
  writer.uint32(26).string(message.recipient);
688
1082
  }
689
-
690
1083
  for (const v of message.amount) {
691
1084
  Coin.encode(v!, writer.uint32(34).fork()).ldelim();
692
1085
  }
693
-
694
1086
  return writer;
695
1087
  },
696
-
697
- decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal {
698
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1088
+ decode(input: BinaryReader | Uint8Array, length?: number): CommunityPoolSpendProposal {
1089
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
699
1090
  let end = length === undefined ? reader.len : reader.pos + length;
700
1091
  const message = createBaseCommunityPoolSpendProposal();
701
-
702
1092
  while (reader.pos < end) {
703
1093
  const tag = reader.uint32();
704
-
705
1094
  switch (tag >>> 3) {
706
1095
  case 1:
707
1096
  message.title = reader.string();
708
1097
  break;
709
-
710
1098
  case 2:
711
1099
  message.description = reader.string();
712
1100
  break;
713
-
714
1101
  case 3:
715
1102
  message.recipient = reader.string();
716
1103
  break;
717
-
718
1104
  case 4:
719
1105
  message.amount.push(Coin.decode(reader, reader.uint32()));
720
1106
  break;
721
-
722
1107
  default:
723
1108
  reader.skipType(tag & 7);
724
1109
  break;
725
1110
  }
726
1111
  }
727
-
728
1112
  return message;
729
1113
  },
730
-
731
- fromPartial(object: DeepPartial<CommunityPoolSpendProposal>): CommunityPoolSpendProposal {
1114
+ fromPartial(object: Partial<CommunityPoolSpendProposal>): CommunityPoolSpendProposal {
732
1115
  const message = createBaseCommunityPoolSpendProposal();
733
1116
  message.title = object.title ?? "";
734
1117
  message.description = object.description ?? "";
735
1118
  message.recipient = object.recipient ?? "";
736
1119
  message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
737
1120
  return message;
1121
+ },
1122
+ fromAmino(object: CommunityPoolSpendProposalAmino): CommunityPoolSpendProposal {
1123
+ const message = createBaseCommunityPoolSpendProposal();
1124
+ if (object.title !== undefined && object.title !== null) {
1125
+ message.title = object.title;
1126
+ }
1127
+ if (object.description !== undefined && object.description !== null) {
1128
+ message.description = object.description;
1129
+ }
1130
+ if (object.recipient !== undefined && object.recipient !== null) {
1131
+ message.recipient = object.recipient;
1132
+ }
1133
+ message.amount = object.amount?.map(e => Coin.fromAmino(e)) || [];
1134
+ return message;
1135
+ },
1136
+ toAmino(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalAmino {
1137
+ const obj: any = {};
1138
+ obj.title = message.title;
1139
+ obj.description = message.description;
1140
+ obj.recipient = message.recipient;
1141
+ if (message.amount) {
1142
+ obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined);
1143
+ } else {
1144
+ obj.amount = [];
1145
+ }
1146
+ return obj;
1147
+ },
1148
+ fromAminoMsg(object: CommunityPoolSpendProposalAminoMsg): CommunityPoolSpendProposal {
1149
+ return CommunityPoolSpendProposal.fromAmino(object.value);
1150
+ },
1151
+ toAminoMsg(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalAminoMsg {
1152
+ return {
1153
+ type: "cosmos-sdk/CommunityPoolSpendProposal",
1154
+ value: CommunityPoolSpendProposal.toAmino(message)
1155
+ };
1156
+ },
1157
+ fromProtoMsg(message: CommunityPoolSpendProposalProtoMsg): CommunityPoolSpendProposal {
1158
+ return CommunityPoolSpendProposal.decode(message.value);
1159
+ },
1160
+ toProto(message: CommunityPoolSpendProposal): Uint8Array {
1161
+ return CommunityPoolSpendProposal.encode(message).finish();
1162
+ },
1163
+ toProtoMsg(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalProtoMsg {
1164
+ return {
1165
+ typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",
1166
+ value: CommunityPoolSpendProposal.encode(message).finish()
1167
+ };
738
1168
  }
739
-
740
1169
  };
741
-
742
1170
  function createBaseDelegatorStartingInfo(): DelegatorStartingInfo {
743
1171
  return {
744
- previousPeriod: Long.UZERO,
1172
+ previousPeriod: BigInt(0),
745
1173
  stake: "",
746
- height: Long.UZERO
1174
+ height: BigInt(0)
747
1175
  };
748
1176
  }
749
-
750
1177
  export const DelegatorStartingInfo = {
751
- encode(message: DelegatorStartingInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
752
- if (!message.previousPeriod.isZero()) {
1178
+ typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo",
1179
+ encode(message: DelegatorStartingInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1180
+ if (message.previousPeriod !== BigInt(0)) {
753
1181
  writer.uint32(8).uint64(message.previousPeriod);
754
1182
  }
755
-
756
1183
  if (message.stake !== "") {
757
- writer.uint32(18).string(message.stake);
1184
+ writer.uint32(18).string(Decimal.fromUserInput(message.stake, 18).atomics);
758
1185
  }
759
-
760
- if (!message.height.isZero()) {
1186
+ if (message.height !== BigInt(0)) {
761
1187
  writer.uint32(24).uint64(message.height);
762
1188
  }
763
-
764
1189
  return writer;
765
1190
  },
766
-
767
- decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo {
768
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1191
+ decode(input: BinaryReader | Uint8Array, length?: number): DelegatorStartingInfo {
1192
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
769
1193
  let end = length === undefined ? reader.len : reader.pos + length;
770
1194
  const message = createBaseDelegatorStartingInfo();
771
-
772
1195
  while (reader.pos < end) {
773
1196
  const tag = reader.uint32();
774
-
775
1197
  switch (tag >>> 3) {
776
1198
  case 1:
777
- message.previousPeriod = (reader.uint64() as Long);
1199
+ message.previousPeriod = reader.uint64();
778
1200
  break;
779
-
780
1201
  case 2:
781
- message.stake = reader.string();
1202
+ message.stake = Decimal.fromAtomics(reader.string(), 18).toString();
782
1203
  break;
783
-
784
1204
  case 3:
785
- message.height = (reader.uint64() as Long);
1205
+ message.height = reader.uint64();
786
1206
  break;
787
-
788
1207
  default:
789
1208
  reader.skipType(tag & 7);
790
1209
  break;
791
1210
  }
792
1211
  }
793
-
794
1212
  return message;
795
1213
  },
796
-
797
- fromPartial(object: DeepPartial<DelegatorStartingInfo>): DelegatorStartingInfo {
1214
+ fromPartial(object: Partial<DelegatorStartingInfo>): DelegatorStartingInfo {
798
1215
  const message = createBaseDelegatorStartingInfo();
799
- message.previousPeriod = object.previousPeriod !== undefined && object.previousPeriod !== null ? Long.fromValue(object.previousPeriod) : Long.UZERO;
1216
+ message.previousPeriod = object.previousPeriod !== undefined && object.previousPeriod !== null ? BigInt(object.previousPeriod.toString()) : BigInt(0);
800
1217
  message.stake = object.stake ?? "";
801
- message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO;
1218
+ message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
1219
+ return message;
1220
+ },
1221
+ fromAmino(object: DelegatorStartingInfoAmino): DelegatorStartingInfo {
1222
+ const message = createBaseDelegatorStartingInfo();
1223
+ if (object.previous_period !== undefined && object.previous_period !== null) {
1224
+ message.previousPeriod = BigInt(object.previous_period);
1225
+ }
1226
+ if (object.stake !== undefined && object.stake !== null) {
1227
+ message.stake = object.stake;
1228
+ }
1229
+ if (object.height !== undefined && object.height !== null) {
1230
+ message.height = BigInt(object.height);
1231
+ }
802
1232
  return message;
1233
+ },
1234
+ toAmino(message: DelegatorStartingInfo): DelegatorStartingInfoAmino {
1235
+ const obj: any = {};
1236
+ obj.previous_period = message.previousPeriod ? message.previousPeriod.toString() : undefined;
1237
+ obj.stake = message.stake;
1238
+ obj.height = message.height ? message.height.toString() : undefined;
1239
+ return obj;
1240
+ },
1241
+ fromAminoMsg(object: DelegatorStartingInfoAminoMsg): DelegatorStartingInfo {
1242
+ return DelegatorStartingInfo.fromAmino(object.value);
1243
+ },
1244
+ toAminoMsg(message: DelegatorStartingInfo): DelegatorStartingInfoAminoMsg {
1245
+ return {
1246
+ type: "cosmos-sdk/DelegatorStartingInfo",
1247
+ value: DelegatorStartingInfo.toAmino(message)
1248
+ };
1249
+ },
1250
+ fromProtoMsg(message: DelegatorStartingInfoProtoMsg): DelegatorStartingInfo {
1251
+ return DelegatorStartingInfo.decode(message.value);
1252
+ },
1253
+ toProto(message: DelegatorStartingInfo): Uint8Array {
1254
+ return DelegatorStartingInfo.encode(message).finish();
1255
+ },
1256
+ toProtoMsg(message: DelegatorStartingInfo): DelegatorStartingInfoProtoMsg {
1257
+ return {
1258
+ typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo",
1259
+ value: DelegatorStartingInfo.encode(message).finish()
1260
+ };
803
1261
  }
804
-
805
1262
  };
806
-
807
1263
  function createBaseDelegationDelegatorReward(): DelegationDelegatorReward {
808
1264
  return {
809
1265
  validatorAddress: "",
810
1266
  reward: []
811
1267
  };
812
1268
  }
813
-
814
1269
  export const DelegationDelegatorReward = {
815
- encode(message: DelegationDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1270
+ typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward",
1271
+ encode(message: DelegationDelegatorReward, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
816
1272
  if (message.validatorAddress !== "") {
817
1273
  writer.uint32(10).string(message.validatorAddress);
818
1274
  }
819
-
820
1275
  for (const v of message.reward) {
821
1276
  DecCoin.encode(v!, writer.uint32(18).fork()).ldelim();
822
1277
  }
823
-
824
1278
  return writer;
825
1279
  },
826
-
827
- decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward {
828
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1280
+ decode(input: BinaryReader | Uint8Array, length?: number): DelegationDelegatorReward {
1281
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
829
1282
  let end = length === undefined ? reader.len : reader.pos + length;
830
1283
  const message = createBaseDelegationDelegatorReward();
831
-
832
1284
  while (reader.pos < end) {
833
1285
  const tag = reader.uint32();
834
-
835
1286
  switch (tag >>> 3) {
836
1287
  case 1:
837
1288
  message.validatorAddress = reader.string();
838
1289
  break;
839
-
840
1290
  case 2:
841
1291
  message.reward.push(DecCoin.decode(reader, reader.uint32()));
842
1292
  break;
843
-
844
1293
  default:
845
1294
  reader.skipType(tag & 7);
846
1295
  break;
847
1296
  }
848
1297
  }
849
-
850
1298
  return message;
851
1299
  },
852
-
853
- fromPartial(object: DeepPartial<DelegationDelegatorReward>): DelegationDelegatorReward {
1300
+ fromPartial(object: Partial<DelegationDelegatorReward>): DelegationDelegatorReward {
854
1301
  const message = createBaseDelegationDelegatorReward();
855
1302
  message.validatorAddress = object.validatorAddress ?? "";
856
1303
  message.reward = object.reward?.map(e => DecCoin.fromPartial(e)) || [];
857
1304
  return message;
1305
+ },
1306
+ fromAmino(object: DelegationDelegatorRewardAmino): DelegationDelegatorReward {
1307
+ const message = createBaseDelegationDelegatorReward();
1308
+ if (object.validator_address !== undefined && object.validator_address !== null) {
1309
+ message.validatorAddress = object.validator_address;
1310
+ }
1311
+ message.reward = object.reward?.map(e => DecCoin.fromAmino(e)) || [];
1312
+ return message;
1313
+ },
1314
+ toAmino(message: DelegationDelegatorReward): DelegationDelegatorRewardAmino {
1315
+ const obj: any = {};
1316
+ obj.validator_address = message.validatorAddress;
1317
+ if (message.reward) {
1318
+ obj.reward = message.reward.map(e => e ? DecCoin.toAmino(e) : undefined);
1319
+ } else {
1320
+ obj.reward = [];
1321
+ }
1322
+ return obj;
1323
+ },
1324
+ fromAminoMsg(object: DelegationDelegatorRewardAminoMsg): DelegationDelegatorReward {
1325
+ return DelegationDelegatorReward.fromAmino(object.value);
1326
+ },
1327
+ toAminoMsg(message: DelegationDelegatorReward): DelegationDelegatorRewardAminoMsg {
1328
+ return {
1329
+ type: "cosmos-sdk/DelegationDelegatorReward",
1330
+ value: DelegationDelegatorReward.toAmino(message)
1331
+ };
1332
+ },
1333
+ fromProtoMsg(message: DelegationDelegatorRewardProtoMsg): DelegationDelegatorReward {
1334
+ return DelegationDelegatorReward.decode(message.value);
1335
+ },
1336
+ toProto(message: DelegationDelegatorReward): Uint8Array {
1337
+ return DelegationDelegatorReward.encode(message).finish();
1338
+ },
1339
+ toProtoMsg(message: DelegationDelegatorReward): DelegationDelegatorRewardProtoMsg {
1340
+ return {
1341
+ typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward",
1342
+ value: DelegationDelegatorReward.encode(message).finish()
1343
+ };
858
1344
  }
859
-
860
1345
  };
861
-
862
1346
  function createBaseCommunityPoolSpendProposalWithDeposit(): CommunityPoolSpendProposalWithDeposit {
863
1347
  return {
864
1348
  title: "",
@@ -868,71 +1352,56 @@ function createBaseCommunityPoolSpendProposalWithDeposit(): CommunityPoolSpendPr
868
1352
  deposit: ""
869
1353
  };
870
1354
  }
871
-
872
1355
  export const CommunityPoolSpendProposalWithDeposit = {
873
- encode(message: CommunityPoolSpendProposalWithDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1356
+ typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",
1357
+ encode(message: CommunityPoolSpendProposalWithDeposit, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
874
1358
  if (message.title !== "") {
875
1359
  writer.uint32(10).string(message.title);
876
1360
  }
877
-
878
1361
  if (message.description !== "") {
879
1362
  writer.uint32(18).string(message.description);
880
1363
  }
881
-
882
1364
  if (message.recipient !== "") {
883
1365
  writer.uint32(26).string(message.recipient);
884
1366
  }
885
-
886
1367
  if (message.amount !== "") {
887
1368
  writer.uint32(34).string(message.amount);
888
1369
  }
889
-
890
1370
  if (message.deposit !== "") {
891
1371
  writer.uint32(42).string(message.deposit);
892
1372
  }
893
-
894
1373
  return writer;
895
1374
  },
896
-
897
- decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit {
898
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1375
+ decode(input: BinaryReader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit {
1376
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
899
1377
  let end = length === undefined ? reader.len : reader.pos + length;
900
1378
  const message = createBaseCommunityPoolSpendProposalWithDeposit();
901
-
902
1379
  while (reader.pos < end) {
903
1380
  const tag = reader.uint32();
904
-
905
1381
  switch (tag >>> 3) {
906
1382
  case 1:
907
1383
  message.title = reader.string();
908
1384
  break;
909
-
910
1385
  case 2:
911
1386
  message.description = reader.string();
912
1387
  break;
913
-
914
1388
  case 3:
915
1389
  message.recipient = reader.string();
916
1390
  break;
917
-
918
1391
  case 4:
919
1392
  message.amount = reader.string();
920
1393
  break;
921
-
922
1394
  case 5:
923
1395
  message.deposit = reader.string();
924
1396
  break;
925
-
926
1397
  default:
927
1398
  reader.skipType(tag & 7);
928
1399
  break;
929
1400
  }
930
1401
  }
931
-
932
1402
  return message;
933
1403
  },
934
-
935
- fromPartial(object: DeepPartial<CommunityPoolSpendProposalWithDeposit>): CommunityPoolSpendProposalWithDeposit {
1404
+ fromPartial(object: Partial<CommunityPoolSpendProposalWithDeposit>): CommunityPoolSpendProposalWithDeposit {
936
1405
  const message = createBaseCommunityPoolSpendProposalWithDeposit();
937
1406
  message.title = object.title ?? "";
938
1407
  message.description = object.description ?? "";
@@ -940,6 +1409,54 @@ export const CommunityPoolSpendProposalWithDeposit = {
940
1409
  message.amount = object.amount ?? "";
941
1410
  message.deposit = object.deposit ?? "";
942
1411
  return message;
1412
+ },
1413
+ fromAmino(object: CommunityPoolSpendProposalWithDepositAmino): CommunityPoolSpendProposalWithDeposit {
1414
+ const message = createBaseCommunityPoolSpendProposalWithDeposit();
1415
+ if (object.title !== undefined && object.title !== null) {
1416
+ message.title = object.title;
1417
+ }
1418
+ if (object.description !== undefined && object.description !== null) {
1419
+ message.description = object.description;
1420
+ }
1421
+ if (object.recipient !== undefined && object.recipient !== null) {
1422
+ message.recipient = object.recipient;
1423
+ }
1424
+ if (object.amount !== undefined && object.amount !== null) {
1425
+ message.amount = object.amount;
1426
+ }
1427
+ if (object.deposit !== undefined && object.deposit !== null) {
1428
+ message.deposit = object.deposit;
1429
+ }
1430
+ return message;
1431
+ },
1432
+ toAmino(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositAmino {
1433
+ const obj: any = {};
1434
+ obj.title = message.title;
1435
+ obj.description = message.description;
1436
+ obj.recipient = message.recipient;
1437
+ obj.amount = message.amount;
1438
+ obj.deposit = message.deposit;
1439
+ return obj;
1440
+ },
1441
+ fromAminoMsg(object: CommunityPoolSpendProposalWithDepositAminoMsg): CommunityPoolSpendProposalWithDeposit {
1442
+ return CommunityPoolSpendProposalWithDeposit.fromAmino(object.value);
1443
+ },
1444
+ toAminoMsg(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositAminoMsg {
1445
+ return {
1446
+ type: "cosmos-sdk/CommunityPoolSpendProposalWithDeposit",
1447
+ value: CommunityPoolSpendProposalWithDeposit.toAmino(message)
1448
+ };
1449
+ },
1450
+ fromProtoMsg(message: CommunityPoolSpendProposalWithDepositProtoMsg): CommunityPoolSpendProposalWithDeposit {
1451
+ return CommunityPoolSpendProposalWithDeposit.decode(message.value);
1452
+ },
1453
+ toProto(message: CommunityPoolSpendProposalWithDeposit): Uint8Array {
1454
+ return CommunityPoolSpendProposalWithDeposit.encode(message).finish();
1455
+ },
1456
+ toProtoMsg(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositProtoMsg {
1457
+ return {
1458
+ typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",
1459
+ value: CommunityPoolSpendProposalWithDeposit.encode(message).finish()
1460
+ };
943
1461
  }
944
-
945
1462
  };