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