@xpla/xplajs 1.7.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (727) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +32 -0
  3. package/package.json +32 -0
  4. package/src/amino/amino.d.ts +1 -0
  5. package/src/amino/amino.js +2 -0
  6. package/src/amino/amino.ts +1 -0
  7. package/src/binary.d.ts +130 -0
  8. package/src/binary.js +370 -0
  9. package/src/binary.ts +534 -0
  10. package/src/cosmos/app/runtime/v1alpha1/module.ts +423 -0
  11. package/src/cosmos/app/runtime/v2/module.ts +589 -0
  12. package/src/cosmos/app/v1alpha1/config.ts +422 -0
  13. package/src/cosmos/app/v1alpha1/module.ts +461 -0
  14. package/src/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
  15. package/src/cosmos/app/v1alpha1/query.rpc.func.ts +9 -0
  16. package/src/cosmos/app/v1alpha1/query.ts +177 -0
  17. package/src/cosmos/auth/module/v1/module.ts +253 -0
  18. package/src/cosmos/auth/v1beta1/accounts.ts +226 -0
  19. package/src/cosmos/auth/v1beta1/auth.d.ts +177 -0
  20. package/src/cosmos/auth/v1beta1/auth.js +445 -0
  21. package/src/cosmos/auth/v1beta1/auth.ts +550 -0
  22. package/src/cosmos/auth/v1beta1/genesis.ts +119 -0
  23. package/src/cosmos/auth/v1beta1/query.d.ts +810 -0
  24. package/src/cosmos/auth/v1beta1/query.js +1561 -0
  25. package/src/cosmos/auth/v1beta1/query.lcd.ts +94 -0
  26. package/src/cosmos/auth/v1beta1/query.rpc.Query.ts +179 -0
  27. package/src/cosmos/auth/v1beta1/query.rpc.func.d.ts +12 -0
  28. package/src/cosmos/auth/v1beta1/query.rpc.func.js +85 -0
  29. package/src/cosmos/auth/v1beta1/query.rpc.func.ts +72 -0
  30. package/src/cosmos/auth/v1beta1/query.ts +2034 -0
  31. package/src/cosmos/auth/v1beta1/tx.amino.ts +8 -0
  32. package/src/cosmos/auth/v1beta1/tx.registry.ts +3 -0
  33. package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +9 -0
  34. package/src/cosmos/auth/v1beta1/tx.rpc.msg.ts +31 -0
  35. package/src/cosmos/auth/v1beta1/tx.ts +219 -0
  36. package/src/cosmos/authz/module/v1/module.ts +80 -0
  37. package/src/cosmos/authz/v1beta1/authz.d.ts +177 -0
  38. package/src/cosmos/authz/v1beta1/authz.js +371 -0
  39. package/src/cosmos/authz/v1beta1/authz.ts +481 -0
  40. package/src/cosmos/authz/v1beta1/event.ts +259 -0
  41. package/src/cosmos/authz/v1beta1/genesis.ts +100 -0
  42. package/src/cosmos/authz/v1beta1/query.lcd.ts +59 -0
  43. package/src/cosmos/authz/v1beta1/query.rpc.Query.ts +64 -0
  44. package/src/cosmos/authz/v1beta1/query.rpc.func.ts +23 -0
  45. package/src/cosmos/authz/v1beta1/query.ts +707 -0
  46. package/src/cosmos/authz/v1beta1/tx.amino.ts +18 -0
  47. package/src/cosmos/authz/v1beta1/tx.d.ts +240 -0
  48. package/src/cosmos/authz/v1beta1/tx.js +516 -0
  49. package/src/cosmos/authz/v1beta1/tx.registry.ts +3 -0
  50. package/src/cosmos/authz/v1beta1/tx.rpc.func.d.ts +5 -0
  51. package/src/cosmos/authz/v1beta1/tx.rpc.func.js +27 -0
  52. package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +21 -0
  53. package/src/cosmos/authz/v1beta1/tx.rpc.msg.ts +57 -0
  54. package/src/cosmos/authz/v1beta1/tx.ts +647 -0
  55. package/src/cosmos/autocli/v1/options.ts +1145 -0
  56. package/src/cosmos/autocli/v1/query.rpc.Query.ts +31 -0
  57. package/src/cosmos/autocli/v1/query.rpc.func.ts +9 -0
  58. package/src/cosmos/autocli/v1/query.ts +288 -0
  59. package/src/cosmos/bank/module/v1/module.ts +153 -0
  60. package/src/cosmos/bank/v1beta1/authz.ts +138 -0
  61. package/src/cosmos/bank/v1beta1/bank.d.ts +371 -0
  62. package/src/cosmos/bank/v1beta1/bank.js +726 -0
  63. package/src/cosmos/bank/v1beta1/bank.ts +974 -0
  64. package/src/cosmos/bank/v1beta1/genesis.ts +307 -0
  65. package/src/cosmos/bank/v1beta1/query.d.ts +1159 -0
  66. package/src/cosmos/bank/v1beta1/query.js +2317 -0
  67. package/src/cosmos/bank/v1beta1/query.lcd.ts +194 -0
  68. package/src/cosmos/bank/v1beta1/query.rpc.Query.ts +258 -0
  69. package/src/cosmos/bank/v1beta1/query.rpc.func.d.ts +15 -0
  70. package/src/cosmos/bank/v1beta1/query.rpc.func.js +109 -0
  71. package/src/cosmos/bank/v1beta1/query.rpc.func.ts +93 -0
  72. package/src/cosmos/bank/v1beta1/query.ts +3027 -0
  73. package/src/cosmos/bank/v1beta1/tx.amino.ts +23 -0
  74. package/src/cosmos/bank/v1beta1/tx.d.ts +342 -0
  75. package/src/cosmos/bank/v1beta1/tx.js +666 -0
  76. package/src/cosmos/bank/v1beta1/tx.registry.ts +3 -0
  77. package/src/cosmos/bank/v1beta1/tx.rpc.func.d.ts +6 -0
  78. package/src/cosmos/bank/v1beta1/tx.rpc.func.js +34 -0
  79. package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +27 -0
  80. package/src/cosmos/bank/v1beta1/tx.rpc.msg.ts +67 -0
  81. package/src/cosmos/bank/v1beta1/tx.ts +861 -0
  82. package/src/cosmos/base/abci/v1beta1/abci.d.ts +599 -0
  83. package/src/cosmos/base/abci/v1beta1/abci.js +1293 -0
  84. package/src/cosmos/base/abci/v1beta1/abci.ts +1698 -0
  85. package/src/cosmos/base/grpc/v2/service.rpc.Service.ts +41 -0
  86. package/src/cosmos/base/grpc/v2/service.rpc.func.ts +16 -0
  87. package/src/cosmos/base/grpc/v2/service.ts +473 -0
  88. package/src/cosmos/base/node/v1beta1/query.lcd.ts +22 -0
  89. package/src/cosmos/base/node/v1beta1/query.rpc.Service.ts +41 -0
  90. package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +16 -0
  91. package/src/cosmos/base/node/v1beta1/query.ts +454 -0
  92. package/src/cosmos/base/query/v1beta1/pagination.d.ts +176 -0
  93. package/src/cosmos/base/query/v1beta1/pagination.js +222 -0
  94. package/src/cosmos/base/query/v1beta1/pagination.ts +361 -0
  95. package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +16 -0
  96. package/src/cosmos/base/reflection/v1beta1/reflection.ts +382 -0
  97. package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +44 -0
  98. package/src/cosmos/base/reflection/v2alpha1/reflection.ts +2727 -0
  99. package/src/cosmos/base/tendermint/v1beta1/query.lcd.ts +81 -0
  100. package/src/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +108 -0
  101. package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +51 -0
  102. package/src/cosmos/base/tendermint/v1beta1/query.ts +2302 -0
  103. package/src/cosmos/base/tendermint/v1beta1/types.ts +455 -0
  104. package/src/cosmos/base/v1beta1/coin.d.ts +166 -0
  105. package/src/cosmos/base/v1beta1/coin.js +341 -0
  106. package/src/cosmos/base/v1beta1/coin.ts +439 -0
  107. package/src/cosmos/circuit/module/v1/module.ts +99 -0
  108. package/src/cosmos/circuit/v1/query.lcd.ts +36 -0
  109. package/src/cosmos/circuit/v1/query.rpc.Query.ts +54 -0
  110. package/src/cosmos/circuit/v1/query.rpc.func.ts +23 -0
  111. package/src/cosmos/circuit/v1/query.ts +574 -0
  112. package/src/cosmos/circuit/v1/tx.amino.ts +18 -0
  113. package/src/cosmos/circuit/v1/tx.registry.ts +3 -0
  114. package/src/cosmos/circuit/v1/tx.rpc.func.ts +21 -0
  115. package/src/cosmos/circuit/v1/tx.rpc.msg.ts +47 -0
  116. package/src/cosmos/circuit/v1/tx.ts +676 -0
  117. package/src/cosmos/circuit/v1/types.ts +413 -0
  118. package/src/cosmos/consensus/module/v1/module.ts +99 -0
  119. package/src/cosmos/consensus/v1/query.lcd.ts +17 -0
  120. package/src/cosmos/consensus/v1/query.rpc.Query.ts +30 -0
  121. package/src/cosmos/consensus/v1/query.rpc.func.ts +9 -0
  122. package/src/cosmos/consensus/v1/query.ts +185 -0
  123. package/src/cosmos/consensus/v1/tx.amino.ts +8 -0
  124. package/src/cosmos/consensus/v1/tx.registry.ts +3 -0
  125. package/src/cosmos/consensus/v1/tx.rpc.func.ts +9 -0
  126. package/src/cosmos/consensus/v1/tx.rpc.msg.ts +31 -0
  127. package/src/cosmos/consensus/v1/tx.ts +255 -0
  128. package/src/cosmos/crisis/module/v1/module.ts +115 -0
  129. package/src/cosmos/crisis/v1beta1/genesis.ts +106 -0
  130. package/src/cosmos/crisis/v1beta1/tx.amino.ts +13 -0
  131. package/src/cosmos/crisis/v1beta1/tx.registry.ts +3 -0
  132. package/src/cosmos/crisis/v1beta1/tx.rpc.func.ts +15 -0
  133. package/src/cosmos/crisis/v1beta1/tx.rpc.msg.ts +39 -0
  134. package/src/cosmos/crisis/v1beta1/tx.ts +416 -0
  135. package/src/cosmos/crypto/ed25519/keys.d.ts +84 -0
  136. package/src/cosmos/crypto/ed25519/keys.js +162 -0
  137. package/src/cosmos/crypto/ed25519/keys.ts +209 -0
  138. package/src/cosmos/crypto/hd/v1/hd.ts +169 -0
  139. package/src/cosmos/crypto/keyring/v1/record.ts +529 -0
  140. package/src/cosmos/crypto/multisig/keys.ts +122 -0
  141. package/src/cosmos/crypto/multisig/v1beta1/multisig.d.ts +86 -0
  142. package/src/cosmos/crypto/multisig/v1beta1/multisig.js +177 -0
  143. package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +225 -0
  144. package/src/cosmos/crypto/secp256k1/keys.d.ts +78 -0
  145. package/src/cosmos/crypto/secp256k1/keys.js +162 -0
  146. package/src/cosmos/crypto/secp256k1/keys.ts +203 -0
  147. package/src/cosmos/crypto/secp256r1/keys.d.ts +76 -0
  148. package/src/cosmos/crypto/secp256r1/keys.js +162 -0
  149. package/src/cosmos/crypto/secp256r1/keys.ts +201 -0
  150. package/src/cosmos/distribution/module/v1/module.ts +113 -0
  151. package/src/cosmos/distribution/v1beta1/distribution.d.ts +541 -0
  152. package/src/cosmos/distribution/v1beta1/distribution.js +1158 -0
  153. package/src/cosmos/distribution/v1beta1/distribution.ts +1494 -0
  154. package/src/cosmos/distribution/v1beta1/genesis.ts +1129 -0
  155. package/src/cosmos/distribution/v1beta1/query.lcd.ts +76 -0
  156. package/src/cosmos/distribution/v1beta1/query.rpc.Query.ts +133 -0
  157. package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +72 -0
  158. package/src/cosmos/distribution/v1beta1/query.ts +2126 -0
  159. package/src/cosmos/distribution/v1beta1/tx.amino.ts +38 -0
  160. package/src/cosmos/distribution/v1beta1/tx.d.ts +578 -0
  161. package/src/cosmos/distribution/v1beta1/tx.js +1145 -0
  162. package/src/cosmos/distribution/v1beta1/tx.registry.ts +3 -0
  163. package/src/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +9 -0
  164. package/src/cosmos/distribution/v1beta1/tx.rpc.func.js +55 -0
  165. package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +45 -0
  166. package/src/cosmos/distribution/v1beta1/tx.rpc.msg.ts +115 -0
  167. package/src/cosmos/distribution/v1beta1/tx.ts +1478 -0
  168. package/src/cosmos/evidence/module/v1/module.ts +80 -0
  169. package/src/cosmos/evidence/v1beta1/evidence.ts +154 -0
  170. package/src/cosmos/evidence/v1beta1/genesis.ts +102 -0
  171. package/src/cosmos/evidence/v1beta1/query.lcd.ts +37 -0
  172. package/src/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
  173. package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +16 -0
  174. package/src/cosmos/evidence/v1beta1/query.ts +451 -0
  175. package/src/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
  176. package/src/cosmos/evidence/v1beta1/tx.registry.ts +3 -0
  177. package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +9 -0
  178. package/src/cosmos/evidence/v1beta1/tx.rpc.msg.ts +27 -0
  179. package/src/cosmos/evidence/v1beta1/tx.ts +221 -0
  180. package/src/cosmos/feegrant/module/v1/module.ts +80 -0
  181. package/src/cosmos/feegrant/v1beta1/feegrant.ts +573 -0
  182. package/src/cosmos/feegrant/v1beta1/genesis.ts +100 -0
  183. package/src/cosmos/feegrant/v1beta1/query.lcd.ts +42 -0
  184. package/src/cosmos/feegrant/v1beta1/query.rpc.Query.ts +58 -0
  185. package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +23 -0
  186. package/src/cosmos/feegrant/v1beta1/query.ts +677 -0
  187. package/src/cosmos/feegrant/v1beta1/tx.amino.ts +18 -0
  188. package/src/cosmos/feegrant/v1beta1/tx.d.ts +232 -0
  189. package/src/cosmos/feegrant/v1beta1/tx.js +471 -0
  190. package/src/cosmos/feegrant/v1beta1/tx.registry.ts +3 -0
  191. package/src/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +5 -0
  192. package/src/cosmos/feegrant/v1beta1/tx.rpc.func.js +27 -0
  193. package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +21 -0
  194. package/src/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +53 -0
  195. package/src/cosmos/feegrant/v1beta1/tx.ts +597 -0
  196. package/src/cosmos/genutil/module/v1/module.ts +80 -0
  197. package/src/cosmos/genutil/v1beta1/genesis.ts +101 -0
  198. package/src/cosmos/gov/module/v1/module.ts +121 -0
  199. package/src/cosmos/gov/v1/genesis.ts +280 -0
  200. package/src/cosmos/gov/v1/gov.d.ts +696 -0
  201. package/src/cosmos/gov/v1/gov.js +1363 -0
  202. package/src/cosmos/gov/v1/gov.ts +1843 -0
  203. package/src/cosmos/gov/v1/query.lcd.ts +85 -0
  204. package/src/cosmos/gov/v1/query.rpc.Query.ts +118 -0
  205. package/src/cosmos/gov/v1/query.rpc.func.ts +65 -0
  206. package/src/cosmos/gov/v1/query.ts +1970 -0
  207. package/src/cosmos/gov/v1/tx.amino.ts +38 -0
  208. package/src/cosmos/gov/v1/tx.d.ts +624 -0
  209. package/src/cosmos/gov/v1/tx.js +1277 -0
  210. package/src/cosmos/gov/v1/tx.registry.ts +3 -0
  211. package/src/cosmos/gov/v1/tx.rpc.func.d.ts +9 -0
  212. package/src/cosmos/gov/v1/tx.rpc.func.js +55 -0
  213. package/src/cosmos/gov/v1/tx.rpc.func.ts +45 -0
  214. package/src/cosmos/gov/v1/tx.rpc.msg.ts +89 -0
  215. package/src/cosmos/gov/v1/tx.ts +1657 -0
  216. package/src/cosmos/gov/v1beta1/genesis.ts +202 -0
  217. package/src/cosmos/gov/v1beta1/gov.d.ts +522 -0
  218. package/src/cosmos/gov/v1beta1/gov.js +1114 -0
  219. package/src/cosmos/gov/v1beta1/gov.ts +1425 -0
  220. package/src/cosmos/gov/v1beta1/query.d.ts +606 -0
  221. package/src/cosmos/gov/v1beta1/query.js +1409 -0
  222. package/src/cosmos/gov/v1beta1/query.lcd.ts +80 -0
  223. package/src/cosmos/gov/v1beta1/query.rpc.Query.ts +107 -0
  224. package/src/cosmos/gov/v1beta1/query.rpc.func.d.ts +10 -0
  225. package/src/cosmos/gov/v1beta1/query.rpc.func.js +69 -0
  226. package/src/cosmos/gov/v1beta1/query.rpc.func.ts +58 -0
  227. package/src/cosmos/gov/v1beta1/query.ts +1749 -0
  228. package/src/cosmos/gov/v1beta1/tx.amino.ts +23 -0
  229. package/src/cosmos/gov/v1beta1/tx.d.ts +325 -0
  230. package/src/cosmos/gov/v1beta1/tx.js +699 -0
  231. package/src/cosmos/gov/v1beta1/tx.registry.ts +3 -0
  232. package/src/cosmos/gov/v1beta1/tx.rpc.func.d.ts +6 -0
  233. package/src/cosmos/gov/v1beta1/tx.rpc.func.js +34 -0
  234. package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +27 -0
  235. package/src/cosmos/gov/v1beta1/tx.rpc.msg.ts +53 -0
  236. package/src/cosmos/gov/v1beta1/tx.ts +881 -0
  237. package/src/cosmos/group/module/v1/module.ts +128 -0
  238. package/src/cosmos/group/v1/events.ts +1044 -0
  239. package/src/cosmos/group/v1/genesis.ts +240 -0
  240. package/src/cosmos/group/v1/query.lcd.ts +145 -0
  241. package/src/cosmos/group/v1/query.rpc.Query.ts +191 -0
  242. package/src/cosmos/group/v1/query.rpc.func.ts +100 -0
  243. package/src/cosmos/group/v1/query.ts +3015 -0
  244. package/src/cosmos/group/v1/tx.amino.ts +73 -0
  245. package/src/cosmos/group/v1/tx.d.ts +1140 -0
  246. package/src/cosmos/group/v1/tx.js +2567 -0
  247. package/src/cosmos/group/v1/tx.registry.ts +3 -0
  248. package/src/cosmos/group/v1/tx.rpc.func.d.ts +16 -0
  249. package/src/cosmos/group/v1/tx.rpc.func.js +104 -0
  250. package/src/cosmos/group/v1/tx.rpc.func.ts +87 -0
  251. package/src/cosmos/group/v1/tx.rpc.msg.ts +127 -0
  252. package/src/cosmos/group/v1/tx.ts +3207 -0
  253. package/src/cosmos/group/v1/types.d.ts +799 -0
  254. package/src/cosmos/group/v1/types.js +1542 -0
  255. package/src/cosmos/group/v1/types.ts +2081 -0
  256. package/src/cosmos/ics23/v1/proofs.d.ts +730 -0
  257. package/src/cosmos/ics23/v1/proofs.js +1605 -0
  258. package/src/cosmos/ics23/v1/proofs.ts +2060 -0
  259. package/src/cosmos/mint/module/v1/module.ts +113 -0
  260. package/src/cosmos/mint/v1beta1/genesis.ts +116 -0
  261. package/src/cosmos/mint/v1beta1/mint.ts +291 -0
  262. package/src/cosmos/mint/v1beta1/query.lcd.ts +27 -0
  263. package/src/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
  264. package/src/cosmos/mint/v1beta1/query.rpc.func.ts +23 -0
  265. package/src/cosmos/mint/v1beta1/query.ts +541 -0
  266. package/src/cosmos/mint/v1beta1/tx.amino.ts +8 -0
  267. package/src/cosmos/mint/v1beta1/tx.registry.ts +3 -0
  268. package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +9 -0
  269. package/src/cosmos/mint/v1beta1/tx.rpc.msg.ts +31 -0
  270. package/src/cosmos/mint/v1beta1/tx.ts +219 -0
  271. package/src/cosmos/msg/textual/v1/textual.ts +1 -0
  272. package/src/cosmos/msg/v1/msg.d.ts +1 -0
  273. package/src/cosmos/msg/v1/msg.js +2 -0
  274. package/src/cosmos/msg/v1/msg.ts +1 -0
  275. package/src/cosmos/nft/module/v1/module.ts +80 -0
  276. package/src/cosmos/nft/v1beta1/event.ts +403 -0
  277. package/src/cosmos/nft/v1beta1/genesis.ts +234 -0
  278. package/src/cosmos/nft/v1beta1/nft.ts +356 -0
  279. package/src/cosmos/nft/v1beta1/query.lcd.ts +69 -0
  280. package/src/cosmos/nft/v1beta1/query.rpc.Query.ts +102 -0
  281. package/src/cosmos/nft/v1beta1/query.rpc.func.ts +51 -0
  282. package/src/cosmos/nft/v1beta1/query.ts +1465 -0
  283. package/src/cosmos/nft/v1beta1/tx.amino.ts +8 -0
  284. package/src/cosmos/nft/v1beta1/tx.registry.ts +3 -0
  285. package/src/cosmos/nft/v1beta1/tx.rpc.func.ts +9 -0
  286. package/src/cosmos/nft/v1beta1/tx.rpc.msg.ts +23 -0
  287. package/src/cosmos/nft/v1beta1/tx.ts +224 -0
  288. package/src/cosmos/orm/module/v1alpha1/module.ts +88 -0
  289. package/src/cosmos/orm/query/v1alpha1/query.rpc.Query.ts +41 -0
  290. package/src/cosmos/orm/query/v1alpha1/query.rpc.func.ts +16 -0
  291. package/src/cosmos/orm/query/v1alpha1/query.ts +993 -0
  292. package/src/cosmos/orm/v1/orm.ts +589 -0
  293. package/src/cosmos/orm/v1alpha1/schema.ts +325 -0
  294. package/src/cosmos/params/module/v1/module.ts +80 -0
  295. package/src/cosmos/params/v1beta1/params.ts +255 -0
  296. package/src/cosmos/params/v1beta1/query.lcd.ts +34 -0
  297. package/src/cosmos/params/v1beta1/query.rpc.Query.ts +51 -0
  298. package/src/cosmos/params/v1beta1/query.rpc.func.ts +16 -0
  299. package/src/cosmos/params/v1beta1/query.ts +525 -0
  300. package/src/cosmos/query/v1/query.d.ts +1 -0
  301. package/src/cosmos/query/v1/query.js +2 -0
  302. package/src/cosmos/query/v1/query.ts +1 -0
  303. package/src/cosmos/reflection/v1/reflection.rpc.func.ts +9 -0
  304. package/src/cosmos/reflection/v1/reflection.ts +179 -0
  305. package/src/cosmos/rpc.query.ts +29 -0
  306. package/src/cosmos/rpc.tx.ts +34 -0
  307. package/src/cosmos/slashing/module/v1/module.ts +99 -0
  308. package/src/cosmos/slashing/v1beta1/genesis.ts +492 -0
  309. package/src/cosmos/slashing/v1beta1/query.lcd.ts +36 -0
  310. package/src/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
  311. package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +23 -0
  312. package/src/cosmos/slashing/v1beta1/query.ts +598 -0
  313. package/src/cosmos/slashing/v1beta1/slashing.ts +357 -0
  314. package/src/cosmos/slashing/v1beta1/tx.amino.ts +13 -0
  315. package/src/cosmos/slashing/v1beta1/tx.registry.ts +3 -0
  316. package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +15 -0
  317. package/src/cosmos/slashing/v1beta1/tx.rpc.msg.ts +45 -0
  318. package/src/cosmos/slashing/v1beta1/tx.ts +390 -0
  319. package/src/cosmos/staking/module/v1/module.ts +157 -0
  320. package/src/cosmos/staking/v1beta1/authz.ts +323 -0
  321. package/src/cosmos/staking/v1beta1/genesis.ts +346 -0
  322. package/src/cosmos/staking/v1beta1/query.d.ts +1124 -0
  323. package/src/cosmos/staking/v1beta1/query.js +2414 -0
  324. package/src/cosmos/staking/v1beta1/query.lcd.ts +159 -0
  325. package/src/cosmos/staking/v1beta1/query.rpc.Query.ts +241 -0
  326. package/src/cosmos/staking/v1beta1/query.rpc.func.d.ts +16 -0
  327. package/src/cosmos/staking/v1beta1/query.rpc.func.js +117 -0
  328. package/src/cosmos/staking/v1beta1/query.rpc.func.ts +100 -0
  329. package/src/cosmos/staking/v1beta1/query.ts +3073 -0
  330. package/src/cosmos/staking/v1beta1/staking.d.ts +1024 -0
  331. package/src/cosmos/staking/v1beta1/staking.js +2371 -0
  332. package/src/cosmos/staking/v1beta1/staking.ts +3005 -0
  333. package/src/cosmos/staking/v1beta1/tx.amino.ts +38 -0
  334. package/src/cosmos/staking/v1beta1/tx.d.ts +590 -0
  335. package/src/cosmos/staking/v1beta1/tx.js +1290 -0
  336. package/src/cosmos/staking/v1beta1/tx.registry.ts +3 -0
  337. package/src/cosmos/staking/v1beta1/tx.rpc.func.d.ts +9 -0
  338. package/src/cosmos/staking/v1beta1/tx.rpc.func.js +55 -0
  339. package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +45 -0
  340. package/src/cosmos/staking/v1beta1/tx.rpc.msg.ts +97 -0
  341. package/src/cosmos/staking/v1beta1/tx.ts +1638 -0
  342. package/src/cosmos/store/internal/kv/v1beta1/kv.ts +207 -0
  343. package/src/cosmos/store/snapshots/v1/snapshot.ts +863 -0
  344. package/src/cosmos/store/snapshots/v2/snapshot.ts +823 -0
  345. package/src/cosmos/store/streaming/abci/grpc.ts +393 -0
  346. package/src/cosmos/store/v1beta1/commit_info.ts +362 -0
  347. package/src/cosmos/store/v1beta1/listening.ts +286 -0
  348. package/src/cosmos/streaming/v1/grpc.ts +985 -0
  349. package/src/cosmos/tx/config/v1/config.ts +127 -0
  350. package/src/cosmos/tx/signing/v1beta1/signing.d.ts +270 -0
  351. package/src/cosmos/tx/signing/v1beta1/signing.js +570 -0
  352. package/src/cosmos/tx/signing/v1beta1/signing.ts +688 -0
  353. package/src/cosmos/tx/v1beta1/service.d.ts +916 -0
  354. package/src/cosmos/tx/v1beta1/service.js +1729 -0
  355. package/src/cosmos/tx/v1beta1/service.lcd.ts +57 -0
  356. package/src/cosmos/tx/v1beta1/service.rpc.Service.ts +148 -0
  357. package/src/cosmos/tx/v1beta1/service.rpc.func.d.ts +11 -0
  358. package/src/cosmos/tx/v1beta1/service.rpc.func.js +77 -0
  359. package/src/cosmos/tx/v1beta1/service.rpc.func.ts +65 -0
  360. package/src/cosmos/tx/v1beta1/service.ts +2294 -0
  361. package/src/cosmos/tx/v1beta1/tx.d.ts +856 -0
  362. package/src/cosmos/tx/v1beta1/tx.js +1398 -0
  363. package/src/cosmos/tx/v1beta1/tx.ts +2029 -0
  364. package/src/cosmos/upgrade/module/v1/module.ts +99 -0
  365. package/src/cosmos/upgrade/v1beta1/query.lcd.ts +52 -0
  366. package/src/cosmos/upgrade/v1beta1/query.rpc.Query.ts +98 -0
  367. package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +37 -0
  368. package/src/cosmos/upgrade/v1beta1/query.ts +1016 -0
  369. package/src/cosmos/upgrade/v1beta1/tx.amino.ts +13 -0
  370. package/src/cosmos/upgrade/v1beta1/tx.registry.ts +3 -0
  371. package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +15 -0
  372. package/src/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +45 -0
  373. package/src/cosmos/upgrade/v1beta1/tx.ts +398 -0
  374. package/src/cosmos/upgrade/v1beta1/upgrade.d.ts +245 -0
  375. package/src/cosmos/upgrade/v1beta1/upgrade.js +416 -0
  376. package/src/cosmos/upgrade/v1beta1/upgrade.ts +591 -0
  377. package/src/cosmos/validate/module/v1/module.ts +80 -0
  378. package/src/cosmos/vesting/module/v1/module.ts +80 -0
  379. package/src/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
  380. package/src/cosmos/vesting/v1beta1/tx.d.ts +256 -0
  381. package/src/cosmos/vesting/v1beta1/tx.js +553 -0
  382. package/src/cosmos/vesting/v1beta1/tx.registry.ts +3 -0
  383. package/src/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +5 -0
  384. package/src/cosmos/vesting/v1beta1/tx.rpc.func.js +27 -0
  385. package/src/cosmos/vesting/v1beta1/tx.rpc.func.ts +21 -0
  386. package/src/cosmos/vesting/v1beta1/tx.rpc.msg.ts +59 -0
  387. package/src/cosmos/vesting/v1beta1/tx.ts +698 -0
  388. package/src/cosmos/vesting/v1beta1/vesting.d.ts +256 -0
  389. package/src/cosmos/vesting/v1beta1/vesting.js +586 -0
  390. package/src/cosmos/vesting/v1beta1/vesting.ts +735 -0
  391. package/src/cosmos_proto/cosmos.d.ts +153 -0
  392. package/src/cosmos_proto/cosmos.js +234 -0
  393. package/src/cosmos_proto/cosmos.ts +341 -0
  394. package/src/cosmwasm/wasm/v1/authz.ts +1231 -0
  395. package/src/cosmwasm/wasm/v1/genesis.ts +532 -0
  396. package/src/cosmwasm/wasm/v1/ibc.ts +355 -0
  397. package/src/cosmwasm/wasm/v1/proposal_legacy.ts +2432 -0
  398. package/src/cosmwasm/wasm/v1/query.lcd.ts +108 -0
  399. package/src/cosmwasm/wasm/v1/query.rpc.Query.ts +144 -0
  400. package/src/cosmwasm/wasm/v1/query.rpc.func.ts +79 -0
  401. package/src/cosmwasm/wasm/v1/query.ts +2560 -0
  402. package/src/cosmwasm/wasm/v1/tx.amino.ts +88 -0
  403. package/src/cosmwasm/wasm/v1/tx.registry.ts +3 -0
  404. package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +105 -0
  405. package/src/cosmwasm/wasm/v1/tx.rpc.msg.ts +225 -0
  406. package/src/cosmwasm/wasm/v1/tx.ts +4191 -0
  407. package/src/cosmwasm/wasm/v1/types.ts +1120 -0
  408. package/src/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +80 -0
  409. package/src/ethermint/crypto/v1/ethsecp256k1/keys.js +146 -0
  410. package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +193 -0
  411. package/src/ethermint/evm/v1/events.d.ts +162 -0
  412. package/src/ethermint/evm/v1/events.js +384 -0
  413. package/src/ethermint/evm/v1/events.ts +485 -0
  414. package/src/ethermint/evm/v1/evm.d.ts +530 -0
  415. package/src/ethermint/evm/v1/evm.js +1184 -0
  416. package/src/ethermint/evm/v1/evm.ts +1590 -0
  417. package/src/ethermint/evm/v1/genesis.d.ts +87 -0
  418. package/src/ethermint/evm/v1/genesis.js +188 -0
  419. package/src/ethermint/evm/v1/genesis.ts +240 -0
  420. package/src/ethermint/evm/v1/query.d.ts +913 -0
  421. package/src/ethermint/evm/v1/query.js +1973 -0
  422. package/src/ethermint/evm/v1/query.lcd.ts +157 -0
  423. package/src/ethermint/evm/v1/query.rpc.Query.ts +164 -0
  424. package/src/ethermint/evm/v1/query.rpc.func.d.ts +15 -0
  425. package/src/ethermint/evm/v1/query.rpc.func.js +102 -0
  426. package/src/ethermint/evm/v1/query.rpc.func.ts +87 -0
  427. package/src/ethermint/evm/v1/query.ts +2535 -0
  428. package/src/ethermint/evm/v1/tx.amino.ts +13 -0
  429. package/src/ethermint/evm/v1/tx.d.ts +452 -0
  430. package/src/ethermint/evm/v1/tx.js +1011 -0
  431. package/src/ethermint/evm/v1/tx.registry.ts +3 -0
  432. package/src/ethermint/evm/v1/tx.rpc.func.d.ts +4 -0
  433. package/src/ethermint/evm/v1/tx.rpc.func.js +20 -0
  434. package/src/ethermint/evm/v1/tx.rpc.func.ts +15 -0
  435. package/src/ethermint/evm/v1/tx.rpc.msg.ts +35 -0
  436. package/src/ethermint/evm/v1/tx.ts +1333 -0
  437. package/src/ethermint/feemarket/v1/events.d.ts +70 -0
  438. package/src/ethermint/feemarket/v1/events.js +157 -0
  439. package/src/ethermint/feemarket/v1/events.ts +195 -0
  440. package/src/ethermint/feemarket/v1/feemarket.d.ts +78 -0
  441. package/src/ethermint/feemarket/v1/feemarket.js +155 -0
  442. package/src/ethermint/feemarket/v1/feemarket.ts +213 -0
  443. package/src/ethermint/feemarket/v1/genesis.d.ts +45 -0
  444. package/src/ethermint/feemarket/v1/genesis.js +88 -0
  445. package/src/ethermint/feemarket/v1/genesis.ts +114 -0
  446. package/src/ethermint/feemarket/v1/query.d.ts +195 -0
  447. package/src/ethermint/feemarket/v1/query.js +387 -0
  448. package/src/ethermint/feemarket/v1/query.lcd.ts +27 -0
  449. package/src/ethermint/feemarket/v1/query.rpc.Query.ts +52 -0
  450. package/src/ethermint/feemarket/v1/query.rpc.func.d.ts +5 -0
  451. package/src/ethermint/feemarket/v1/query.rpc.func.js +29 -0
  452. package/src/ethermint/feemarket/v1/query.rpc.func.ts +23 -0
  453. package/src/ethermint/feemarket/v1/query.ts +487 -0
  454. package/src/ethermint/feemarket/v1/tx.amino.ts +8 -0
  455. package/src/ethermint/feemarket/v1/tx.d.ts +81 -0
  456. package/src/ethermint/feemarket/v1/tx.js +153 -0
  457. package/src/ethermint/feemarket/v1/tx.registry.ts +3 -0
  458. package/src/ethermint/feemarket/v1/tx.rpc.func.d.ts +3 -0
  459. package/src/ethermint/feemarket/v1/tx.rpc.func.js +13 -0
  460. package/src/ethermint/feemarket/v1/tx.rpc.func.ts +9 -0
  461. package/src/ethermint/feemarket/v1/tx.rpc.msg.ts +27 -0
  462. package/src/ethermint/feemarket/v1/tx.ts +197 -0
  463. package/src/ethermint/types/v1/account.d.ts +45 -0
  464. package/src/ethermint/types/v1/account.js +88 -0
  465. package/src/ethermint/types/v1/account.ts +114 -0
  466. package/src/ethermint/types/v1/dynamic_fee.d.ts +34 -0
  467. package/src/ethermint/types/v1/dynamic_fee.js +75 -0
  468. package/src/ethermint/types/v1/dynamic_fee.ts +91 -0
  469. package/src/ethermint/types/v1/indexer.d.ts +76 -0
  470. package/src/ethermint/types/v1/indexer.js +147 -0
  471. package/src/ethermint/types/v1/indexer.ts +205 -0
  472. package/src/ethermint/types/v1/web3.d.ts +66 -0
  473. package/src/ethermint/types/v1/web3.js +100 -0
  474. package/src/ethermint/types/v1/web3.ts +147 -0
  475. package/src/extern.d.ts +10 -0
  476. package/src/extern.js +36 -0
  477. package/src/extern.ts +38 -0
  478. package/src/gogoproto/gogo.d.ts +1 -0
  479. package/src/gogoproto/gogo.js +2 -0
  480. package/src/gogoproto/gogo.ts +1 -0
  481. package/src/google/api/annotations.d.ts +1 -0
  482. package/src/google/api/annotations.js +2 -0
  483. package/src/google/api/annotations.ts +1 -0
  484. package/src/google/api/http.d.ts +764 -0
  485. package/src/google/api/http.js +353 -0
  486. package/src/google/api/http.ts +1069 -0
  487. package/src/google/protobuf/any.d.ts +268 -0
  488. package/src/google/protobuf/any.js +81 -0
  489. package/src/google/protobuf/any.ts +331 -0
  490. package/src/google/protobuf/descriptor.d.ts +2919 -0
  491. package/src/google/protobuf/descriptor.js +5100 -0
  492. package/src/google/protobuf/descriptor.ts +7177 -0
  493. package/src/google/protobuf/duration.d.ts +162 -0
  494. package/src/google/protobuf/duration.js +81 -0
  495. package/src/google/protobuf/duration.ts +225 -0
  496. package/src/google/protobuf/timestamp.d.ts +222 -0
  497. package/src/google/protobuf/timestamp.js +78 -0
  498. package/src/google/protobuf/timestamp.ts +281 -0
  499. package/src/helper-func-types.d.ts +117 -0
  500. package/src/helper-func-types.js +55 -0
  501. package/src/helper-func-types.ts +191 -0
  502. package/src/helpers.d.ts +82 -0
  503. package/src/helpers.js +143 -0
  504. package/src/helpers.ts +259 -0
  505. package/src/ibc/applications/fee/v1/ack.ts +131 -0
  506. package/src/ibc/applications/fee/v1/fee.ts +481 -0
  507. package/src/ibc/applications/fee/v1/genesis.ts +661 -0
  508. package/src/ibc/applications/fee/v1/metadata.ts +121 -0
  509. package/src/ibc/applications/fee/v1/query.lcd.ts +117 -0
  510. package/src/ibc/applications/fee/v1/query.rpc.Query.ts +129 -0
  511. package/src/ibc/applications/fee/v1/query.rpc.func.ts +72 -0
  512. package/src/ibc/applications/fee/v1/query.ts +2134 -0
  513. package/src/ibc/applications/fee/v1/tx.amino.ts +23 -0
  514. package/src/ibc/applications/fee/v1/tx.registry.ts +3 -0
  515. package/src/ibc/applications/fee/v1/tx.rpc.func.ts +27 -0
  516. package/src/ibc/applications/fee/v1/tx.rpc.msg.ts +83 -0
  517. package/src/ibc/applications/fee/v1/tx.ts +889 -0
  518. package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +105 -0
  519. package/src/ibc/applications/interchain_accounts/controller/v1/query.lcd.ts +22 -0
  520. package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.ts +41 -0
  521. package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +16 -0
  522. package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +379 -0
  523. package/src/ibc/applications/interchain_accounts/controller/v1/tx.amino.ts +18 -0
  524. package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +3 -0
  525. package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +21 -0
  526. package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.ts +39 -0
  527. package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +685 -0
  528. package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +661 -0
  529. package/src/ibc/applications/interchain_accounts/host/v1/host.ts +253 -0
  530. package/src/ibc/applications/interchain_accounts/host/v1/query.lcd.ts +17 -0
  531. package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.ts +30 -0
  532. package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +9 -0
  533. package/src/ibc/applications/interchain_accounts/host/v1/query.ts +177 -0
  534. package/src/ibc/applications/interchain_accounts/host/v1/tx.amino.ts +13 -0
  535. package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +3 -0
  536. package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +15 -0
  537. package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.ts +31 -0
  538. package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +429 -0
  539. package/src/ibc/applications/interchain_accounts/v1/account.ts +112 -0
  540. package/src/ibc/applications/interchain_accounts/v1/metadata.ts +191 -0
  541. package/src/ibc/applications/interchain_accounts/v1/packet.ts +259 -0
  542. package/src/ibc/applications/transfer/v1/authz.ts +280 -0
  543. package/src/ibc/applications/transfer/v1/genesis.ts +153 -0
  544. package/src/ibc/applications/transfer/v1/query.lcd.ts +69 -0
  545. package/src/ibc/applications/transfer/v1/query.rpc.Query.ts +87 -0
  546. package/src/ibc/applications/transfer/v1/query.rpc.func.ts +44 -0
  547. package/src/ibc/applications/transfer/v1/query.ts +1205 -0
  548. package/src/ibc/applications/transfer/v1/transfer.d.ts +112 -0
  549. package/src/ibc/applications/transfer/v1/transfer.js +185 -0
  550. package/src/ibc/applications/transfer/v1/transfer.ts +261 -0
  551. package/src/ibc/applications/transfer/v1/tx.amino.ts +13 -0
  552. package/src/ibc/applications/transfer/v1/tx.d.ts +202 -0
  553. package/src/ibc/applications/transfer/v1/tx.js +402 -0
  554. package/src/ibc/applications/transfer/v1/tx.registry.ts +3 -0
  555. package/src/ibc/applications/transfer/v1/tx.rpc.func.d.ts +4 -0
  556. package/src/ibc/applications/transfer/v1/tx.rpc.func.js +20 -0
  557. package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +15 -0
  558. package/src/ibc/applications/transfer/v1/tx.rpc.msg.ts +31 -0
  559. package/src/ibc/applications/transfer/v1/tx.ts +532 -0
  560. package/src/ibc/applications/transfer/v2/packet.ts +171 -0
  561. package/src/ibc/core/channel/v1/channel.d.ts +547 -0
  562. package/src/ibc/core/channel/v1/channel.js +1167 -0
  563. package/src/ibc/core/channel/v1/channel.ts +1510 -0
  564. package/src/ibc/core/channel/v1/genesis.ts +354 -0
  565. package/src/ibc/core/channel/v1/query.lcd.ts +135 -0
  566. package/src/ibc/core/channel/v1/query.rpc.Query.ts +240 -0
  567. package/src/ibc/core/channel/v1/query.rpc.func.ts +121 -0
  568. package/src/ibc/core/channel/v1/query.ts +4354 -0
  569. package/src/ibc/core/channel/v1/tx.amino.ts +98 -0
  570. package/src/ibc/core/channel/v1/tx.d.ts +1490 -0
  571. package/src/ibc/core/channel/v1/tx.js +4027 -0
  572. package/src/ibc/core/channel/v1/tx.registry.ts +3 -0
  573. package/src/ibc/core/channel/v1/tx.rpc.func.d.ts +21 -0
  574. package/src/ibc/core/channel/v1/tx.rpc.func.js +139 -0
  575. package/src/ibc/core/channel/v1/tx.rpc.func.ts +117 -0
  576. package/src/ibc/core/channel/v1/tx.rpc.msg.ts +171 -0
  577. package/src/ibc/core/channel/v1/tx.ts +4866 -0
  578. package/src/ibc/core/channel/v1/upgrade.d.ts +139 -0
  579. package/src/ibc/core/channel/v1/upgrade.js +304 -0
  580. package/src/ibc/core/channel/v1/upgrade.ts +388 -0
  581. package/src/ibc/core/client/v1/client.d.ts +372 -0
  582. package/src/ibc/core/client/v1/client.js +675 -0
  583. package/src/ibc/core/client/v1/client.ts +927 -0
  584. package/src/ibc/core/client/v1/genesis.ts +426 -0
  585. package/src/ibc/core/client/v1/query.lcd.ts +86 -0
  586. package/src/ibc/core/client/v1/query.rpc.Query.ts +139 -0
  587. package/src/ibc/core/client/v1/query.rpc.func.ts +72 -0
  588. package/src/ibc/core/client/v1/query.ts +2280 -0
  589. package/src/ibc/core/client/v1/tx.amino.ts +38 -0
  590. package/src/ibc/core/client/v1/tx.d.ts +587 -0
  591. package/src/ibc/core/client/v1/tx.js +1202 -0
  592. package/src/ibc/core/client/v1/tx.registry.ts +3 -0
  593. package/src/ibc/core/client/v1/tx.rpc.func.d.ts +9 -0
  594. package/src/ibc/core/client/v1/tx.rpc.func.js +55 -0
  595. package/src/ibc/core/client/v1/tx.rpc.func.ts +45 -0
  596. package/src/ibc/core/client/v1/tx.rpc.msg.ts +71 -0
  597. package/src/ibc/core/client/v1/tx.ts +1543 -0
  598. package/src/ibc/core/commitment/v1/commitment.d.ts +165 -0
  599. package/src/ibc/core/commitment/v1/commitment.js +325 -0
  600. package/src/ibc/core/commitment/v1/commitment.ts +418 -0
  601. package/src/ibc/core/connection/v1/connection.d.ts +376 -0
  602. package/src/ibc/core/connection/v1/connection.js +781 -0
  603. package/src/ibc/core/connection/v1/connection.ts +1010 -0
  604. package/src/ibc/core/connection/v1/genesis.ts +146 -0
  605. package/src/ibc/core/connection/v1/query.lcd.ts +54 -0
  606. package/src/ibc/core/connection/v1/query.rpc.Query.ts +99 -0
  607. package/src/ibc/core/connection/v1/query.rpc.func.ts +44 -0
  608. package/src/ibc/core/connection/v1/query.ts +1408 -0
  609. package/src/ibc/core/connection/v1/tx.amino.ts +28 -0
  610. package/src/ibc/core/connection/v1/tx.d.ts +457 -0
  611. package/src/ibc/core/connection/v1/tx.js +1087 -0
  612. package/src/ibc/core/connection/v1/tx.registry.ts +3 -0
  613. package/src/ibc/core/connection/v1/tx.rpc.func.d.ts +7 -0
  614. package/src/ibc/core/connection/v1/tx.rpc.func.js +41 -0
  615. package/src/ibc/core/connection/v1/tx.rpc.func.ts +33 -0
  616. package/src/ibc/core/connection/v1/tx.rpc.msg.ts +63 -0
  617. package/src/ibc/core/connection/v1/tx.ts +1365 -0
  618. package/src/ibc/core/types/v1/genesis.ts +137 -0
  619. package/src/ibc/lightclients/localhost/v2/localhost.ts +100 -0
  620. package/src/ibc/lightclients/solomachine/v2/solomachine.ts +2103 -0
  621. package/src/ibc/lightclients/solomachine/v3/solomachine.ts +1070 -0
  622. package/src/ibc/lightclients/tendermint/v1/tendermint.ts +838 -0
  623. package/src/ibc/lightclients/wasm/v1/genesis.ts +197 -0
  624. package/src/ibc/lightclients/wasm/v1/query.lcd.ts +31 -0
  625. package/src/ibc/lightclients/wasm/v1/query.rpc.Query.ts +43 -0
  626. package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +16 -0
  627. package/src/ibc/lightclients/wasm/v1/query.ts +404 -0
  628. package/src/ibc/lightclients/wasm/v1/tx.amino.ts +18 -0
  629. package/src/ibc/lightclients/wasm/v1/tx.registry.ts +3 -0
  630. package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +21 -0
  631. package/src/ibc/lightclients/wasm/v1/tx.rpc.msg.ts +39 -0
  632. package/src/ibc/lightclients/wasm/v1/tx.ts +621 -0
  633. package/src/ibc/lightclients/wasm/v1/wasm.ts +438 -0
  634. package/src/registry.d.ts +33 -0
  635. package/src/registry.js +158 -0
  636. package/src/registry.ts +218 -0
  637. package/src/tendermint/abci/types.d.ts +1843 -0
  638. package/src/tendermint/abci/types.js +5233 -0
  639. package/src/tendermint/abci/types.ts +6283 -0
  640. package/src/tendermint/crypto/keys.d.ts +34 -0
  641. package/src/tendermint/crypto/keys.js +88 -0
  642. package/src/tendermint/crypto/keys.ts +103 -0
  643. package/src/tendermint/crypto/proof.d.ts +174 -0
  644. package/src/tendermint/crypto/proof.js +458 -0
  645. package/src/tendermint/crypto/proof.ts +555 -0
  646. package/src/tendermint/p2p/types.ts +507 -0
  647. package/src/tendermint/types/block.d.ts +38 -0
  648. package/src/tendermint/types/block.js +113 -0
  649. package/src/tendermint/types/block.ts +131 -0
  650. package/src/tendermint/types/evidence.d.ts +138 -0
  651. package/src/tendermint/types/evidence.js +403 -0
  652. package/src/tendermint/types/evidence.ts +476 -0
  653. package/src/tendermint/types/params.d.ts +323 -0
  654. package/src/tendermint/types/params.js +595 -0
  655. package/src/tendermint/types/params.ts +814 -0
  656. package/src/tendermint/types/types.d.ts +640 -0
  657. package/src/tendermint/types/types.js +1754 -0
  658. package/src/tendermint/types/types.ts +2157 -0
  659. package/src/tendermint/types/validator.d.ts +113 -0
  660. package/src/tendermint/types/validator.js +342 -0
  661. package/src/tendermint/types/validator.ts +389 -0
  662. package/src/tendermint/version/types.d.ts +82 -0
  663. package/src/tendermint/version/types.js +169 -0
  664. package/src/tendermint/version/types.ts +219 -0
  665. package/src/types.d.ts +124 -0
  666. package/src/types.js +7 -0
  667. package/src/types.ts +155 -0
  668. package/src/utf8.d.ts +27 -0
  669. package/src/utf8.js +140 -0
  670. package/src/utf8.ts +148 -0
  671. package/src/varint.d.ts +105 -0
  672. package/src/varint.js +425 -0
  673. package/src/varint.ts +488 -0
  674. package/src/xpla/lcd.ts +180 -0
  675. package/src/xpla/reward/v1beta1/genesis.d.ts +35 -0
  676. package/src/xpla/reward/v1beta1/genesis.js +76 -0
  677. package/src/xpla/reward/v1beta1/genesis.ts +92 -0
  678. package/src/xpla/reward/v1beta1/query.d.ts +136 -0
  679. package/src/xpla/reward/v1beta1/query.js +264 -0
  680. package/src/xpla/reward/v1beta1/query.lcd.ts +22 -0
  681. package/src/xpla/reward/v1beta1/query.rpc.Query.ts +41 -0
  682. package/src/xpla/reward/v1beta1/query.rpc.func.d.ts +4 -0
  683. package/src/xpla/reward/v1beta1/query.rpc.func.js +21 -0
  684. package/src/xpla/reward/v1beta1/query.rpc.func.ts +16 -0
  685. package/src/xpla/reward/v1beta1/query.ts +333 -0
  686. package/src/xpla/reward/v1beta1/reward.d.ts +42 -0
  687. package/src/xpla/reward/v1beta1/reward.js +131 -0
  688. package/src/xpla/reward/v1beta1/reward.ts +153 -0
  689. package/src/xpla/reward/v1beta1/tx.amino.ts +13 -0
  690. package/src/xpla/reward/v1beta1/tx.d.ts +158 -0
  691. package/src/xpla/reward/v1beta1/tx.js +304 -0
  692. package/src/xpla/reward/v1beta1/tx.registry.ts +3 -0
  693. package/src/xpla/reward/v1beta1/tx.rpc.func.d.ts +4 -0
  694. package/src/xpla/reward/v1beta1/tx.rpc.func.js +20 -0
  695. package/src/xpla/reward/v1beta1/tx.rpc.func.ts +15 -0
  696. package/src/xpla/reward/v1beta1/tx.rpc.msg.ts +41 -0
  697. package/src/xpla/reward/v1beta1/tx.ts +391 -0
  698. package/src/xpla/rpc.query.ts +129 -0
  699. package/src/xpla/rpc.tx.ts +6 -0
  700. package/src/xpla/volunteer/v1beta1/genesis.d.ts +33 -0
  701. package/src/xpla/volunteer/v1beta1/genesis.js +79 -0
  702. package/src/xpla/volunteer/v1beta1/genesis.ts +92 -0
  703. package/src/xpla/volunteer/v1beta1/proposal.d.ts +183 -0
  704. package/src/xpla/volunteer/v1beta1/proposal.js +537 -0
  705. package/src/xpla/volunteer/v1beta1/proposal.ts +649 -0
  706. package/src/xpla/volunteer/v1beta1/query.d.ts +60 -0
  707. package/src/xpla/volunteer/v1beta1/query.js +135 -0
  708. package/src/xpla/volunteer/v1beta1/query.lcd.ts +17 -0
  709. package/src/xpla/volunteer/v1beta1/query.rpc.Query.ts +30 -0
  710. package/src/xpla/volunteer/v1beta1/query.rpc.func.d.ts +3 -0
  711. package/src/xpla/volunteer/v1beta1/query.rpc.func.js +13 -0
  712. package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +9 -0
  713. package/src/xpla/volunteer/v1beta1/query.ts +160 -0
  714. package/src/xpla/volunteer/v1beta1/tx.amino.ts +13 -0
  715. package/src/xpla/volunteer/v1beta1/tx.d.ts +168 -0
  716. package/src/xpla/volunteer/v1beta1/tx.js +351 -0
  717. package/src/xpla/volunteer/v1beta1/tx.registry.ts +3 -0
  718. package/src/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +4 -0
  719. package/src/xpla/volunteer/v1beta1/tx.rpc.func.js +20 -0
  720. package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +15 -0
  721. package/src/xpla/volunteer/v1beta1/tx.rpc.msg.ts +35 -0
  722. package/src/xpla/volunteer/v1beta1/tx.ts +448 -0
  723. package/src/xpla/volunteer/v1beta1/volunteervalidator.d.ts +38 -0
  724. package/src/xpla/volunteer/v1beta1/volunteervalidator.js +87 -0
  725. package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +107 -0
  726. package/tsconfig.esm.json +10 -0
  727. package/tsconfig.json +10 -0
@@ -0,0 +1,1145 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MsgDepositValidatorRewardsPoolResponse = exports.MsgDepositValidatorRewardsPool = exports.MsgCommunityPoolSpendResponse = exports.MsgCommunityPoolSpend = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.MsgFundCommunityPoolResponse = exports.MsgFundCommunityPool = exports.MsgWithdrawValidatorCommissionResponse = exports.MsgWithdrawValidatorCommission = exports.MsgWithdrawDelegatorRewardResponse = exports.MsgWithdrawDelegatorReward = exports.MsgSetWithdrawAddressResponse = exports.MsgSetWithdrawAddress = void 0;
4
+ const coin_1 = require("../../base/v1beta1/coin");
5
+ const distribution_1 = require("./distribution");
6
+ const binary_1 = require("../../../binary");
7
+ const registry_1 = require("../../../registry");
8
+ function createBaseMsgSetWithdrawAddress() {
9
+ return {
10
+ delegatorAddress: "",
11
+ withdrawAddress: ""
12
+ };
13
+ }
14
+ exports.MsgSetWithdrawAddress = {
15
+ typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
16
+ aminoType: "cosmos-sdk/MsgModifyWithdrawAddress",
17
+ is(o) {
18
+ return o && (o.$typeUrl === exports.MsgSetWithdrawAddress.typeUrl || typeof o.delegatorAddress === "string" && typeof o.withdrawAddress === "string");
19
+ },
20
+ isAmino(o) {
21
+ return o && (o.$typeUrl === exports.MsgSetWithdrawAddress.typeUrl || typeof o.delegator_address === "string" && typeof o.withdraw_address === "string");
22
+ },
23
+ encode(message, writer = binary_1.BinaryWriter.create()) {
24
+ if (message.delegatorAddress !== "") {
25
+ writer.uint32(10).string(message.delegatorAddress);
26
+ }
27
+ if (message.withdrawAddress !== "") {
28
+ writer.uint32(18).string(message.withdrawAddress);
29
+ }
30
+ return writer;
31
+ },
32
+ decode(input, length) {
33
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
34
+ let end = length === undefined ? reader.len : reader.pos + length;
35
+ const message = createBaseMsgSetWithdrawAddress();
36
+ while (reader.pos < end) {
37
+ const tag = reader.uint32();
38
+ switch (tag >>> 3) {
39
+ case 1:
40
+ message.delegatorAddress = reader.string();
41
+ break;
42
+ case 2:
43
+ message.withdrawAddress = reader.string();
44
+ break;
45
+ default:
46
+ reader.skipType(tag & 7);
47
+ break;
48
+ }
49
+ }
50
+ return message;
51
+ },
52
+ fromPartial(object) {
53
+ const message = createBaseMsgSetWithdrawAddress();
54
+ message.delegatorAddress = object.delegatorAddress ?? "";
55
+ message.withdrawAddress = object.withdrawAddress ?? "";
56
+ return message;
57
+ },
58
+ fromAmino(object) {
59
+ const message = createBaseMsgSetWithdrawAddress();
60
+ if (object.delegator_address !== undefined && object.delegator_address !== null) {
61
+ message.delegatorAddress = object.delegator_address;
62
+ }
63
+ if (object.withdraw_address !== undefined && object.withdraw_address !== null) {
64
+ message.withdrawAddress = object.withdraw_address;
65
+ }
66
+ return message;
67
+ },
68
+ toAmino(message) {
69
+ const obj = {};
70
+ obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
71
+ obj.withdraw_address = message.withdrawAddress === "" ? undefined : message.withdrawAddress;
72
+ return obj;
73
+ },
74
+ fromAminoMsg(object) {
75
+ return exports.MsgSetWithdrawAddress.fromAmino(object.value);
76
+ },
77
+ toAminoMsg(message) {
78
+ return {
79
+ type: "cosmos-sdk/MsgModifyWithdrawAddress",
80
+ value: exports.MsgSetWithdrawAddress.toAmino(message)
81
+ };
82
+ },
83
+ fromProtoMsg(message) {
84
+ return exports.MsgSetWithdrawAddress.decode(message.value);
85
+ },
86
+ toProto(message) {
87
+ return exports.MsgSetWithdrawAddress.encode(message).finish();
88
+ },
89
+ toProtoMsg(message) {
90
+ return {
91
+ typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
92
+ value: exports.MsgSetWithdrawAddress.encode(message).finish()
93
+ };
94
+ }
95
+ };
96
+ registry_1.GlobalDecoderRegistry.register(exports.MsgSetWithdrawAddress.typeUrl, exports.MsgSetWithdrawAddress);
97
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgSetWithdrawAddress.aminoType, exports.MsgSetWithdrawAddress.typeUrl);
98
+ function createBaseMsgSetWithdrawAddressResponse() {
99
+ return {};
100
+ }
101
+ exports.MsgSetWithdrawAddressResponse = {
102
+ typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse",
103
+ aminoType: "cosmos-sdk/MsgSetWithdrawAddressResponse",
104
+ is(o) {
105
+ return o && o.$typeUrl === exports.MsgSetWithdrawAddressResponse.typeUrl;
106
+ },
107
+ isAmino(o) {
108
+ return o && o.$typeUrl === exports.MsgSetWithdrawAddressResponse.typeUrl;
109
+ },
110
+ encode(_, writer = binary_1.BinaryWriter.create()) {
111
+ return writer;
112
+ },
113
+ decode(input, length) {
114
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
115
+ let end = length === undefined ? reader.len : reader.pos + length;
116
+ const message = createBaseMsgSetWithdrawAddressResponse();
117
+ while (reader.pos < end) {
118
+ const tag = reader.uint32();
119
+ switch (tag >>> 3) {
120
+ default:
121
+ reader.skipType(tag & 7);
122
+ break;
123
+ }
124
+ }
125
+ return message;
126
+ },
127
+ fromPartial(_) {
128
+ const message = createBaseMsgSetWithdrawAddressResponse();
129
+ return message;
130
+ },
131
+ fromAmino(_) {
132
+ const message = createBaseMsgSetWithdrawAddressResponse();
133
+ return message;
134
+ },
135
+ toAmino(_) {
136
+ const obj = {};
137
+ return obj;
138
+ },
139
+ fromAminoMsg(object) {
140
+ return exports.MsgSetWithdrawAddressResponse.fromAmino(object.value);
141
+ },
142
+ toAminoMsg(message) {
143
+ return {
144
+ type: "cosmos-sdk/MsgSetWithdrawAddressResponse",
145
+ value: exports.MsgSetWithdrawAddressResponse.toAmino(message)
146
+ };
147
+ },
148
+ fromProtoMsg(message) {
149
+ return exports.MsgSetWithdrawAddressResponse.decode(message.value);
150
+ },
151
+ toProto(message) {
152
+ return exports.MsgSetWithdrawAddressResponse.encode(message).finish();
153
+ },
154
+ toProtoMsg(message) {
155
+ return {
156
+ typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse",
157
+ value: exports.MsgSetWithdrawAddressResponse.encode(message).finish()
158
+ };
159
+ }
160
+ };
161
+ registry_1.GlobalDecoderRegistry.register(exports.MsgSetWithdrawAddressResponse.typeUrl, exports.MsgSetWithdrawAddressResponse);
162
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgSetWithdrawAddressResponse.aminoType, exports.MsgSetWithdrawAddressResponse.typeUrl);
163
+ function createBaseMsgWithdrawDelegatorReward() {
164
+ return {
165
+ delegatorAddress: "",
166
+ validatorAddress: ""
167
+ };
168
+ }
169
+ exports.MsgWithdrawDelegatorReward = {
170
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
171
+ aminoType: "cosmos-sdk/MsgWithdrawDelegationReward",
172
+ is(o) {
173
+ return o && (o.$typeUrl === exports.MsgWithdrawDelegatorReward.typeUrl || typeof o.delegatorAddress === "string" && typeof o.validatorAddress === "string");
174
+ },
175
+ isAmino(o) {
176
+ return o && (o.$typeUrl === exports.MsgWithdrawDelegatorReward.typeUrl || typeof o.delegator_address === "string" && typeof o.validator_address === "string");
177
+ },
178
+ encode(message, writer = binary_1.BinaryWriter.create()) {
179
+ if (message.delegatorAddress !== "") {
180
+ writer.uint32(10).string(message.delegatorAddress);
181
+ }
182
+ if (message.validatorAddress !== "") {
183
+ writer.uint32(18).string(message.validatorAddress);
184
+ }
185
+ return writer;
186
+ },
187
+ decode(input, length) {
188
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
189
+ let end = length === undefined ? reader.len : reader.pos + length;
190
+ const message = createBaseMsgWithdrawDelegatorReward();
191
+ while (reader.pos < end) {
192
+ const tag = reader.uint32();
193
+ switch (tag >>> 3) {
194
+ case 1:
195
+ message.delegatorAddress = reader.string();
196
+ break;
197
+ case 2:
198
+ message.validatorAddress = reader.string();
199
+ break;
200
+ default:
201
+ reader.skipType(tag & 7);
202
+ break;
203
+ }
204
+ }
205
+ return message;
206
+ },
207
+ fromPartial(object) {
208
+ const message = createBaseMsgWithdrawDelegatorReward();
209
+ message.delegatorAddress = object.delegatorAddress ?? "";
210
+ message.validatorAddress = object.validatorAddress ?? "";
211
+ return message;
212
+ },
213
+ fromAmino(object) {
214
+ const message = createBaseMsgWithdrawDelegatorReward();
215
+ if (object.delegator_address !== undefined && object.delegator_address !== null) {
216
+ message.delegatorAddress = object.delegator_address;
217
+ }
218
+ if (object.validator_address !== undefined && object.validator_address !== null) {
219
+ message.validatorAddress = object.validator_address;
220
+ }
221
+ return message;
222
+ },
223
+ toAmino(message) {
224
+ const obj = {};
225
+ obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
226
+ obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
227
+ return obj;
228
+ },
229
+ fromAminoMsg(object) {
230
+ return exports.MsgWithdrawDelegatorReward.fromAmino(object.value);
231
+ },
232
+ toAminoMsg(message) {
233
+ return {
234
+ type: "cosmos-sdk/MsgWithdrawDelegationReward",
235
+ value: exports.MsgWithdrawDelegatorReward.toAmino(message)
236
+ };
237
+ },
238
+ fromProtoMsg(message) {
239
+ return exports.MsgWithdrawDelegatorReward.decode(message.value);
240
+ },
241
+ toProto(message) {
242
+ return exports.MsgWithdrawDelegatorReward.encode(message).finish();
243
+ },
244
+ toProtoMsg(message) {
245
+ return {
246
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
247
+ value: exports.MsgWithdrawDelegatorReward.encode(message).finish()
248
+ };
249
+ }
250
+ };
251
+ registry_1.GlobalDecoderRegistry.register(exports.MsgWithdrawDelegatorReward.typeUrl, exports.MsgWithdrawDelegatorReward);
252
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgWithdrawDelegatorReward.aminoType, exports.MsgWithdrawDelegatorReward.typeUrl);
253
+ function createBaseMsgWithdrawDelegatorRewardResponse() {
254
+ return {
255
+ amount: []
256
+ };
257
+ }
258
+ exports.MsgWithdrawDelegatorRewardResponse = {
259
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse",
260
+ aminoType: "cosmos-sdk/MsgWithdrawDelegatorRewardResponse",
261
+ is(o) {
262
+ return o && (o.$typeUrl === exports.MsgWithdrawDelegatorRewardResponse.typeUrl || Array.isArray(o.amount) && (!o.amount.length || coin_1.Coin.is(o.amount[0])));
263
+ },
264
+ isAmino(o) {
265
+ return o && (o.$typeUrl === exports.MsgWithdrawDelegatorRewardResponse.typeUrl || Array.isArray(o.amount) && (!o.amount.length || coin_1.Coin.isAmino(o.amount[0])));
266
+ },
267
+ encode(message, writer = binary_1.BinaryWriter.create()) {
268
+ for (const v of message.amount) {
269
+ coin_1.Coin.encode(v, writer.uint32(10).fork()).ldelim();
270
+ }
271
+ return writer;
272
+ },
273
+ decode(input, length) {
274
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
275
+ let end = length === undefined ? reader.len : reader.pos + length;
276
+ const message = createBaseMsgWithdrawDelegatorRewardResponse();
277
+ while (reader.pos < end) {
278
+ const tag = reader.uint32();
279
+ switch (tag >>> 3) {
280
+ case 1:
281
+ message.amount.push(coin_1.Coin.decode(reader, reader.uint32()));
282
+ break;
283
+ default:
284
+ reader.skipType(tag & 7);
285
+ break;
286
+ }
287
+ }
288
+ return message;
289
+ },
290
+ fromPartial(object) {
291
+ const message = createBaseMsgWithdrawDelegatorRewardResponse();
292
+ message.amount = object.amount?.map(e => coin_1.Coin.fromPartial(e)) || [];
293
+ return message;
294
+ },
295
+ fromAmino(object) {
296
+ const message = createBaseMsgWithdrawDelegatorRewardResponse();
297
+ message.amount = object.amount?.map(e => coin_1.Coin.fromAmino(e)) || [];
298
+ return message;
299
+ },
300
+ toAmino(message) {
301
+ const obj = {};
302
+ if (message.amount) {
303
+ obj.amount = message.amount.map(e => e ? coin_1.Coin.toAmino(e) : undefined);
304
+ }
305
+ else {
306
+ obj.amount = message.amount;
307
+ }
308
+ return obj;
309
+ },
310
+ fromAminoMsg(object) {
311
+ return exports.MsgWithdrawDelegatorRewardResponse.fromAmino(object.value);
312
+ },
313
+ toAminoMsg(message) {
314
+ return {
315
+ type: "cosmos-sdk/MsgWithdrawDelegatorRewardResponse",
316
+ value: exports.MsgWithdrawDelegatorRewardResponse.toAmino(message)
317
+ };
318
+ },
319
+ fromProtoMsg(message) {
320
+ return exports.MsgWithdrawDelegatorRewardResponse.decode(message.value);
321
+ },
322
+ toProto(message) {
323
+ return exports.MsgWithdrawDelegatorRewardResponse.encode(message).finish();
324
+ },
325
+ toProtoMsg(message) {
326
+ return {
327
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse",
328
+ value: exports.MsgWithdrawDelegatorRewardResponse.encode(message).finish()
329
+ };
330
+ }
331
+ };
332
+ registry_1.GlobalDecoderRegistry.register(exports.MsgWithdrawDelegatorRewardResponse.typeUrl, exports.MsgWithdrawDelegatorRewardResponse);
333
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgWithdrawDelegatorRewardResponse.aminoType, exports.MsgWithdrawDelegatorRewardResponse.typeUrl);
334
+ function createBaseMsgWithdrawValidatorCommission() {
335
+ return {
336
+ validatorAddress: ""
337
+ };
338
+ }
339
+ exports.MsgWithdrawValidatorCommission = {
340
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
341
+ aminoType: "cosmos-sdk/MsgWithdrawValidatorCommission",
342
+ is(o) {
343
+ return o && (o.$typeUrl === exports.MsgWithdrawValidatorCommission.typeUrl || typeof o.validatorAddress === "string");
344
+ },
345
+ isAmino(o) {
346
+ return o && (o.$typeUrl === exports.MsgWithdrawValidatorCommission.typeUrl || typeof o.validator_address === "string");
347
+ },
348
+ encode(message, writer = binary_1.BinaryWriter.create()) {
349
+ if (message.validatorAddress !== "") {
350
+ writer.uint32(10).string(message.validatorAddress);
351
+ }
352
+ return writer;
353
+ },
354
+ decode(input, length) {
355
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
356
+ let end = length === undefined ? reader.len : reader.pos + length;
357
+ const message = createBaseMsgWithdrawValidatorCommission();
358
+ while (reader.pos < end) {
359
+ const tag = reader.uint32();
360
+ switch (tag >>> 3) {
361
+ case 1:
362
+ message.validatorAddress = reader.string();
363
+ break;
364
+ default:
365
+ reader.skipType(tag & 7);
366
+ break;
367
+ }
368
+ }
369
+ return message;
370
+ },
371
+ fromPartial(object) {
372
+ const message = createBaseMsgWithdrawValidatorCommission();
373
+ message.validatorAddress = object.validatorAddress ?? "";
374
+ return message;
375
+ },
376
+ fromAmino(object) {
377
+ const message = createBaseMsgWithdrawValidatorCommission();
378
+ if (object.validator_address !== undefined && object.validator_address !== null) {
379
+ message.validatorAddress = object.validator_address;
380
+ }
381
+ return message;
382
+ },
383
+ toAmino(message) {
384
+ const obj = {};
385
+ obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
386
+ return obj;
387
+ },
388
+ fromAminoMsg(object) {
389
+ return exports.MsgWithdrawValidatorCommission.fromAmino(object.value);
390
+ },
391
+ toAminoMsg(message) {
392
+ return {
393
+ type: "cosmos-sdk/MsgWithdrawValidatorCommission",
394
+ value: exports.MsgWithdrawValidatorCommission.toAmino(message)
395
+ };
396
+ },
397
+ fromProtoMsg(message) {
398
+ return exports.MsgWithdrawValidatorCommission.decode(message.value);
399
+ },
400
+ toProto(message) {
401
+ return exports.MsgWithdrawValidatorCommission.encode(message).finish();
402
+ },
403
+ toProtoMsg(message) {
404
+ return {
405
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
406
+ value: exports.MsgWithdrawValidatorCommission.encode(message).finish()
407
+ };
408
+ }
409
+ };
410
+ registry_1.GlobalDecoderRegistry.register(exports.MsgWithdrawValidatorCommission.typeUrl, exports.MsgWithdrawValidatorCommission);
411
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgWithdrawValidatorCommission.aminoType, exports.MsgWithdrawValidatorCommission.typeUrl);
412
+ function createBaseMsgWithdrawValidatorCommissionResponse() {
413
+ return {
414
+ amount: []
415
+ };
416
+ }
417
+ exports.MsgWithdrawValidatorCommissionResponse = {
418
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse",
419
+ aminoType: "cosmos-sdk/MsgWithdrawValidatorCommissionResponse",
420
+ is(o) {
421
+ return o && (o.$typeUrl === exports.MsgWithdrawValidatorCommissionResponse.typeUrl || Array.isArray(o.amount) && (!o.amount.length || coin_1.Coin.is(o.amount[0])));
422
+ },
423
+ isAmino(o) {
424
+ return o && (o.$typeUrl === exports.MsgWithdrawValidatorCommissionResponse.typeUrl || Array.isArray(o.amount) && (!o.amount.length || coin_1.Coin.isAmino(o.amount[0])));
425
+ },
426
+ encode(message, writer = binary_1.BinaryWriter.create()) {
427
+ for (const v of message.amount) {
428
+ coin_1.Coin.encode(v, writer.uint32(10).fork()).ldelim();
429
+ }
430
+ return writer;
431
+ },
432
+ decode(input, length) {
433
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
434
+ let end = length === undefined ? reader.len : reader.pos + length;
435
+ const message = createBaseMsgWithdrawValidatorCommissionResponse();
436
+ while (reader.pos < end) {
437
+ const tag = reader.uint32();
438
+ switch (tag >>> 3) {
439
+ case 1:
440
+ message.amount.push(coin_1.Coin.decode(reader, reader.uint32()));
441
+ break;
442
+ default:
443
+ reader.skipType(tag & 7);
444
+ break;
445
+ }
446
+ }
447
+ return message;
448
+ },
449
+ fromPartial(object) {
450
+ const message = createBaseMsgWithdrawValidatorCommissionResponse();
451
+ message.amount = object.amount?.map(e => coin_1.Coin.fromPartial(e)) || [];
452
+ return message;
453
+ },
454
+ fromAmino(object) {
455
+ const message = createBaseMsgWithdrawValidatorCommissionResponse();
456
+ message.amount = object.amount?.map(e => coin_1.Coin.fromAmino(e)) || [];
457
+ return message;
458
+ },
459
+ toAmino(message) {
460
+ const obj = {};
461
+ if (message.amount) {
462
+ obj.amount = message.amount.map(e => e ? coin_1.Coin.toAmino(e) : undefined);
463
+ }
464
+ else {
465
+ obj.amount = message.amount;
466
+ }
467
+ return obj;
468
+ },
469
+ fromAminoMsg(object) {
470
+ return exports.MsgWithdrawValidatorCommissionResponse.fromAmino(object.value);
471
+ },
472
+ toAminoMsg(message) {
473
+ return {
474
+ type: "cosmos-sdk/MsgWithdrawValidatorCommissionResponse",
475
+ value: exports.MsgWithdrawValidatorCommissionResponse.toAmino(message)
476
+ };
477
+ },
478
+ fromProtoMsg(message) {
479
+ return exports.MsgWithdrawValidatorCommissionResponse.decode(message.value);
480
+ },
481
+ toProto(message) {
482
+ return exports.MsgWithdrawValidatorCommissionResponse.encode(message).finish();
483
+ },
484
+ toProtoMsg(message) {
485
+ return {
486
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse",
487
+ value: exports.MsgWithdrawValidatorCommissionResponse.encode(message).finish()
488
+ };
489
+ }
490
+ };
491
+ registry_1.GlobalDecoderRegistry.register(exports.MsgWithdrawValidatorCommissionResponse.typeUrl, exports.MsgWithdrawValidatorCommissionResponse);
492
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgWithdrawValidatorCommissionResponse.aminoType, exports.MsgWithdrawValidatorCommissionResponse.typeUrl);
493
+ function createBaseMsgFundCommunityPool() {
494
+ return {
495
+ amount: [],
496
+ depositor: ""
497
+ };
498
+ }
499
+ exports.MsgFundCommunityPool = {
500
+ typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
501
+ aminoType: "cosmos-sdk/MsgFundCommunityPool",
502
+ is(o) {
503
+ return o && (o.$typeUrl === exports.MsgFundCommunityPool.typeUrl || Array.isArray(o.amount) && (!o.amount.length || coin_1.Coin.is(o.amount[0])) && typeof o.depositor === "string");
504
+ },
505
+ isAmino(o) {
506
+ return o && (o.$typeUrl === exports.MsgFundCommunityPool.typeUrl || Array.isArray(o.amount) && (!o.amount.length || coin_1.Coin.isAmino(o.amount[0])) && typeof o.depositor === "string");
507
+ },
508
+ encode(message, writer = binary_1.BinaryWriter.create()) {
509
+ for (const v of message.amount) {
510
+ coin_1.Coin.encode(v, writer.uint32(10).fork()).ldelim();
511
+ }
512
+ if (message.depositor !== "") {
513
+ writer.uint32(18).string(message.depositor);
514
+ }
515
+ return writer;
516
+ },
517
+ decode(input, length) {
518
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
519
+ let end = length === undefined ? reader.len : reader.pos + length;
520
+ const message = createBaseMsgFundCommunityPool();
521
+ while (reader.pos < end) {
522
+ const tag = reader.uint32();
523
+ switch (tag >>> 3) {
524
+ case 1:
525
+ message.amount.push(coin_1.Coin.decode(reader, reader.uint32()));
526
+ break;
527
+ case 2:
528
+ message.depositor = reader.string();
529
+ break;
530
+ default:
531
+ reader.skipType(tag & 7);
532
+ break;
533
+ }
534
+ }
535
+ return message;
536
+ },
537
+ fromPartial(object) {
538
+ const message = createBaseMsgFundCommunityPool();
539
+ message.amount = object.amount?.map(e => coin_1.Coin.fromPartial(e)) || [];
540
+ message.depositor = object.depositor ?? "";
541
+ return message;
542
+ },
543
+ fromAmino(object) {
544
+ const message = createBaseMsgFundCommunityPool();
545
+ message.amount = object.amount?.map(e => coin_1.Coin.fromAmino(e)) || [];
546
+ if (object.depositor !== undefined && object.depositor !== null) {
547
+ message.depositor = object.depositor;
548
+ }
549
+ return message;
550
+ },
551
+ toAmino(message) {
552
+ const obj = {};
553
+ if (message.amount) {
554
+ obj.amount = message.amount.map(e => e ? coin_1.Coin.toAmino(e) : undefined);
555
+ }
556
+ else {
557
+ obj.amount = message.amount;
558
+ }
559
+ obj.depositor = message.depositor === "" ? undefined : message.depositor;
560
+ return obj;
561
+ },
562
+ fromAminoMsg(object) {
563
+ return exports.MsgFundCommunityPool.fromAmino(object.value);
564
+ },
565
+ toAminoMsg(message) {
566
+ return {
567
+ type: "cosmos-sdk/MsgFundCommunityPool",
568
+ value: exports.MsgFundCommunityPool.toAmino(message)
569
+ };
570
+ },
571
+ fromProtoMsg(message) {
572
+ return exports.MsgFundCommunityPool.decode(message.value);
573
+ },
574
+ toProto(message) {
575
+ return exports.MsgFundCommunityPool.encode(message).finish();
576
+ },
577
+ toProtoMsg(message) {
578
+ return {
579
+ typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
580
+ value: exports.MsgFundCommunityPool.encode(message).finish()
581
+ };
582
+ }
583
+ };
584
+ registry_1.GlobalDecoderRegistry.register(exports.MsgFundCommunityPool.typeUrl, exports.MsgFundCommunityPool);
585
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgFundCommunityPool.aminoType, exports.MsgFundCommunityPool.typeUrl);
586
+ function createBaseMsgFundCommunityPoolResponse() {
587
+ return {};
588
+ }
589
+ exports.MsgFundCommunityPoolResponse = {
590
+ typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse",
591
+ aminoType: "cosmos-sdk/MsgFundCommunityPoolResponse",
592
+ is(o) {
593
+ return o && o.$typeUrl === exports.MsgFundCommunityPoolResponse.typeUrl;
594
+ },
595
+ isAmino(o) {
596
+ return o && o.$typeUrl === exports.MsgFundCommunityPoolResponse.typeUrl;
597
+ },
598
+ encode(_, writer = binary_1.BinaryWriter.create()) {
599
+ return writer;
600
+ },
601
+ decode(input, length) {
602
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
603
+ let end = length === undefined ? reader.len : reader.pos + length;
604
+ const message = createBaseMsgFundCommunityPoolResponse();
605
+ while (reader.pos < end) {
606
+ const tag = reader.uint32();
607
+ switch (tag >>> 3) {
608
+ default:
609
+ reader.skipType(tag & 7);
610
+ break;
611
+ }
612
+ }
613
+ return message;
614
+ },
615
+ fromPartial(_) {
616
+ const message = createBaseMsgFundCommunityPoolResponse();
617
+ return message;
618
+ },
619
+ fromAmino(_) {
620
+ const message = createBaseMsgFundCommunityPoolResponse();
621
+ return message;
622
+ },
623
+ toAmino(_) {
624
+ const obj = {};
625
+ return obj;
626
+ },
627
+ fromAminoMsg(object) {
628
+ return exports.MsgFundCommunityPoolResponse.fromAmino(object.value);
629
+ },
630
+ toAminoMsg(message) {
631
+ return {
632
+ type: "cosmos-sdk/MsgFundCommunityPoolResponse",
633
+ value: exports.MsgFundCommunityPoolResponse.toAmino(message)
634
+ };
635
+ },
636
+ fromProtoMsg(message) {
637
+ return exports.MsgFundCommunityPoolResponse.decode(message.value);
638
+ },
639
+ toProto(message) {
640
+ return exports.MsgFundCommunityPoolResponse.encode(message).finish();
641
+ },
642
+ toProtoMsg(message) {
643
+ return {
644
+ typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse",
645
+ value: exports.MsgFundCommunityPoolResponse.encode(message).finish()
646
+ };
647
+ }
648
+ };
649
+ registry_1.GlobalDecoderRegistry.register(exports.MsgFundCommunityPoolResponse.typeUrl, exports.MsgFundCommunityPoolResponse);
650
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgFundCommunityPoolResponse.aminoType, exports.MsgFundCommunityPoolResponse.typeUrl);
651
+ function createBaseMsgUpdateParams() {
652
+ return {
653
+ authority: "",
654
+ params: distribution_1.Params.fromPartial({})
655
+ };
656
+ }
657
+ exports.MsgUpdateParams = {
658
+ typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
659
+ aminoType: "cosmos-sdk/distribution/MsgUpdateParams",
660
+ is(o) {
661
+ return o && (o.$typeUrl === exports.MsgUpdateParams.typeUrl || typeof o.authority === "string" && distribution_1.Params.is(o.params));
662
+ },
663
+ isAmino(o) {
664
+ return o && (o.$typeUrl === exports.MsgUpdateParams.typeUrl || typeof o.authority === "string" && distribution_1.Params.isAmino(o.params));
665
+ },
666
+ encode(message, writer = binary_1.BinaryWriter.create()) {
667
+ if (message.authority !== "") {
668
+ writer.uint32(10).string(message.authority);
669
+ }
670
+ if (message.params !== undefined) {
671
+ distribution_1.Params.encode(message.params, writer.uint32(18).fork()).ldelim();
672
+ }
673
+ return writer;
674
+ },
675
+ decode(input, length) {
676
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
677
+ let end = length === undefined ? reader.len : reader.pos + length;
678
+ const message = createBaseMsgUpdateParams();
679
+ while (reader.pos < end) {
680
+ const tag = reader.uint32();
681
+ switch (tag >>> 3) {
682
+ case 1:
683
+ message.authority = reader.string();
684
+ break;
685
+ case 2:
686
+ message.params = distribution_1.Params.decode(reader, reader.uint32());
687
+ break;
688
+ default:
689
+ reader.skipType(tag & 7);
690
+ break;
691
+ }
692
+ }
693
+ return message;
694
+ },
695
+ fromPartial(object) {
696
+ const message = createBaseMsgUpdateParams();
697
+ message.authority = object.authority ?? "";
698
+ message.params = object.params !== undefined && object.params !== null ? distribution_1.Params.fromPartial(object.params) : undefined;
699
+ return message;
700
+ },
701
+ fromAmino(object) {
702
+ const message = createBaseMsgUpdateParams();
703
+ if (object.authority !== undefined && object.authority !== null) {
704
+ message.authority = object.authority;
705
+ }
706
+ if (object.params !== undefined && object.params !== null) {
707
+ message.params = distribution_1.Params.fromAmino(object.params);
708
+ }
709
+ return message;
710
+ },
711
+ toAmino(message) {
712
+ const obj = {};
713
+ obj.authority = message.authority === "" ? undefined : message.authority;
714
+ obj.params = message.params ? distribution_1.Params.toAmino(message.params) : distribution_1.Params.toAmino(distribution_1.Params.fromPartial({}));
715
+ return obj;
716
+ },
717
+ fromAminoMsg(object) {
718
+ return exports.MsgUpdateParams.fromAmino(object.value);
719
+ },
720
+ toAminoMsg(message) {
721
+ return {
722
+ type: "cosmos-sdk/distribution/MsgUpdateParams",
723
+ value: exports.MsgUpdateParams.toAmino(message)
724
+ };
725
+ },
726
+ fromProtoMsg(message) {
727
+ return exports.MsgUpdateParams.decode(message.value);
728
+ },
729
+ toProto(message) {
730
+ return exports.MsgUpdateParams.encode(message).finish();
731
+ },
732
+ toProtoMsg(message) {
733
+ return {
734
+ typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
735
+ value: exports.MsgUpdateParams.encode(message).finish()
736
+ };
737
+ }
738
+ };
739
+ registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateParams.typeUrl, exports.MsgUpdateParams);
740
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateParams.aminoType, exports.MsgUpdateParams.typeUrl);
741
+ function createBaseMsgUpdateParamsResponse() {
742
+ return {};
743
+ }
744
+ exports.MsgUpdateParamsResponse = {
745
+ typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParamsResponse",
746
+ aminoType: "cosmos-sdk/MsgUpdateParamsResponse",
747
+ is(o) {
748
+ return o && o.$typeUrl === exports.MsgUpdateParamsResponse.typeUrl;
749
+ },
750
+ isAmino(o) {
751
+ return o && o.$typeUrl === exports.MsgUpdateParamsResponse.typeUrl;
752
+ },
753
+ encode(_, writer = binary_1.BinaryWriter.create()) {
754
+ return writer;
755
+ },
756
+ decode(input, length) {
757
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
758
+ let end = length === undefined ? reader.len : reader.pos + length;
759
+ const message = createBaseMsgUpdateParamsResponse();
760
+ while (reader.pos < end) {
761
+ const tag = reader.uint32();
762
+ switch (tag >>> 3) {
763
+ default:
764
+ reader.skipType(tag & 7);
765
+ break;
766
+ }
767
+ }
768
+ return message;
769
+ },
770
+ fromPartial(_) {
771
+ const message = createBaseMsgUpdateParamsResponse();
772
+ return message;
773
+ },
774
+ fromAmino(_) {
775
+ const message = createBaseMsgUpdateParamsResponse();
776
+ return message;
777
+ },
778
+ toAmino(_) {
779
+ const obj = {};
780
+ return obj;
781
+ },
782
+ fromAminoMsg(object) {
783
+ return exports.MsgUpdateParamsResponse.fromAmino(object.value);
784
+ },
785
+ toAminoMsg(message) {
786
+ return {
787
+ type: "cosmos-sdk/MsgUpdateParamsResponse",
788
+ value: exports.MsgUpdateParamsResponse.toAmino(message)
789
+ };
790
+ },
791
+ fromProtoMsg(message) {
792
+ return exports.MsgUpdateParamsResponse.decode(message.value);
793
+ },
794
+ toProto(message) {
795
+ return exports.MsgUpdateParamsResponse.encode(message).finish();
796
+ },
797
+ toProtoMsg(message) {
798
+ return {
799
+ typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParamsResponse",
800
+ value: exports.MsgUpdateParamsResponse.encode(message).finish()
801
+ };
802
+ }
803
+ };
804
+ registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateParamsResponse.typeUrl, exports.MsgUpdateParamsResponse);
805
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateParamsResponse.aminoType, exports.MsgUpdateParamsResponse.typeUrl);
806
+ function createBaseMsgCommunityPoolSpend() {
807
+ return {
808
+ authority: "",
809
+ recipient: "",
810
+ amount: []
811
+ };
812
+ }
813
+ exports.MsgCommunityPoolSpend = {
814
+ typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
815
+ aminoType: "cosmos-sdk/distr/MsgCommunityPoolSpend",
816
+ is(o) {
817
+ return o && (o.$typeUrl === exports.MsgCommunityPoolSpend.typeUrl || typeof o.authority === "string" && typeof o.recipient === "string" && Array.isArray(o.amount) && (!o.amount.length || coin_1.Coin.is(o.amount[0])));
818
+ },
819
+ isAmino(o) {
820
+ return o && (o.$typeUrl === exports.MsgCommunityPoolSpend.typeUrl || typeof o.authority === "string" && typeof o.recipient === "string" && Array.isArray(o.amount) && (!o.amount.length || coin_1.Coin.isAmino(o.amount[0])));
821
+ },
822
+ encode(message, writer = binary_1.BinaryWriter.create()) {
823
+ if (message.authority !== "") {
824
+ writer.uint32(10).string(message.authority);
825
+ }
826
+ if (message.recipient !== "") {
827
+ writer.uint32(18).string(message.recipient);
828
+ }
829
+ for (const v of message.amount) {
830
+ coin_1.Coin.encode(v, writer.uint32(26).fork()).ldelim();
831
+ }
832
+ return writer;
833
+ },
834
+ decode(input, length) {
835
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
836
+ let end = length === undefined ? reader.len : reader.pos + length;
837
+ const message = createBaseMsgCommunityPoolSpend();
838
+ while (reader.pos < end) {
839
+ const tag = reader.uint32();
840
+ switch (tag >>> 3) {
841
+ case 1:
842
+ message.authority = reader.string();
843
+ break;
844
+ case 2:
845
+ message.recipient = reader.string();
846
+ break;
847
+ case 3:
848
+ message.amount.push(coin_1.Coin.decode(reader, reader.uint32()));
849
+ break;
850
+ default:
851
+ reader.skipType(tag & 7);
852
+ break;
853
+ }
854
+ }
855
+ return message;
856
+ },
857
+ fromPartial(object) {
858
+ const message = createBaseMsgCommunityPoolSpend();
859
+ message.authority = object.authority ?? "";
860
+ message.recipient = object.recipient ?? "";
861
+ message.amount = object.amount?.map(e => coin_1.Coin.fromPartial(e)) || [];
862
+ return message;
863
+ },
864
+ fromAmino(object) {
865
+ const message = createBaseMsgCommunityPoolSpend();
866
+ if (object.authority !== undefined && object.authority !== null) {
867
+ message.authority = object.authority;
868
+ }
869
+ if (object.recipient !== undefined && object.recipient !== null) {
870
+ message.recipient = object.recipient;
871
+ }
872
+ message.amount = object.amount?.map(e => coin_1.Coin.fromAmino(e)) || [];
873
+ return message;
874
+ },
875
+ toAmino(message) {
876
+ const obj = {};
877
+ obj.authority = message.authority === "" ? undefined : message.authority;
878
+ obj.recipient = message.recipient === "" ? undefined : message.recipient;
879
+ if (message.amount) {
880
+ obj.amount = message.amount.map(e => e ? coin_1.Coin.toAmino(e) : undefined);
881
+ }
882
+ else {
883
+ obj.amount = message.amount;
884
+ }
885
+ return obj;
886
+ },
887
+ fromAminoMsg(object) {
888
+ return exports.MsgCommunityPoolSpend.fromAmino(object.value);
889
+ },
890
+ toAminoMsg(message) {
891
+ return {
892
+ type: "cosmos-sdk/distr/MsgCommunityPoolSpend",
893
+ value: exports.MsgCommunityPoolSpend.toAmino(message)
894
+ };
895
+ },
896
+ fromProtoMsg(message) {
897
+ return exports.MsgCommunityPoolSpend.decode(message.value);
898
+ },
899
+ toProto(message) {
900
+ return exports.MsgCommunityPoolSpend.encode(message).finish();
901
+ },
902
+ toProtoMsg(message) {
903
+ return {
904
+ typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
905
+ value: exports.MsgCommunityPoolSpend.encode(message).finish()
906
+ };
907
+ }
908
+ };
909
+ registry_1.GlobalDecoderRegistry.register(exports.MsgCommunityPoolSpend.typeUrl, exports.MsgCommunityPoolSpend);
910
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgCommunityPoolSpend.aminoType, exports.MsgCommunityPoolSpend.typeUrl);
911
+ function createBaseMsgCommunityPoolSpendResponse() {
912
+ return {};
913
+ }
914
+ exports.MsgCommunityPoolSpendResponse = {
915
+ typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse",
916
+ aminoType: "cosmos-sdk/MsgCommunityPoolSpendResponse",
917
+ is(o) {
918
+ return o && o.$typeUrl === exports.MsgCommunityPoolSpendResponse.typeUrl;
919
+ },
920
+ isAmino(o) {
921
+ return o && o.$typeUrl === exports.MsgCommunityPoolSpendResponse.typeUrl;
922
+ },
923
+ encode(_, writer = binary_1.BinaryWriter.create()) {
924
+ return writer;
925
+ },
926
+ decode(input, length) {
927
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
928
+ let end = length === undefined ? reader.len : reader.pos + length;
929
+ const message = createBaseMsgCommunityPoolSpendResponse();
930
+ while (reader.pos < end) {
931
+ const tag = reader.uint32();
932
+ switch (tag >>> 3) {
933
+ default:
934
+ reader.skipType(tag & 7);
935
+ break;
936
+ }
937
+ }
938
+ return message;
939
+ },
940
+ fromPartial(_) {
941
+ const message = createBaseMsgCommunityPoolSpendResponse();
942
+ return message;
943
+ },
944
+ fromAmino(_) {
945
+ const message = createBaseMsgCommunityPoolSpendResponse();
946
+ return message;
947
+ },
948
+ toAmino(_) {
949
+ const obj = {};
950
+ return obj;
951
+ },
952
+ fromAminoMsg(object) {
953
+ return exports.MsgCommunityPoolSpendResponse.fromAmino(object.value);
954
+ },
955
+ toAminoMsg(message) {
956
+ return {
957
+ type: "cosmos-sdk/MsgCommunityPoolSpendResponse",
958
+ value: exports.MsgCommunityPoolSpendResponse.toAmino(message)
959
+ };
960
+ },
961
+ fromProtoMsg(message) {
962
+ return exports.MsgCommunityPoolSpendResponse.decode(message.value);
963
+ },
964
+ toProto(message) {
965
+ return exports.MsgCommunityPoolSpendResponse.encode(message).finish();
966
+ },
967
+ toProtoMsg(message) {
968
+ return {
969
+ typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse",
970
+ value: exports.MsgCommunityPoolSpendResponse.encode(message).finish()
971
+ };
972
+ }
973
+ };
974
+ registry_1.GlobalDecoderRegistry.register(exports.MsgCommunityPoolSpendResponse.typeUrl, exports.MsgCommunityPoolSpendResponse);
975
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgCommunityPoolSpendResponse.aminoType, exports.MsgCommunityPoolSpendResponse.typeUrl);
976
+ function createBaseMsgDepositValidatorRewardsPool() {
977
+ return {
978
+ depositor: "",
979
+ validatorAddress: "",
980
+ amount: []
981
+ };
982
+ }
983
+ exports.MsgDepositValidatorRewardsPool = {
984
+ typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
985
+ aminoType: "cosmos-sdk/distr/MsgDepositValRewards",
986
+ is(o) {
987
+ return o && (o.$typeUrl === exports.MsgDepositValidatorRewardsPool.typeUrl || typeof o.depositor === "string" && typeof o.validatorAddress === "string" && Array.isArray(o.amount) && (!o.amount.length || coin_1.Coin.is(o.amount[0])));
988
+ },
989
+ isAmino(o) {
990
+ return o && (o.$typeUrl === exports.MsgDepositValidatorRewardsPool.typeUrl || typeof o.depositor === "string" && typeof o.validator_address === "string" && Array.isArray(o.amount) && (!o.amount.length || coin_1.Coin.isAmino(o.amount[0])));
991
+ },
992
+ encode(message, writer = binary_1.BinaryWriter.create()) {
993
+ if (message.depositor !== "") {
994
+ writer.uint32(10).string(message.depositor);
995
+ }
996
+ if (message.validatorAddress !== "") {
997
+ writer.uint32(18).string(message.validatorAddress);
998
+ }
999
+ for (const v of message.amount) {
1000
+ coin_1.Coin.encode(v, writer.uint32(26).fork()).ldelim();
1001
+ }
1002
+ return writer;
1003
+ },
1004
+ decode(input, length) {
1005
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
1006
+ let end = length === undefined ? reader.len : reader.pos + length;
1007
+ const message = createBaseMsgDepositValidatorRewardsPool();
1008
+ while (reader.pos < end) {
1009
+ const tag = reader.uint32();
1010
+ switch (tag >>> 3) {
1011
+ case 1:
1012
+ message.depositor = reader.string();
1013
+ break;
1014
+ case 2:
1015
+ message.validatorAddress = reader.string();
1016
+ break;
1017
+ case 3:
1018
+ message.amount.push(coin_1.Coin.decode(reader, reader.uint32()));
1019
+ break;
1020
+ default:
1021
+ reader.skipType(tag & 7);
1022
+ break;
1023
+ }
1024
+ }
1025
+ return message;
1026
+ },
1027
+ fromPartial(object) {
1028
+ const message = createBaseMsgDepositValidatorRewardsPool();
1029
+ message.depositor = object.depositor ?? "";
1030
+ message.validatorAddress = object.validatorAddress ?? "";
1031
+ message.amount = object.amount?.map(e => coin_1.Coin.fromPartial(e)) || [];
1032
+ return message;
1033
+ },
1034
+ fromAmino(object) {
1035
+ const message = createBaseMsgDepositValidatorRewardsPool();
1036
+ if (object.depositor !== undefined && object.depositor !== null) {
1037
+ message.depositor = object.depositor;
1038
+ }
1039
+ if (object.validator_address !== undefined && object.validator_address !== null) {
1040
+ message.validatorAddress = object.validator_address;
1041
+ }
1042
+ message.amount = object.amount?.map(e => coin_1.Coin.fromAmino(e)) || [];
1043
+ return message;
1044
+ },
1045
+ toAmino(message) {
1046
+ const obj = {};
1047
+ obj.depositor = message.depositor === "" ? undefined : message.depositor;
1048
+ obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
1049
+ if (message.amount) {
1050
+ obj.amount = message.amount.map(e => e ? coin_1.Coin.toAmino(e) : undefined);
1051
+ }
1052
+ else {
1053
+ obj.amount = message.amount;
1054
+ }
1055
+ return obj;
1056
+ },
1057
+ fromAminoMsg(object) {
1058
+ return exports.MsgDepositValidatorRewardsPool.fromAmino(object.value);
1059
+ },
1060
+ toAminoMsg(message) {
1061
+ return {
1062
+ type: "cosmos-sdk/distr/MsgDepositValRewards",
1063
+ value: exports.MsgDepositValidatorRewardsPool.toAmino(message)
1064
+ };
1065
+ },
1066
+ fromProtoMsg(message) {
1067
+ return exports.MsgDepositValidatorRewardsPool.decode(message.value);
1068
+ },
1069
+ toProto(message) {
1070
+ return exports.MsgDepositValidatorRewardsPool.encode(message).finish();
1071
+ },
1072
+ toProtoMsg(message) {
1073
+ return {
1074
+ typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
1075
+ value: exports.MsgDepositValidatorRewardsPool.encode(message).finish()
1076
+ };
1077
+ }
1078
+ };
1079
+ registry_1.GlobalDecoderRegistry.register(exports.MsgDepositValidatorRewardsPool.typeUrl, exports.MsgDepositValidatorRewardsPool);
1080
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgDepositValidatorRewardsPool.aminoType, exports.MsgDepositValidatorRewardsPool.typeUrl);
1081
+ function createBaseMsgDepositValidatorRewardsPoolResponse() {
1082
+ return {};
1083
+ }
1084
+ exports.MsgDepositValidatorRewardsPoolResponse = {
1085
+ typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse",
1086
+ aminoType: "cosmos-sdk/MsgDepositValidatorRewardsPoolResponse",
1087
+ is(o) {
1088
+ return o && o.$typeUrl === exports.MsgDepositValidatorRewardsPoolResponse.typeUrl;
1089
+ },
1090
+ isAmino(o) {
1091
+ return o && o.$typeUrl === exports.MsgDepositValidatorRewardsPoolResponse.typeUrl;
1092
+ },
1093
+ encode(_, writer = binary_1.BinaryWriter.create()) {
1094
+ return writer;
1095
+ },
1096
+ decode(input, length) {
1097
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
1098
+ let end = length === undefined ? reader.len : reader.pos + length;
1099
+ const message = createBaseMsgDepositValidatorRewardsPoolResponse();
1100
+ while (reader.pos < end) {
1101
+ const tag = reader.uint32();
1102
+ switch (tag >>> 3) {
1103
+ default:
1104
+ reader.skipType(tag & 7);
1105
+ break;
1106
+ }
1107
+ }
1108
+ return message;
1109
+ },
1110
+ fromPartial(_) {
1111
+ const message = createBaseMsgDepositValidatorRewardsPoolResponse();
1112
+ return message;
1113
+ },
1114
+ fromAmino(_) {
1115
+ const message = createBaseMsgDepositValidatorRewardsPoolResponse();
1116
+ return message;
1117
+ },
1118
+ toAmino(_) {
1119
+ const obj = {};
1120
+ return obj;
1121
+ },
1122
+ fromAminoMsg(object) {
1123
+ return exports.MsgDepositValidatorRewardsPoolResponse.fromAmino(object.value);
1124
+ },
1125
+ toAminoMsg(message) {
1126
+ return {
1127
+ type: "cosmos-sdk/MsgDepositValidatorRewardsPoolResponse",
1128
+ value: exports.MsgDepositValidatorRewardsPoolResponse.toAmino(message)
1129
+ };
1130
+ },
1131
+ fromProtoMsg(message) {
1132
+ return exports.MsgDepositValidatorRewardsPoolResponse.decode(message.value);
1133
+ },
1134
+ toProto(message) {
1135
+ return exports.MsgDepositValidatorRewardsPoolResponse.encode(message).finish();
1136
+ },
1137
+ toProtoMsg(message) {
1138
+ return {
1139
+ typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse",
1140
+ value: exports.MsgDepositValidatorRewardsPoolResponse.encode(message).finish()
1141
+ };
1142
+ }
1143
+ };
1144
+ registry_1.GlobalDecoderRegistry.register(exports.MsgDepositValidatorRewardsPoolResponse.typeUrl, exports.MsgDepositValidatorRewardsPoolResponse);
1145
+ registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgDepositValidatorRewardsPoolResponse.aminoType, exports.MsgDepositValidatorRewardsPoolResponse.typeUrl);