@xpla/xpla-react 1.7.0-beta.0 → 1.7.0-beta.10

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 (1373) hide show
  1. package/amino/amino.d.ts +1 -0
  2. package/amino/amino.js +2 -0
  3. package/binary.d.ts +130 -0
  4. package/binary.js +370 -0
  5. package/cosmos/app/runtime/v1alpha1/module.d.ts +174 -0
  6. package/cosmos/app/runtime/v1alpha1/module.js +293 -0
  7. package/cosmos/app/runtime/v2/module.d.ts +228 -0
  8. package/cosmos/app/runtime/v2/module.js +422 -0
  9. package/cosmos/app/v1alpha1/config.d.ts +181 -0
  10. package/cosmos/app/v1alpha1/config.js +297 -0
  11. package/cosmos/app/v1alpha1/module.d.ts +234 -0
  12. package/cosmos/app/v1alpha1/module.js +281 -0
  13. package/cosmos/app/v1alpha1/query.d.ts +67 -0
  14. package/cosmos/app/v1alpha1/query.js +149 -0
  15. package/cosmos/app/v1alpha1/query.rpc.func.d.ts +4 -0
  16. package/cosmos/app/v1alpha1/query.rpc.func.js +18 -0
  17. package/cosmos/auth/module/v1/module.d.ts +88 -0
  18. package/cosmos/auth/module/v1/module.js +203 -0
  19. package/cosmos/auth/v1beta1/accounts.d.ts +104 -0
  20. package/cosmos/auth/v1beta1/accounts.js +162 -0
  21. package/cosmos/auth/v1beta1/auth.d.ts +177 -0
  22. package/cosmos/auth/v1beta1/auth.js +445 -0
  23. package/cosmos/auth/v1beta1/genesis.d.ts +42 -0
  24. package/cosmos/auth/v1beta1/genesis.js +100 -0
  25. package/cosmos/auth/v1beta1/query.d.ts +810 -0
  26. package/cosmos/auth/v1beta1/query.js +1561 -0
  27. package/cosmos/auth/v1beta1/query.rpc.func.d.ts +22 -0
  28. package/cosmos/auth/v1beta1/query.rpc.func.js +126 -0
  29. package/cosmos/auth/v1beta1/tx.d.ts +97 -0
  30. package/cosmos/auth/v1beta1/tx.js +161 -0
  31. package/cosmos/auth/v1beta1/tx.registry.d.ts +23 -0
  32. package/cosmos/auth/v1beta1/tx.registry.js +31 -0
  33. package/cosmos/auth/v1beta1/tx.rpc.func.d.ts +4 -0
  34. package/cosmos/auth/v1beta1/tx.rpc.func.js +17 -0
  35. package/cosmos/authz/module/v1/module.d.ts +32 -0
  36. package/cosmos/authz/module/v1/module.js +70 -0
  37. package/cosmos/authz/v1beta1/authz.d.ts +181 -0
  38. package/cosmos/authz/v1beta1/authz.js +371 -0
  39. package/cosmos/authz/v1beta1/event.d.ts +86 -0
  40. package/cosmos/authz/v1beta1/event.js +209 -0
  41. package/cosmos/authz/v1beta1/genesis.d.ts +35 -0
  42. package/cosmos/authz/v1beta1/genesis.js +87 -0
  43. package/cosmos/authz/v1beta1/query.d.ts +232 -0
  44. package/cosmos/authz/v1beta1/query.js +580 -0
  45. package/cosmos/authz/v1beta1/query.rpc.func.d.ts +8 -0
  46. package/cosmos/authz/v1beta1/query.rpc.func.js +42 -0
  47. package/cosmos/authz/v1beta1/tx.d.ts +240 -0
  48. package/cosmos/authz/v1beta1/tx.js +516 -0
  49. package/cosmos/authz/v1beta1/tx.registry.d.ts +47 -0
  50. package/cosmos/authz/v1beta1/tx.registry.js +67 -0
  51. package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +8 -0
  52. package/cosmos/authz/v1beta1/tx.rpc.func.js +37 -0
  53. package/cosmos/autocli/v1/options.d.ts +412 -0
  54. package/cosmos/autocli/v1/options.js +834 -0
  55. package/cosmos/autocli/v1/query.d.ts +97 -0
  56. package/cosmos/autocli/v1/query.js +237 -0
  57. package/cosmos/autocli/v1/query.rpc.func.d.ts +4 -0
  58. package/cosmos/autocli/v1/query.rpc.func.js +18 -0
  59. package/cosmos/bank/module/v1/module.d.ts +62 -0
  60. package/cosmos/bank/module/v1/module.js +113 -0
  61. package/cosmos/bank/v1beta1/authz.d.ts +59 -0
  62. package/cosmos/bank/v1beta1/authz.js +102 -0
  63. package/cosmos/bank/v1beta1/bank.d.ts +371 -0
  64. package/cosmos/bank/v1beta1/bank.js +726 -0
  65. package/cosmos/bank/v1beta1/genesis.d.ts +112 -0
  66. package/cosmos/bank/v1beta1/genesis.js +238 -0
  67. package/cosmos/bank/v1beta1/query.d.ts +1159 -0
  68. package/cosmos/bank/v1beta1/query.js +2317 -0
  69. package/cosmos/bank/v1beta1/query.rpc.func.d.ts +28 -0
  70. package/cosmos/bank/v1beta1/query.rpc.func.js +162 -0
  71. package/cosmos/bank/v1beta1/tx.d.ts +342 -0
  72. package/cosmos/bank/v1beta1/tx.js +666 -0
  73. package/cosmos/bank/v1beta1/tx.registry.d.ts +59 -0
  74. package/cosmos/bank/v1beta1/tx.registry.js +85 -0
  75. package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +10 -0
  76. package/cosmos/bank/v1beta1/tx.rpc.func.js +47 -0
  77. package/cosmos/base/abci/v1beta1/abci.d.ts +599 -0
  78. package/cosmos/base/abci/v1beta1/abci.js +1293 -0
  79. package/cosmos/base/grpc/v2/service.d.ts +163 -0
  80. package/cosmos/base/grpc/v2/service.js +398 -0
  81. package/cosmos/base/grpc/v2/service.rpc.func.d.ts +6 -0
  82. package/cosmos/base/grpc/v2/service.rpc.func.js +30 -0
  83. package/cosmos/base/node/v1beta1/query.d.ts +150 -0
  84. package/cosmos/base/node/v1beta1/query.js +377 -0
  85. package/cosmos/base/node/v1beta1/query.rpc.func.d.ts +6 -0
  86. package/cosmos/base/node/v1beta1/query.rpc.func.js +30 -0
  87. package/cosmos/base/query/v1beta1/pagination.d.ts +176 -0
  88. package/cosmos/base/query/v1beta1/pagination.js +222 -0
  89. package/cosmos/base/reflection/v1beta1/reflection.d.ts +144 -0
  90. package/cosmos/base/reflection/v1beta1/reflection.js +310 -0
  91. package/cosmos/base/reflection/v1beta1/reflection.rpc.func.d.ts +6 -0
  92. package/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +30 -0
  93. package/cosmos/base/reflection/v2alpha1/reflection.d.ts +1008 -0
  94. package/cosmos/base/reflection/v2alpha1/reflection.js +2159 -0
  95. package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.d.ts +14 -0
  96. package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +78 -0
  97. package/cosmos/base/tendermint/v1beta1/query.d.ts +740 -0
  98. package/cosmos/base/tendermint/v1beta1/query.js +1887 -0
  99. package/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +16 -0
  100. package/cosmos/base/tendermint/v1beta1/query.rpc.func.js +90 -0
  101. package/cosmos/base/tendermint/v1beta1/types.d.ts +137 -0
  102. package/cosmos/base/tendermint/v1beta1/types.js +358 -0
  103. package/cosmos/base/v1beta1/coin.d.ts +166 -0
  104. package/cosmos/base/v1beta1/coin.js +341 -0
  105. package/cosmos/circuit/module/v1/module.d.ts +36 -0
  106. package/cosmos/circuit/module/v1/module.js +83 -0
  107. package/cosmos/circuit/v1/query.d.ts +200 -0
  108. package/cosmos/circuit/v1/query.js +480 -0
  109. package/cosmos/circuit/v1/query.rpc.func.d.ts +8 -0
  110. package/cosmos/circuit/v1/query.rpc.func.js +42 -0
  111. package/cosmos/circuit/v1/tx.d.ts +251 -0
  112. package/cosmos/circuit/v1/tx.js +528 -0
  113. package/cosmos/circuit/v1/tx.registry.d.ts +47 -0
  114. package/cosmos/circuit/v1/tx.registry.js +67 -0
  115. package/cosmos/circuit/v1/tx.rpc.func.d.ts +8 -0
  116. package/cosmos/circuit/v1/tx.rpc.func.js +37 -0
  117. package/cosmos/circuit/v1/types.d.ts +151 -0
  118. package/cosmos/circuit/v1/types.js +350 -0
  119. package/cosmos/consensus/module/v1/module.d.ts +36 -0
  120. package/cosmos/consensus/module/v1/module.js +83 -0
  121. package/cosmos/consensus/v1/query.d.ts +75 -0
  122. package/cosmos/consensus/v1/query.js +149 -0
  123. package/cosmos/consensus/v1/query.rpc.func.d.ts +4 -0
  124. package/cosmos/consensus/v1/query.rpc.func.js +18 -0
  125. package/cosmos/consensus/v1/tx.d.ts +97 -0
  126. package/cosmos/consensus/v1/tx.js +197 -0
  127. package/cosmos/consensus/v1/tx.registry.d.ts +23 -0
  128. package/cosmos/consensus/v1/tx.registry.js +31 -0
  129. package/cosmos/consensus/v1/tx.rpc.func.d.ts +4 -0
  130. package/cosmos/consensus/v1/tx.rpc.func.js +17 -0
  131. package/cosmos/crisis/module/v1/module.d.ts +40 -0
  132. package/cosmos/crisis/module/v1/module.js +95 -0
  133. package/cosmos/crisis/v1beta1/genesis.d.ts +43 -0
  134. package/cosmos/crisis/v1beta1/genesis.js +84 -0
  135. package/cosmos/crisis/v1beta1/tx.d.ts +161 -0
  136. package/cosmos/crisis/v1beta1/tx.js +328 -0
  137. package/cosmos/crisis/v1beta1/tx.registry.d.ts +35 -0
  138. package/cosmos/crisis/v1beta1/tx.registry.js +49 -0
  139. package/cosmos/crisis/v1beta1/tx.rpc.func.d.ts +6 -0
  140. package/cosmos/crisis/v1beta1/tx.rpc.func.js +27 -0
  141. package/cosmos/crypto/ed25519/keys.d.ts +84 -0
  142. package/cosmos/crypto/ed25519/keys.js +162 -0
  143. package/cosmos/crypto/hd/v1/hd.d.ts +58 -0
  144. package/cosmos/crypto/hd/v1/hd.js +131 -0
  145. package/cosmos/crypto/keyring/v1/record.d.ts +188 -0
  146. package/cosmos/crypto/keyring/v1/record.js +431 -0
  147. package/cosmos/crypto/multisig/keys.d.ts +45 -0
  148. package/cosmos/crypto/multisig/keys.js +99 -0
  149. package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +86 -0
  150. package/cosmos/crypto/multisig/v1beta1/multisig.js +177 -0
  151. package/cosmos/crypto/secp256k1/keys.d.ts +78 -0
  152. package/cosmos/crypto/secp256k1/keys.js +162 -0
  153. package/cosmos/crypto/secp256r1/keys.d.ts +76 -0
  154. package/cosmos/crypto/secp256r1/keys.js +162 -0
  155. package/cosmos/distribution/module/v1/module.d.ts +38 -0
  156. package/cosmos/distribution/module/v1/module.js +95 -0
  157. package/cosmos/distribution/v1beta1/distribution.d.ts +541 -0
  158. package/cosmos/distribution/v1beta1/distribution.js +1158 -0
  159. package/cosmos/distribution/v1beta1/genesis.d.ts +376 -0
  160. package/cosmos/distribution/v1beta1/genesis.js +895 -0
  161. package/cosmos/distribution/v1beta1/query.d.ts +803 -0
  162. package/cosmos/distribution/v1beta1/query.js +1662 -0
  163. package/cosmos/distribution/v1beta1/query.rpc.func.d.ts +22 -0
  164. package/cosmos/distribution/v1beta1/query.rpc.func.js +126 -0
  165. package/cosmos/distribution/v1beta1/tx.d.ts +578 -0
  166. package/cosmos/distribution/v1beta1/tx.js +1145 -0
  167. package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
  168. package/cosmos/distribution/v1beta1/tx.registry.js +139 -0
  169. package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +16 -0
  170. package/cosmos/distribution/v1beta1/tx.rpc.func.js +77 -0
  171. package/cosmos/evidence/module/v1/module.d.ts +32 -0
  172. package/cosmos/evidence/module/v1/module.js +70 -0
  173. package/cosmos/evidence/v1beta1/evidence.d.ts +54 -0
  174. package/cosmos/evidence/v1beta1/evidence.js +121 -0
  175. package/cosmos/evidence/v1beta1/genesis.d.ts +37 -0
  176. package/cosmos/evidence/v1beta1/genesis.js +87 -0
  177. package/cosmos/evidence/v1beta1/query.d.ts +176 -0
  178. package/cosmos/evidence/v1beta1/query.js +347 -0
  179. package/cosmos/evidence/v1beta1/query.rpc.func.d.ts +6 -0
  180. package/cosmos/evidence/v1beta1/query.rpc.func.js +30 -0
  181. package/cosmos/evidence/v1beta1/tx.d.ts +84 -0
  182. package/cosmos/evidence/v1beta1/tx.js +175 -0
  183. package/cosmos/evidence/v1beta1/tx.registry.d.ts +23 -0
  184. package/cosmos/evidence/v1beta1/tx.registry.js +31 -0
  185. package/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +4 -0
  186. package/cosmos/evidence/v1beta1/tx.rpc.func.js +17 -0
  187. package/cosmos/feegrant/module/v1/module.d.ts +32 -0
  188. package/cosmos/feegrant/module/v1/module.js +70 -0
  189. package/cosmos/feegrant/v1beta1/feegrant.d.ts +219 -0
  190. package/cosmos/feegrant/v1beta1/feegrant.js +430 -0
  191. package/cosmos/feegrant/v1beta1/genesis.d.ts +35 -0
  192. package/cosmos/feegrant/v1beta1/genesis.js +87 -0
  193. package/cosmos/feegrant/v1beta1/query.d.ts +240 -0
  194. package/cosmos/feegrant/v1beta1/query.js +541 -0
  195. package/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +8 -0
  196. package/cosmos/feegrant/v1beta1/query.rpc.func.js +42 -0
  197. package/cosmos/feegrant/v1beta1/tx.d.ts +233 -0
  198. package/cosmos/feegrant/v1beta1/tx.js +471 -0
  199. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
  200. package/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
  201. package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +8 -0
  202. package/cosmos/feegrant/v1beta1/tx.rpc.func.js +37 -0
  203. package/cosmos/genutil/module/v1/module.d.ts +32 -0
  204. package/cosmos/genutil/module/v1/module.js +70 -0
  205. package/cosmos/genutil/v1beta1/genesis.d.ts +36 -0
  206. package/cosmos/genutil/v1beta1/genesis.js +87 -0
  207. package/cosmos/gov/module/v1/module.d.ts +46 -0
  208. package/cosmos/gov/module/v1/module.js +95 -0
  209. package/cosmos/gov/v1/genesis.d.ts +115 -0
  210. package/cosmos/gov/v1/genesis.js +189 -0
  211. package/cosmos/gov/v1/gov.d.ts +696 -0
  212. package/cosmos/gov/v1/gov.js +1363 -0
  213. package/cosmos/gov/v1/query.d.ts +706 -0
  214. package/cosmos/gov/v1/query.js +1564 -0
  215. package/cosmos/gov/v1/query.rpc.func.d.ts +20 -0
  216. package/cosmos/gov/v1/query.rpc.func.js +114 -0
  217. package/cosmos/gov/v1/tx.d.ts +626 -0
  218. package/cosmos/gov/v1/tx.js +1277 -0
  219. package/cosmos/gov/v1/tx.registry.d.ts +95 -0
  220. package/cosmos/gov/v1/tx.registry.js +139 -0
  221. package/cosmos/gov/v1/tx.rpc.func.d.ts +16 -0
  222. package/cosmos/gov/v1/tx.rpc.func.js +77 -0
  223. package/cosmos/gov/v1beta1/genesis.d.ts +61 -0
  224. package/cosmos/gov/v1beta1/genesis.js +165 -0
  225. package/cosmos/gov/v1beta1/gov.d.ts +524 -0
  226. package/cosmos/gov/v1beta1/gov.js +1114 -0
  227. package/cosmos/gov/v1beta1/query.d.ts +606 -0
  228. package/cosmos/gov/v1beta1/query.js +1409 -0
  229. package/cosmos/gov/v1beta1/query.rpc.func.d.ts +18 -0
  230. package/cosmos/gov/v1beta1/query.rpc.func.js +102 -0
  231. package/cosmos/gov/v1beta1/tx.d.ts +327 -0
  232. package/cosmos/gov/v1beta1/tx.js +699 -0
  233. package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
  234. package/cosmos/gov/v1beta1/tx.registry.js +85 -0
  235. package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +10 -0
  236. package/cosmos/gov/v1beta1/tx.rpc.func.js +47 -0
  237. package/cosmos/group/module/v1/module.d.ts +53 -0
  238. package/cosmos/group/module/v1/module.js +96 -0
  239. package/cosmos/group/v1/events.d.ts +363 -0
  240. package/cosmos/group/v1/events.js +847 -0
  241. package/cosmos/group/v1/genesis.d.ts +83 -0
  242. package/cosmos/group/v1/genesis.js +183 -0
  243. package/cosmos/group/v1/query.d.ts +1044 -0
  244. package/cosmos/group/v1/query.js +2434 -0
  245. package/cosmos/group/v1/query.rpc.func.d.ts +30 -0
  246. package/cosmos/group/v1/query.rpc.func.js +174 -0
  247. package/cosmos/group/v1/tx.d.ts +1140 -0
  248. package/cosmos/group/v1/tx.js +2567 -0
  249. package/cosmos/group/v1/tx.registry.d.ts +179 -0
  250. package/cosmos/group/v1/tx.registry.js +265 -0
  251. package/cosmos/group/v1/tx.rpc.func.d.ts +30 -0
  252. package/cosmos/group/v1/tx.rpc.func.js +147 -0
  253. package/cosmos/group/v1/types.d.ts +799 -0
  254. package/cosmos/group/v1/types.js +1542 -0
  255. package/cosmos/ics23/v1/proofs.d.ts +730 -0
  256. package/cosmos/ics23/v1/proofs.js +1605 -0
  257. package/cosmos/mint/module/v1/module.d.ts +38 -0
  258. package/cosmos/mint/module/v1/module.js +95 -0
  259. package/cosmos/mint/v1beta1/genesis.d.ts +41 -0
  260. package/cosmos/mint/v1beta1/genesis.js +96 -0
  261. package/cosmos/mint/v1beta1/mint.d.ts +94 -0
  262. package/cosmos/mint/v1beta1/mint.js +233 -0
  263. package/cosmos/mint/v1beta1/query.d.ts +213 -0
  264. package/cosmos/mint/v1beta1/query.js +436 -0
  265. package/cosmos/mint/v1beta1/query.rpc.func.d.ts +8 -0
  266. package/cosmos/mint/v1beta1/query.rpc.func.js +42 -0
  267. package/cosmos/mint/v1beta1/tx.d.ts +97 -0
  268. package/cosmos/mint/v1beta1/tx.js +161 -0
  269. package/cosmos/mint/v1beta1/tx.registry.d.ts +23 -0
  270. package/cosmos/mint/v1beta1/tx.registry.js +31 -0
  271. package/cosmos/mint/v1beta1/tx.rpc.func.d.ts +4 -0
  272. package/cosmos/mint/v1beta1/tx.rpc.func.js +17 -0
  273. package/cosmos/msg/textual/v1/textual.d.ts +1 -0
  274. package/cosmos/msg/textual/v1/textual.js +2 -0
  275. package/cosmos/msg/v1/msg.d.ts +1 -0
  276. package/cosmos/msg/v1/msg.js +2 -0
  277. package/cosmos/nft/module/v1/module.d.ts +32 -0
  278. package/cosmos/nft/module/v1/module.js +70 -0
  279. package/cosmos/nft/v1beta1/event.d.ts +132 -0
  280. package/cosmos/nft/v1beta1/event.js +323 -0
  281. package/cosmos/nft/v1beta1/genesis.d.ts +79 -0
  282. package/cosmos/nft/v1beta1/genesis.js +195 -0
  283. package/cosmos/nft/v1beta1/nft.d.ts +111 -0
  284. package/cosmos/nft/v1beta1/nft.js +282 -0
  285. package/cosmos/nft/v1beta1/query.d.ts +508 -0
  286. package/cosmos/nft/v1beta1/query.js +1189 -0
  287. package/cosmos/nft/v1beta1/query.rpc.func.d.ts +16 -0
  288. package/cosmos/nft/v1beta1/query.rpc.func.js +90 -0
  289. package/cosmos/nft/v1beta1/tx.d.ts +78 -0
  290. package/cosmos/nft/v1beta1/tx.js +184 -0
  291. package/cosmos/nft/v1beta1/tx.registry.d.ts +23 -0
  292. package/cosmos/nft/v1beta1/tx.registry.js +31 -0
  293. package/cosmos/nft/v1beta1/tx.rpc.func.d.ts +4 -0
  294. package/cosmos/nft/v1beta1/tx.rpc.func.js +17 -0
  295. package/cosmos/orm/module/v1alpha1/module.d.ts +40 -0
  296. package/cosmos/orm/module/v1alpha1/module.js +70 -0
  297. package/cosmos/orm/query/v1alpha1/query.d.ts +367 -0
  298. package/cosmos/orm/query/v1alpha1/query.js +751 -0
  299. package/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +6 -0
  300. package/cosmos/orm/query/v1alpha1/query.rpc.func.js +30 -0
  301. package/cosmos/orm/v1/orm.d.ts +278 -0
  302. package/cosmos/orm/v1/orm.js +380 -0
  303. package/cosmos/orm/v1alpha1/schema.d.ts +134 -0
  304. package/cosmos/orm/v1alpha1/schema.js +258 -0
  305. package/cosmos/params/module/v1/module.d.ts +32 -0
  306. package/cosmos/params/module/v1/module.js +70 -0
  307. package/cosmos/params/v1beta1/params.d.ts +80 -0
  308. package/cosmos/params/v1beta1/params.js +212 -0
  309. package/cosmos/params/v1beta1/query.d.ts +201 -0
  310. package/cosmos/params/v1beta1/query.js +413 -0
  311. package/cosmos/params/v1beta1/query.rpc.func.d.ts +6 -0
  312. package/cosmos/params/v1beta1/query.rpc.func.js +30 -0
  313. package/cosmos/query/v1/query.d.ts +1 -0
  314. package/cosmos/query/v1/query.js +2 -0
  315. package/cosmos/reflection/v1/reflection.d.ts +67 -0
  316. package/cosmos/reflection/v1/reflection.js +152 -0
  317. package/cosmos/reflection/v1/reflection.rpc.func.d.ts +4 -0
  318. package/cosmos/reflection/v1/reflection.rpc.func.js +18 -0
  319. package/cosmos/slashing/module/v1/module.d.ts +36 -0
  320. package/cosmos/slashing/module/v1/module.js +83 -0
  321. package/cosmos/slashing/v1beta1/genesis.d.ts +177 -0
  322. package/cosmos/slashing/v1beta1/genesis.js +387 -0
  323. package/cosmos/slashing/v1beta1/query.d.ts +226 -0
  324. package/cosmos/slashing/v1beta1/query.js +477 -0
  325. package/cosmos/slashing/v1beta1/query.rpc.func.d.ts +8 -0
  326. package/cosmos/slashing/v1beta1/query.rpc.func.js +42 -0
  327. package/cosmos/slashing/v1beta1/slashing.d.ts +123 -0
  328. package/cosmos/slashing/v1beta1/slashing.js +272 -0
  329. package/cosmos/slashing/v1beta1/tx.d.ts +159 -0
  330. package/cosmos/slashing/v1beta1/tx.js +304 -0
  331. package/cosmos/slashing/v1beta1/tx.registry.d.ts +35 -0
  332. package/cosmos/slashing/v1beta1/tx.registry.js +49 -0
  333. package/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +6 -0
  334. package/cosmos/slashing/v1beta1/tx.rpc.func.js +27 -0
  335. package/cosmos/staking/module/v1/module.d.ts +56 -0
  336. package/cosmos/staking/module/v1/module.js +122 -0
  337. package/cosmos/staking/v1beta1/authz.d.ts +122 -0
  338. package/cosmos/staking/v1beta1/authz.js +264 -0
  339. package/cosmos/staking/v1beta1/genesis.d.ts +115 -0
  340. package/cosmos/staking/v1beta1/genesis.js +274 -0
  341. package/cosmos/staking/v1beta1/query.d.ts +1124 -0
  342. package/cosmos/staking/v1beta1/query.js +2414 -0
  343. package/cosmos/staking/v1beta1/query.rpc.func.d.ts +30 -0
  344. package/cosmos/staking/v1beta1/query.rpc.func.js +174 -0
  345. package/cosmos/staking/v1beta1/staking.d.ts +1024 -0
  346. package/cosmos/staking/v1beta1/staking.js +2371 -0
  347. package/cosmos/staking/v1beta1/tx.d.ts +590 -0
  348. package/cosmos/staking/v1beta1/tx.js +1290 -0
  349. package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
  350. package/cosmos/staking/v1beta1/tx.registry.js +139 -0
  351. package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +16 -0
  352. package/cosmos/staking/v1beta1/tx.rpc.func.js +77 -0
  353. package/cosmos/store/internal/kv/v1beta1/kv.d.ts +68 -0
  354. package/cosmos/store/internal/kv/v1beta1/kv.js +177 -0
  355. package/cosmos/store/snapshots/v1/snapshot.d.ts +294 -0
  356. package/cosmos/store/snapshots/v1/snapshot.js +687 -0
  357. package/cosmos/store/snapshots/v2/snapshot.d.ts +254 -0
  358. package/cosmos/store/snapshots/v2/snapshot.js +687 -0
  359. package/cosmos/store/streaming/abci/grpc.d.ts +136 -0
  360. package/cosmos/store/streaming/abci/grpc.js +332 -0
  361. package/cosmos/store/v1beta1/commit_info.d.ts +124 -0
  362. package/cosmos/store/v1beta1/commit_info.js +292 -0
  363. package/cosmos/store/v1beta1/listening.d.ts +101 -0
  364. package/cosmos/store/v1beta1/listening.js +223 -0
  365. package/cosmos/streaming/v1/grpc.d.ts +302 -0
  366. package/cosmos/streaming/v1/grpc.js +826 -0
  367. package/cosmos/tx/config/v1/config.d.ts +52 -0
  368. package/cosmos/tx/config/v1/config.js +95 -0
  369. package/cosmos/tx/signing/v1beta1/signing.d.ts +270 -0
  370. package/cosmos/tx/signing/v1beta1/signing.js +570 -0
  371. package/cosmos/tx/v1beta1/service.d.ts +916 -0
  372. package/cosmos/tx/v1beta1/service.js +1729 -0
  373. package/cosmos/tx/v1beta1/service.rpc.func.d.ts +20 -0
  374. package/cosmos/tx/v1beta1/service.rpc.func.js +114 -0
  375. package/cosmos/tx/v1beta1/tx.d.ts +856 -0
  376. package/cosmos/tx/v1beta1/tx.js +1398 -0
  377. package/cosmos/upgrade/module/v1/module.d.ts +36 -0
  378. package/cosmos/upgrade/module/v1/module.js +83 -0
  379. package/cosmos/upgrade/v1beta1/query.d.ts +423 -0
  380. package/cosmos/upgrade/v1beta1/query.js +764 -0
  381. package/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +12 -0
  382. package/cosmos/upgrade/v1beta1/query.rpc.func.js +66 -0
  383. package/cosmos/upgrade/v1beta1/tx.d.ts +167 -0
  384. package/cosmos/upgrade/v1beta1/tx.js +304 -0
  385. package/cosmos/upgrade/v1beta1/tx.registry.d.ts +35 -0
  386. package/cosmos/upgrade/v1beta1/tx.registry.js +49 -0
  387. package/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +6 -0
  388. package/cosmos/upgrade/v1beta1/tx.rpc.func.js +27 -0
  389. package/cosmos/upgrade/v1beta1/upgrade.d.ts +245 -0
  390. package/cosmos/upgrade/v1beta1/upgrade.js +416 -0
  391. package/cosmos/validate/module/v1/module.d.ts +32 -0
  392. package/cosmos/validate/module/v1/module.js +70 -0
  393. package/cosmos/vesting/module/v1/module.d.ts +32 -0
  394. package/cosmos/vesting/module/v1/module.js +70 -0
  395. package/cosmos/vesting/v1beta1/tx.d.ts +256 -0
  396. package/cosmos/vesting/v1beta1/tx.js +553 -0
  397. package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
  398. package/cosmos/vesting/v1beta1/tx.registry.js +67 -0
  399. package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +8 -0
  400. package/cosmos/vesting/v1beta1/tx.rpc.func.js +37 -0
  401. package/cosmos/vesting/v1beta1/vesting.d.ts +256 -0
  402. package/cosmos/vesting/v1beta1/vesting.js +586 -0
  403. package/cosmos_proto/cosmos.d.ts +153 -0
  404. package/cosmos_proto/cosmos.js +234 -0
  405. package/cosmwasm/wasm/v1/authz.d.ts +500 -0
  406. package/cosmwasm/wasm/v1/authz.js +924 -0
  407. package/cosmwasm/wasm/v1/genesis.d.ts +153 -0
  408. package/cosmwasm/wasm/v1/genesis.js +454 -0
  409. package/cosmwasm/wasm/v1/ibc.d.ts +132 -0
  410. package/cosmwasm/wasm/v1/ibc.js +276 -0
  411. package/cosmwasm/wasm/v1/proposal_legacy.d.ts +872 -0
  412. package/cosmwasm/wasm/v1/proposal_legacy.js +1784 -0
  413. package/cosmwasm/wasm/v1/query.d.ts +922 -0
  414. package/cosmwasm/wasm/v1/query.js +2022 -0
  415. package/cosmwasm/wasm/v1/query.rpc.func.d.ts +24 -0
  416. package/cosmwasm/wasm/v1/query.rpc.func.js +138 -0
  417. package/cosmwasm/wasm/v1/tx.d.ts +1534 -0
  418. package/cosmwasm/wasm/v1/tx.js +3236 -0
  419. package/cosmwasm/wasm/v1/tx.registry.d.ts +215 -0
  420. package/cosmwasm/wasm/v1/tx.registry.js +319 -0
  421. package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +36 -0
  422. package/cosmwasm/wasm/v1/tx.rpc.func.js +177 -0
  423. package/cosmwasm/wasm/v1/types.d.ts +374 -0
  424. package/cosmwasm/wasm/v1/types.js +917 -0
  425. package/dist/package.json +48 -0
  426. package/esm/amino/amino.js +1 -0
  427. package/esm/binary.js +365 -0
  428. package/esm/cosmos/app/runtime/v1alpha1/module.js +290 -0
  429. package/esm/cosmos/app/runtime/v2/module.js +419 -0
  430. package/esm/cosmos/app/v1alpha1/config.js +294 -0
  431. package/esm/cosmos/app/v1alpha1/module.js +278 -0
  432. package/esm/cosmos/app/v1alpha1/query.js +146 -0
  433. package/esm/cosmos/app/v1alpha1/query.rpc.func.js +14 -0
  434. package/esm/cosmos/auth/module/v1/module.js +200 -0
  435. package/esm/cosmos/auth/v1beta1/accounts.js +159 -0
  436. package/esm/cosmos/auth/v1beta1/auth.js +442 -0
  437. package/esm/cosmos/auth/v1beta1/genesis.js +97 -0
  438. package/esm/cosmos/auth/v1beta1/query.js +1558 -0
  439. package/esm/cosmos/auth/v1beta1/query.rpc.func.js +113 -0
  440. package/esm/cosmos/auth/v1beta1/tx.js +158 -0
  441. package/esm/cosmos/auth/v1beta1/tx.registry.js +28 -0
  442. package/esm/cosmos/auth/v1beta1/tx.rpc.func.js +13 -0
  443. package/esm/cosmos/authz/module/v1/module.js +67 -0
  444. package/esm/cosmos/authz/v1beta1/authz.js +368 -0
  445. package/esm/cosmos/authz/v1beta1/event.js +206 -0
  446. package/esm/cosmos/authz/v1beta1/genesis.js +84 -0
  447. package/esm/cosmos/authz/v1beta1/query.js +577 -0
  448. package/esm/cosmos/authz/v1beta1/query.rpc.func.js +36 -0
  449. package/esm/cosmos/authz/v1beta1/tx.js +513 -0
  450. package/esm/cosmos/authz/v1beta1/tx.registry.js +64 -0
  451. package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +31 -0
  452. package/esm/cosmos/autocli/v1/options.js +831 -0
  453. package/esm/cosmos/autocli/v1/query.js +234 -0
  454. package/esm/cosmos/autocli/v1/query.rpc.func.js +14 -0
  455. package/esm/cosmos/bank/module/v1/module.js +110 -0
  456. package/esm/cosmos/bank/v1beta1/authz.js +99 -0
  457. package/esm/cosmos/bank/v1beta1/bank.js +723 -0
  458. package/esm/cosmos/bank/v1beta1/genesis.js +235 -0
  459. package/esm/cosmos/bank/v1beta1/query.js +2314 -0
  460. package/esm/cosmos/bank/v1beta1/query.rpc.func.js +146 -0
  461. package/esm/cosmos/bank/v1beta1/tx.js +663 -0
  462. package/esm/cosmos/bank/v1beta1/tx.registry.js +82 -0
  463. package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +40 -0
  464. package/esm/cosmos/base/abci/v1beta1/abci.js +1290 -0
  465. package/esm/cosmos/base/grpc/v2/service.js +395 -0
  466. package/esm/cosmos/base/grpc/v2/service.rpc.func.js +25 -0
  467. package/esm/cosmos/base/node/v1beta1/query.js +374 -0
  468. package/esm/cosmos/base/node/v1beta1/query.rpc.func.js +25 -0
  469. package/esm/cosmos/base/query/v1beta1/pagination.js +219 -0
  470. package/esm/cosmos/base/reflection/v1beta1/reflection.js +307 -0
  471. package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +25 -0
  472. package/esm/cosmos/base/reflection/v2alpha1/reflection.js +2156 -0
  473. package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +69 -0
  474. package/esm/cosmos/base/tendermint/v1beta1/query.js +1884 -0
  475. package/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +80 -0
  476. package/esm/cosmos/base/tendermint/v1beta1/types.js +355 -0
  477. package/esm/cosmos/base/v1beta1/coin.js +338 -0
  478. package/esm/cosmos/circuit/module/v1/module.js +80 -0
  479. package/esm/cosmos/circuit/v1/query.js +477 -0
  480. package/esm/cosmos/circuit/v1/query.rpc.func.js +36 -0
  481. package/esm/cosmos/circuit/v1/tx.js +525 -0
  482. package/esm/cosmos/circuit/v1/tx.registry.js +64 -0
  483. package/esm/cosmos/circuit/v1/tx.rpc.func.js +31 -0
  484. package/esm/cosmos/circuit/v1/types.js +345 -0
  485. package/esm/cosmos/consensus/module/v1/module.js +80 -0
  486. package/esm/cosmos/consensus/v1/query.js +146 -0
  487. package/esm/cosmos/consensus/v1/query.rpc.func.js +14 -0
  488. package/esm/cosmos/consensus/v1/tx.js +194 -0
  489. package/esm/cosmos/consensus/v1/tx.registry.js +28 -0
  490. package/esm/cosmos/consensus/v1/tx.rpc.func.js +13 -0
  491. package/esm/cosmos/crisis/module/v1/module.js +92 -0
  492. package/esm/cosmos/crisis/v1beta1/genesis.js +81 -0
  493. package/esm/cosmos/crisis/v1beta1/tx.js +325 -0
  494. package/esm/cosmos/crisis/v1beta1/tx.registry.js +46 -0
  495. package/esm/cosmos/crisis/v1beta1/tx.rpc.func.js +22 -0
  496. package/esm/cosmos/crypto/ed25519/keys.js +159 -0
  497. package/esm/cosmos/crypto/hd/v1/hd.js +128 -0
  498. package/esm/cosmos/crypto/keyring/v1/record.js +428 -0
  499. package/esm/cosmos/crypto/multisig/keys.js +96 -0
  500. package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +174 -0
  501. package/esm/cosmos/crypto/secp256k1/keys.js +159 -0
  502. package/esm/cosmos/crypto/secp256r1/keys.js +159 -0
  503. package/esm/cosmos/distribution/module/v1/module.js +92 -0
  504. package/esm/cosmos/distribution/v1beta1/distribution.js +1155 -0
  505. package/esm/cosmos/distribution/v1beta1/genesis.js +892 -0
  506. package/esm/cosmos/distribution/v1beta1/query.js +1659 -0
  507. package/esm/cosmos/distribution/v1beta1/query.rpc.func.js +113 -0
  508. package/esm/cosmos/distribution/v1beta1/tx.js +1142 -0
  509. package/esm/cosmos/distribution/v1beta1/tx.registry.js +136 -0
  510. package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +67 -0
  511. package/esm/cosmos/evidence/module/v1/module.js +67 -0
  512. package/esm/cosmos/evidence/v1beta1/evidence.js +118 -0
  513. package/esm/cosmos/evidence/v1beta1/genesis.js +84 -0
  514. package/esm/cosmos/evidence/v1beta1/query.js +344 -0
  515. package/esm/cosmos/evidence/v1beta1/query.rpc.func.js +25 -0
  516. package/esm/cosmos/evidence/v1beta1/tx.js +172 -0
  517. package/esm/cosmos/evidence/v1beta1/tx.registry.js +28 -0
  518. package/esm/cosmos/evidence/v1beta1/tx.rpc.func.js +13 -0
  519. package/esm/cosmos/feegrant/module/v1/module.js +67 -0
  520. package/esm/cosmos/feegrant/v1beta1/feegrant.js +427 -0
  521. package/esm/cosmos/feegrant/v1beta1/genesis.js +84 -0
  522. package/esm/cosmos/feegrant/v1beta1/query.js +538 -0
  523. package/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +36 -0
  524. package/esm/cosmos/feegrant/v1beta1/tx.js +468 -0
  525. package/esm/cosmos/feegrant/v1beta1/tx.registry.js +64 -0
  526. package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +31 -0
  527. package/esm/cosmos/genutil/module/v1/module.js +67 -0
  528. package/esm/cosmos/genutil/v1beta1/genesis.js +84 -0
  529. package/esm/cosmos/gov/module/v1/module.js +92 -0
  530. package/esm/cosmos/gov/v1/genesis.js +186 -0
  531. package/esm/cosmos/gov/v1/gov.js +1356 -0
  532. package/esm/cosmos/gov/v1/query.js +1561 -0
  533. package/esm/cosmos/gov/v1/query.rpc.func.js +102 -0
  534. package/esm/cosmos/gov/v1/tx.js +1274 -0
  535. package/esm/cosmos/gov/v1/tx.registry.js +136 -0
  536. package/esm/cosmos/gov/v1/tx.rpc.func.js +67 -0
  537. package/esm/cosmos/gov/v1beta1/genesis.js +162 -0
  538. package/esm/cosmos/gov/v1beta1/gov.js +1107 -0
  539. package/esm/cosmos/gov/v1beta1/query.js +1406 -0
  540. package/esm/cosmos/gov/v1beta1/query.rpc.func.js +91 -0
  541. package/esm/cosmos/gov/v1beta1/tx.js +696 -0
  542. package/esm/cosmos/gov/v1beta1/tx.registry.js +82 -0
  543. package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +40 -0
  544. package/esm/cosmos/group/module/v1/module.js +93 -0
  545. package/esm/cosmos/group/v1/events.js +844 -0
  546. package/esm/cosmos/group/v1/genesis.js +180 -0
  547. package/esm/cosmos/group/v1/query.js +2431 -0
  548. package/esm/cosmos/group/v1/query.rpc.func.js +157 -0
  549. package/esm/cosmos/group/v1/tx.js +2562 -0
  550. package/esm/cosmos/group/v1/tx.registry.js +262 -0
  551. package/esm/cosmos/group/v1/tx.rpc.func.js +130 -0
  552. package/esm/cosmos/group/v1/types.js +1533 -0
  553. package/esm/cosmos/ics23/v1/proofs.js +1598 -0
  554. package/esm/cosmos/mint/module/v1/module.js +92 -0
  555. package/esm/cosmos/mint/v1beta1/genesis.js +93 -0
  556. package/esm/cosmos/mint/v1beta1/mint.js +230 -0
  557. package/esm/cosmos/mint/v1beta1/query.js +433 -0
  558. package/esm/cosmos/mint/v1beta1/query.rpc.func.js +36 -0
  559. package/esm/cosmos/mint/v1beta1/tx.js +158 -0
  560. package/esm/cosmos/mint/v1beta1/tx.registry.js +28 -0
  561. package/esm/cosmos/mint/v1beta1/tx.rpc.func.js +13 -0
  562. package/esm/cosmos/msg/textual/v1/textual.js +1 -0
  563. package/esm/cosmos/msg/v1/msg.js +1 -0
  564. package/esm/cosmos/nft/module/v1/module.js +67 -0
  565. package/esm/cosmos/nft/v1beta1/event.js +320 -0
  566. package/esm/cosmos/nft/v1beta1/genesis.js +192 -0
  567. package/esm/cosmos/nft/v1beta1/nft.js +279 -0
  568. package/esm/cosmos/nft/v1beta1/query.js +1186 -0
  569. package/esm/cosmos/nft/v1beta1/query.rpc.func.js +80 -0
  570. package/esm/cosmos/nft/v1beta1/tx.js +181 -0
  571. package/esm/cosmos/nft/v1beta1/tx.registry.js +28 -0
  572. package/esm/cosmos/nft/v1beta1/tx.rpc.func.js +13 -0
  573. package/esm/cosmos/orm/module/v1alpha1/module.js +67 -0
  574. package/esm/cosmos/orm/query/v1alpha1/query.js +748 -0
  575. package/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +25 -0
  576. package/esm/cosmos/orm/v1/orm.js +377 -0
  577. package/esm/cosmos/orm/v1alpha1/schema.js +253 -0
  578. package/esm/cosmos/params/module/v1/module.js +67 -0
  579. package/esm/cosmos/params/v1beta1/params.js +209 -0
  580. package/esm/cosmos/params/v1beta1/query.js +410 -0
  581. package/esm/cosmos/params/v1beta1/query.rpc.func.js +25 -0
  582. package/esm/cosmos/query/v1/query.js +1 -0
  583. package/esm/cosmos/reflection/v1/reflection.js +149 -0
  584. package/esm/cosmos/reflection/v1/reflection.rpc.func.js +14 -0
  585. package/esm/cosmos/slashing/module/v1/module.js +80 -0
  586. package/esm/cosmos/slashing/v1beta1/genesis.js +384 -0
  587. package/esm/cosmos/slashing/v1beta1/query.js +474 -0
  588. package/esm/cosmos/slashing/v1beta1/query.rpc.func.js +36 -0
  589. package/esm/cosmos/slashing/v1beta1/slashing.js +269 -0
  590. package/esm/cosmos/slashing/v1beta1/tx.js +301 -0
  591. package/esm/cosmos/slashing/v1beta1/tx.registry.js +46 -0
  592. package/esm/cosmos/slashing/v1beta1/tx.rpc.func.js +22 -0
  593. package/esm/cosmos/staking/module/v1/module.js +119 -0
  594. package/esm/cosmos/staking/v1beta1/authz.js +259 -0
  595. package/esm/cosmos/staking/v1beta1/genesis.js +271 -0
  596. package/esm/cosmos/staking/v1beta1/query.js +2411 -0
  597. package/esm/cosmos/staking/v1beta1/query.rpc.func.js +157 -0
  598. package/esm/cosmos/staking/v1beta1/staking.js +2364 -0
  599. package/esm/cosmos/staking/v1beta1/tx.js +1287 -0
  600. package/esm/cosmos/staking/v1beta1/tx.registry.js +136 -0
  601. package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +67 -0
  602. package/esm/cosmos/store/internal/kv/v1beta1/kv.js +174 -0
  603. package/esm/cosmos/store/snapshots/v1/snapshot.js +684 -0
  604. package/esm/cosmos/store/snapshots/v2/snapshot.js +684 -0
  605. package/esm/cosmos/store/streaming/abci/grpc.js +329 -0
  606. package/esm/cosmos/store/v1beta1/commit_info.js +289 -0
  607. package/esm/cosmos/store/v1beta1/listening.js +220 -0
  608. package/esm/cosmos/streaming/v1/grpc.js +823 -0
  609. package/esm/cosmos/tx/config/v1/config.js +92 -0
  610. package/esm/cosmos/tx/signing/v1beta1/signing.js +565 -0
  611. package/esm/cosmos/tx/v1beta1/service.js +1722 -0
  612. package/esm/cosmos/tx/v1beta1/service.rpc.func.js +102 -0
  613. package/esm/cosmos/tx/v1beta1/tx.js +1395 -0
  614. package/esm/cosmos/upgrade/module/v1/module.js +80 -0
  615. package/esm/cosmos/upgrade/v1beta1/query.js +761 -0
  616. package/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +58 -0
  617. package/esm/cosmos/upgrade/v1beta1/tx.js +301 -0
  618. package/esm/cosmos/upgrade/v1beta1/tx.registry.js +46 -0
  619. package/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +22 -0
  620. package/esm/cosmos/upgrade/v1beta1/upgrade.js +413 -0
  621. package/esm/cosmos/validate/module/v1/module.js +67 -0
  622. package/esm/cosmos/vesting/module/v1/module.js +67 -0
  623. package/esm/cosmos/vesting/v1beta1/tx.js +550 -0
  624. package/esm/cosmos/vesting/v1beta1/tx.registry.js +64 -0
  625. package/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +31 -0
  626. package/esm/cosmos/vesting/v1beta1/vesting.js +583 -0
  627. package/esm/cosmos_proto/cosmos.js +229 -0
  628. package/esm/cosmwasm/wasm/v1/authz.js +921 -0
  629. package/esm/cosmwasm/wasm/v1/genesis.js +451 -0
  630. package/esm/cosmwasm/wasm/v1/ibc.js +273 -0
  631. package/esm/cosmwasm/wasm/v1/proposal_legacy.js +1781 -0
  632. package/esm/cosmwasm/wasm/v1/query.js +2019 -0
  633. package/esm/cosmwasm/wasm/v1/query.rpc.func.js +124 -0
  634. package/esm/cosmwasm/wasm/v1/tx.js +3233 -0
  635. package/esm/cosmwasm/wasm/v1/tx.registry.js +316 -0
  636. package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +157 -0
  637. package/esm/cosmwasm/wasm/v1/types.js +910 -0
  638. package/esm/ethermint/crypto/v1/ethsecp256k1/keys.js +143 -0
  639. package/esm/ethermint/evm/v1/events.js +381 -0
  640. package/esm/ethermint/evm/v1/evm.js +1181 -0
  641. package/esm/ethermint/evm/v1/genesis.js +185 -0
  642. package/esm/ethermint/evm/v1/query.js +1970 -0
  643. package/esm/ethermint/evm/v1/query.rpc.func.js +136 -0
  644. package/esm/ethermint/evm/v1/tx.js +1008 -0
  645. package/esm/ethermint/evm/v1/tx.registry.js +46 -0
  646. package/esm/ethermint/evm/v1/tx.rpc.func.js +22 -0
  647. package/esm/ethermint/feemarket/v1/events.js +154 -0
  648. package/esm/ethermint/feemarket/v1/feemarket.js +152 -0
  649. package/esm/ethermint/feemarket/v1/genesis.js +85 -0
  650. package/esm/ethermint/feemarket/v1/query.js +384 -0
  651. package/esm/ethermint/feemarket/v1/query.rpc.func.js +36 -0
  652. package/esm/ethermint/feemarket/v1/tx.js +150 -0
  653. package/esm/ethermint/feemarket/v1/tx.registry.js +28 -0
  654. package/esm/ethermint/feemarket/v1/tx.rpc.func.js +13 -0
  655. package/esm/ethermint/types/v1/account.js +85 -0
  656. package/esm/ethermint/types/v1/dynamic_fee.js +72 -0
  657. package/esm/ethermint/types/v1/indexer.js +144 -0
  658. package/esm/ethermint/types/v1/web3.js +97 -0
  659. package/esm/extern.js +30 -0
  660. package/esm/gogoproto/gogo.js +1 -0
  661. package/esm/google/api/annotations.js +1 -0
  662. package/esm/google/api/http.js +350 -0
  663. package/esm/google/protobuf/any.js +78 -0
  664. package/esm/google/protobuf/descriptor.js +5062 -0
  665. package/esm/google/protobuf/duration.js +78 -0
  666. package/esm/google/protobuf/timestamp.js +75 -0
  667. package/esm/helper-func-types.js +50 -0
  668. package/esm/helpers.js +128 -0
  669. package/esm/ibc/applications/fee/v1/ack.js +105 -0
  670. package/esm/ibc/applications/fee/v1/fee.js +394 -0
  671. package/esm/ibc/applications/fee/v1/genesis.js +529 -0
  672. package/esm/ibc/applications/fee/v1/metadata.js +92 -0
  673. package/esm/ibc/applications/fee/v1/query.js +1729 -0
  674. package/esm/ibc/applications/fee/v1/query.rpc.func.js +113 -0
  675. package/esm/ibc/applications/fee/v1/tx.js +711 -0
  676. package/esm/ibc/applications/fee/v1/tx.registry.js +82 -0
  677. package/esm/ibc/applications/fee/v1/tx.rpc.func.js +40 -0
  678. package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +80 -0
  679. package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +314 -0
  680. package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +25 -0
  681. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +556 -0
  682. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +64 -0
  683. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +31 -0
  684. package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +553 -0
  685. package/esm/ibc/applications/interchain_accounts/host/v1/host.js +186 -0
  686. package/esm/ibc/applications/interchain_accounts/host/v1/query.js +146 -0
  687. package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +14 -0
  688. package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +345 -0
  689. package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +46 -0
  690. package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +22 -0
  691. package/esm/ibc/applications/interchain_accounts/v1/account.js +93 -0
  692. package/esm/ibc/applications/interchain_accounts/v1/metadata.js +140 -0
  693. package/esm/ibc/applications/interchain_accounts/v1/packet.js +225 -0
  694. package/esm/ibc/applications/transfer/v1/authz.js +219 -0
  695. package/esm/ibc/applications/transfer/v1/genesis.js +124 -0
  696. package/esm/ibc/applications/transfer/v1/query.js +955 -0
  697. package/esm/ibc/applications/transfer/v1/query.rpc.func.js +69 -0
  698. package/esm/ibc/applications/transfer/v1/transfer.js +182 -0
  699. package/esm/ibc/applications/transfer/v1/tx.js +399 -0
  700. package/esm/ibc/applications/transfer/v1/tx.registry.js +46 -0
  701. package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +22 -0
  702. package/esm/ibc/applications/transfer/v2/packet.js +128 -0
  703. package/esm/ibc/core/channel/v1/channel.js +1160 -0
  704. package/esm/ibc/core/channel/v1/genesis.js +300 -0
  705. package/esm/ibc/core/channel/v1/query.js +3396 -0
  706. package/esm/ibc/core/channel/v1/query.rpc.func.js +190 -0
  707. package/esm/ibc/core/channel/v1/tx.js +4022 -0
  708. package/esm/ibc/core/channel/v1/tx.registry.js +352 -0
  709. package/esm/ibc/core/channel/v1/tx.rpc.func.js +175 -0
  710. package/esm/ibc/core/channel/v1/upgrade.js +301 -0
  711. package/esm/ibc/core/client/v1/client.js +672 -0
  712. package/esm/ibc/core/client/v1/genesis.js +334 -0
  713. package/esm/ibc/core/client/v1/query.js +1753 -0
  714. package/esm/ibc/core/client/v1/query.rpc.func.js +113 -0
  715. package/esm/ibc/core/client/v1/tx.js +1199 -0
  716. package/esm/ibc/core/client/v1/tx.registry.js +136 -0
  717. package/esm/ibc/core/client/v1/tx.rpc.func.js +67 -0
  718. package/esm/ibc/core/commitment/v1/commitment.js +322 -0
  719. package/esm/ibc/core/connection/v1/connection.js +776 -0
  720. package/esm/ibc/core/connection/v1/genesis.js +123 -0
  721. package/esm/ibc/core/connection/v1/query.js +1092 -0
  722. package/esm/ibc/core/connection/v1/query.rpc.func.js +69 -0
  723. package/esm/ibc/core/connection/v1/tx.js +1084 -0
  724. package/esm/ibc/core/connection/v1/tx.registry.js +100 -0
  725. package/esm/ibc/core/connection/v1/tx.rpc.func.js +49 -0
  726. package/esm/ibc/core/types/v1/genesis.js +107 -0
  727. package/esm/ibc/lightclients/localhost/v2/localhost.js +81 -0
  728. package/esm/ibc/lightclients/solomachine/v2/solomachine.js +1684 -0
  729. package/esm/ibc/lightclients/solomachine/v3/solomachine.js +844 -0
  730. package/esm/ibc/lightclients/tendermint/v1/tendermint.js +622 -0
  731. package/esm/ibc/lightclients/wasm/v1/genesis.js +162 -0
  732. package/esm/ibc/lightclients/wasm/v1/query.js +331 -0
  733. package/esm/ibc/lightclients/wasm/v1/query.rpc.func.js +25 -0
  734. package/esm/ibc/lightclients/wasm/v1/tx.js +505 -0
  735. package/esm/ibc/lightclients/wasm/v1/tx.registry.js +64 -0
  736. package/esm/ibc/lightclients/wasm/v1/tx.rpc.func.js +31 -0
  737. package/esm/ibc/lightclients/wasm/v1/wasm.js +343 -0
  738. package/esm/react-query.js +83 -0
  739. package/esm/registry.js +154 -0
  740. package/esm/tendermint/abci/types.js +5217 -0
  741. package/esm/tendermint/crypto/keys.js +85 -0
  742. package/esm/tendermint/crypto/proof.js +455 -0
  743. package/esm/tendermint/p2p/types.js +427 -0
  744. package/esm/tendermint/types/block.js +110 -0
  745. package/esm/tendermint/types/evidence.js +400 -0
  746. package/esm/tendermint/types/params.js +592 -0
  747. package/esm/tendermint/types/types.js +1749 -0
  748. package/esm/tendermint/types/validator.js +337 -0
  749. package/esm/tendermint/version/types.js +166 -0
  750. package/esm/types.js +6 -0
  751. package/esm/utf8.js +136 -0
  752. package/esm/varint.js +407 -0
  753. package/esm/xpla/reward/v1beta1/genesis.js +73 -0
  754. package/esm/xpla/reward/v1beta1/query.js +261 -0
  755. package/esm/xpla/reward/v1beta1/query.rpc.func.js +25 -0
  756. package/esm/xpla/reward/v1beta1/reward.js +128 -0
  757. package/esm/xpla/reward/v1beta1/tx.js +301 -0
  758. package/esm/xpla/reward/v1beta1/tx.registry.js +46 -0
  759. package/esm/xpla/reward/v1beta1/tx.rpc.func.js +22 -0
  760. package/esm/xpla/volunteer/v1beta1/genesis.js +76 -0
  761. package/esm/xpla/volunteer/v1beta1/proposal.js +534 -0
  762. package/esm/xpla/volunteer/v1beta1/query.js +132 -0
  763. package/esm/xpla/volunteer/v1beta1/query.rpc.func.js +14 -0
  764. package/esm/xpla/volunteer/v1beta1/tx.js +348 -0
  765. package/esm/xpla/volunteer/v1beta1/tx.registry.js +46 -0
  766. package/esm/xpla/volunteer/v1beta1/tx.rpc.func.js +22 -0
  767. package/esm/xpla/volunteer/v1beta1/volunteervalidator.js +84 -0
  768. package/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +80 -0
  769. package/ethermint/crypto/v1/ethsecp256k1/keys.js +146 -0
  770. package/ethermint/evm/v1/events.d.ts +162 -0
  771. package/ethermint/evm/v1/events.js +384 -0
  772. package/ethermint/evm/v1/evm.d.ts +530 -0
  773. package/ethermint/evm/v1/evm.js +1184 -0
  774. package/ethermint/evm/v1/genesis.d.ts +87 -0
  775. package/ethermint/evm/v1/genesis.js +188 -0
  776. package/ethermint/evm/v1/query.d.ts +913 -0
  777. package/ethermint/evm/v1/query.js +1973 -0
  778. package/ethermint/evm/v1/query.rpc.func.d.ts +27 -0
  779. package/ethermint/evm/v1/query.rpc.func.js +151 -0
  780. package/ethermint/evm/v1/tx.d.ts +452 -0
  781. package/ethermint/evm/v1/tx.js +1011 -0
  782. package/ethermint/evm/v1/tx.registry.d.ts +35 -0
  783. package/ethermint/evm/v1/tx.registry.js +49 -0
  784. package/ethermint/evm/v1/tx.rpc.func.d.ts +6 -0
  785. package/ethermint/evm/v1/tx.rpc.func.js +27 -0
  786. package/ethermint/feemarket/v1/events.d.ts +70 -0
  787. package/ethermint/feemarket/v1/events.js +157 -0
  788. package/ethermint/feemarket/v1/feemarket.d.ts +78 -0
  789. package/ethermint/feemarket/v1/feemarket.js +155 -0
  790. package/ethermint/feemarket/v1/genesis.d.ts +45 -0
  791. package/ethermint/feemarket/v1/genesis.js +88 -0
  792. package/ethermint/feemarket/v1/query.d.ts +195 -0
  793. package/ethermint/feemarket/v1/query.js +387 -0
  794. package/ethermint/feemarket/v1/query.rpc.func.d.ts +8 -0
  795. package/ethermint/feemarket/v1/query.rpc.func.js +42 -0
  796. package/ethermint/feemarket/v1/tx.d.ts +81 -0
  797. package/ethermint/feemarket/v1/tx.js +153 -0
  798. package/ethermint/feemarket/v1/tx.registry.d.ts +23 -0
  799. package/ethermint/feemarket/v1/tx.registry.js +31 -0
  800. package/ethermint/feemarket/v1/tx.rpc.func.d.ts +4 -0
  801. package/ethermint/feemarket/v1/tx.rpc.func.js +17 -0
  802. package/ethermint/types/v1/account.d.ts +45 -0
  803. package/ethermint/types/v1/account.js +88 -0
  804. package/ethermint/types/v1/dynamic_fee.d.ts +34 -0
  805. package/ethermint/types/v1/dynamic_fee.js +75 -0
  806. package/ethermint/types/v1/indexer.d.ts +76 -0
  807. package/ethermint/types/v1/indexer.js +147 -0
  808. package/ethermint/types/v1/web3.d.ts +66 -0
  809. package/ethermint/types/v1/web3.js +100 -0
  810. package/extern.d.ts +10 -0
  811. package/extern.js +36 -0
  812. package/gogoproto/gogo.d.ts +1 -0
  813. package/gogoproto/gogo.js +2 -0
  814. package/google/api/annotations.d.ts +1 -0
  815. package/google/api/annotations.js +2 -0
  816. package/google/api/http.d.ts +764 -0
  817. package/google/api/http.js +353 -0
  818. package/google/protobuf/any.d.ts +268 -0
  819. package/google/protobuf/any.js +81 -0
  820. package/google/protobuf/descriptor.d.ts +2919 -0
  821. package/google/protobuf/descriptor.js +5100 -0
  822. package/google/protobuf/duration.d.ts +162 -0
  823. package/google/protobuf/duration.js +81 -0
  824. package/google/protobuf/timestamp.d.ts +222 -0
  825. package/google/protobuf/timestamp.js +78 -0
  826. package/helper-func-types.d.ts +117 -0
  827. package/helper-func-types.js +55 -0
  828. package/helpers.d.ts +82 -0
  829. package/helpers.js +143 -0
  830. package/ibc/applications/fee/v1/ack.d.ts +44 -0
  831. package/ibc/applications/fee/v1/ack.js +108 -0
  832. package/ibc/applications/fee/v1/fee.d.ts +160 -0
  833. package/ibc/applications/fee/v1/fee.js +397 -0
  834. package/ibc/applications/fee/v1/genesis.d.ts +220 -0
  835. package/ibc/applications/fee/v1/genesis.js +532 -0
  836. package/ibc/applications/fee/v1/metadata.d.ts +46 -0
  837. package/ibc/applications/fee/v1/metadata.js +95 -0
  838. package/ibc/applications/fee/v1/query.d.ts +737 -0
  839. package/ibc/applications/fee/v1/query.js +1732 -0
  840. package/ibc/applications/fee/v1/query.rpc.func.d.ts +22 -0
  841. package/ibc/applications/fee/v1/query.rpc.func.js +126 -0
  842. package/ibc/applications/fee/v1/tx.d.ts +318 -0
  843. package/ibc/applications/fee/v1/tx.js +714 -0
  844. package/ibc/applications/fee/v1/tx.registry.d.ts +59 -0
  845. package/ibc/applications/fee/v1/tx.registry.js +85 -0
  846. package/ibc/applications/fee/v1/tx.rpc.func.d.ts +10 -0
  847. package/ibc/applications/fee/v1/tx.rpc.func.js +47 -0
  848. package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +42 -0
  849. package/ibc/applications/interchain_accounts/controller/v1/controller.js +83 -0
  850. package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +133 -0
  851. package/ibc/applications/interchain_accounts/controller/v1/query.js +317 -0
  852. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.d.ts +6 -0
  853. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +30 -0
  854. package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +231 -0
  855. package/ibc/applications/interchain_accounts/controller/v1/tx.js +559 -0
  856. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +47 -0
  857. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +67 -0
  858. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +8 -0
  859. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +37 -0
  860. package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +196 -0
  861. package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +556 -0
  862. package/ibc/applications/interchain_accounts/host/v1/host.d.ts +102 -0
  863. package/ibc/applications/interchain_accounts/host/v1/host.js +189 -0
  864. package/ibc/applications/interchain_accounts/host/v1/query.d.ts +67 -0
  865. package/ibc/applications/interchain_accounts/host/v1/query.js +149 -0
  866. package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.d.ts +4 -0
  867. package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +18 -0
  868. package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +155 -0
  869. package/ibc/applications/interchain_accounts/host/v1/tx.js +348 -0
  870. package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +35 -0
  871. package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +49 -0
  872. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +6 -0
  873. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +27 -0
  874. package/ibc/applications/interchain_accounts/v1/account.d.ts +37 -0
  875. package/ibc/applications/interchain_accounts/v1/account.js +96 -0
  876. package/ibc/applications/interchain_accounts/v1/metadata.d.ts +68 -0
  877. package/ibc/applications/interchain_accounts/v1/metadata.js +143 -0
  878. package/ibc/applications/interchain_accounts/v1/packet.d.ts +85 -0
  879. package/ibc/applications/interchain_accounts/v1/packet.js +230 -0
  880. package/ibc/applications/transfer/v1/authz.d.ts +99 -0
  881. package/ibc/applications/transfer/v1/authz.js +222 -0
  882. package/ibc/applications/transfer/v1/genesis.d.ts +50 -0
  883. package/ibc/applications/transfer/v1/genesis.js +127 -0
  884. package/ibc/applications/transfer/v1/query.d.ts +449 -0
  885. package/ibc/applications/transfer/v1/query.js +958 -0
  886. package/ibc/applications/transfer/v1/query.rpc.func.d.ts +14 -0
  887. package/ibc/applications/transfer/v1/query.rpc.func.js +78 -0
  888. package/ibc/applications/transfer/v1/transfer.d.ts +112 -0
  889. package/ibc/applications/transfer/v1/transfer.js +185 -0
  890. package/ibc/applications/transfer/v1/tx.d.ts +202 -0
  891. package/ibc/applications/transfer/v1/tx.js +402 -0
  892. package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
  893. package/ibc/applications/transfer/v1/tx.registry.js +49 -0
  894. package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +6 -0
  895. package/ibc/applications/transfer/v1/tx.rpc.func.js +27 -0
  896. package/ibc/applications/transfer/v2/packet.d.ts +60 -0
  897. package/ibc/applications/transfer/v2/packet.js +131 -0
  898. package/ibc/core/channel/v1/channel.d.ts +547 -0
  899. package/ibc/core/channel/v1/channel.js +1167 -0
  900. package/ibc/core/channel/v1/genesis.d.ts +95 -0
  901. package/ibc/core/channel/v1/genesis.js +303 -0
  902. package/ibc/core/channel/v1/query.d.ts +1525 -0
  903. package/ibc/core/channel/v1/query.js +3399 -0
  904. package/ibc/core/channel/v1/query.rpc.func.d.ts +36 -0
  905. package/ibc/core/channel/v1/query.rpc.func.js +210 -0
  906. package/ibc/core/channel/v1/tx.d.ts +1490 -0
  907. package/ibc/core/channel/v1/tx.js +4027 -0
  908. package/ibc/core/channel/v1/tx.registry.d.ts +239 -0
  909. package/ibc/core/channel/v1/tx.registry.js +355 -0
  910. package/ibc/core/channel/v1/tx.rpc.func.d.ts +40 -0
  911. package/ibc/core/channel/v1/tx.rpc.func.js +197 -0
  912. package/ibc/core/channel/v1/upgrade.d.ts +139 -0
  913. package/ibc/core/channel/v1/upgrade.js +304 -0
  914. package/ibc/core/client/v1/client.d.ts +372 -0
  915. package/ibc/core/client/v1/client.js +675 -0
  916. package/ibc/core/client/v1/genesis.d.ts +147 -0
  917. package/ibc/core/client/v1/genesis.js +337 -0
  918. package/ibc/core/client/v1/query.d.ts +862 -0
  919. package/ibc/core/client/v1/query.js +1756 -0
  920. package/ibc/core/client/v1/query.rpc.func.d.ts +22 -0
  921. package/ibc/core/client/v1/query.rpc.func.js +126 -0
  922. package/ibc/core/client/v1/tx.d.ts +587 -0
  923. package/ibc/core/client/v1/tx.js +1202 -0
  924. package/ibc/core/client/v1/tx.registry.d.ts +95 -0
  925. package/ibc/core/client/v1/tx.registry.js +139 -0
  926. package/ibc/core/client/v1/tx.rpc.func.d.ts +16 -0
  927. package/ibc/core/client/v1/tx.rpc.func.js +77 -0
  928. package/ibc/core/commitment/v1/commitment.d.ts +165 -0
  929. package/ibc/core/commitment/v1/commitment.js +325 -0
  930. package/ibc/core/connection/v1/connection.d.ts +376 -0
  931. package/ibc/core/connection/v1/connection.js +781 -0
  932. package/ibc/core/connection/v1/genesis.d.ts +43 -0
  933. package/ibc/core/connection/v1/genesis.js +126 -0
  934. package/ibc/core/connection/v1/query.d.ts +518 -0
  935. package/ibc/core/connection/v1/query.js +1095 -0
  936. package/ibc/core/connection/v1/query.rpc.func.d.ts +14 -0
  937. package/ibc/core/connection/v1/query.rpc.func.js +78 -0
  938. package/ibc/core/connection/v1/tx.d.ts +457 -0
  939. package/ibc/core/connection/v1/tx.js +1087 -0
  940. package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
  941. package/ibc/core/connection/v1/tx.registry.js +103 -0
  942. package/ibc/core/connection/v1/tx.rpc.func.d.ts +12 -0
  943. package/ibc/core/connection/v1/tx.rpc.func.js +57 -0
  944. package/ibc/core/types/v1/genesis.d.ts +50 -0
  945. package/ibc/core/types/v1/genesis.js +110 -0
  946. package/ibc/lightclients/localhost/v2/localhost.d.ts +37 -0
  947. package/ibc/lightclients/localhost/v2/localhost.js +84 -0
  948. package/ibc/lightclients/solomachine/v2/solomachine.d.ts +711 -0
  949. package/ibc/lightclients/solomachine/v2/solomachine.js +1689 -0
  950. package/ibc/lightclients/solomachine/v3/solomachine.d.ts +357 -0
  951. package/ibc/lightclients/solomachine/v3/solomachine.js +847 -0
  952. package/ibc/lightclients/tendermint/v1/tendermint.d.ts +306 -0
  953. package/ibc/lightclients/tendermint/v1/tendermint.js +625 -0
  954. package/ibc/lightclients/wasm/v1/genesis.d.ts +70 -0
  955. package/ibc/lightclients/wasm/v1/genesis.js +165 -0
  956. package/ibc/lightclients/wasm/v1/query.d.ts +141 -0
  957. package/ibc/lightclients/wasm/v1/query.js +334 -0
  958. package/ibc/lightclients/wasm/v1/query.rpc.func.d.ts +6 -0
  959. package/ibc/lightclients/wasm/v1/query.rpc.func.js +30 -0
  960. package/ibc/lightclients/wasm/v1/tx.d.ts +218 -0
  961. package/ibc/lightclients/wasm/v1/tx.js +508 -0
  962. package/ibc/lightclients/wasm/v1/tx.registry.d.ts +47 -0
  963. package/ibc/lightclients/wasm/v1/tx.registry.js +67 -0
  964. package/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +8 -0
  965. package/ibc/lightclients/wasm/v1/tx.rpc.func.js +37 -0
  966. package/ibc/lightclients/wasm/v1/wasm.d.ts +163 -0
  967. package/ibc/lightclients/wasm/v1/wasm.js +346 -0
  968. package/package.json +3 -2
  969. package/react-query.d.ts +48 -0
  970. package/react-query.js +91 -0
  971. package/registry.d.ts +33 -0
  972. package/registry.js +158 -0
  973. package/tendermint/abci/types.d.ts +1843 -0
  974. package/tendermint/abci/types.js +5233 -0
  975. package/tendermint/crypto/keys.d.ts +34 -0
  976. package/tendermint/crypto/keys.js +88 -0
  977. package/tendermint/crypto/proof.d.ts +174 -0
  978. package/tendermint/crypto/proof.js +458 -0
  979. package/tendermint/p2p/types.d.ts +138 -0
  980. package/tendermint/p2p/types.js +430 -0
  981. package/tendermint/types/block.d.ts +38 -0
  982. package/tendermint/types/block.js +113 -0
  983. package/tendermint/types/evidence.d.ts +138 -0
  984. package/tendermint/types/evidence.js +403 -0
  985. package/tendermint/types/params.d.ts +323 -0
  986. package/tendermint/types/params.js +595 -0
  987. package/tendermint/types/types.d.ts +640 -0
  988. package/tendermint/types/types.js +1754 -0
  989. package/tendermint/types/validator.d.ts +113 -0
  990. package/tendermint/types/validator.js +342 -0
  991. package/tendermint/version/types.d.ts +82 -0
  992. package/tendermint/version/types.js +169 -0
  993. package/types.d.ts +124 -0
  994. package/types.js +7 -0
  995. package/utf8.d.ts +27 -0
  996. package/utf8.js +140 -0
  997. package/varint.d.ts +105 -0
  998. package/varint.js +425 -0
  999. package/xpla/reward/v1beta1/genesis.d.ts +35 -0
  1000. package/xpla/reward/v1beta1/genesis.js +76 -0
  1001. package/xpla/reward/v1beta1/query.d.ts +136 -0
  1002. package/xpla/reward/v1beta1/query.js +264 -0
  1003. package/xpla/reward/v1beta1/query.rpc.func.d.ts +6 -0
  1004. package/xpla/reward/v1beta1/query.rpc.func.js +30 -0
  1005. package/xpla/reward/v1beta1/reward.d.ts +42 -0
  1006. package/xpla/reward/v1beta1/reward.js +131 -0
  1007. package/xpla/reward/v1beta1/tx.d.ts +158 -0
  1008. package/xpla/reward/v1beta1/tx.js +304 -0
  1009. package/xpla/reward/v1beta1/tx.registry.d.ts +35 -0
  1010. package/xpla/reward/v1beta1/tx.registry.js +49 -0
  1011. package/xpla/reward/v1beta1/tx.rpc.func.d.ts +6 -0
  1012. package/xpla/reward/v1beta1/tx.rpc.func.js +27 -0
  1013. package/xpla/volunteer/v1beta1/genesis.d.ts +33 -0
  1014. package/xpla/volunteer/v1beta1/genesis.js +79 -0
  1015. package/xpla/volunteer/v1beta1/proposal.d.ts +183 -0
  1016. package/xpla/volunteer/v1beta1/proposal.js +537 -0
  1017. package/xpla/volunteer/v1beta1/query.d.ts +60 -0
  1018. package/xpla/volunteer/v1beta1/query.js +135 -0
  1019. package/xpla/volunteer/v1beta1/query.rpc.func.d.ts +4 -0
  1020. package/xpla/volunteer/v1beta1/query.rpc.func.js +18 -0
  1021. package/xpla/volunteer/v1beta1/tx.d.ts +168 -0
  1022. package/xpla/volunteer/v1beta1/tx.js +351 -0
  1023. package/xpla/volunteer/v1beta1/tx.registry.d.ts +35 -0
  1024. package/xpla/volunteer/v1beta1/tx.registry.js +49 -0
  1025. package/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +6 -0
  1026. package/xpla/volunteer/v1beta1/tx.rpc.func.js +27 -0
  1027. package/xpla/volunteer/v1beta1/volunteervalidator.d.ts +38 -0
  1028. package/xpla/volunteer/v1beta1/volunteervalidator.js +87 -0
  1029. package/CHANGELOG.md +0 -8
  1030. package/src/amino/amino.ts +0 -1
  1031. package/src/binary.ts +0 -534
  1032. package/src/cosmos/app/runtime/v1alpha1/module.ts +0 -423
  1033. package/src/cosmos/app/runtime/v2/module.ts +0 -589
  1034. package/src/cosmos/app/v1alpha1/config.ts +0 -422
  1035. package/src/cosmos/app/v1alpha1/module.ts +0 -461
  1036. package/src/cosmos/app/v1alpha1/query.rpc.func.ts +0 -14
  1037. package/src/cosmos/app/v1alpha1/query.ts +0 -177
  1038. package/src/cosmos/auth/module/v1/module.ts +0 -253
  1039. package/src/cosmos/auth/v1beta1/accounts.ts +0 -226
  1040. package/src/cosmos/auth/v1beta1/auth.ts +0 -550
  1041. package/src/cosmos/auth/v1beta1/genesis.ts +0 -119
  1042. package/src/cosmos/auth/v1beta1/query.rpc.func.ts +0 -113
  1043. package/src/cosmos/auth/v1beta1/query.ts +0 -2034
  1044. package/src/cosmos/auth/v1beta1/tx.registry.ts +0 -29
  1045. package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +0 -13
  1046. package/src/cosmos/auth/v1beta1/tx.ts +0 -219
  1047. package/src/cosmos/authz/module/v1/module.ts +0 -80
  1048. package/src/cosmos/authz/v1beta1/authz.ts +0 -481
  1049. package/src/cosmos/authz/v1beta1/event.ts +0 -259
  1050. package/src/cosmos/authz/v1beta1/genesis.ts +0 -100
  1051. package/src/cosmos/authz/v1beta1/query.rpc.func.ts +0 -36
  1052. package/src/cosmos/authz/v1beta1/query.ts +0 -707
  1053. package/src/cosmos/authz/v1beta1/tx.registry.ts +0 -65
  1054. package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +0 -31
  1055. package/src/cosmos/authz/v1beta1/tx.ts +0 -647
  1056. package/src/cosmos/autocli/v1/options.ts +0 -1145
  1057. package/src/cosmos/autocli/v1/query.rpc.func.ts +0 -14
  1058. package/src/cosmos/autocli/v1/query.ts +0 -288
  1059. package/src/cosmos/bank/module/v1/module.ts +0 -153
  1060. package/src/cosmos/bank/v1beta1/authz.ts +0 -138
  1061. package/src/cosmos/bank/v1beta1/bank.ts +0 -974
  1062. package/src/cosmos/bank/v1beta1/genesis.ts +0 -307
  1063. package/src/cosmos/bank/v1beta1/query.rpc.func.ts +0 -146
  1064. package/src/cosmos/bank/v1beta1/query.ts +0 -3027
  1065. package/src/cosmos/bank/v1beta1/tx.registry.ts +0 -83
  1066. package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +0 -40
  1067. package/src/cosmos/bank/v1beta1/tx.ts +0 -861
  1068. package/src/cosmos/base/abci/v1beta1/abci.ts +0 -1698
  1069. package/src/cosmos/base/grpc/v2/service.rpc.func.ts +0 -25
  1070. package/src/cosmos/base/grpc/v2/service.ts +0 -473
  1071. package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +0 -25
  1072. package/src/cosmos/base/node/v1beta1/query.ts +0 -454
  1073. package/src/cosmos/base/query/v1beta1/pagination.ts +0 -361
  1074. package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +0 -25
  1075. package/src/cosmos/base/reflection/v1beta1/reflection.ts +0 -382
  1076. package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +0 -69
  1077. package/src/cosmos/base/reflection/v2alpha1/reflection.ts +0 -2727
  1078. package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +0 -80
  1079. package/src/cosmos/base/tendermint/v1beta1/query.ts +0 -2302
  1080. package/src/cosmos/base/tendermint/v1beta1/types.ts +0 -455
  1081. package/src/cosmos/base/v1beta1/coin.ts +0 -439
  1082. package/src/cosmos/circuit/module/v1/module.ts +0 -99
  1083. package/src/cosmos/circuit/v1/query.rpc.func.ts +0 -36
  1084. package/src/cosmos/circuit/v1/query.ts +0 -574
  1085. package/src/cosmos/circuit/v1/tx.registry.ts +0 -65
  1086. package/src/cosmos/circuit/v1/tx.rpc.func.ts +0 -31
  1087. package/src/cosmos/circuit/v1/tx.ts +0 -676
  1088. package/src/cosmos/circuit/v1/types.ts +0 -413
  1089. package/src/cosmos/consensus/module/v1/module.ts +0 -99
  1090. package/src/cosmos/consensus/v1/query.rpc.func.ts +0 -14
  1091. package/src/cosmos/consensus/v1/query.ts +0 -185
  1092. package/src/cosmos/consensus/v1/tx.registry.ts +0 -29
  1093. package/src/cosmos/consensus/v1/tx.rpc.func.ts +0 -13
  1094. package/src/cosmos/consensus/v1/tx.ts +0 -255
  1095. package/src/cosmos/crisis/module/v1/module.ts +0 -115
  1096. package/src/cosmos/crisis/v1beta1/genesis.ts +0 -106
  1097. package/src/cosmos/crisis/v1beta1/tx.registry.ts +0 -47
  1098. package/src/cosmos/crisis/v1beta1/tx.rpc.func.ts +0 -22
  1099. package/src/cosmos/crisis/v1beta1/tx.ts +0 -416
  1100. package/src/cosmos/crypto/ed25519/keys.ts +0 -209
  1101. package/src/cosmos/crypto/hd/v1/hd.ts +0 -169
  1102. package/src/cosmos/crypto/keyring/v1/record.ts +0 -529
  1103. package/src/cosmos/crypto/multisig/keys.ts +0 -122
  1104. package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -225
  1105. package/src/cosmos/crypto/secp256k1/keys.ts +0 -203
  1106. package/src/cosmos/crypto/secp256r1/keys.ts +0 -201
  1107. package/src/cosmos/distribution/module/v1/module.ts +0 -113
  1108. package/src/cosmos/distribution/v1beta1/distribution.ts +0 -1494
  1109. package/src/cosmos/distribution/v1beta1/genesis.ts +0 -1129
  1110. package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +0 -113
  1111. package/src/cosmos/distribution/v1beta1/query.ts +0 -2126
  1112. package/src/cosmos/distribution/v1beta1/tx.registry.ts +0 -137
  1113. package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +0 -67
  1114. package/src/cosmos/distribution/v1beta1/tx.ts +0 -1478
  1115. package/src/cosmos/evidence/module/v1/module.ts +0 -80
  1116. package/src/cosmos/evidence/v1beta1/evidence.ts +0 -154
  1117. package/src/cosmos/evidence/v1beta1/genesis.ts +0 -102
  1118. package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +0 -25
  1119. package/src/cosmos/evidence/v1beta1/query.ts +0 -451
  1120. package/src/cosmos/evidence/v1beta1/tx.registry.ts +0 -29
  1121. package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +0 -13
  1122. package/src/cosmos/evidence/v1beta1/tx.ts +0 -221
  1123. package/src/cosmos/feegrant/module/v1/module.ts +0 -80
  1124. package/src/cosmos/feegrant/v1beta1/feegrant.ts +0 -573
  1125. package/src/cosmos/feegrant/v1beta1/genesis.ts +0 -100
  1126. package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +0 -36
  1127. package/src/cosmos/feegrant/v1beta1/query.ts +0 -677
  1128. package/src/cosmos/feegrant/v1beta1/tx.registry.ts +0 -65
  1129. package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +0 -31
  1130. package/src/cosmos/feegrant/v1beta1/tx.ts +0 -597
  1131. package/src/cosmos/genutil/module/v1/module.ts +0 -80
  1132. package/src/cosmos/genutil/v1beta1/genesis.ts +0 -101
  1133. package/src/cosmos/gov/module/v1/module.ts +0 -121
  1134. package/src/cosmos/gov/v1/genesis.ts +0 -280
  1135. package/src/cosmos/gov/v1/gov.ts +0 -1843
  1136. package/src/cosmos/gov/v1/query.rpc.func.ts +0 -102
  1137. package/src/cosmos/gov/v1/query.ts +0 -1970
  1138. package/src/cosmos/gov/v1/tx.registry.ts +0 -137
  1139. package/src/cosmos/gov/v1/tx.rpc.func.ts +0 -67
  1140. package/src/cosmos/gov/v1/tx.ts +0 -1657
  1141. package/src/cosmos/gov/v1beta1/genesis.ts +0 -202
  1142. package/src/cosmos/gov/v1beta1/gov.ts +0 -1425
  1143. package/src/cosmos/gov/v1beta1/query.rpc.func.ts +0 -91
  1144. package/src/cosmos/gov/v1beta1/query.ts +0 -1749
  1145. package/src/cosmos/gov/v1beta1/tx.registry.ts +0 -83
  1146. package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +0 -40
  1147. package/src/cosmos/gov/v1beta1/tx.ts +0 -881
  1148. package/src/cosmos/group/module/v1/module.ts +0 -128
  1149. package/src/cosmos/group/v1/events.ts +0 -1044
  1150. package/src/cosmos/group/v1/genesis.ts +0 -240
  1151. package/src/cosmos/group/v1/query.rpc.func.ts +0 -157
  1152. package/src/cosmos/group/v1/query.ts +0 -3015
  1153. package/src/cosmos/group/v1/tx.registry.ts +0 -263
  1154. package/src/cosmos/group/v1/tx.rpc.func.ts +0 -130
  1155. package/src/cosmos/group/v1/tx.ts +0 -3207
  1156. package/src/cosmos/group/v1/types.ts +0 -2081
  1157. package/src/cosmos/ics23/v1/proofs.ts +0 -2060
  1158. package/src/cosmos/mint/module/v1/module.ts +0 -113
  1159. package/src/cosmos/mint/v1beta1/genesis.ts +0 -116
  1160. package/src/cosmos/mint/v1beta1/mint.ts +0 -291
  1161. package/src/cosmos/mint/v1beta1/query.rpc.func.ts +0 -36
  1162. package/src/cosmos/mint/v1beta1/query.ts +0 -541
  1163. package/src/cosmos/mint/v1beta1/tx.registry.ts +0 -29
  1164. package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +0 -13
  1165. package/src/cosmos/mint/v1beta1/tx.ts +0 -219
  1166. package/src/cosmos/msg/textual/v1/textual.ts +0 -1
  1167. package/src/cosmos/msg/v1/msg.ts +0 -1
  1168. package/src/cosmos/nft/module/v1/module.ts +0 -80
  1169. package/src/cosmos/nft/v1beta1/event.ts +0 -403
  1170. package/src/cosmos/nft/v1beta1/genesis.ts +0 -234
  1171. package/src/cosmos/nft/v1beta1/nft.ts +0 -356
  1172. package/src/cosmos/nft/v1beta1/query.rpc.func.ts +0 -80
  1173. package/src/cosmos/nft/v1beta1/query.ts +0 -1465
  1174. package/src/cosmos/nft/v1beta1/tx.registry.ts +0 -29
  1175. package/src/cosmos/nft/v1beta1/tx.rpc.func.ts +0 -13
  1176. package/src/cosmos/nft/v1beta1/tx.ts +0 -224
  1177. package/src/cosmos/orm/module/v1alpha1/module.ts +0 -88
  1178. package/src/cosmos/orm/query/v1alpha1/query.rpc.func.ts +0 -25
  1179. package/src/cosmos/orm/query/v1alpha1/query.ts +0 -993
  1180. package/src/cosmos/orm/v1/orm.ts +0 -589
  1181. package/src/cosmos/orm/v1alpha1/schema.ts +0 -325
  1182. package/src/cosmos/params/module/v1/module.ts +0 -80
  1183. package/src/cosmos/params/v1beta1/params.ts +0 -255
  1184. package/src/cosmos/params/v1beta1/query.rpc.func.ts +0 -25
  1185. package/src/cosmos/params/v1beta1/query.ts +0 -525
  1186. package/src/cosmos/query/v1/query.ts +0 -1
  1187. package/src/cosmos/reflection/v1/reflection.rpc.func.ts +0 -14
  1188. package/src/cosmos/reflection/v1/reflection.ts +0 -179
  1189. package/src/cosmos/slashing/module/v1/module.ts +0 -99
  1190. package/src/cosmos/slashing/v1beta1/genesis.ts +0 -492
  1191. package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +0 -36
  1192. package/src/cosmos/slashing/v1beta1/query.ts +0 -598
  1193. package/src/cosmos/slashing/v1beta1/slashing.ts +0 -357
  1194. package/src/cosmos/slashing/v1beta1/tx.registry.ts +0 -47
  1195. package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +0 -22
  1196. package/src/cosmos/slashing/v1beta1/tx.ts +0 -390
  1197. package/src/cosmos/staking/module/v1/module.ts +0 -157
  1198. package/src/cosmos/staking/v1beta1/authz.ts +0 -323
  1199. package/src/cosmos/staking/v1beta1/genesis.ts +0 -346
  1200. package/src/cosmos/staking/v1beta1/query.rpc.func.ts +0 -157
  1201. package/src/cosmos/staking/v1beta1/query.ts +0 -3073
  1202. package/src/cosmos/staking/v1beta1/staking.ts +0 -3005
  1203. package/src/cosmos/staking/v1beta1/tx.registry.ts +0 -137
  1204. package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +0 -67
  1205. package/src/cosmos/staking/v1beta1/tx.ts +0 -1638
  1206. package/src/cosmos/store/internal/kv/v1beta1/kv.ts +0 -207
  1207. package/src/cosmos/store/snapshots/v1/snapshot.ts +0 -863
  1208. package/src/cosmos/store/snapshots/v2/snapshot.ts +0 -823
  1209. package/src/cosmos/store/streaming/abci/grpc.ts +0 -393
  1210. package/src/cosmos/store/v1beta1/commit_info.ts +0 -362
  1211. package/src/cosmos/store/v1beta1/listening.ts +0 -286
  1212. package/src/cosmos/streaming/v1/grpc.ts +0 -985
  1213. package/src/cosmos/tx/config/v1/config.ts +0 -127
  1214. package/src/cosmos/tx/signing/v1beta1/signing.ts +0 -688
  1215. package/src/cosmos/tx/v1beta1/service.rpc.func.ts +0 -102
  1216. package/src/cosmos/tx/v1beta1/service.ts +0 -2294
  1217. package/src/cosmos/tx/v1beta1/tx.ts +0 -2029
  1218. package/src/cosmos/upgrade/module/v1/module.ts +0 -99
  1219. package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +0 -58
  1220. package/src/cosmos/upgrade/v1beta1/query.ts +0 -1016
  1221. package/src/cosmos/upgrade/v1beta1/tx.registry.ts +0 -47
  1222. package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +0 -22
  1223. package/src/cosmos/upgrade/v1beta1/tx.ts +0 -398
  1224. package/src/cosmos/upgrade/v1beta1/upgrade.ts +0 -591
  1225. package/src/cosmos/validate/module/v1/module.ts +0 -80
  1226. package/src/cosmos/vesting/module/v1/module.ts +0 -80
  1227. package/src/cosmos/vesting/v1beta1/tx.registry.ts +0 -65
  1228. package/src/cosmos/vesting/v1beta1/tx.rpc.func.ts +0 -31
  1229. package/src/cosmos/vesting/v1beta1/tx.ts +0 -698
  1230. package/src/cosmos/vesting/v1beta1/vesting.ts +0 -735
  1231. package/src/cosmos_proto/cosmos.ts +0 -341
  1232. package/src/cosmwasm/wasm/v1/authz.ts +0 -1231
  1233. package/src/cosmwasm/wasm/v1/genesis.ts +0 -532
  1234. package/src/cosmwasm/wasm/v1/ibc.ts +0 -355
  1235. package/src/cosmwasm/wasm/v1/proposal_legacy.ts +0 -2432
  1236. package/src/cosmwasm/wasm/v1/query.rpc.func.ts +0 -124
  1237. package/src/cosmwasm/wasm/v1/query.ts +0 -2560
  1238. package/src/cosmwasm/wasm/v1/tx.registry.ts +0 -317
  1239. package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +0 -157
  1240. package/src/cosmwasm/wasm/v1/tx.ts +0 -4191
  1241. package/src/cosmwasm/wasm/v1/types.ts +0 -1120
  1242. package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +0 -193
  1243. package/src/ethermint/evm/v1/events.ts +0 -485
  1244. package/src/ethermint/evm/v1/evm.ts +0 -1590
  1245. package/src/ethermint/evm/v1/genesis.ts +0 -240
  1246. package/src/ethermint/evm/v1/query.rpc.func.ts +0 -136
  1247. package/src/ethermint/evm/v1/query.ts +0 -2535
  1248. package/src/ethermint/evm/v1/tx.registry.ts +0 -47
  1249. package/src/ethermint/evm/v1/tx.rpc.func.ts +0 -22
  1250. package/src/ethermint/evm/v1/tx.ts +0 -1333
  1251. package/src/ethermint/feemarket/v1/events.ts +0 -195
  1252. package/src/ethermint/feemarket/v1/feemarket.ts +0 -213
  1253. package/src/ethermint/feemarket/v1/genesis.ts +0 -114
  1254. package/src/ethermint/feemarket/v1/query.rpc.func.ts +0 -36
  1255. package/src/ethermint/feemarket/v1/query.ts +0 -487
  1256. package/src/ethermint/feemarket/v1/tx.registry.ts +0 -29
  1257. package/src/ethermint/feemarket/v1/tx.rpc.func.ts +0 -13
  1258. package/src/ethermint/feemarket/v1/tx.ts +0 -197
  1259. package/src/ethermint/types/v1/account.ts +0 -114
  1260. package/src/ethermint/types/v1/dynamic_fee.ts +0 -91
  1261. package/src/ethermint/types/v1/indexer.ts +0 -205
  1262. package/src/ethermint/types/v1/web3.ts +0 -147
  1263. package/src/extern.ts +0 -38
  1264. package/src/gogoproto/gogo.ts +0 -1
  1265. package/src/google/api/annotations.ts +0 -1
  1266. package/src/google/api/http.ts +0 -1069
  1267. package/src/google/protobuf/any.ts +0 -331
  1268. package/src/google/protobuf/descriptor.ts +0 -7177
  1269. package/src/google/protobuf/duration.ts +0 -225
  1270. package/src/google/protobuf/timestamp.ts +0 -281
  1271. package/src/helper-func-types.ts +0 -191
  1272. package/src/helpers.ts +0 -259
  1273. package/src/ibc/applications/fee/v1/ack.ts +0 -131
  1274. package/src/ibc/applications/fee/v1/fee.ts +0 -481
  1275. package/src/ibc/applications/fee/v1/genesis.ts +0 -661
  1276. package/src/ibc/applications/fee/v1/metadata.ts +0 -121
  1277. package/src/ibc/applications/fee/v1/query.rpc.func.ts +0 -113
  1278. package/src/ibc/applications/fee/v1/query.ts +0 -2134
  1279. package/src/ibc/applications/fee/v1/tx.registry.ts +0 -83
  1280. package/src/ibc/applications/fee/v1/tx.rpc.func.ts +0 -40
  1281. package/src/ibc/applications/fee/v1/tx.ts +0 -889
  1282. package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -105
  1283. package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +0 -25
  1284. package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -379
  1285. package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +0 -65
  1286. package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +0 -31
  1287. package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +0 -685
  1288. package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +0 -661
  1289. package/src/ibc/applications/interchain_accounts/host/v1/host.ts +0 -253
  1290. package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +0 -14
  1291. package/src/ibc/applications/interchain_accounts/host/v1/query.ts +0 -177
  1292. package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +0 -47
  1293. package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +0 -22
  1294. package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +0 -429
  1295. package/src/ibc/applications/interchain_accounts/v1/account.ts +0 -112
  1296. package/src/ibc/applications/interchain_accounts/v1/metadata.ts +0 -191
  1297. package/src/ibc/applications/interchain_accounts/v1/packet.ts +0 -259
  1298. package/src/ibc/applications/transfer/v1/authz.ts +0 -280
  1299. package/src/ibc/applications/transfer/v1/genesis.ts +0 -153
  1300. package/src/ibc/applications/transfer/v1/query.rpc.func.ts +0 -69
  1301. package/src/ibc/applications/transfer/v1/query.ts +0 -1205
  1302. package/src/ibc/applications/transfer/v1/transfer.ts +0 -261
  1303. package/src/ibc/applications/transfer/v1/tx.registry.ts +0 -47
  1304. package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +0 -22
  1305. package/src/ibc/applications/transfer/v1/tx.ts +0 -532
  1306. package/src/ibc/applications/transfer/v2/packet.ts +0 -171
  1307. package/src/ibc/core/channel/v1/channel.ts +0 -1510
  1308. package/src/ibc/core/channel/v1/genesis.ts +0 -354
  1309. package/src/ibc/core/channel/v1/query.rpc.func.ts +0 -190
  1310. package/src/ibc/core/channel/v1/query.ts +0 -4354
  1311. package/src/ibc/core/channel/v1/tx.registry.ts +0 -353
  1312. package/src/ibc/core/channel/v1/tx.rpc.func.ts +0 -175
  1313. package/src/ibc/core/channel/v1/tx.ts +0 -4866
  1314. package/src/ibc/core/channel/v1/upgrade.ts +0 -388
  1315. package/src/ibc/core/client/v1/client.ts +0 -927
  1316. package/src/ibc/core/client/v1/genesis.ts +0 -426
  1317. package/src/ibc/core/client/v1/query.rpc.func.ts +0 -113
  1318. package/src/ibc/core/client/v1/query.ts +0 -2280
  1319. package/src/ibc/core/client/v1/tx.registry.ts +0 -137
  1320. package/src/ibc/core/client/v1/tx.rpc.func.ts +0 -67
  1321. package/src/ibc/core/client/v1/tx.ts +0 -1543
  1322. package/src/ibc/core/commitment/v1/commitment.ts +0 -418
  1323. package/src/ibc/core/connection/v1/connection.ts +0 -1010
  1324. package/src/ibc/core/connection/v1/genesis.ts +0 -146
  1325. package/src/ibc/core/connection/v1/query.rpc.func.ts +0 -69
  1326. package/src/ibc/core/connection/v1/query.ts +0 -1408
  1327. package/src/ibc/core/connection/v1/tx.registry.ts +0 -101
  1328. package/src/ibc/core/connection/v1/tx.rpc.func.ts +0 -49
  1329. package/src/ibc/core/connection/v1/tx.ts +0 -1365
  1330. package/src/ibc/core/types/v1/genesis.ts +0 -137
  1331. package/src/ibc/lightclients/localhost/v2/localhost.ts +0 -100
  1332. package/src/ibc/lightclients/solomachine/v2/solomachine.ts +0 -2103
  1333. package/src/ibc/lightclients/solomachine/v3/solomachine.ts +0 -1070
  1334. package/src/ibc/lightclients/tendermint/v1/tendermint.ts +0 -838
  1335. package/src/ibc/lightclients/wasm/v1/genesis.ts +0 -197
  1336. package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +0 -25
  1337. package/src/ibc/lightclients/wasm/v1/query.ts +0 -404
  1338. package/src/ibc/lightclients/wasm/v1/tx.registry.ts +0 -65
  1339. package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +0 -31
  1340. package/src/ibc/lightclients/wasm/v1/tx.ts +0 -621
  1341. package/src/ibc/lightclients/wasm/v1/wasm.ts +0 -438
  1342. package/src/react-query.ts +0 -185
  1343. package/src/registry.ts +0 -218
  1344. package/src/tendermint/abci/types.ts +0 -6283
  1345. package/src/tendermint/crypto/keys.ts +0 -103
  1346. package/src/tendermint/crypto/proof.ts +0 -555
  1347. package/src/tendermint/p2p/types.ts +0 -507
  1348. package/src/tendermint/types/block.ts +0 -131
  1349. package/src/tendermint/types/evidence.ts +0 -476
  1350. package/src/tendermint/types/params.ts +0 -814
  1351. package/src/tendermint/types/types.ts +0 -2157
  1352. package/src/tendermint/types/validator.ts +0 -389
  1353. package/src/tendermint/version/types.ts +0 -219
  1354. package/src/types.ts +0 -155
  1355. package/src/utf8.ts +0 -148
  1356. package/src/varint.ts +0 -488
  1357. package/src/xpla/reward/v1beta1/genesis.ts +0 -92
  1358. package/src/xpla/reward/v1beta1/query.rpc.func.ts +0 -25
  1359. package/src/xpla/reward/v1beta1/query.ts +0 -333
  1360. package/src/xpla/reward/v1beta1/reward.ts +0 -153
  1361. package/src/xpla/reward/v1beta1/tx.registry.ts +0 -47
  1362. package/src/xpla/reward/v1beta1/tx.rpc.func.ts +0 -22
  1363. package/src/xpla/reward/v1beta1/tx.ts +0 -391
  1364. package/src/xpla/volunteer/v1beta1/genesis.ts +0 -92
  1365. package/src/xpla/volunteer/v1beta1/proposal.ts +0 -649
  1366. package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +0 -14
  1367. package/src/xpla/volunteer/v1beta1/query.ts +0 -160
  1368. package/src/xpla/volunteer/v1beta1/tx.registry.ts +0 -47
  1369. package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +0 -22
  1370. package/src/xpla/volunteer/v1beta1/tx.ts +0 -448
  1371. package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +0 -107
  1372. package/tsconfig.esm.json +0 -10
  1373. package/tsconfig.json +0 -10
@@ -0,0 +1,1659 @@
1
+ import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
2
+ import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution";
3
+ import { DecCoin } from "../../base/v1beta1/coin";
4
+ import { BinaryReader, BinaryWriter } from "../../../binary";
5
+ import { GlobalDecoderRegistry } from "../../../registry";
6
+ function createBaseQueryParamsRequest() {
7
+ return {};
8
+ }
9
+ export const QueryParamsRequest = {
10
+ typeUrl: "/cosmos.distribution.v1beta1.QueryParamsRequest",
11
+ aminoType: "cosmos-sdk/QueryParamsRequest",
12
+ is(o) {
13
+ return o && o.$typeUrl === QueryParamsRequest.typeUrl;
14
+ },
15
+ isAmino(o) {
16
+ return o && o.$typeUrl === QueryParamsRequest.typeUrl;
17
+ },
18
+ encode(_, writer = BinaryWriter.create()) {
19
+ return writer;
20
+ },
21
+ decode(input, length) {
22
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
23
+ let end = length === undefined ? reader.len : reader.pos + length;
24
+ const message = createBaseQueryParamsRequest();
25
+ while (reader.pos < end) {
26
+ const tag = reader.uint32();
27
+ switch (tag >>> 3) {
28
+ default:
29
+ reader.skipType(tag & 7);
30
+ break;
31
+ }
32
+ }
33
+ return message;
34
+ },
35
+ fromPartial(_) {
36
+ const message = createBaseQueryParamsRequest();
37
+ return message;
38
+ },
39
+ fromAmino(_) {
40
+ const message = createBaseQueryParamsRequest();
41
+ return message;
42
+ },
43
+ toAmino(_) {
44
+ const obj = {};
45
+ return obj;
46
+ },
47
+ fromAminoMsg(object) {
48
+ return QueryParamsRequest.fromAmino(object.value);
49
+ },
50
+ toAminoMsg(message) {
51
+ return {
52
+ type: "cosmos-sdk/QueryParamsRequest",
53
+ value: QueryParamsRequest.toAmino(message)
54
+ };
55
+ },
56
+ fromProtoMsg(message) {
57
+ return QueryParamsRequest.decode(message.value);
58
+ },
59
+ toProto(message) {
60
+ return QueryParamsRequest.encode(message).finish();
61
+ },
62
+ toProtoMsg(message) {
63
+ return {
64
+ typeUrl: "/cosmos.distribution.v1beta1.QueryParamsRequest",
65
+ value: QueryParamsRequest.encode(message).finish()
66
+ };
67
+ }
68
+ };
69
+ GlobalDecoderRegistry.register(QueryParamsRequest.typeUrl, QueryParamsRequest);
70
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryParamsRequest.aminoType, QueryParamsRequest.typeUrl);
71
+ function createBaseQueryParamsResponse() {
72
+ return {
73
+ params: Params.fromPartial({})
74
+ };
75
+ }
76
+ export const QueryParamsResponse = {
77
+ typeUrl: "/cosmos.distribution.v1beta1.QueryParamsResponse",
78
+ aminoType: "cosmos-sdk/QueryParamsResponse",
79
+ is(o) {
80
+ return o && (o.$typeUrl === QueryParamsResponse.typeUrl || Params.is(o.params));
81
+ },
82
+ isAmino(o) {
83
+ return o && (o.$typeUrl === QueryParamsResponse.typeUrl || Params.isAmino(o.params));
84
+ },
85
+ encode(message, writer = BinaryWriter.create()) {
86
+ if (message.params !== undefined) {
87
+ Params.encode(message.params, writer.uint32(10).fork()).ldelim();
88
+ }
89
+ return writer;
90
+ },
91
+ decode(input, length) {
92
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
93
+ let end = length === undefined ? reader.len : reader.pos + length;
94
+ const message = createBaseQueryParamsResponse();
95
+ while (reader.pos < end) {
96
+ const tag = reader.uint32();
97
+ switch (tag >>> 3) {
98
+ case 1:
99
+ message.params = Params.decode(reader, reader.uint32());
100
+ break;
101
+ default:
102
+ reader.skipType(tag & 7);
103
+ break;
104
+ }
105
+ }
106
+ return message;
107
+ },
108
+ fromPartial(object) {
109
+ const message = createBaseQueryParamsResponse();
110
+ message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
111
+ return message;
112
+ },
113
+ fromAmino(object) {
114
+ const message = createBaseQueryParamsResponse();
115
+ if (object.params !== undefined && object.params !== null) {
116
+ message.params = Params.fromAmino(object.params);
117
+ }
118
+ return message;
119
+ },
120
+ toAmino(message) {
121
+ const obj = {};
122
+ obj.params = message.params ? Params.toAmino(message.params) : Params.toAmino(Params.fromPartial({}));
123
+ return obj;
124
+ },
125
+ fromAminoMsg(object) {
126
+ return QueryParamsResponse.fromAmino(object.value);
127
+ },
128
+ toAminoMsg(message) {
129
+ return {
130
+ type: "cosmos-sdk/QueryParamsResponse",
131
+ value: QueryParamsResponse.toAmino(message)
132
+ };
133
+ },
134
+ fromProtoMsg(message) {
135
+ return QueryParamsResponse.decode(message.value);
136
+ },
137
+ toProto(message) {
138
+ return QueryParamsResponse.encode(message).finish();
139
+ },
140
+ toProtoMsg(message) {
141
+ return {
142
+ typeUrl: "/cosmos.distribution.v1beta1.QueryParamsResponse",
143
+ value: QueryParamsResponse.encode(message).finish()
144
+ };
145
+ }
146
+ };
147
+ GlobalDecoderRegistry.register(QueryParamsResponse.typeUrl, QueryParamsResponse);
148
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryParamsResponse.aminoType, QueryParamsResponse.typeUrl);
149
+ function createBaseQueryValidatorDistributionInfoRequest() {
150
+ return {
151
+ validatorAddress: ""
152
+ };
153
+ }
154
+ export const QueryValidatorDistributionInfoRequest = {
155
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest",
156
+ aminoType: "cosmos-sdk/QueryValidatorDistributionInfoRequest",
157
+ is(o) {
158
+ return o && (o.$typeUrl === QueryValidatorDistributionInfoRequest.typeUrl || typeof o.validatorAddress === "string");
159
+ },
160
+ isAmino(o) {
161
+ return o && (o.$typeUrl === QueryValidatorDistributionInfoRequest.typeUrl || typeof o.validator_address === "string");
162
+ },
163
+ encode(message, writer = BinaryWriter.create()) {
164
+ if (message.validatorAddress !== "") {
165
+ writer.uint32(10).string(message.validatorAddress);
166
+ }
167
+ return writer;
168
+ },
169
+ decode(input, length) {
170
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
171
+ let end = length === undefined ? reader.len : reader.pos + length;
172
+ const message = createBaseQueryValidatorDistributionInfoRequest();
173
+ while (reader.pos < end) {
174
+ const tag = reader.uint32();
175
+ switch (tag >>> 3) {
176
+ case 1:
177
+ message.validatorAddress = reader.string();
178
+ break;
179
+ default:
180
+ reader.skipType(tag & 7);
181
+ break;
182
+ }
183
+ }
184
+ return message;
185
+ },
186
+ fromPartial(object) {
187
+ const message = createBaseQueryValidatorDistributionInfoRequest();
188
+ message.validatorAddress = object.validatorAddress ?? "";
189
+ return message;
190
+ },
191
+ fromAmino(object) {
192
+ const message = createBaseQueryValidatorDistributionInfoRequest();
193
+ if (object.validator_address !== undefined && object.validator_address !== null) {
194
+ message.validatorAddress = object.validator_address;
195
+ }
196
+ return message;
197
+ },
198
+ toAmino(message) {
199
+ const obj = {};
200
+ obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
201
+ return obj;
202
+ },
203
+ fromAminoMsg(object) {
204
+ return QueryValidatorDistributionInfoRequest.fromAmino(object.value);
205
+ },
206
+ toAminoMsg(message) {
207
+ return {
208
+ type: "cosmos-sdk/QueryValidatorDistributionInfoRequest",
209
+ value: QueryValidatorDistributionInfoRequest.toAmino(message)
210
+ };
211
+ },
212
+ fromProtoMsg(message) {
213
+ return QueryValidatorDistributionInfoRequest.decode(message.value);
214
+ },
215
+ toProto(message) {
216
+ return QueryValidatorDistributionInfoRequest.encode(message).finish();
217
+ },
218
+ toProtoMsg(message) {
219
+ return {
220
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest",
221
+ value: QueryValidatorDistributionInfoRequest.encode(message).finish()
222
+ };
223
+ }
224
+ };
225
+ GlobalDecoderRegistry.register(QueryValidatorDistributionInfoRequest.typeUrl, QueryValidatorDistributionInfoRequest);
226
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryValidatorDistributionInfoRequest.aminoType, QueryValidatorDistributionInfoRequest.typeUrl);
227
+ function createBaseQueryValidatorDistributionInfoResponse() {
228
+ return {
229
+ operatorAddress: "",
230
+ selfBondRewards: [],
231
+ commission: []
232
+ };
233
+ }
234
+ export const QueryValidatorDistributionInfoResponse = {
235
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse",
236
+ aminoType: "cosmos-sdk/QueryValidatorDistributionInfoResponse",
237
+ is(o) {
238
+ return o && (o.$typeUrl === QueryValidatorDistributionInfoResponse.typeUrl || typeof o.operatorAddress === "string" && Array.isArray(o.selfBondRewards) && (!o.selfBondRewards.length || DecCoin.is(o.selfBondRewards[0])) && Array.isArray(o.commission) && (!o.commission.length || DecCoin.is(o.commission[0])));
239
+ },
240
+ isAmino(o) {
241
+ return o && (o.$typeUrl === QueryValidatorDistributionInfoResponse.typeUrl || typeof o.operator_address === "string" && Array.isArray(o.self_bond_rewards) && (!o.self_bond_rewards.length || DecCoin.isAmino(o.self_bond_rewards[0])) && Array.isArray(o.commission) && (!o.commission.length || DecCoin.isAmino(o.commission[0])));
242
+ },
243
+ encode(message, writer = BinaryWriter.create()) {
244
+ if (message.operatorAddress !== "") {
245
+ writer.uint32(10).string(message.operatorAddress);
246
+ }
247
+ for (const v of message.selfBondRewards) {
248
+ DecCoin.encode(v, writer.uint32(18).fork()).ldelim();
249
+ }
250
+ for (const v of message.commission) {
251
+ DecCoin.encode(v, writer.uint32(26).fork()).ldelim();
252
+ }
253
+ return writer;
254
+ },
255
+ decode(input, length) {
256
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
257
+ let end = length === undefined ? reader.len : reader.pos + length;
258
+ const message = createBaseQueryValidatorDistributionInfoResponse();
259
+ while (reader.pos < end) {
260
+ const tag = reader.uint32();
261
+ switch (tag >>> 3) {
262
+ case 1:
263
+ message.operatorAddress = reader.string();
264
+ break;
265
+ case 2:
266
+ message.selfBondRewards.push(DecCoin.decode(reader, reader.uint32()));
267
+ break;
268
+ case 3:
269
+ message.commission.push(DecCoin.decode(reader, reader.uint32()));
270
+ break;
271
+ default:
272
+ reader.skipType(tag & 7);
273
+ break;
274
+ }
275
+ }
276
+ return message;
277
+ },
278
+ fromPartial(object) {
279
+ const message = createBaseQueryValidatorDistributionInfoResponse();
280
+ message.operatorAddress = object.operatorAddress ?? "";
281
+ message.selfBondRewards = object.selfBondRewards?.map(e => DecCoin.fromPartial(e)) || [];
282
+ message.commission = object.commission?.map(e => DecCoin.fromPartial(e)) || [];
283
+ return message;
284
+ },
285
+ fromAmino(object) {
286
+ const message = createBaseQueryValidatorDistributionInfoResponse();
287
+ if (object.operator_address !== undefined && object.operator_address !== null) {
288
+ message.operatorAddress = object.operator_address;
289
+ }
290
+ message.selfBondRewards = object.self_bond_rewards?.map(e => DecCoin.fromAmino(e)) || [];
291
+ message.commission = object.commission?.map(e => DecCoin.fromAmino(e)) || [];
292
+ return message;
293
+ },
294
+ toAmino(message) {
295
+ const obj = {};
296
+ obj.operator_address = message.operatorAddress === "" ? undefined : message.operatorAddress;
297
+ if (message.selfBondRewards) {
298
+ obj.self_bond_rewards = message.selfBondRewards.map(e => e ? DecCoin.toAmino(e) : undefined);
299
+ }
300
+ else {
301
+ obj.self_bond_rewards = message.selfBondRewards;
302
+ }
303
+ if (message.commission) {
304
+ obj.commission = message.commission.map(e => e ? DecCoin.toAmino(e) : undefined);
305
+ }
306
+ else {
307
+ obj.commission = message.commission;
308
+ }
309
+ return obj;
310
+ },
311
+ fromAminoMsg(object) {
312
+ return QueryValidatorDistributionInfoResponse.fromAmino(object.value);
313
+ },
314
+ toAminoMsg(message) {
315
+ return {
316
+ type: "cosmos-sdk/QueryValidatorDistributionInfoResponse",
317
+ value: QueryValidatorDistributionInfoResponse.toAmino(message)
318
+ };
319
+ },
320
+ fromProtoMsg(message) {
321
+ return QueryValidatorDistributionInfoResponse.decode(message.value);
322
+ },
323
+ toProto(message) {
324
+ return QueryValidatorDistributionInfoResponse.encode(message).finish();
325
+ },
326
+ toProtoMsg(message) {
327
+ return {
328
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse",
329
+ value: QueryValidatorDistributionInfoResponse.encode(message).finish()
330
+ };
331
+ }
332
+ };
333
+ GlobalDecoderRegistry.register(QueryValidatorDistributionInfoResponse.typeUrl, QueryValidatorDistributionInfoResponse);
334
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryValidatorDistributionInfoResponse.aminoType, QueryValidatorDistributionInfoResponse.typeUrl);
335
+ function createBaseQueryValidatorOutstandingRewardsRequest() {
336
+ return {
337
+ validatorAddress: ""
338
+ };
339
+ }
340
+ export const QueryValidatorOutstandingRewardsRequest = {
341
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest",
342
+ aminoType: "cosmos-sdk/QueryValidatorOutstandingRewardsRequest",
343
+ is(o) {
344
+ return o && (o.$typeUrl === QueryValidatorOutstandingRewardsRequest.typeUrl || typeof o.validatorAddress === "string");
345
+ },
346
+ isAmino(o) {
347
+ return o && (o.$typeUrl === QueryValidatorOutstandingRewardsRequest.typeUrl || typeof o.validator_address === "string");
348
+ },
349
+ encode(message, writer = BinaryWriter.create()) {
350
+ if (message.validatorAddress !== "") {
351
+ writer.uint32(10).string(message.validatorAddress);
352
+ }
353
+ return writer;
354
+ },
355
+ decode(input, length) {
356
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
357
+ let end = length === undefined ? reader.len : reader.pos + length;
358
+ const message = createBaseQueryValidatorOutstandingRewardsRequest();
359
+ while (reader.pos < end) {
360
+ const tag = reader.uint32();
361
+ switch (tag >>> 3) {
362
+ case 1:
363
+ message.validatorAddress = reader.string();
364
+ break;
365
+ default:
366
+ reader.skipType(tag & 7);
367
+ break;
368
+ }
369
+ }
370
+ return message;
371
+ },
372
+ fromPartial(object) {
373
+ const message = createBaseQueryValidatorOutstandingRewardsRequest();
374
+ message.validatorAddress = object.validatorAddress ?? "";
375
+ return message;
376
+ },
377
+ fromAmino(object) {
378
+ const message = createBaseQueryValidatorOutstandingRewardsRequest();
379
+ if (object.validator_address !== undefined && object.validator_address !== null) {
380
+ message.validatorAddress = object.validator_address;
381
+ }
382
+ return message;
383
+ },
384
+ toAmino(message) {
385
+ const obj = {};
386
+ obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
387
+ return obj;
388
+ },
389
+ fromAminoMsg(object) {
390
+ return QueryValidatorOutstandingRewardsRequest.fromAmino(object.value);
391
+ },
392
+ toAminoMsg(message) {
393
+ return {
394
+ type: "cosmos-sdk/QueryValidatorOutstandingRewardsRequest",
395
+ value: QueryValidatorOutstandingRewardsRequest.toAmino(message)
396
+ };
397
+ },
398
+ fromProtoMsg(message) {
399
+ return QueryValidatorOutstandingRewardsRequest.decode(message.value);
400
+ },
401
+ toProto(message) {
402
+ return QueryValidatorOutstandingRewardsRequest.encode(message).finish();
403
+ },
404
+ toProtoMsg(message) {
405
+ return {
406
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest",
407
+ value: QueryValidatorOutstandingRewardsRequest.encode(message).finish()
408
+ };
409
+ }
410
+ };
411
+ GlobalDecoderRegistry.register(QueryValidatorOutstandingRewardsRequest.typeUrl, QueryValidatorOutstandingRewardsRequest);
412
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryValidatorOutstandingRewardsRequest.aminoType, QueryValidatorOutstandingRewardsRequest.typeUrl);
413
+ function createBaseQueryValidatorOutstandingRewardsResponse() {
414
+ return {
415
+ rewards: ValidatorOutstandingRewards.fromPartial({})
416
+ };
417
+ }
418
+ export const QueryValidatorOutstandingRewardsResponse = {
419
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse",
420
+ aminoType: "cosmos-sdk/QueryValidatorOutstandingRewardsResponse",
421
+ is(o) {
422
+ return o && (o.$typeUrl === QueryValidatorOutstandingRewardsResponse.typeUrl || ValidatorOutstandingRewards.is(o.rewards));
423
+ },
424
+ isAmino(o) {
425
+ return o && (o.$typeUrl === QueryValidatorOutstandingRewardsResponse.typeUrl || ValidatorOutstandingRewards.isAmino(o.rewards));
426
+ },
427
+ encode(message, writer = BinaryWriter.create()) {
428
+ if (message.rewards !== undefined) {
429
+ ValidatorOutstandingRewards.encode(message.rewards, writer.uint32(10).fork()).ldelim();
430
+ }
431
+ return writer;
432
+ },
433
+ decode(input, length) {
434
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
435
+ let end = length === undefined ? reader.len : reader.pos + length;
436
+ const message = createBaseQueryValidatorOutstandingRewardsResponse();
437
+ while (reader.pos < end) {
438
+ const tag = reader.uint32();
439
+ switch (tag >>> 3) {
440
+ case 1:
441
+ message.rewards = ValidatorOutstandingRewards.decode(reader, reader.uint32());
442
+ break;
443
+ default:
444
+ reader.skipType(tag & 7);
445
+ break;
446
+ }
447
+ }
448
+ return message;
449
+ },
450
+ fromPartial(object) {
451
+ const message = createBaseQueryValidatorOutstandingRewardsResponse();
452
+ message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorOutstandingRewards.fromPartial(object.rewards) : undefined;
453
+ return message;
454
+ },
455
+ fromAmino(object) {
456
+ const message = createBaseQueryValidatorOutstandingRewardsResponse();
457
+ if (object.rewards !== undefined && object.rewards !== null) {
458
+ message.rewards = ValidatorOutstandingRewards.fromAmino(object.rewards);
459
+ }
460
+ return message;
461
+ },
462
+ toAmino(message) {
463
+ const obj = {};
464
+ obj.rewards = message.rewards ? ValidatorOutstandingRewards.toAmino(message.rewards) : ValidatorOutstandingRewards.toAmino(ValidatorOutstandingRewards.fromPartial({}));
465
+ return obj;
466
+ },
467
+ fromAminoMsg(object) {
468
+ return QueryValidatorOutstandingRewardsResponse.fromAmino(object.value);
469
+ },
470
+ toAminoMsg(message) {
471
+ return {
472
+ type: "cosmos-sdk/QueryValidatorOutstandingRewardsResponse",
473
+ value: QueryValidatorOutstandingRewardsResponse.toAmino(message)
474
+ };
475
+ },
476
+ fromProtoMsg(message) {
477
+ return QueryValidatorOutstandingRewardsResponse.decode(message.value);
478
+ },
479
+ toProto(message) {
480
+ return QueryValidatorOutstandingRewardsResponse.encode(message).finish();
481
+ },
482
+ toProtoMsg(message) {
483
+ return {
484
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse",
485
+ value: QueryValidatorOutstandingRewardsResponse.encode(message).finish()
486
+ };
487
+ }
488
+ };
489
+ GlobalDecoderRegistry.register(QueryValidatorOutstandingRewardsResponse.typeUrl, QueryValidatorOutstandingRewardsResponse);
490
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryValidatorOutstandingRewardsResponse.aminoType, QueryValidatorOutstandingRewardsResponse.typeUrl);
491
+ function createBaseQueryValidatorCommissionRequest() {
492
+ return {
493
+ validatorAddress: ""
494
+ };
495
+ }
496
+ export const QueryValidatorCommissionRequest = {
497
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionRequest",
498
+ aminoType: "cosmos-sdk/QueryValidatorCommissionRequest",
499
+ is(o) {
500
+ return o && (o.$typeUrl === QueryValidatorCommissionRequest.typeUrl || typeof o.validatorAddress === "string");
501
+ },
502
+ isAmino(o) {
503
+ return o && (o.$typeUrl === QueryValidatorCommissionRequest.typeUrl || typeof o.validator_address === "string");
504
+ },
505
+ encode(message, writer = BinaryWriter.create()) {
506
+ if (message.validatorAddress !== "") {
507
+ writer.uint32(10).string(message.validatorAddress);
508
+ }
509
+ return writer;
510
+ },
511
+ decode(input, length) {
512
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
513
+ let end = length === undefined ? reader.len : reader.pos + length;
514
+ const message = createBaseQueryValidatorCommissionRequest();
515
+ while (reader.pos < end) {
516
+ const tag = reader.uint32();
517
+ switch (tag >>> 3) {
518
+ case 1:
519
+ message.validatorAddress = reader.string();
520
+ break;
521
+ default:
522
+ reader.skipType(tag & 7);
523
+ break;
524
+ }
525
+ }
526
+ return message;
527
+ },
528
+ fromPartial(object) {
529
+ const message = createBaseQueryValidatorCommissionRequest();
530
+ message.validatorAddress = object.validatorAddress ?? "";
531
+ return message;
532
+ },
533
+ fromAmino(object) {
534
+ const message = createBaseQueryValidatorCommissionRequest();
535
+ if (object.validator_address !== undefined && object.validator_address !== null) {
536
+ message.validatorAddress = object.validator_address;
537
+ }
538
+ return message;
539
+ },
540
+ toAmino(message) {
541
+ const obj = {};
542
+ obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
543
+ return obj;
544
+ },
545
+ fromAminoMsg(object) {
546
+ return QueryValidatorCommissionRequest.fromAmino(object.value);
547
+ },
548
+ toAminoMsg(message) {
549
+ return {
550
+ type: "cosmos-sdk/QueryValidatorCommissionRequest",
551
+ value: QueryValidatorCommissionRequest.toAmino(message)
552
+ };
553
+ },
554
+ fromProtoMsg(message) {
555
+ return QueryValidatorCommissionRequest.decode(message.value);
556
+ },
557
+ toProto(message) {
558
+ return QueryValidatorCommissionRequest.encode(message).finish();
559
+ },
560
+ toProtoMsg(message) {
561
+ return {
562
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionRequest",
563
+ value: QueryValidatorCommissionRequest.encode(message).finish()
564
+ };
565
+ }
566
+ };
567
+ GlobalDecoderRegistry.register(QueryValidatorCommissionRequest.typeUrl, QueryValidatorCommissionRequest);
568
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryValidatorCommissionRequest.aminoType, QueryValidatorCommissionRequest.typeUrl);
569
+ function createBaseQueryValidatorCommissionResponse() {
570
+ return {
571
+ commission: ValidatorAccumulatedCommission.fromPartial({})
572
+ };
573
+ }
574
+ export const QueryValidatorCommissionResponse = {
575
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse",
576
+ aminoType: "cosmos-sdk/QueryValidatorCommissionResponse",
577
+ is(o) {
578
+ return o && (o.$typeUrl === QueryValidatorCommissionResponse.typeUrl || ValidatorAccumulatedCommission.is(o.commission));
579
+ },
580
+ isAmino(o) {
581
+ return o && (o.$typeUrl === QueryValidatorCommissionResponse.typeUrl || ValidatorAccumulatedCommission.isAmino(o.commission));
582
+ },
583
+ encode(message, writer = BinaryWriter.create()) {
584
+ if (message.commission !== undefined) {
585
+ ValidatorAccumulatedCommission.encode(message.commission, writer.uint32(10).fork()).ldelim();
586
+ }
587
+ return writer;
588
+ },
589
+ decode(input, length) {
590
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
591
+ let end = length === undefined ? reader.len : reader.pos + length;
592
+ const message = createBaseQueryValidatorCommissionResponse();
593
+ while (reader.pos < end) {
594
+ const tag = reader.uint32();
595
+ switch (tag >>> 3) {
596
+ case 1:
597
+ message.commission = ValidatorAccumulatedCommission.decode(reader, reader.uint32());
598
+ break;
599
+ default:
600
+ reader.skipType(tag & 7);
601
+ break;
602
+ }
603
+ }
604
+ return message;
605
+ },
606
+ fromPartial(object) {
607
+ const message = createBaseQueryValidatorCommissionResponse();
608
+ message.commission = object.commission !== undefined && object.commission !== null ? ValidatorAccumulatedCommission.fromPartial(object.commission) : undefined;
609
+ return message;
610
+ },
611
+ fromAmino(object) {
612
+ const message = createBaseQueryValidatorCommissionResponse();
613
+ if (object.commission !== undefined && object.commission !== null) {
614
+ message.commission = ValidatorAccumulatedCommission.fromAmino(object.commission);
615
+ }
616
+ return message;
617
+ },
618
+ toAmino(message) {
619
+ const obj = {};
620
+ obj.commission = message.commission ? ValidatorAccumulatedCommission.toAmino(message.commission) : ValidatorAccumulatedCommission.toAmino(ValidatorAccumulatedCommission.fromPartial({}));
621
+ return obj;
622
+ },
623
+ fromAminoMsg(object) {
624
+ return QueryValidatorCommissionResponse.fromAmino(object.value);
625
+ },
626
+ toAminoMsg(message) {
627
+ return {
628
+ type: "cosmos-sdk/QueryValidatorCommissionResponse",
629
+ value: QueryValidatorCommissionResponse.toAmino(message)
630
+ };
631
+ },
632
+ fromProtoMsg(message) {
633
+ return QueryValidatorCommissionResponse.decode(message.value);
634
+ },
635
+ toProto(message) {
636
+ return QueryValidatorCommissionResponse.encode(message).finish();
637
+ },
638
+ toProtoMsg(message) {
639
+ return {
640
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse",
641
+ value: QueryValidatorCommissionResponse.encode(message).finish()
642
+ };
643
+ }
644
+ };
645
+ GlobalDecoderRegistry.register(QueryValidatorCommissionResponse.typeUrl, QueryValidatorCommissionResponse);
646
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryValidatorCommissionResponse.aminoType, QueryValidatorCommissionResponse.typeUrl);
647
+ function createBaseQueryValidatorSlashesRequest() {
648
+ return {
649
+ validatorAddress: "",
650
+ startingHeight: BigInt(0),
651
+ endingHeight: BigInt(0),
652
+ pagination: undefined
653
+ };
654
+ }
655
+ export const QueryValidatorSlashesRequest = {
656
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesRequest",
657
+ aminoType: "cosmos-sdk/QueryValidatorSlashesRequest",
658
+ is(o) {
659
+ return o && (o.$typeUrl === QueryValidatorSlashesRequest.typeUrl || typeof o.validatorAddress === "string" && typeof o.startingHeight === "bigint" && typeof o.endingHeight === "bigint");
660
+ },
661
+ isAmino(o) {
662
+ return o && (o.$typeUrl === QueryValidatorSlashesRequest.typeUrl || typeof o.validator_address === "string" && typeof o.starting_height === "bigint" && typeof o.ending_height === "bigint");
663
+ },
664
+ encode(message, writer = BinaryWriter.create()) {
665
+ if (message.validatorAddress !== "") {
666
+ writer.uint32(10).string(message.validatorAddress);
667
+ }
668
+ if (message.startingHeight !== BigInt(0)) {
669
+ writer.uint32(16).uint64(message.startingHeight);
670
+ }
671
+ if (message.endingHeight !== BigInt(0)) {
672
+ writer.uint32(24).uint64(message.endingHeight);
673
+ }
674
+ if (message.pagination !== undefined) {
675
+ PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim();
676
+ }
677
+ return writer;
678
+ },
679
+ decode(input, length) {
680
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
681
+ let end = length === undefined ? reader.len : reader.pos + length;
682
+ const message = createBaseQueryValidatorSlashesRequest();
683
+ while (reader.pos < end) {
684
+ const tag = reader.uint32();
685
+ switch (tag >>> 3) {
686
+ case 1:
687
+ message.validatorAddress = reader.string();
688
+ break;
689
+ case 2:
690
+ message.startingHeight = reader.uint64();
691
+ break;
692
+ case 3:
693
+ message.endingHeight = reader.uint64();
694
+ break;
695
+ case 4:
696
+ message.pagination = PageRequest.decode(reader, reader.uint32());
697
+ break;
698
+ default:
699
+ reader.skipType(tag & 7);
700
+ break;
701
+ }
702
+ }
703
+ return message;
704
+ },
705
+ fromPartial(object) {
706
+ const message = createBaseQueryValidatorSlashesRequest();
707
+ message.validatorAddress = object.validatorAddress ?? "";
708
+ message.startingHeight = object.startingHeight !== undefined && object.startingHeight !== null ? BigInt(object.startingHeight.toString()) : BigInt(0);
709
+ message.endingHeight = object.endingHeight !== undefined && object.endingHeight !== null ? BigInt(object.endingHeight.toString()) : BigInt(0);
710
+ message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
711
+ return message;
712
+ },
713
+ fromAmino(object) {
714
+ const message = createBaseQueryValidatorSlashesRequest();
715
+ if (object.validator_address !== undefined && object.validator_address !== null) {
716
+ message.validatorAddress = object.validator_address;
717
+ }
718
+ if (object.starting_height !== undefined && object.starting_height !== null) {
719
+ message.startingHeight = BigInt(object.starting_height);
720
+ }
721
+ if (object.ending_height !== undefined && object.ending_height !== null) {
722
+ message.endingHeight = BigInt(object.ending_height);
723
+ }
724
+ if (object.pagination !== undefined && object.pagination !== null) {
725
+ message.pagination = PageRequest.fromAmino(object.pagination);
726
+ }
727
+ return message;
728
+ },
729
+ toAmino(message) {
730
+ const obj = {};
731
+ obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
732
+ obj.starting_height = message.startingHeight !== BigInt(0) ? message.startingHeight?.toString() : undefined;
733
+ obj.ending_height = message.endingHeight !== BigInt(0) ? message.endingHeight?.toString() : undefined;
734
+ obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
735
+ return obj;
736
+ },
737
+ fromAminoMsg(object) {
738
+ return QueryValidatorSlashesRequest.fromAmino(object.value);
739
+ },
740
+ toAminoMsg(message) {
741
+ return {
742
+ type: "cosmos-sdk/QueryValidatorSlashesRequest",
743
+ value: QueryValidatorSlashesRequest.toAmino(message)
744
+ };
745
+ },
746
+ fromProtoMsg(message) {
747
+ return QueryValidatorSlashesRequest.decode(message.value);
748
+ },
749
+ toProto(message) {
750
+ return QueryValidatorSlashesRequest.encode(message).finish();
751
+ },
752
+ toProtoMsg(message) {
753
+ return {
754
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesRequest",
755
+ value: QueryValidatorSlashesRequest.encode(message).finish()
756
+ };
757
+ }
758
+ };
759
+ GlobalDecoderRegistry.register(QueryValidatorSlashesRequest.typeUrl, QueryValidatorSlashesRequest);
760
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryValidatorSlashesRequest.aminoType, QueryValidatorSlashesRequest.typeUrl);
761
+ function createBaseQueryValidatorSlashesResponse() {
762
+ return {
763
+ slashes: [],
764
+ pagination: undefined
765
+ };
766
+ }
767
+ export const QueryValidatorSlashesResponse = {
768
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse",
769
+ aminoType: "cosmos-sdk/QueryValidatorSlashesResponse",
770
+ is(o) {
771
+ return o && (o.$typeUrl === QueryValidatorSlashesResponse.typeUrl || Array.isArray(o.slashes) && (!o.slashes.length || ValidatorSlashEvent.is(o.slashes[0])));
772
+ },
773
+ isAmino(o) {
774
+ return o && (o.$typeUrl === QueryValidatorSlashesResponse.typeUrl || Array.isArray(o.slashes) && (!o.slashes.length || ValidatorSlashEvent.isAmino(o.slashes[0])));
775
+ },
776
+ encode(message, writer = BinaryWriter.create()) {
777
+ for (const v of message.slashes) {
778
+ ValidatorSlashEvent.encode(v, writer.uint32(10).fork()).ldelim();
779
+ }
780
+ if (message.pagination !== undefined) {
781
+ PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
782
+ }
783
+ return writer;
784
+ },
785
+ decode(input, length) {
786
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
787
+ let end = length === undefined ? reader.len : reader.pos + length;
788
+ const message = createBaseQueryValidatorSlashesResponse();
789
+ while (reader.pos < end) {
790
+ const tag = reader.uint32();
791
+ switch (tag >>> 3) {
792
+ case 1:
793
+ message.slashes.push(ValidatorSlashEvent.decode(reader, reader.uint32()));
794
+ break;
795
+ case 2:
796
+ message.pagination = PageResponse.decode(reader, reader.uint32());
797
+ break;
798
+ default:
799
+ reader.skipType(tag & 7);
800
+ break;
801
+ }
802
+ }
803
+ return message;
804
+ },
805
+ fromPartial(object) {
806
+ const message = createBaseQueryValidatorSlashesResponse();
807
+ message.slashes = object.slashes?.map(e => ValidatorSlashEvent.fromPartial(e)) || [];
808
+ message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
809
+ return message;
810
+ },
811
+ fromAmino(object) {
812
+ const message = createBaseQueryValidatorSlashesResponse();
813
+ message.slashes = object.slashes?.map(e => ValidatorSlashEvent.fromAmino(e)) || [];
814
+ if (object.pagination !== undefined && object.pagination !== null) {
815
+ message.pagination = PageResponse.fromAmino(object.pagination);
816
+ }
817
+ return message;
818
+ },
819
+ toAmino(message) {
820
+ const obj = {};
821
+ if (message.slashes) {
822
+ obj.slashes = message.slashes.map(e => e ? ValidatorSlashEvent.toAmino(e) : undefined);
823
+ }
824
+ else {
825
+ obj.slashes = message.slashes;
826
+ }
827
+ obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
828
+ return obj;
829
+ },
830
+ fromAminoMsg(object) {
831
+ return QueryValidatorSlashesResponse.fromAmino(object.value);
832
+ },
833
+ toAminoMsg(message) {
834
+ return {
835
+ type: "cosmos-sdk/QueryValidatorSlashesResponse",
836
+ value: QueryValidatorSlashesResponse.toAmino(message)
837
+ };
838
+ },
839
+ fromProtoMsg(message) {
840
+ return QueryValidatorSlashesResponse.decode(message.value);
841
+ },
842
+ toProto(message) {
843
+ return QueryValidatorSlashesResponse.encode(message).finish();
844
+ },
845
+ toProtoMsg(message) {
846
+ return {
847
+ typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse",
848
+ value: QueryValidatorSlashesResponse.encode(message).finish()
849
+ };
850
+ }
851
+ };
852
+ GlobalDecoderRegistry.register(QueryValidatorSlashesResponse.typeUrl, QueryValidatorSlashesResponse);
853
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryValidatorSlashesResponse.aminoType, QueryValidatorSlashesResponse.typeUrl);
854
+ function createBaseQueryDelegationRewardsRequest() {
855
+ return {
856
+ delegatorAddress: "",
857
+ validatorAddress: ""
858
+ };
859
+ }
860
+ export const QueryDelegationRewardsRequest = {
861
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsRequest",
862
+ aminoType: "cosmos-sdk/QueryDelegationRewardsRequest",
863
+ is(o) {
864
+ return o && (o.$typeUrl === QueryDelegationRewardsRequest.typeUrl || typeof o.delegatorAddress === "string" && typeof o.validatorAddress === "string");
865
+ },
866
+ isAmino(o) {
867
+ return o && (o.$typeUrl === QueryDelegationRewardsRequest.typeUrl || typeof o.delegator_address === "string" && typeof o.validator_address === "string");
868
+ },
869
+ encode(message, writer = BinaryWriter.create()) {
870
+ if (message.delegatorAddress !== "") {
871
+ writer.uint32(10).string(message.delegatorAddress);
872
+ }
873
+ if (message.validatorAddress !== "") {
874
+ writer.uint32(18).string(message.validatorAddress);
875
+ }
876
+ return writer;
877
+ },
878
+ decode(input, length) {
879
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
880
+ let end = length === undefined ? reader.len : reader.pos + length;
881
+ const message = createBaseQueryDelegationRewardsRequest();
882
+ while (reader.pos < end) {
883
+ const tag = reader.uint32();
884
+ switch (tag >>> 3) {
885
+ case 1:
886
+ message.delegatorAddress = reader.string();
887
+ break;
888
+ case 2:
889
+ message.validatorAddress = reader.string();
890
+ break;
891
+ default:
892
+ reader.skipType(tag & 7);
893
+ break;
894
+ }
895
+ }
896
+ return message;
897
+ },
898
+ fromPartial(object) {
899
+ const message = createBaseQueryDelegationRewardsRequest();
900
+ message.delegatorAddress = object.delegatorAddress ?? "";
901
+ message.validatorAddress = object.validatorAddress ?? "";
902
+ return message;
903
+ },
904
+ fromAmino(object) {
905
+ const message = createBaseQueryDelegationRewardsRequest();
906
+ if (object.delegator_address !== undefined && object.delegator_address !== null) {
907
+ message.delegatorAddress = object.delegator_address;
908
+ }
909
+ if (object.validator_address !== undefined && object.validator_address !== null) {
910
+ message.validatorAddress = object.validator_address;
911
+ }
912
+ return message;
913
+ },
914
+ toAmino(message) {
915
+ const obj = {};
916
+ obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
917
+ obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
918
+ return obj;
919
+ },
920
+ fromAminoMsg(object) {
921
+ return QueryDelegationRewardsRequest.fromAmino(object.value);
922
+ },
923
+ toAminoMsg(message) {
924
+ return {
925
+ type: "cosmos-sdk/QueryDelegationRewardsRequest",
926
+ value: QueryDelegationRewardsRequest.toAmino(message)
927
+ };
928
+ },
929
+ fromProtoMsg(message) {
930
+ return QueryDelegationRewardsRequest.decode(message.value);
931
+ },
932
+ toProto(message) {
933
+ return QueryDelegationRewardsRequest.encode(message).finish();
934
+ },
935
+ toProtoMsg(message) {
936
+ return {
937
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsRequest",
938
+ value: QueryDelegationRewardsRequest.encode(message).finish()
939
+ };
940
+ }
941
+ };
942
+ GlobalDecoderRegistry.register(QueryDelegationRewardsRequest.typeUrl, QueryDelegationRewardsRequest);
943
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryDelegationRewardsRequest.aminoType, QueryDelegationRewardsRequest.typeUrl);
944
+ function createBaseQueryDelegationRewardsResponse() {
945
+ return {
946
+ rewards: []
947
+ };
948
+ }
949
+ export const QueryDelegationRewardsResponse = {
950
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse",
951
+ aminoType: "cosmos-sdk/QueryDelegationRewardsResponse",
952
+ is(o) {
953
+ return o && (o.$typeUrl === QueryDelegationRewardsResponse.typeUrl || Array.isArray(o.rewards) && (!o.rewards.length || DecCoin.is(o.rewards[0])));
954
+ },
955
+ isAmino(o) {
956
+ return o && (o.$typeUrl === QueryDelegationRewardsResponse.typeUrl || Array.isArray(o.rewards) && (!o.rewards.length || DecCoin.isAmino(o.rewards[0])));
957
+ },
958
+ encode(message, writer = BinaryWriter.create()) {
959
+ for (const v of message.rewards) {
960
+ DecCoin.encode(v, writer.uint32(10).fork()).ldelim();
961
+ }
962
+ return writer;
963
+ },
964
+ decode(input, length) {
965
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
966
+ let end = length === undefined ? reader.len : reader.pos + length;
967
+ const message = createBaseQueryDelegationRewardsResponse();
968
+ while (reader.pos < end) {
969
+ const tag = reader.uint32();
970
+ switch (tag >>> 3) {
971
+ case 1:
972
+ message.rewards.push(DecCoin.decode(reader, reader.uint32()));
973
+ break;
974
+ default:
975
+ reader.skipType(tag & 7);
976
+ break;
977
+ }
978
+ }
979
+ return message;
980
+ },
981
+ fromPartial(object) {
982
+ const message = createBaseQueryDelegationRewardsResponse();
983
+ message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || [];
984
+ return message;
985
+ },
986
+ fromAmino(object) {
987
+ const message = createBaseQueryDelegationRewardsResponse();
988
+ message.rewards = object.rewards?.map(e => DecCoin.fromAmino(e)) || [];
989
+ return message;
990
+ },
991
+ toAmino(message) {
992
+ const obj = {};
993
+ if (message.rewards) {
994
+ obj.rewards = message.rewards.map(e => e ? DecCoin.toAmino(e) : undefined);
995
+ }
996
+ else {
997
+ obj.rewards = message.rewards;
998
+ }
999
+ return obj;
1000
+ },
1001
+ fromAminoMsg(object) {
1002
+ return QueryDelegationRewardsResponse.fromAmino(object.value);
1003
+ },
1004
+ toAminoMsg(message) {
1005
+ return {
1006
+ type: "cosmos-sdk/QueryDelegationRewardsResponse",
1007
+ value: QueryDelegationRewardsResponse.toAmino(message)
1008
+ };
1009
+ },
1010
+ fromProtoMsg(message) {
1011
+ return QueryDelegationRewardsResponse.decode(message.value);
1012
+ },
1013
+ toProto(message) {
1014
+ return QueryDelegationRewardsResponse.encode(message).finish();
1015
+ },
1016
+ toProtoMsg(message) {
1017
+ return {
1018
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse",
1019
+ value: QueryDelegationRewardsResponse.encode(message).finish()
1020
+ };
1021
+ }
1022
+ };
1023
+ GlobalDecoderRegistry.register(QueryDelegationRewardsResponse.typeUrl, QueryDelegationRewardsResponse);
1024
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryDelegationRewardsResponse.aminoType, QueryDelegationRewardsResponse.typeUrl);
1025
+ function createBaseQueryDelegationTotalRewardsRequest() {
1026
+ return {
1027
+ delegatorAddress: ""
1028
+ };
1029
+ }
1030
+ export const QueryDelegationTotalRewardsRequest = {
1031
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest",
1032
+ aminoType: "cosmos-sdk/QueryDelegationTotalRewardsRequest",
1033
+ is(o) {
1034
+ return o && (o.$typeUrl === QueryDelegationTotalRewardsRequest.typeUrl || typeof o.delegatorAddress === "string");
1035
+ },
1036
+ isAmino(o) {
1037
+ return o && (o.$typeUrl === QueryDelegationTotalRewardsRequest.typeUrl || typeof o.delegator_address === "string");
1038
+ },
1039
+ encode(message, writer = BinaryWriter.create()) {
1040
+ if (message.delegatorAddress !== "") {
1041
+ writer.uint32(10).string(message.delegatorAddress);
1042
+ }
1043
+ return writer;
1044
+ },
1045
+ decode(input, length) {
1046
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1047
+ let end = length === undefined ? reader.len : reader.pos + length;
1048
+ const message = createBaseQueryDelegationTotalRewardsRequest();
1049
+ while (reader.pos < end) {
1050
+ const tag = reader.uint32();
1051
+ switch (tag >>> 3) {
1052
+ case 1:
1053
+ message.delegatorAddress = reader.string();
1054
+ break;
1055
+ default:
1056
+ reader.skipType(tag & 7);
1057
+ break;
1058
+ }
1059
+ }
1060
+ return message;
1061
+ },
1062
+ fromPartial(object) {
1063
+ const message = createBaseQueryDelegationTotalRewardsRequest();
1064
+ message.delegatorAddress = object.delegatorAddress ?? "";
1065
+ return message;
1066
+ },
1067
+ fromAmino(object) {
1068
+ const message = createBaseQueryDelegationTotalRewardsRequest();
1069
+ if (object.delegator_address !== undefined && object.delegator_address !== null) {
1070
+ message.delegatorAddress = object.delegator_address;
1071
+ }
1072
+ return message;
1073
+ },
1074
+ toAmino(message) {
1075
+ const obj = {};
1076
+ obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
1077
+ return obj;
1078
+ },
1079
+ fromAminoMsg(object) {
1080
+ return QueryDelegationTotalRewardsRequest.fromAmino(object.value);
1081
+ },
1082
+ toAminoMsg(message) {
1083
+ return {
1084
+ type: "cosmos-sdk/QueryDelegationTotalRewardsRequest",
1085
+ value: QueryDelegationTotalRewardsRequest.toAmino(message)
1086
+ };
1087
+ },
1088
+ fromProtoMsg(message) {
1089
+ return QueryDelegationTotalRewardsRequest.decode(message.value);
1090
+ },
1091
+ toProto(message) {
1092
+ return QueryDelegationTotalRewardsRequest.encode(message).finish();
1093
+ },
1094
+ toProtoMsg(message) {
1095
+ return {
1096
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest",
1097
+ value: QueryDelegationTotalRewardsRequest.encode(message).finish()
1098
+ };
1099
+ }
1100
+ };
1101
+ GlobalDecoderRegistry.register(QueryDelegationTotalRewardsRequest.typeUrl, QueryDelegationTotalRewardsRequest);
1102
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryDelegationTotalRewardsRequest.aminoType, QueryDelegationTotalRewardsRequest.typeUrl);
1103
+ function createBaseQueryDelegationTotalRewardsResponse() {
1104
+ return {
1105
+ rewards: [],
1106
+ total: []
1107
+ };
1108
+ }
1109
+ export const QueryDelegationTotalRewardsResponse = {
1110
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse",
1111
+ aminoType: "cosmos-sdk/QueryDelegationTotalRewardsResponse",
1112
+ is(o) {
1113
+ return o && (o.$typeUrl === QueryDelegationTotalRewardsResponse.typeUrl || Array.isArray(o.rewards) && (!o.rewards.length || DelegationDelegatorReward.is(o.rewards[0])) && Array.isArray(o.total) && (!o.total.length || DecCoin.is(o.total[0])));
1114
+ },
1115
+ isAmino(o) {
1116
+ return o && (o.$typeUrl === QueryDelegationTotalRewardsResponse.typeUrl || Array.isArray(o.rewards) && (!o.rewards.length || DelegationDelegatorReward.isAmino(o.rewards[0])) && Array.isArray(o.total) && (!o.total.length || DecCoin.isAmino(o.total[0])));
1117
+ },
1118
+ encode(message, writer = BinaryWriter.create()) {
1119
+ for (const v of message.rewards) {
1120
+ DelegationDelegatorReward.encode(v, writer.uint32(10).fork()).ldelim();
1121
+ }
1122
+ for (const v of message.total) {
1123
+ DecCoin.encode(v, writer.uint32(18).fork()).ldelim();
1124
+ }
1125
+ return writer;
1126
+ },
1127
+ decode(input, length) {
1128
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1129
+ let end = length === undefined ? reader.len : reader.pos + length;
1130
+ const message = createBaseQueryDelegationTotalRewardsResponse();
1131
+ while (reader.pos < end) {
1132
+ const tag = reader.uint32();
1133
+ switch (tag >>> 3) {
1134
+ case 1:
1135
+ message.rewards.push(DelegationDelegatorReward.decode(reader, reader.uint32()));
1136
+ break;
1137
+ case 2:
1138
+ message.total.push(DecCoin.decode(reader, reader.uint32()));
1139
+ break;
1140
+ default:
1141
+ reader.skipType(tag & 7);
1142
+ break;
1143
+ }
1144
+ }
1145
+ return message;
1146
+ },
1147
+ fromPartial(object) {
1148
+ const message = createBaseQueryDelegationTotalRewardsResponse();
1149
+ message.rewards = object.rewards?.map(e => DelegationDelegatorReward.fromPartial(e)) || [];
1150
+ message.total = object.total?.map(e => DecCoin.fromPartial(e)) || [];
1151
+ return message;
1152
+ },
1153
+ fromAmino(object) {
1154
+ const message = createBaseQueryDelegationTotalRewardsResponse();
1155
+ message.rewards = object.rewards?.map(e => DelegationDelegatorReward.fromAmino(e)) || [];
1156
+ message.total = object.total?.map(e => DecCoin.fromAmino(e)) || [];
1157
+ return message;
1158
+ },
1159
+ toAmino(message) {
1160
+ const obj = {};
1161
+ if (message.rewards) {
1162
+ obj.rewards = message.rewards.map(e => e ? DelegationDelegatorReward.toAmino(e) : undefined);
1163
+ }
1164
+ else {
1165
+ obj.rewards = message.rewards;
1166
+ }
1167
+ if (message.total) {
1168
+ obj.total = message.total.map(e => e ? DecCoin.toAmino(e) : undefined);
1169
+ }
1170
+ else {
1171
+ obj.total = message.total;
1172
+ }
1173
+ return obj;
1174
+ },
1175
+ fromAminoMsg(object) {
1176
+ return QueryDelegationTotalRewardsResponse.fromAmino(object.value);
1177
+ },
1178
+ toAminoMsg(message) {
1179
+ return {
1180
+ type: "cosmos-sdk/QueryDelegationTotalRewardsResponse",
1181
+ value: QueryDelegationTotalRewardsResponse.toAmino(message)
1182
+ };
1183
+ },
1184
+ fromProtoMsg(message) {
1185
+ return QueryDelegationTotalRewardsResponse.decode(message.value);
1186
+ },
1187
+ toProto(message) {
1188
+ return QueryDelegationTotalRewardsResponse.encode(message).finish();
1189
+ },
1190
+ toProtoMsg(message) {
1191
+ return {
1192
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse",
1193
+ value: QueryDelegationTotalRewardsResponse.encode(message).finish()
1194
+ };
1195
+ }
1196
+ };
1197
+ GlobalDecoderRegistry.register(QueryDelegationTotalRewardsResponse.typeUrl, QueryDelegationTotalRewardsResponse);
1198
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryDelegationTotalRewardsResponse.aminoType, QueryDelegationTotalRewardsResponse.typeUrl);
1199
+ function createBaseQueryDelegatorValidatorsRequest() {
1200
+ return {
1201
+ delegatorAddress: ""
1202
+ };
1203
+ }
1204
+ export const QueryDelegatorValidatorsRequest = {
1205
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest",
1206
+ aminoType: "cosmos-sdk/QueryDelegatorValidatorsRequest",
1207
+ is(o) {
1208
+ return o && (o.$typeUrl === QueryDelegatorValidatorsRequest.typeUrl || typeof o.delegatorAddress === "string");
1209
+ },
1210
+ isAmino(o) {
1211
+ return o && (o.$typeUrl === QueryDelegatorValidatorsRequest.typeUrl || typeof o.delegator_address === "string");
1212
+ },
1213
+ encode(message, writer = BinaryWriter.create()) {
1214
+ if (message.delegatorAddress !== "") {
1215
+ writer.uint32(10).string(message.delegatorAddress);
1216
+ }
1217
+ return writer;
1218
+ },
1219
+ decode(input, length) {
1220
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1221
+ let end = length === undefined ? reader.len : reader.pos + length;
1222
+ const message = createBaseQueryDelegatorValidatorsRequest();
1223
+ while (reader.pos < end) {
1224
+ const tag = reader.uint32();
1225
+ switch (tag >>> 3) {
1226
+ case 1:
1227
+ message.delegatorAddress = reader.string();
1228
+ break;
1229
+ default:
1230
+ reader.skipType(tag & 7);
1231
+ break;
1232
+ }
1233
+ }
1234
+ return message;
1235
+ },
1236
+ fromPartial(object) {
1237
+ const message = createBaseQueryDelegatorValidatorsRequest();
1238
+ message.delegatorAddress = object.delegatorAddress ?? "";
1239
+ return message;
1240
+ },
1241
+ fromAmino(object) {
1242
+ const message = createBaseQueryDelegatorValidatorsRequest();
1243
+ if (object.delegator_address !== undefined && object.delegator_address !== null) {
1244
+ message.delegatorAddress = object.delegator_address;
1245
+ }
1246
+ return message;
1247
+ },
1248
+ toAmino(message) {
1249
+ const obj = {};
1250
+ obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
1251
+ return obj;
1252
+ },
1253
+ fromAminoMsg(object) {
1254
+ return QueryDelegatorValidatorsRequest.fromAmino(object.value);
1255
+ },
1256
+ toAminoMsg(message) {
1257
+ return {
1258
+ type: "cosmos-sdk/QueryDelegatorValidatorsRequest",
1259
+ value: QueryDelegatorValidatorsRequest.toAmino(message)
1260
+ };
1261
+ },
1262
+ fromProtoMsg(message) {
1263
+ return QueryDelegatorValidatorsRequest.decode(message.value);
1264
+ },
1265
+ toProto(message) {
1266
+ return QueryDelegatorValidatorsRequest.encode(message).finish();
1267
+ },
1268
+ toProtoMsg(message) {
1269
+ return {
1270
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest",
1271
+ value: QueryDelegatorValidatorsRequest.encode(message).finish()
1272
+ };
1273
+ }
1274
+ };
1275
+ GlobalDecoderRegistry.register(QueryDelegatorValidatorsRequest.typeUrl, QueryDelegatorValidatorsRequest);
1276
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryDelegatorValidatorsRequest.aminoType, QueryDelegatorValidatorsRequest.typeUrl);
1277
+ function createBaseQueryDelegatorValidatorsResponse() {
1278
+ return {
1279
+ validators: []
1280
+ };
1281
+ }
1282
+ export const QueryDelegatorValidatorsResponse = {
1283
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse",
1284
+ aminoType: "cosmos-sdk/QueryDelegatorValidatorsResponse",
1285
+ is(o) {
1286
+ return o && (o.$typeUrl === QueryDelegatorValidatorsResponse.typeUrl || Array.isArray(o.validators) && (!o.validators.length || typeof o.validators[0] === "string"));
1287
+ },
1288
+ isAmino(o) {
1289
+ return o && (o.$typeUrl === QueryDelegatorValidatorsResponse.typeUrl || Array.isArray(o.validators) && (!o.validators.length || typeof o.validators[0] === "string"));
1290
+ },
1291
+ encode(message, writer = BinaryWriter.create()) {
1292
+ for (const v of message.validators) {
1293
+ writer.uint32(10).string(v);
1294
+ }
1295
+ return writer;
1296
+ },
1297
+ decode(input, length) {
1298
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1299
+ let end = length === undefined ? reader.len : reader.pos + length;
1300
+ const message = createBaseQueryDelegatorValidatorsResponse();
1301
+ while (reader.pos < end) {
1302
+ const tag = reader.uint32();
1303
+ switch (tag >>> 3) {
1304
+ case 1:
1305
+ message.validators.push(reader.string());
1306
+ break;
1307
+ default:
1308
+ reader.skipType(tag & 7);
1309
+ break;
1310
+ }
1311
+ }
1312
+ return message;
1313
+ },
1314
+ fromPartial(object) {
1315
+ const message = createBaseQueryDelegatorValidatorsResponse();
1316
+ message.validators = object.validators?.map(e => e) || [];
1317
+ return message;
1318
+ },
1319
+ fromAmino(object) {
1320
+ const message = createBaseQueryDelegatorValidatorsResponse();
1321
+ message.validators = object.validators?.map(e => e) || [];
1322
+ return message;
1323
+ },
1324
+ toAmino(message) {
1325
+ const obj = {};
1326
+ if (message.validators) {
1327
+ obj.validators = message.validators.map(e => e);
1328
+ }
1329
+ else {
1330
+ obj.validators = message.validators;
1331
+ }
1332
+ return obj;
1333
+ },
1334
+ fromAminoMsg(object) {
1335
+ return QueryDelegatorValidatorsResponse.fromAmino(object.value);
1336
+ },
1337
+ toAminoMsg(message) {
1338
+ return {
1339
+ type: "cosmos-sdk/QueryDelegatorValidatorsResponse",
1340
+ value: QueryDelegatorValidatorsResponse.toAmino(message)
1341
+ };
1342
+ },
1343
+ fromProtoMsg(message) {
1344
+ return QueryDelegatorValidatorsResponse.decode(message.value);
1345
+ },
1346
+ toProto(message) {
1347
+ return QueryDelegatorValidatorsResponse.encode(message).finish();
1348
+ },
1349
+ toProtoMsg(message) {
1350
+ return {
1351
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse",
1352
+ value: QueryDelegatorValidatorsResponse.encode(message).finish()
1353
+ };
1354
+ }
1355
+ };
1356
+ GlobalDecoderRegistry.register(QueryDelegatorValidatorsResponse.typeUrl, QueryDelegatorValidatorsResponse);
1357
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryDelegatorValidatorsResponse.aminoType, QueryDelegatorValidatorsResponse.typeUrl);
1358
+ function createBaseQueryDelegatorWithdrawAddressRequest() {
1359
+ return {
1360
+ delegatorAddress: ""
1361
+ };
1362
+ }
1363
+ export const QueryDelegatorWithdrawAddressRequest = {
1364
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest",
1365
+ aminoType: "cosmos-sdk/QueryDelegatorWithdrawAddressRequest",
1366
+ is(o) {
1367
+ return o && (o.$typeUrl === QueryDelegatorWithdrawAddressRequest.typeUrl || typeof o.delegatorAddress === "string");
1368
+ },
1369
+ isAmino(o) {
1370
+ return o && (o.$typeUrl === QueryDelegatorWithdrawAddressRequest.typeUrl || typeof o.delegator_address === "string");
1371
+ },
1372
+ encode(message, writer = BinaryWriter.create()) {
1373
+ if (message.delegatorAddress !== "") {
1374
+ writer.uint32(10).string(message.delegatorAddress);
1375
+ }
1376
+ return writer;
1377
+ },
1378
+ decode(input, length) {
1379
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1380
+ let end = length === undefined ? reader.len : reader.pos + length;
1381
+ const message = createBaseQueryDelegatorWithdrawAddressRequest();
1382
+ while (reader.pos < end) {
1383
+ const tag = reader.uint32();
1384
+ switch (tag >>> 3) {
1385
+ case 1:
1386
+ message.delegatorAddress = reader.string();
1387
+ break;
1388
+ default:
1389
+ reader.skipType(tag & 7);
1390
+ break;
1391
+ }
1392
+ }
1393
+ return message;
1394
+ },
1395
+ fromPartial(object) {
1396
+ const message = createBaseQueryDelegatorWithdrawAddressRequest();
1397
+ message.delegatorAddress = object.delegatorAddress ?? "";
1398
+ return message;
1399
+ },
1400
+ fromAmino(object) {
1401
+ const message = createBaseQueryDelegatorWithdrawAddressRequest();
1402
+ if (object.delegator_address !== undefined && object.delegator_address !== null) {
1403
+ message.delegatorAddress = object.delegator_address;
1404
+ }
1405
+ return message;
1406
+ },
1407
+ toAmino(message) {
1408
+ const obj = {};
1409
+ obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
1410
+ return obj;
1411
+ },
1412
+ fromAminoMsg(object) {
1413
+ return QueryDelegatorWithdrawAddressRequest.fromAmino(object.value);
1414
+ },
1415
+ toAminoMsg(message) {
1416
+ return {
1417
+ type: "cosmos-sdk/QueryDelegatorWithdrawAddressRequest",
1418
+ value: QueryDelegatorWithdrawAddressRequest.toAmino(message)
1419
+ };
1420
+ },
1421
+ fromProtoMsg(message) {
1422
+ return QueryDelegatorWithdrawAddressRequest.decode(message.value);
1423
+ },
1424
+ toProto(message) {
1425
+ return QueryDelegatorWithdrawAddressRequest.encode(message).finish();
1426
+ },
1427
+ toProtoMsg(message) {
1428
+ return {
1429
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest",
1430
+ value: QueryDelegatorWithdrawAddressRequest.encode(message).finish()
1431
+ };
1432
+ }
1433
+ };
1434
+ GlobalDecoderRegistry.register(QueryDelegatorWithdrawAddressRequest.typeUrl, QueryDelegatorWithdrawAddressRequest);
1435
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryDelegatorWithdrawAddressRequest.aminoType, QueryDelegatorWithdrawAddressRequest.typeUrl);
1436
+ function createBaseQueryDelegatorWithdrawAddressResponse() {
1437
+ return {
1438
+ withdrawAddress: ""
1439
+ };
1440
+ }
1441
+ export const QueryDelegatorWithdrawAddressResponse = {
1442
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse",
1443
+ aminoType: "cosmos-sdk/QueryDelegatorWithdrawAddressResponse",
1444
+ is(o) {
1445
+ return o && (o.$typeUrl === QueryDelegatorWithdrawAddressResponse.typeUrl || typeof o.withdrawAddress === "string");
1446
+ },
1447
+ isAmino(o) {
1448
+ return o && (o.$typeUrl === QueryDelegatorWithdrawAddressResponse.typeUrl || typeof o.withdraw_address === "string");
1449
+ },
1450
+ encode(message, writer = BinaryWriter.create()) {
1451
+ if (message.withdrawAddress !== "") {
1452
+ writer.uint32(10).string(message.withdrawAddress);
1453
+ }
1454
+ return writer;
1455
+ },
1456
+ decode(input, length) {
1457
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1458
+ let end = length === undefined ? reader.len : reader.pos + length;
1459
+ const message = createBaseQueryDelegatorWithdrawAddressResponse();
1460
+ while (reader.pos < end) {
1461
+ const tag = reader.uint32();
1462
+ switch (tag >>> 3) {
1463
+ case 1:
1464
+ message.withdrawAddress = reader.string();
1465
+ break;
1466
+ default:
1467
+ reader.skipType(tag & 7);
1468
+ break;
1469
+ }
1470
+ }
1471
+ return message;
1472
+ },
1473
+ fromPartial(object) {
1474
+ const message = createBaseQueryDelegatorWithdrawAddressResponse();
1475
+ message.withdrawAddress = object.withdrawAddress ?? "";
1476
+ return message;
1477
+ },
1478
+ fromAmino(object) {
1479
+ const message = createBaseQueryDelegatorWithdrawAddressResponse();
1480
+ if (object.withdraw_address !== undefined && object.withdraw_address !== null) {
1481
+ message.withdrawAddress = object.withdraw_address;
1482
+ }
1483
+ return message;
1484
+ },
1485
+ toAmino(message) {
1486
+ const obj = {};
1487
+ obj.withdraw_address = message.withdrawAddress === "" ? undefined : message.withdrawAddress;
1488
+ return obj;
1489
+ },
1490
+ fromAminoMsg(object) {
1491
+ return QueryDelegatorWithdrawAddressResponse.fromAmino(object.value);
1492
+ },
1493
+ toAminoMsg(message) {
1494
+ return {
1495
+ type: "cosmos-sdk/QueryDelegatorWithdrawAddressResponse",
1496
+ value: QueryDelegatorWithdrawAddressResponse.toAmino(message)
1497
+ };
1498
+ },
1499
+ fromProtoMsg(message) {
1500
+ return QueryDelegatorWithdrawAddressResponse.decode(message.value);
1501
+ },
1502
+ toProto(message) {
1503
+ return QueryDelegatorWithdrawAddressResponse.encode(message).finish();
1504
+ },
1505
+ toProtoMsg(message) {
1506
+ return {
1507
+ typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse",
1508
+ value: QueryDelegatorWithdrawAddressResponse.encode(message).finish()
1509
+ };
1510
+ }
1511
+ };
1512
+ GlobalDecoderRegistry.register(QueryDelegatorWithdrawAddressResponse.typeUrl, QueryDelegatorWithdrawAddressResponse);
1513
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryDelegatorWithdrawAddressResponse.aminoType, QueryDelegatorWithdrawAddressResponse.typeUrl);
1514
+ function createBaseQueryCommunityPoolRequest() {
1515
+ return {};
1516
+ }
1517
+ export const QueryCommunityPoolRequest = {
1518
+ typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolRequest",
1519
+ aminoType: "cosmos-sdk/QueryCommunityPoolRequest",
1520
+ is(o) {
1521
+ return o && o.$typeUrl === QueryCommunityPoolRequest.typeUrl;
1522
+ },
1523
+ isAmino(o) {
1524
+ return o && o.$typeUrl === QueryCommunityPoolRequest.typeUrl;
1525
+ },
1526
+ encode(_, writer = BinaryWriter.create()) {
1527
+ return writer;
1528
+ },
1529
+ decode(input, length) {
1530
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1531
+ let end = length === undefined ? reader.len : reader.pos + length;
1532
+ const message = createBaseQueryCommunityPoolRequest();
1533
+ while (reader.pos < end) {
1534
+ const tag = reader.uint32();
1535
+ switch (tag >>> 3) {
1536
+ default:
1537
+ reader.skipType(tag & 7);
1538
+ break;
1539
+ }
1540
+ }
1541
+ return message;
1542
+ },
1543
+ fromPartial(_) {
1544
+ const message = createBaseQueryCommunityPoolRequest();
1545
+ return message;
1546
+ },
1547
+ fromAmino(_) {
1548
+ const message = createBaseQueryCommunityPoolRequest();
1549
+ return message;
1550
+ },
1551
+ toAmino(_) {
1552
+ const obj = {};
1553
+ return obj;
1554
+ },
1555
+ fromAminoMsg(object) {
1556
+ return QueryCommunityPoolRequest.fromAmino(object.value);
1557
+ },
1558
+ toAminoMsg(message) {
1559
+ return {
1560
+ type: "cosmos-sdk/QueryCommunityPoolRequest",
1561
+ value: QueryCommunityPoolRequest.toAmino(message)
1562
+ };
1563
+ },
1564
+ fromProtoMsg(message) {
1565
+ return QueryCommunityPoolRequest.decode(message.value);
1566
+ },
1567
+ toProto(message) {
1568
+ return QueryCommunityPoolRequest.encode(message).finish();
1569
+ },
1570
+ toProtoMsg(message) {
1571
+ return {
1572
+ typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolRequest",
1573
+ value: QueryCommunityPoolRequest.encode(message).finish()
1574
+ };
1575
+ }
1576
+ };
1577
+ GlobalDecoderRegistry.register(QueryCommunityPoolRequest.typeUrl, QueryCommunityPoolRequest);
1578
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryCommunityPoolRequest.aminoType, QueryCommunityPoolRequest.typeUrl);
1579
+ function createBaseQueryCommunityPoolResponse() {
1580
+ return {
1581
+ pool: []
1582
+ };
1583
+ }
1584
+ export const QueryCommunityPoolResponse = {
1585
+ typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolResponse",
1586
+ aminoType: "cosmos-sdk/QueryCommunityPoolResponse",
1587
+ is(o) {
1588
+ return o && (o.$typeUrl === QueryCommunityPoolResponse.typeUrl || Array.isArray(o.pool) && (!o.pool.length || DecCoin.is(o.pool[0])));
1589
+ },
1590
+ isAmino(o) {
1591
+ return o && (o.$typeUrl === QueryCommunityPoolResponse.typeUrl || Array.isArray(o.pool) && (!o.pool.length || DecCoin.isAmino(o.pool[0])));
1592
+ },
1593
+ encode(message, writer = BinaryWriter.create()) {
1594
+ for (const v of message.pool) {
1595
+ DecCoin.encode(v, writer.uint32(10).fork()).ldelim();
1596
+ }
1597
+ return writer;
1598
+ },
1599
+ decode(input, length) {
1600
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1601
+ let end = length === undefined ? reader.len : reader.pos + length;
1602
+ const message = createBaseQueryCommunityPoolResponse();
1603
+ while (reader.pos < end) {
1604
+ const tag = reader.uint32();
1605
+ switch (tag >>> 3) {
1606
+ case 1:
1607
+ message.pool.push(DecCoin.decode(reader, reader.uint32()));
1608
+ break;
1609
+ default:
1610
+ reader.skipType(tag & 7);
1611
+ break;
1612
+ }
1613
+ }
1614
+ return message;
1615
+ },
1616
+ fromPartial(object) {
1617
+ const message = createBaseQueryCommunityPoolResponse();
1618
+ message.pool = object.pool?.map(e => DecCoin.fromPartial(e)) || [];
1619
+ return message;
1620
+ },
1621
+ fromAmino(object) {
1622
+ const message = createBaseQueryCommunityPoolResponse();
1623
+ message.pool = object.pool?.map(e => DecCoin.fromAmino(e)) || [];
1624
+ return message;
1625
+ },
1626
+ toAmino(message) {
1627
+ const obj = {};
1628
+ if (message.pool) {
1629
+ obj.pool = message.pool.map(e => e ? DecCoin.toAmino(e) : undefined);
1630
+ }
1631
+ else {
1632
+ obj.pool = message.pool;
1633
+ }
1634
+ return obj;
1635
+ },
1636
+ fromAminoMsg(object) {
1637
+ return QueryCommunityPoolResponse.fromAmino(object.value);
1638
+ },
1639
+ toAminoMsg(message) {
1640
+ return {
1641
+ type: "cosmos-sdk/QueryCommunityPoolResponse",
1642
+ value: QueryCommunityPoolResponse.toAmino(message)
1643
+ };
1644
+ },
1645
+ fromProtoMsg(message) {
1646
+ return QueryCommunityPoolResponse.decode(message.value);
1647
+ },
1648
+ toProto(message) {
1649
+ return QueryCommunityPoolResponse.encode(message).finish();
1650
+ },
1651
+ toProtoMsg(message) {
1652
+ return {
1653
+ typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolResponse",
1654
+ value: QueryCommunityPoolResponse.encode(message).finish()
1655
+ };
1656
+ }
1657
+ };
1658
+ GlobalDecoderRegistry.register(QueryCommunityPoolResponse.typeUrl, QueryCommunityPoolResponse);
1659
+ GlobalDecoderRegistry.registerAminoProtoMapping(QueryCommunityPoolResponse.aminoType, QueryCommunityPoolResponse.typeUrl);