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

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 (1555) 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 +176 -0
  6. package/cosmos/app/runtime/v1alpha1/module.js +292 -0
  7. package/cosmos/app/runtime/v2/module.d.ts +231 -0
  8. package/cosmos/app/runtime/v2/module.js +421 -0
  9. package/cosmos/app/v1alpha1/config.d.ts +184 -0
  10. package/cosmos/app/v1alpha1/config.js +298 -0
  11. package/cosmos/app/v1alpha1/module.d.ts +237 -0
  12. package/cosmos/app/v1alpha1/module.js +280 -0
  13. package/cosmos/app/v1alpha1/query.d.ts +69 -0
  14. package/cosmos/app/v1alpha1/query.js +148 -0
  15. package/cosmos/app/v1alpha1/query.rpc.func.d.ts +3 -0
  16. package/cosmos/app/v1alpha1/query.rpc.func.js +14 -0
  17. package/cosmos/app/v1alpha1/query.rpc.react.d.ts +2 -0
  18. package/cosmos/app/v1alpha1/query.rpc.react.js +9 -0
  19. package/cosmos/auth/module/v1/module.d.ts +90 -0
  20. package/cosmos/auth/module/v1/module.js +202 -0
  21. package/cosmos/auth/v1beta1/accounts.d.ts +106 -0
  22. package/cosmos/auth/v1beta1/accounts.js +161 -0
  23. package/cosmos/auth/v1beta1/auth.d.ts +181 -0
  24. package/cosmos/auth/v1beta1/auth.js +448 -0
  25. package/cosmos/auth/v1beta1/genesis.d.ts +43 -0
  26. package/cosmos/auth/v1beta1/genesis.js +98 -0
  27. package/cosmos/auth/v1beta1/query.d.ts +830 -0
  28. package/cosmos/auth/v1beta1/query.js +1558 -0
  29. package/cosmos/auth/v1beta1/query.rpc.func.d.ts +12 -0
  30. package/cosmos/auth/v1beta1/query.rpc.func.js +95 -0
  31. package/cosmos/auth/v1beta1/query.rpc.react.d.ts +11 -0
  32. package/cosmos/auth/v1beta1/query.rpc.react.js +45 -0
  33. package/cosmos/auth/v1beta1/tx.d.ts +99 -0
  34. package/cosmos/auth/v1beta1/tx.js +160 -0
  35. package/cosmos/auth/v1beta1/tx.registry.d.ts +2 -0
  36. package/cosmos/auth/v1beta1/tx.registry.js +5 -0
  37. package/cosmos/auth/v1beta1/tx.rpc.func.d.ts +3 -0
  38. package/cosmos/auth/v1beta1/tx.rpc.func.js +14 -0
  39. package/cosmos/auth/v1beta1/tx.rpc.react.d.ts +2 -0
  40. package/cosmos/auth/v1beta1/tx.rpc.react.js +8 -0
  41. package/cosmos/authz/module/v1/module.d.ts +33 -0
  42. package/cosmos/authz/module/v1/module.js +68 -0
  43. package/cosmos/authz/v1beta1/authz.d.ts +185 -0
  44. package/cosmos/authz/v1beta1/authz.js +390 -0
  45. package/cosmos/authz/v1beta1/event.d.ts +88 -0
  46. package/cosmos/authz/v1beta1/event.js +206 -0
  47. package/cosmos/authz/v1beta1/genesis.d.ts +36 -0
  48. package/cosmos/authz/v1beta1/genesis.js +87 -0
  49. package/cosmos/authz/v1beta1/query.d.ts +238 -0
  50. package/cosmos/authz/v1beta1/query.js +588 -0
  51. package/cosmos/authz/v1beta1/query.rpc.func.d.ts +5 -0
  52. package/cosmos/authz/v1beta1/query.rpc.func.js +32 -0
  53. package/cosmos/authz/v1beta1/query.rpc.react.d.ts +4 -0
  54. package/cosmos/authz/v1beta1/query.rpc.react.js +17 -0
  55. package/cosmos/authz/v1beta1/tx.d.ts +246 -0
  56. package/cosmos/authz/v1beta1/tx.js +512 -0
  57. package/cosmos/authz/v1beta1/tx.registry.d.ts +2 -0
  58. package/cosmos/authz/v1beta1/tx.registry.js +5 -0
  59. package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +5 -0
  60. package/cosmos/authz/v1beta1/tx.rpc.func.js +30 -0
  61. package/cosmos/authz/v1beta1/tx.rpc.react.d.ts +4 -0
  62. package/cosmos/authz/v1beta1/tx.rpc.react.js +14 -0
  63. package/cosmos/autocli/v1/options.d.ts +419 -0
  64. package/cosmos/autocli/v1/options.js +842 -0
  65. package/cosmos/autocli/v1/query.d.ts +100 -0
  66. package/cosmos/autocli/v1/query.js +239 -0
  67. package/cosmos/autocli/v1/query.rpc.func.d.ts +3 -0
  68. package/cosmos/autocli/v1/query.rpc.func.js +14 -0
  69. package/cosmos/autocli/v1/query.rpc.react.d.ts +2 -0
  70. package/cosmos/autocli/v1/query.rpc.react.js +9 -0
  71. package/cosmos/bank/module/v1/module.d.ts +63 -0
  72. package/cosmos/bank/module/v1/module.js +111 -0
  73. package/cosmos/bank/v1beta1/authz.d.ts +60 -0
  74. package/cosmos/bank/v1beta1/authz.js +105 -0
  75. package/cosmos/bank/v1beta1/bank.d.ts +378 -0
  76. package/cosmos/bank/v1beta1/bank.js +731 -0
  77. package/cosmos/bank/v1beta1/genesis.d.ts +114 -0
  78. package/cosmos/bank/v1beta1/genesis.js +243 -0
  79. package/cosmos/bank/v1beta1/query.d.ts +1186 -0
  80. package/cosmos/bank/v1beta1/query.js +2338 -0
  81. package/cosmos/bank/v1beta1/query.rpc.func.d.ts +15 -0
  82. package/cosmos/bank/v1beta1/query.rpc.func.js +122 -0
  83. package/cosmos/bank/v1beta1/query.rpc.react.d.ts +14 -0
  84. package/cosmos/bank/v1beta1/query.rpc.react.js +57 -0
  85. package/cosmos/bank/v1beta1/tx.d.ts +350 -0
  86. package/cosmos/bank/v1beta1/tx.js +666 -0
  87. package/cosmos/bank/v1beta1/tx.registry.d.ts +2 -0
  88. package/cosmos/bank/v1beta1/tx.registry.js +5 -0
  89. package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +6 -0
  90. package/cosmos/bank/v1beta1/tx.rpc.func.js +38 -0
  91. package/cosmos/bank/v1beta1/tx.rpc.react.d.ts +5 -0
  92. package/cosmos/bank/v1beta1/tx.rpc.react.js +17 -0
  93. package/cosmos/base/abci/v1beta1/abci.d.ts +610 -0
  94. package/cosmos/base/abci/v1beta1/abci.js +1294 -0
  95. package/cosmos/base/grpc/v2/service.d.ts +168 -0
  96. package/cosmos/base/grpc/v2/service.js +394 -0
  97. package/cosmos/base/grpc/v2/service.rpc.func.d.ts +4 -0
  98. package/cosmos/base/grpc/v2/service.rpc.func.js +23 -0
  99. package/cosmos/base/grpc/v2/service.rpc.react.d.ts +3 -0
  100. package/cosmos/base/grpc/v2/service.rpc.react.js +13 -0
  101. package/cosmos/base/node/v1beta1/query.d.ts +154 -0
  102. package/cosmos/base/node/v1beta1/query.js +372 -0
  103. package/cosmos/base/node/v1beta1/query.rpc.func.d.ts +4 -0
  104. package/cosmos/base/node/v1beta1/query.rpc.func.js +23 -0
  105. package/cosmos/base/node/v1beta1/query.rpc.react.d.ts +3 -0
  106. package/cosmos/base/node/v1beta1/query.rpc.react.js +13 -0
  107. package/cosmos/base/query/v1beta1/pagination.d.ts +178 -0
  108. package/cosmos/base/query/v1beta1/pagination.js +219 -0
  109. package/cosmos/base/reflection/v1beta1/reflection.d.ts +148 -0
  110. package/cosmos/base/reflection/v1beta1/reflection.js +305 -0
  111. package/cosmos/base/reflection/v1beta1/reflection.rpc.func.d.ts +4 -0
  112. package/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +23 -0
  113. package/cosmos/base/reflection/v1beta1/reflection.rpc.react.d.ts +3 -0
  114. package/cosmos/base/reflection/v1beta1/reflection.rpc.react.js +13 -0
  115. package/cosmos/base/reflection/v2alpha1/reflection.d.ts +1034 -0
  116. package/cosmos/base/reflection/v2alpha1/reflection.js +2164 -0
  117. package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.d.ts +8 -0
  118. package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +59 -0
  119. package/cosmos/base/reflection/v2alpha1/reflection.rpc.react.d.ts +7 -0
  120. package/cosmos/base/reflection/v2alpha1/reflection.rpc.react.js +29 -0
  121. package/cosmos/base/tendermint/v1beta1/query.d.ts +759 -0
  122. package/cosmos/base/tendermint/v1beta1/query.js +1894 -0
  123. package/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +9 -0
  124. package/cosmos/base/tendermint/v1beta1/query.rpc.func.js +68 -0
  125. package/cosmos/base/tendermint/v1beta1/query.rpc.react.d.ts +8 -0
  126. package/cosmos/base/tendermint/v1beta1/query.rpc.react.js +33 -0
  127. package/cosmos/base/tendermint/v1beta1/types.d.ts +139 -0
  128. package/cosmos/base/tendermint/v1beta1/types.js +363 -0
  129. package/cosmos/base/v1beta1/coin.d.ts +170 -0
  130. package/cosmos/base/v1beta1/coin.js +337 -0
  131. package/cosmos/circuit/module/v1/module.d.ts +36 -0
  132. package/cosmos/circuit/module/v1/module.js +83 -0
  133. package/cosmos/circuit/v1/query.d.ts +200 -0
  134. package/cosmos/circuit/v1/query.js +480 -0
  135. package/cosmos/circuit/v1/query.rpc.func.d.ts +8 -0
  136. package/cosmos/circuit/v1/query.rpc.func.js +42 -0
  137. package/cosmos/circuit/v1/tx.d.ts +251 -0
  138. package/cosmos/circuit/v1/tx.js +528 -0
  139. package/cosmos/circuit/v1/tx.registry.d.ts +47 -0
  140. package/cosmos/circuit/v1/tx.registry.js +67 -0
  141. package/cosmos/circuit/v1/tx.rpc.func.d.ts +8 -0
  142. package/cosmos/circuit/v1/tx.rpc.func.js +37 -0
  143. package/cosmos/circuit/v1/types.d.ts +151 -0
  144. package/cosmos/circuit/v1/types.js +350 -0
  145. package/cosmos/consensus/module/v1/module.d.ts +37 -0
  146. package/cosmos/consensus/module/v1/module.js +81 -0
  147. package/cosmos/consensus/v1/query.d.ts +77 -0
  148. package/cosmos/consensus/v1/query.js +148 -0
  149. package/cosmos/consensus/v1/query.rpc.func.d.ts +3 -0
  150. package/cosmos/consensus/v1/query.rpc.func.js +14 -0
  151. package/cosmos/consensus/v1/query.rpc.react.d.ts +2 -0
  152. package/cosmos/consensus/v1/query.rpc.react.js +9 -0
  153. package/cosmos/consensus/v1/tx.d.ts +99 -0
  154. package/cosmos/consensus/v1/tx.js +199 -0
  155. package/cosmos/consensus/v1/tx.registry.d.ts +2 -0
  156. package/cosmos/consensus/v1/tx.registry.js +5 -0
  157. package/cosmos/consensus/v1/tx.rpc.func.d.ts +3 -0
  158. package/cosmos/consensus/v1/tx.rpc.func.js +14 -0
  159. package/cosmos/consensus/v1/tx.rpc.react.d.ts +2 -0
  160. package/cosmos/consensus/v1/tx.rpc.react.js +8 -0
  161. package/cosmos/crisis/module/v1/module.d.ts +40 -0
  162. package/cosmos/crisis/module/v1/module.js +95 -0
  163. package/cosmos/crisis/v1beta1/genesis.d.ts +43 -0
  164. package/cosmos/crisis/v1beta1/genesis.js +84 -0
  165. package/cosmos/crisis/v1beta1/tx.d.ts +161 -0
  166. package/cosmos/crisis/v1beta1/tx.js +328 -0
  167. package/cosmos/crisis/v1beta1/tx.registry.d.ts +35 -0
  168. package/cosmos/crisis/v1beta1/tx.registry.js +49 -0
  169. package/cosmos/crisis/v1beta1/tx.rpc.func.d.ts +6 -0
  170. package/cosmos/crisis/v1beta1/tx.rpc.func.js +27 -0
  171. package/cosmos/crypto/ed25519/keys.d.ts +84 -0
  172. package/cosmos/crypto/ed25519/keys.js +162 -0
  173. package/cosmos/crypto/hd/v1/hd.d.ts +58 -0
  174. package/cosmos/crypto/hd/v1/hd.js +131 -0
  175. package/cosmos/crypto/keyring/v1/record.d.ts +188 -0
  176. package/cosmos/crypto/keyring/v1/record.js +431 -0
  177. package/cosmos/crypto/multisig/keys.d.ts +45 -0
  178. package/cosmos/crypto/multisig/keys.js +99 -0
  179. package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +88 -0
  180. package/cosmos/crypto/multisig/v1beta1/multisig.js +174 -0
  181. package/cosmos/crypto/secp256k1/keys.d.ts +78 -0
  182. package/cosmos/crypto/secp256k1/keys.js +162 -0
  183. package/cosmos/crypto/secp256r1/keys.d.ts +76 -0
  184. package/cosmos/crypto/secp256r1/keys.js +162 -0
  185. package/cosmos/distribution/module/v1/module.d.ts +39 -0
  186. package/cosmos/distribution/module/v1/module.js +93 -0
  187. package/cosmos/distribution/v1beta1/distribution.d.ts +553 -0
  188. package/cosmos/distribution/v1beta1/distribution.js +1168 -0
  189. package/cosmos/distribution/v1beta1/genesis.d.ts +384 -0
  190. package/cosmos/distribution/v1beta1/genesis.js +908 -0
  191. package/cosmos/distribution/v1beta1/query.d.ts +823 -0
  192. package/cosmos/distribution/v1beta1/query.js +1661 -0
  193. package/cosmos/distribution/v1beta1/query.rpc.func.d.ts +12 -0
  194. package/cosmos/distribution/v1beta1/query.rpc.func.js +95 -0
  195. package/cosmos/distribution/v1beta1/query.rpc.react.d.ts +11 -0
  196. package/cosmos/distribution/v1beta1/query.rpc.react.js +45 -0
  197. package/cosmos/distribution/v1beta1/tx.d.ts +592 -0
  198. package/cosmos/distribution/v1beta1/tx.js +1142 -0
  199. package/cosmos/distribution/v1beta1/tx.registry.d.ts +2 -0
  200. package/cosmos/distribution/v1beta1/tx.registry.js +5 -0
  201. package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +9 -0
  202. package/cosmos/distribution/v1beta1/tx.rpc.func.js +62 -0
  203. package/cosmos/distribution/v1beta1/tx.rpc.react.d.ts +8 -0
  204. package/cosmos/distribution/v1beta1/tx.rpc.react.js +26 -0
  205. package/cosmos/evidence/module/v1/module.d.ts +33 -0
  206. package/cosmos/evidence/module/v1/module.js +68 -0
  207. package/cosmos/evidence/v1beta1/evidence.d.ts +55 -0
  208. package/cosmos/evidence/v1beta1/evidence.js +119 -0
  209. package/cosmos/evidence/v1beta1/genesis.d.ts +38 -0
  210. package/cosmos/evidence/v1beta1/genesis.js +85 -0
  211. package/cosmos/evidence/v1beta1/query.d.ts +180 -0
  212. package/cosmos/evidence/v1beta1/query.js +346 -0
  213. package/cosmos/evidence/v1beta1/query.rpc.func.d.ts +4 -0
  214. package/cosmos/evidence/v1beta1/query.rpc.func.js +23 -0
  215. package/cosmos/evidence/v1beta1/query.rpc.react.d.ts +3 -0
  216. package/cosmos/evidence/v1beta1/query.rpc.react.js +13 -0
  217. package/cosmos/evidence/v1beta1/tx.d.ts +86 -0
  218. package/cosmos/evidence/v1beta1/tx.js +173 -0
  219. package/cosmos/evidence/v1beta1/tx.registry.d.ts +2 -0
  220. package/cosmos/evidence/v1beta1/tx.registry.js +5 -0
  221. package/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +3 -0
  222. package/cosmos/evidence/v1beta1/tx.rpc.func.js +14 -0
  223. package/cosmos/evidence/v1beta1/tx.rpc.react.d.ts +2 -0
  224. package/cosmos/evidence/v1beta1/tx.rpc.react.js +8 -0
  225. package/cosmos/feegrant/module/v1/module.d.ts +33 -0
  226. package/cosmos/feegrant/module/v1/module.js +68 -0
  227. package/cosmos/feegrant/v1beta1/feegrant.d.ts +223 -0
  228. package/cosmos/feegrant/v1beta1/feegrant.js +445 -0
  229. package/cosmos/feegrant/v1beta1/genesis.d.ts +36 -0
  230. package/cosmos/feegrant/v1beta1/genesis.js +87 -0
  231. package/cosmos/feegrant/v1beta1/query.d.ts +246 -0
  232. package/cosmos/feegrant/v1beta1/query.js +546 -0
  233. package/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +5 -0
  234. package/cosmos/feegrant/v1beta1/query.rpc.func.js +32 -0
  235. package/cosmos/feegrant/v1beta1/query.rpc.react.d.ts +4 -0
  236. package/cosmos/feegrant/v1beta1/query.rpc.react.js +17 -0
  237. package/cosmos/feegrant/v1beta1/tx.d.ts +239 -0
  238. package/cosmos/feegrant/v1beta1/tx.js +470 -0
  239. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +2 -0
  240. package/cosmos/feegrant/v1beta1/tx.registry.js +5 -0
  241. package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +5 -0
  242. package/cosmos/feegrant/v1beta1/tx.rpc.func.js +30 -0
  243. package/cosmos/feegrant/v1beta1/tx.rpc.react.d.ts +4 -0
  244. package/cosmos/feegrant/v1beta1/tx.rpc.react.js +14 -0
  245. package/cosmos/genutil/module/v1/module.d.ts +32 -0
  246. package/cosmos/genutil/module/v1/module.js +70 -0
  247. package/cosmos/genutil/v1beta1/genesis.d.ts +36 -0
  248. package/cosmos/genutil/v1beta1/genesis.js +87 -0
  249. package/cosmos/gov/module/v1/module.d.ts +47 -0
  250. package/cosmos/gov/module/v1/module.js +93 -0
  251. package/cosmos/gov/v1/genesis.d.ts +116 -0
  252. package/cosmos/gov/v1/genesis.js +195 -0
  253. package/cosmos/gov/v1/gov.d.ts +705 -0
  254. package/cosmos/gov/v1/gov.js +1364 -0
  255. package/cosmos/gov/v1/query.d.ts +724 -0
  256. package/cosmos/gov/v1/query.js +1573 -0
  257. package/cosmos/gov/v1/query.rpc.func.d.ts +11 -0
  258. package/cosmos/gov/v1/query.rpc.func.js +86 -0
  259. package/cosmos/gov/v1/query.rpc.react.d.ts +10 -0
  260. package/cosmos/gov/v1/query.rpc.react.js +41 -0
  261. package/cosmos/gov/v1/tx.d.ts +640 -0
  262. package/cosmos/gov/v1/tx.js +1298 -0
  263. package/cosmos/gov/v1/tx.registry.d.ts +2 -0
  264. package/cosmos/gov/v1/tx.registry.js +5 -0
  265. package/cosmos/gov/v1/tx.rpc.func.d.ts +9 -0
  266. package/cosmos/gov/v1/tx.rpc.func.js +62 -0
  267. package/cosmos/gov/v1/tx.rpc.react.d.ts +8 -0
  268. package/cosmos/gov/v1/tx.rpc.react.js +26 -0
  269. package/cosmos/gov/v1beta1/genesis.d.ts +62 -0
  270. package/cosmos/gov/v1beta1/genesis.js +170 -0
  271. package/cosmos/gov/v1beta1/gov.d.ts +533 -0
  272. package/cosmos/gov/v1beta1/gov.js +1143 -0
  273. package/cosmos/gov/v1beta1/query.d.ts +622 -0
  274. package/cosmos/gov/v1beta1/query.js +1419 -0
  275. package/cosmos/gov/v1beta1/query.rpc.func.d.ts +10 -0
  276. package/cosmos/gov/v1beta1/query.rpc.func.js +77 -0
  277. package/cosmos/gov/v1beta1/query.rpc.react.d.ts +9 -0
  278. package/cosmos/gov/v1beta1/query.rpc.react.js +37 -0
  279. package/cosmos/gov/v1beta1/tx.d.ts +335 -0
  280. package/cosmos/gov/v1beta1/tx.js +722 -0
  281. package/cosmos/gov/v1beta1/tx.registry.d.ts +2 -0
  282. package/cosmos/gov/v1beta1/tx.registry.js +5 -0
  283. package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +6 -0
  284. package/cosmos/gov/v1beta1/tx.rpc.func.js +38 -0
  285. package/cosmos/gov/v1beta1/tx.rpc.react.d.ts +5 -0
  286. package/cosmos/gov/v1beta1/tx.rpc.react.js +17 -0
  287. package/cosmos/group/module/v1/module.d.ts +53 -0
  288. package/cosmos/group/module/v1/module.js +96 -0
  289. package/cosmos/group/v1/events.d.ts +363 -0
  290. package/cosmos/group/v1/events.js +847 -0
  291. package/cosmos/group/v1/genesis.d.ts +83 -0
  292. package/cosmos/group/v1/genesis.js +183 -0
  293. package/cosmos/group/v1/query.d.ts +1044 -0
  294. package/cosmos/group/v1/query.js +2434 -0
  295. package/cosmos/group/v1/query.rpc.func.d.ts +30 -0
  296. package/cosmos/group/v1/query.rpc.func.js +174 -0
  297. package/cosmos/group/v1/tx.d.ts +1140 -0
  298. package/cosmos/group/v1/tx.js +2567 -0
  299. package/cosmos/group/v1/tx.registry.d.ts +179 -0
  300. package/cosmos/group/v1/tx.registry.js +265 -0
  301. package/cosmos/group/v1/tx.rpc.func.d.ts +30 -0
  302. package/cosmos/group/v1/tx.rpc.func.js +147 -0
  303. package/cosmos/group/v1/types.d.ts +799 -0
  304. package/cosmos/group/v1/types.js +1542 -0
  305. package/cosmos/ics23/v1/proofs.d.ts +743 -0
  306. package/cosmos/ics23/v1/proofs.js +1619 -0
  307. package/cosmos/mint/module/v1/module.d.ts +39 -0
  308. package/cosmos/mint/module/v1/module.js +93 -0
  309. package/cosmos/mint/v1beta1/genesis.d.ts +42 -0
  310. package/cosmos/mint/v1beta1/genesis.js +97 -0
  311. package/cosmos/mint/v1beta1/mint.d.ts +96 -0
  312. package/cosmos/mint/v1beta1/mint.js +231 -0
  313. package/cosmos/mint/v1beta1/query.d.ts +219 -0
  314. package/cosmos/mint/v1beta1/query.js +431 -0
  315. package/cosmos/mint/v1beta1/query.rpc.func.d.ts +5 -0
  316. package/cosmos/mint/v1beta1/query.rpc.func.js +32 -0
  317. package/cosmos/mint/v1beta1/query.rpc.react.d.ts +4 -0
  318. package/cosmos/mint/v1beta1/query.rpc.react.js +17 -0
  319. package/cosmos/mint/v1beta1/tx.d.ts +99 -0
  320. package/cosmos/mint/v1beta1/tx.js +160 -0
  321. package/cosmos/mint/v1beta1/tx.registry.d.ts +2 -0
  322. package/cosmos/mint/v1beta1/tx.registry.js +5 -0
  323. package/cosmos/mint/v1beta1/tx.rpc.func.d.ts +3 -0
  324. package/cosmos/mint/v1beta1/tx.rpc.func.js +14 -0
  325. package/cosmos/mint/v1beta1/tx.rpc.react.d.ts +2 -0
  326. package/cosmos/mint/v1beta1/tx.rpc.react.js +8 -0
  327. package/cosmos/msg/textual/v1/textual.d.ts +1 -0
  328. package/cosmos/msg/textual/v1/textual.js +2 -0
  329. package/cosmos/msg/v1/msg.d.ts +1 -0
  330. package/cosmos/msg/v1/msg.js +2 -0
  331. package/cosmos/nft/module/v1/module.d.ts +32 -0
  332. package/cosmos/nft/module/v1/module.js +70 -0
  333. package/cosmos/nft/v1beta1/event.d.ts +132 -0
  334. package/cosmos/nft/v1beta1/event.js +323 -0
  335. package/cosmos/nft/v1beta1/genesis.d.ts +79 -0
  336. package/cosmos/nft/v1beta1/genesis.js +195 -0
  337. package/cosmos/nft/v1beta1/nft.d.ts +111 -0
  338. package/cosmos/nft/v1beta1/nft.js +282 -0
  339. package/cosmos/nft/v1beta1/query.d.ts +508 -0
  340. package/cosmos/nft/v1beta1/query.js +1189 -0
  341. package/cosmos/nft/v1beta1/query.rpc.func.d.ts +16 -0
  342. package/cosmos/nft/v1beta1/query.rpc.func.js +90 -0
  343. package/cosmos/nft/v1beta1/tx.d.ts +78 -0
  344. package/cosmos/nft/v1beta1/tx.js +184 -0
  345. package/cosmos/nft/v1beta1/tx.registry.d.ts +23 -0
  346. package/cosmos/nft/v1beta1/tx.registry.js +31 -0
  347. package/cosmos/nft/v1beta1/tx.rpc.func.d.ts +4 -0
  348. package/cosmos/nft/v1beta1/tx.rpc.func.js +17 -0
  349. package/cosmos/orm/module/v1alpha1/module.d.ts +40 -0
  350. package/cosmos/orm/module/v1alpha1/module.js +70 -0
  351. package/cosmos/orm/query/v1alpha1/query.d.ts +367 -0
  352. package/cosmos/orm/query/v1alpha1/query.js +751 -0
  353. package/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +6 -0
  354. package/cosmos/orm/query/v1alpha1/query.rpc.func.js +30 -0
  355. package/cosmos/orm/v1/orm.d.ts +278 -0
  356. package/cosmos/orm/v1/orm.js +380 -0
  357. package/cosmos/orm/v1alpha1/schema.d.ts +134 -0
  358. package/cosmos/orm/v1alpha1/schema.js +258 -0
  359. package/cosmos/params/module/v1/module.d.ts +33 -0
  360. package/cosmos/params/module/v1/module.js +68 -0
  361. package/cosmos/params/v1beta1/params.d.ts +82 -0
  362. package/cosmos/params/v1beta1/params.js +214 -0
  363. package/cosmos/params/v1beta1/query.d.ts +206 -0
  364. package/cosmos/params/v1beta1/query.js +411 -0
  365. package/cosmos/params/v1beta1/query.rpc.func.d.ts +4 -0
  366. package/cosmos/params/v1beta1/query.rpc.func.js +23 -0
  367. package/cosmos/params/v1beta1/query.rpc.react.d.ts +3 -0
  368. package/cosmos/params/v1beta1/query.rpc.react.js +13 -0
  369. package/cosmos/query/v1/query.d.ts +1 -0
  370. package/cosmos/query/v1/query.js +2 -0
  371. package/cosmos/reflection/v1/reflection.d.ts +67 -0
  372. package/cosmos/reflection/v1/reflection.js +152 -0
  373. package/cosmos/reflection/v1/reflection.rpc.func.d.ts +4 -0
  374. package/cosmos/reflection/v1/reflection.rpc.func.js +18 -0
  375. package/cosmos/slashing/module/v1/module.d.ts +37 -0
  376. package/cosmos/slashing/module/v1/module.js +81 -0
  377. package/cosmos/slashing/v1beta1/genesis.d.ts +181 -0
  378. package/cosmos/slashing/v1beta1/genesis.js +390 -0
  379. package/cosmos/slashing/v1beta1/query.d.ts +232 -0
  380. package/cosmos/slashing/v1beta1/query.js +479 -0
  381. package/cosmos/slashing/v1beta1/query.rpc.func.d.ts +5 -0
  382. package/cosmos/slashing/v1beta1/query.rpc.func.js +32 -0
  383. package/cosmos/slashing/v1beta1/query.rpc.react.d.ts +4 -0
  384. package/cosmos/slashing/v1beta1/query.rpc.react.js +17 -0
  385. package/cosmos/slashing/v1beta1/slashing.d.ts +125 -0
  386. package/cosmos/slashing/v1beta1/slashing.js +269 -0
  387. package/cosmos/slashing/v1beta1/tx.d.ts +163 -0
  388. package/cosmos/slashing/v1beta1/tx.js +301 -0
  389. package/cosmos/slashing/v1beta1/tx.registry.d.ts +2 -0
  390. package/cosmos/slashing/v1beta1/tx.registry.js +5 -0
  391. package/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +4 -0
  392. package/cosmos/slashing/v1beta1/tx.rpc.func.js +22 -0
  393. package/cosmos/slashing/v1beta1/tx.rpc.react.d.ts +3 -0
  394. package/cosmos/slashing/v1beta1/tx.rpc.react.js +11 -0
  395. package/cosmos/staking/module/v1/module.d.ts +57 -0
  396. package/cosmos/staking/module/v1/module.js +120 -0
  397. package/cosmos/staking/v1beta1/authz.d.ts +124 -0
  398. package/cosmos/staking/v1beta1/authz.js +267 -0
  399. package/cosmos/staking/v1beta1/genesis.d.ts +117 -0
  400. package/cosmos/staking/v1beta1/genesis.js +278 -0
  401. package/cosmos/staking/v1beta1/query.d.ts +1152 -0
  402. package/cosmos/staking/v1beta1/query.js +2434 -0
  403. package/cosmos/staking/v1beta1/query.rpc.func.d.ts +16 -0
  404. package/cosmos/staking/v1beta1/query.rpc.func.js +131 -0
  405. package/cosmos/staking/v1beta1/query.rpc.react.d.ts +15 -0
  406. package/cosmos/staking/v1beta1/query.rpc.react.js +61 -0
  407. package/cosmos/staking/v1beta1/staking.d.ts +1045 -0
  408. package/cosmos/staking/v1beta1/staking.js +2377 -0
  409. package/cosmos/staking/v1beta1/tx.d.ts +604 -0
  410. package/cosmos/staking/v1beta1/tx.js +1293 -0
  411. package/cosmos/staking/v1beta1/tx.registry.d.ts +2 -0
  412. package/cosmos/staking/v1beta1/tx.registry.js +5 -0
  413. package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +9 -0
  414. package/cosmos/staking/v1beta1/tx.rpc.func.js +62 -0
  415. package/cosmos/staking/v1beta1/tx.rpc.react.d.ts +8 -0
  416. package/cosmos/staking/v1beta1/tx.rpc.react.js +26 -0
  417. package/cosmos/store/internal/kv/v1beta1/kv.d.ts +68 -0
  418. package/cosmos/store/internal/kv/v1beta1/kv.js +177 -0
  419. package/cosmos/store/snapshots/v1/snapshot.d.ts +294 -0
  420. package/cosmos/store/snapshots/v1/snapshot.js +687 -0
  421. package/cosmos/store/snapshots/v2/snapshot.d.ts +254 -0
  422. package/cosmos/store/snapshots/v2/snapshot.js +687 -0
  423. package/cosmos/store/streaming/abci/grpc.d.ts +136 -0
  424. package/cosmos/store/streaming/abci/grpc.js +332 -0
  425. package/cosmos/store/v1beta1/commit_info.d.ts +124 -0
  426. package/cosmos/store/v1beta1/commit_info.js +292 -0
  427. package/cosmos/store/v1beta1/listening.d.ts +101 -0
  428. package/cosmos/store/v1beta1/listening.js +223 -0
  429. package/cosmos/streaming/v1/grpc.d.ts +302 -0
  430. package/cosmos/streaming/v1/grpc.js +826 -0
  431. package/cosmos/tx/config/v1/config.d.ts +53 -0
  432. package/cosmos/tx/config/v1/config.js +93 -0
  433. package/cosmos/tx/signing/v1beta1/signing.d.ts +275 -0
  434. package/cosmos/tx/signing/v1beta1/signing.js +574 -0
  435. package/cosmos/tx/v1beta1/service.d.ts +934 -0
  436. package/cosmos/tx/v1beta1/service.js +1737 -0
  437. package/cosmos/tx/v1beta1/service.rpc.func.d.ts +11 -0
  438. package/cosmos/tx/v1beta1/service.rpc.func.js +86 -0
  439. package/cosmos/tx/v1beta1/service.rpc.react.d.ts +10 -0
  440. package/cosmos/tx/v1beta1/service.rpc.react.js +41 -0
  441. package/cosmos/tx/v1beta1/tx.d.ts +869 -0
  442. package/cosmos/tx/v1beta1/tx.js +1407 -0
  443. package/cosmos/upgrade/module/v1/module.d.ts +37 -0
  444. package/cosmos/upgrade/module/v1/module.js +81 -0
  445. package/cosmos/upgrade/v1beta1/query.d.ts +433 -0
  446. package/cosmos/upgrade/v1beta1/query.js +757 -0
  447. package/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +7 -0
  448. package/cosmos/upgrade/v1beta1/query.rpc.func.js +50 -0
  449. package/cosmos/upgrade/v1beta1/query.rpc.react.d.ts +6 -0
  450. package/cosmos/upgrade/v1beta1/query.rpc.react.js +25 -0
  451. package/cosmos/upgrade/v1beta1/tx.d.ts +171 -0
  452. package/cosmos/upgrade/v1beta1/tx.js +301 -0
  453. package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -0
  454. package/cosmos/upgrade/v1beta1/tx.registry.js +5 -0
  455. package/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +4 -0
  456. package/cosmos/upgrade/v1beta1/tx.rpc.func.js +22 -0
  457. package/cosmos/upgrade/v1beta1/tx.rpc.react.d.ts +3 -0
  458. package/cosmos/upgrade/v1beta1/tx.rpc.react.js +11 -0
  459. package/cosmos/upgrade/v1beta1/upgrade.d.ts +249 -0
  460. package/cosmos/upgrade/v1beta1/upgrade.js +419 -0
  461. package/cosmos/validate/module/v1/module.d.ts +32 -0
  462. package/cosmos/validate/module/v1/module.js +70 -0
  463. package/cosmos/vesting/module/v1/module.d.ts +32 -0
  464. package/cosmos/vesting/module/v1/module.js +70 -0
  465. package/cosmos/vesting/v1beta1/tx.d.ts +256 -0
  466. package/cosmos/vesting/v1beta1/tx.js +553 -0
  467. package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
  468. package/cosmos/vesting/v1beta1/tx.registry.js +67 -0
  469. package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +8 -0
  470. package/cosmos/vesting/v1beta1/tx.rpc.func.js +37 -0
  471. package/cosmos/vesting/v1beta1/vesting.d.ts +256 -0
  472. package/cosmos/vesting/v1beta1/vesting.js +586 -0
  473. package/cosmos_proto/cosmos.d.ts +155 -0
  474. package/cosmos_proto/cosmos.js +233 -0
  475. package/cosmwasm/wasm/v1/authz.d.ts +511 -0
  476. package/cosmwasm/wasm/v1/authz.js +951 -0
  477. package/cosmwasm/wasm/v1/genesis.d.ts +157 -0
  478. package/cosmwasm/wasm/v1/genesis.js +460 -0
  479. package/cosmwasm/wasm/v1/ibc.d.ts +166 -0
  480. package/cosmwasm/wasm/v1/ibc.js +336 -0
  481. package/cosmwasm/wasm/v1/proposal_legacy.d.ts +885 -0
  482. package/cosmwasm/wasm/v1/proposal_legacy.js +1816 -0
  483. package/cosmwasm/wasm/v1/query.d.ts +1045 -0
  484. package/cosmwasm/wasm/v1/query.js +2223 -0
  485. package/cosmwasm/wasm/v1/query.rpc.func.d.ts +14 -0
  486. package/cosmwasm/wasm/v1/query.rpc.func.js +113 -0
  487. package/cosmwasm/wasm/v1/query.rpc.react.d.ts +13 -0
  488. package/cosmwasm/wasm/v1/query.rpc.react.js +53 -0
  489. package/cosmwasm/wasm/v1/tx.d.ts +1568 -0
  490. package/cosmwasm/wasm/v1/tx.js +3218 -0
  491. package/cosmwasm/wasm/v1/tx.registry.d.ts +2 -0
  492. package/cosmwasm/wasm/v1/tx.registry.js +5 -0
  493. package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +19 -0
  494. package/cosmwasm/wasm/v1/tx.rpc.func.js +142 -0
  495. package/cosmwasm/wasm/v1/tx.rpc.react.d.ts +18 -0
  496. package/cosmwasm/wasm/v1/tx.rpc.react.js +56 -0
  497. package/cosmwasm/wasm/v1/types.d.ts +382 -0
  498. package/cosmwasm/wasm/v1/types.js +915 -0
  499. package/esm/amino/amino.js +1 -0
  500. package/esm/binary.js +365 -0
  501. package/esm/cosmos/app/runtime/v1alpha1/module.js +289 -0
  502. package/esm/cosmos/app/runtime/v2/module.js +418 -0
  503. package/esm/cosmos/app/v1alpha1/config.js +295 -0
  504. package/esm/cosmos/app/v1alpha1/module.js +277 -0
  505. package/esm/cosmos/app/v1alpha1/query.js +145 -0
  506. package/esm/cosmos/app/v1alpha1/query.rpc.func.js +10 -0
  507. package/esm/cosmos/app/v1alpha1/query.rpc.react.js +6 -0
  508. package/esm/cosmos/auth/module/v1/module.js +199 -0
  509. package/esm/cosmos/auth/v1beta1/accounts.js +158 -0
  510. package/esm/cosmos/auth/v1beta1/auth.js +445 -0
  511. package/esm/cosmos/auth/v1beta1/genesis.js +95 -0
  512. package/esm/cosmos/auth/v1beta1/query.js +1555 -0
  513. package/esm/cosmos/auth/v1beta1/query.rpc.func.js +82 -0
  514. package/esm/cosmos/auth/v1beta1/query.rpc.react.js +42 -0
  515. package/esm/cosmos/auth/v1beta1/tx.js +157 -0
  516. package/esm/cosmos/auth/v1beta1/tx.registry.js +2 -0
  517. package/esm/cosmos/auth/v1beta1/tx.rpc.func.js +10 -0
  518. package/esm/cosmos/auth/v1beta1/tx.rpc.react.js +5 -0
  519. package/esm/cosmos/authz/module/v1/module.js +65 -0
  520. package/esm/cosmos/authz/v1beta1/authz.js +387 -0
  521. package/esm/cosmos/authz/v1beta1/event.js +203 -0
  522. package/esm/cosmos/authz/v1beta1/genesis.js +84 -0
  523. package/esm/cosmos/authz/v1beta1/query.js +585 -0
  524. package/esm/cosmos/authz/v1beta1/query.rpc.func.js +26 -0
  525. package/esm/cosmos/authz/v1beta1/query.rpc.react.js +14 -0
  526. package/esm/cosmos/authz/v1beta1/tx.js +509 -0
  527. package/esm/cosmos/authz/v1beta1/tx.registry.js +2 -0
  528. package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +24 -0
  529. package/esm/cosmos/authz/v1beta1/tx.rpc.react.js +11 -0
  530. package/esm/cosmos/autocli/v1/options.js +839 -0
  531. package/esm/cosmos/autocli/v1/query.js +236 -0
  532. package/esm/cosmos/autocli/v1/query.rpc.func.js +10 -0
  533. package/esm/cosmos/autocli/v1/query.rpc.react.js +6 -0
  534. package/esm/cosmos/bank/module/v1/module.js +108 -0
  535. package/esm/cosmos/bank/v1beta1/authz.js +102 -0
  536. package/esm/cosmos/bank/v1beta1/bank.js +728 -0
  537. package/esm/cosmos/bank/v1beta1/genesis.js +240 -0
  538. package/esm/cosmos/bank/v1beta1/query.js +2335 -0
  539. package/esm/cosmos/bank/v1beta1/query.rpc.func.js +106 -0
  540. package/esm/cosmos/bank/v1beta1/query.rpc.react.js +54 -0
  541. package/esm/cosmos/bank/v1beta1/tx.js +663 -0
  542. package/esm/cosmos/bank/v1beta1/tx.registry.js +2 -0
  543. package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +31 -0
  544. package/esm/cosmos/bank/v1beta1/tx.rpc.react.js +14 -0
  545. package/esm/cosmos/base/abci/v1beta1/abci.js +1291 -0
  546. package/esm/cosmos/base/grpc/v2/service.js +391 -0
  547. package/esm/cosmos/base/grpc/v2/service.rpc.func.js +18 -0
  548. package/esm/cosmos/base/grpc/v2/service.rpc.react.js +10 -0
  549. package/esm/cosmos/base/node/v1beta1/query.js +369 -0
  550. package/esm/cosmos/base/node/v1beta1/query.rpc.func.js +18 -0
  551. package/esm/cosmos/base/node/v1beta1/query.rpc.react.js +10 -0
  552. package/esm/cosmos/base/query/v1beta1/pagination.js +216 -0
  553. package/esm/cosmos/base/reflection/v1beta1/reflection.js +302 -0
  554. package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +18 -0
  555. package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.react.js +10 -0
  556. package/esm/cosmos/base/reflection/v2alpha1/reflection.js +2161 -0
  557. package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +50 -0
  558. package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.react.js +26 -0
  559. package/esm/cosmos/base/tendermint/v1beta1/query.js +1891 -0
  560. package/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +58 -0
  561. package/esm/cosmos/base/tendermint/v1beta1/query.rpc.react.js +30 -0
  562. package/esm/cosmos/base/tendermint/v1beta1/types.js +360 -0
  563. package/esm/cosmos/base/v1beta1/coin.js +334 -0
  564. package/esm/cosmos/circuit/module/v1/module.js +80 -0
  565. package/esm/cosmos/circuit/v1/query.js +477 -0
  566. package/esm/cosmos/circuit/v1/query.rpc.func.js +36 -0
  567. package/esm/cosmos/circuit/v1/tx.js +525 -0
  568. package/esm/cosmos/circuit/v1/tx.registry.js +64 -0
  569. package/esm/cosmos/circuit/v1/tx.rpc.func.js +31 -0
  570. package/esm/cosmos/circuit/v1/types.js +345 -0
  571. package/esm/cosmos/consensus/module/v1/module.js +78 -0
  572. package/esm/cosmos/consensus/v1/query.js +145 -0
  573. package/esm/cosmos/consensus/v1/query.rpc.func.js +10 -0
  574. package/esm/cosmos/consensus/v1/query.rpc.react.js +6 -0
  575. package/esm/cosmos/consensus/v1/tx.js +196 -0
  576. package/esm/cosmos/consensus/v1/tx.registry.js +2 -0
  577. package/esm/cosmos/consensus/v1/tx.rpc.func.js +10 -0
  578. package/esm/cosmos/consensus/v1/tx.rpc.react.js +5 -0
  579. package/esm/cosmos/crisis/module/v1/module.js +92 -0
  580. package/esm/cosmos/crisis/v1beta1/genesis.js +81 -0
  581. package/esm/cosmos/crisis/v1beta1/tx.js +325 -0
  582. package/esm/cosmos/crisis/v1beta1/tx.registry.js +46 -0
  583. package/esm/cosmos/crisis/v1beta1/tx.rpc.func.js +22 -0
  584. package/esm/cosmos/crypto/ed25519/keys.js +159 -0
  585. package/esm/cosmos/crypto/hd/v1/hd.js +128 -0
  586. package/esm/cosmos/crypto/keyring/v1/record.js +428 -0
  587. package/esm/cosmos/crypto/multisig/keys.js +96 -0
  588. package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +171 -0
  589. package/esm/cosmos/crypto/secp256k1/keys.js +159 -0
  590. package/esm/cosmos/crypto/secp256r1/keys.js +159 -0
  591. package/esm/cosmos/distribution/module/v1/module.js +90 -0
  592. package/esm/cosmos/distribution/v1beta1/distribution.js +1165 -0
  593. package/esm/cosmos/distribution/v1beta1/genesis.js +905 -0
  594. package/esm/cosmos/distribution/v1beta1/query.js +1658 -0
  595. package/esm/cosmos/distribution/v1beta1/query.rpc.func.js +82 -0
  596. package/esm/cosmos/distribution/v1beta1/query.rpc.react.js +42 -0
  597. package/esm/cosmos/distribution/v1beta1/tx.js +1139 -0
  598. package/esm/cosmos/distribution/v1beta1/tx.registry.js +2 -0
  599. package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +52 -0
  600. package/esm/cosmos/distribution/v1beta1/tx.rpc.react.js +23 -0
  601. package/esm/cosmos/evidence/module/v1/module.js +65 -0
  602. package/esm/cosmos/evidence/v1beta1/evidence.js +116 -0
  603. package/esm/cosmos/evidence/v1beta1/genesis.js +82 -0
  604. package/esm/cosmos/evidence/v1beta1/query.js +343 -0
  605. package/esm/cosmos/evidence/v1beta1/query.rpc.func.js +18 -0
  606. package/esm/cosmos/evidence/v1beta1/query.rpc.react.js +10 -0
  607. package/esm/cosmos/evidence/v1beta1/tx.js +170 -0
  608. package/esm/cosmos/evidence/v1beta1/tx.registry.js +2 -0
  609. package/esm/cosmos/evidence/v1beta1/tx.rpc.func.js +10 -0
  610. package/esm/cosmos/evidence/v1beta1/tx.rpc.react.js +5 -0
  611. package/esm/cosmos/feegrant/module/v1/module.js +65 -0
  612. package/esm/cosmos/feegrant/v1beta1/feegrant.js +442 -0
  613. package/esm/cosmos/feegrant/v1beta1/genesis.js +84 -0
  614. package/esm/cosmos/feegrant/v1beta1/query.js +543 -0
  615. package/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +26 -0
  616. package/esm/cosmos/feegrant/v1beta1/query.rpc.react.js +14 -0
  617. package/esm/cosmos/feegrant/v1beta1/tx.js +467 -0
  618. package/esm/cosmos/feegrant/v1beta1/tx.registry.js +2 -0
  619. package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +24 -0
  620. package/esm/cosmos/feegrant/v1beta1/tx.rpc.react.js +11 -0
  621. package/esm/cosmos/genutil/module/v1/module.js +67 -0
  622. package/esm/cosmos/genutil/v1beta1/genesis.js +84 -0
  623. package/esm/cosmos/gov/module/v1/module.js +90 -0
  624. package/esm/cosmos/gov/v1/genesis.js +192 -0
  625. package/esm/cosmos/gov/v1/gov.js +1357 -0
  626. package/esm/cosmos/gov/v1/query.js +1570 -0
  627. package/esm/cosmos/gov/v1/query.rpc.func.js +74 -0
  628. package/esm/cosmos/gov/v1/query.rpc.react.js +38 -0
  629. package/esm/cosmos/gov/v1/tx.js +1295 -0
  630. package/esm/cosmos/gov/v1/tx.registry.js +2 -0
  631. package/esm/cosmos/gov/v1/tx.rpc.func.js +52 -0
  632. package/esm/cosmos/gov/v1/tx.rpc.react.js +23 -0
  633. package/esm/cosmos/gov/v1beta1/genesis.js +167 -0
  634. package/esm/cosmos/gov/v1beta1/gov.js +1136 -0
  635. package/esm/cosmos/gov/v1beta1/query.js +1416 -0
  636. package/esm/cosmos/gov/v1beta1/query.rpc.func.js +66 -0
  637. package/esm/cosmos/gov/v1beta1/query.rpc.react.js +34 -0
  638. package/esm/cosmos/gov/v1beta1/tx.js +719 -0
  639. package/esm/cosmos/gov/v1beta1/tx.registry.js +2 -0
  640. package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +31 -0
  641. package/esm/cosmos/gov/v1beta1/tx.rpc.react.js +14 -0
  642. package/esm/cosmos/group/module/v1/module.js +93 -0
  643. package/esm/cosmos/group/v1/events.js +844 -0
  644. package/esm/cosmos/group/v1/genesis.js +180 -0
  645. package/esm/cosmos/group/v1/query.js +2431 -0
  646. package/esm/cosmos/group/v1/query.rpc.func.js +157 -0
  647. package/esm/cosmos/group/v1/tx.js +2562 -0
  648. package/esm/cosmos/group/v1/tx.registry.js +262 -0
  649. package/esm/cosmos/group/v1/tx.rpc.func.js +130 -0
  650. package/esm/cosmos/group/v1/types.js +1533 -0
  651. package/esm/cosmos/ics23/v1/proofs.js +1612 -0
  652. package/esm/cosmos/mint/module/v1/module.js +90 -0
  653. package/esm/cosmos/mint/v1beta1/genesis.js +94 -0
  654. package/esm/cosmos/mint/v1beta1/mint.js +228 -0
  655. package/esm/cosmos/mint/v1beta1/query.js +428 -0
  656. package/esm/cosmos/mint/v1beta1/query.rpc.func.js +26 -0
  657. package/esm/cosmos/mint/v1beta1/query.rpc.react.js +14 -0
  658. package/esm/cosmos/mint/v1beta1/tx.js +157 -0
  659. package/esm/cosmos/mint/v1beta1/tx.registry.js +2 -0
  660. package/esm/cosmos/mint/v1beta1/tx.rpc.func.js +10 -0
  661. package/esm/cosmos/mint/v1beta1/tx.rpc.react.js +5 -0
  662. package/esm/cosmos/msg/textual/v1/textual.js +1 -0
  663. package/esm/cosmos/msg/v1/msg.js +1 -0
  664. package/esm/cosmos/nft/module/v1/module.js +67 -0
  665. package/esm/cosmos/nft/v1beta1/event.js +320 -0
  666. package/esm/cosmos/nft/v1beta1/genesis.js +192 -0
  667. package/esm/cosmos/nft/v1beta1/nft.js +279 -0
  668. package/esm/cosmos/nft/v1beta1/query.js +1186 -0
  669. package/esm/cosmos/nft/v1beta1/query.rpc.func.js +80 -0
  670. package/esm/cosmos/nft/v1beta1/tx.js +181 -0
  671. package/esm/cosmos/nft/v1beta1/tx.registry.js +28 -0
  672. package/esm/cosmos/nft/v1beta1/tx.rpc.func.js +13 -0
  673. package/esm/cosmos/orm/module/v1alpha1/module.js +67 -0
  674. package/esm/cosmos/orm/query/v1alpha1/query.js +748 -0
  675. package/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +25 -0
  676. package/esm/cosmos/orm/v1/orm.js +377 -0
  677. package/esm/cosmos/orm/v1alpha1/schema.js +253 -0
  678. package/esm/cosmos/params/module/v1/module.js +65 -0
  679. package/esm/cosmos/params/v1beta1/params.js +211 -0
  680. package/esm/cosmos/params/v1beta1/query.js +408 -0
  681. package/esm/cosmos/params/v1beta1/query.rpc.func.js +18 -0
  682. package/esm/cosmos/params/v1beta1/query.rpc.react.js +10 -0
  683. package/esm/cosmos/query/v1/query.js +1 -0
  684. package/esm/cosmos/reflection/v1/reflection.js +149 -0
  685. package/esm/cosmos/reflection/v1/reflection.rpc.func.js +14 -0
  686. package/esm/cosmos/slashing/module/v1/module.js +78 -0
  687. package/esm/cosmos/slashing/v1beta1/genesis.js +387 -0
  688. package/esm/cosmos/slashing/v1beta1/query.js +476 -0
  689. package/esm/cosmos/slashing/v1beta1/query.rpc.func.js +26 -0
  690. package/esm/cosmos/slashing/v1beta1/query.rpc.react.js +14 -0
  691. package/esm/cosmos/slashing/v1beta1/slashing.js +266 -0
  692. package/esm/cosmos/slashing/v1beta1/tx.js +298 -0
  693. package/esm/cosmos/slashing/v1beta1/tx.registry.js +2 -0
  694. package/esm/cosmos/slashing/v1beta1/tx.rpc.func.js +17 -0
  695. package/esm/cosmos/slashing/v1beta1/tx.rpc.react.js +8 -0
  696. package/esm/cosmos/staking/module/v1/module.js +117 -0
  697. package/esm/cosmos/staking/v1beta1/authz.js +262 -0
  698. package/esm/cosmos/staking/v1beta1/genesis.js +275 -0
  699. package/esm/cosmos/staking/v1beta1/query.js +2431 -0
  700. package/esm/cosmos/staking/v1beta1/query.rpc.func.js +114 -0
  701. package/esm/cosmos/staking/v1beta1/query.rpc.react.js +58 -0
  702. package/esm/cosmos/staking/v1beta1/staking.js +2370 -0
  703. package/esm/cosmos/staking/v1beta1/tx.js +1290 -0
  704. package/esm/cosmos/staking/v1beta1/tx.registry.js +2 -0
  705. package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +52 -0
  706. package/esm/cosmos/staking/v1beta1/tx.rpc.react.js +23 -0
  707. package/esm/cosmos/store/internal/kv/v1beta1/kv.js +174 -0
  708. package/esm/cosmos/store/snapshots/v1/snapshot.js +684 -0
  709. package/esm/cosmos/store/snapshots/v2/snapshot.js +684 -0
  710. package/esm/cosmos/store/streaming/abci/grpc.js +329 -0
  711. package/esm/cosmos/store/v1beta1/commit_info.js +289 -0
  712. package/esm/cosmos/store/v1beta1/listening.js +220 -0
  713. package/esm/cosmos/streaming/v1/grpc.js +823 -0
  714. package/esm/cosmos/tx/config/v1/config.js +90 -0
  715. package/esm/cosmos/tx/signing/v1beta1/signing.js +569 -0
  716. package/esm/cosmos/tx/v1beta1/service.js +1730 -0
  717. package/esm/cosmos/tx/v1beta1/service.rpc.func.js +74 -0
  718. package/esm/cosmos/tx/v1beta1/service.rpc.react.js +38 -0
  719. package/esm/cosmos/tx/v1beta1/tx.js +1404 -0
  720. package/esm/cosmos/upgrade/module/v1/module.js +78 -0
  721. package/esm/cosmos/upgrade/v1beta1/query.js +754 -0
  722. package/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +42 -0
  723. package/esm/cosmos/upgrade/v1beta1/query.rpc.react.js +22 -0
  724. package/esm/cosmos/upgrade/v1beta1/tx.js +298 -0
  725. package/esm/cosmos/upgrade/v1beta1/tx.registry.js +2 -0
  726. package/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +17 -0
  727. package/esm/cosmos/upgrade/v1beta1/tx.rpc.react.js +8 -0
  728. package/esm/cosmos/upgrade/v1beta1/upgrade.js +416 -0
  729. package/esm/cosmos/validate/module/v1/module.js +67 -0
  730. package/esm/cosmos/vesting/module/v1/module.js +67 -0
  731. package/esm/cosmos/vesting/v1beta1/tx.js +550 -0
  732. package/esm/cosmos/vesting/v1beta1/tx.registry.js +64 -0
  733. package/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +31 -0
  734. package/esm/cosmos/vesting/v1beta1/vesting.js +583 -0
  735. package/esm/cosmos_proto/cosmos.js +228 -0
  736. package/esm/cosmwasm/wasm/v1/authz.js +948 -0
  737. package/esm/cosmwasm/wasm/v1/genesis.js +457 -0
  738. package/esm/cosmwasm/wasm/v1/ibc.js +333 -0
  739. package/esm/cosmwasm/wasm/v1/proposal_legacy.js +1813 -0
  740. package/esm/cosmwasm/wasm/v1/query.js +2220 -0
  741. package/esm/cosmwasm/wasm/v1/query.rpc.func.js +98 -0
  742. package/esm/cosmwasm/wasm/v1/query.rpc.react.js +50 -0
  743. package/esm/cosmwasm/wasm/v1/tx.js +3215 -0
  744. package/esm/cosmwasm/wasm/v1/tx.registry.js +2 -0
  745. package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +122 -0
  746. package/esm/cosmwasm/wasm/v1/tx.rpc.react.js +53 -0
  747. package/esm/cosmwasm/wasm/v1/types.js +908 -0
  748. package/esm/ethermint/crypto/v1/ethsecp256k1/keys.js +142 -0
  749. package/esm/ethermint/evm/v1/events.js +380 -0
  750. package/esm/ethermint/evm/v1/evm.js +1187 -0
  751. package/esm/ethermint/evm/v1/genesis.js +189 -0
  752. package/esm/ethermint/evm/v1/query.js +1982 -0
  753. package/esm/ethermint/evm/v1/query.rpc.func.js +99 -0
  754. package/esm/ethermint/evm/v1/query.rpc.react.js +50 -0
  755. package/esm/ethermint/evm/v1/tx.js +1018 -0
  756. package/esm/ethermint/evm/v1/tx.registry.js +2 -0
  757. package/esm/ethermint/evm/v1/tx.rpc.func.js +17 -0
  758. package/esm/ethermint/evm/v1/tx.rpc.react.js +8 -0
  759. package/esm/ethermint/feemarket/v1/events.js +153 -0
  760. package/esm/ethermint/feemarket/v1/feemarket.js +151 -0
  761. package/esm/ethermint/feemarket/v1/genesis.js +86 -0
  762. package/esm/ethermint/feemarket/v1/query.js +385 -0
  763. package/esm/ethermint/feemarket/v1/query.rpc.func.js +26 -0
  764. package/esm/ethermint/feemarket/v1/query.rpc.react.js +14 -0
  765. package/esm/ethermint/feemarket/v1/tx.js +150 -0
  766. package/esm/ethermint/feemarket/v1/tx.registry.js +2 -0
  767. package/esm/ethermint/feemarket/v1/tx.rpc.func.js +10 -0
  768. package/esm/ethermint/feemarket/v1/tx.rpc.react.js +5 -0
  769. package/esm/ethermint/types/v1/account.js +88 -0
  770. package/esm/ethermint/types/v1/dynamic_fee.js +71 -0
  771. package/esm/ethermint/types/v1/indexer.js +143 -0
  772. package/esm/ethermint/types/v1/web3.js +96 -0
  773. package/esm/extern.js +30 -0
  774. package/esm/gogoproto/gogo.js +1 -0
  775. package/esm/google/api/annotations.js +1 -0
  776. package/esm/google/api/http.js +354 -0
  777. package/esm/google/protobuf/any.js +79 -0
  778. package/esm/google/protobuf/descriptor.js +5136 -0
  779. package/esm/google/protobuf/duration.js +77 -0
  780. package/esm/google/protobuf/timestamp.js +74 -0
  781. package/esm/helper-func-types.js +60 -0
  782. package/esm/helpers.js +128 -0
  783. package/esm/ibc/applications/fee/v1/ack.js +103 -0
  784. package/esm/ibc/applications/fee/v1/fee.js +398 -0
  785. package/esm/ibc/applications/fee/v1/genesis.js +531 -0
  786. package/esm/ibc/applications/fee/v1/metadata.js +90 -0
  787. package/esm/ibc/applications/fee/v1/query.js +1739 -0
  788. package/esm/ibc/applications/fee/v1/query.rpc.func.js +82 -0
  789. package/esm/ibc/applications/fee/v1/query.rpc.react.js +42 -0
  790. package/esm/ibc/applications/fee/v1/tx.js +707 -0
  791. package/esm/ibc/applications/fee/v1/tx.registry.js +2 -0
  792. package/esm/ibc/applications/fee/v1/tx.rpc.func.js +31 -0
  793. package/esm/ibc/applications/fee/v1/tx.rpc.react.js +14 -0
  794. package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +78 -0
  795. package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +311 -0
  796. package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +18 -0
  797. package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.js +10 -0
  798. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +553 -0
  799. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +2 -0
  800. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +24 -0
  801. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.js +11 -0
  802. package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +558 -0
  803. package/esm/ibc/applications/interchain_accounts/host/v1/host.js +183 -0
  804. package/esm/ibc/applications/interchain_accounts/host/v1/query.js +145 -0
  805. package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +10 -0
  806. package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.react.js +6 -0
  807. package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +344 -0
  808. package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +2 -0
  809. package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +17 -0
  810. package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.js +8 -0
  811. package/esm/ibc/applications/interchain_accounts/v1/account.js +96 -0
  812. package/esm/ibc/applications/interchain_accounts/v1/metadata.js +138 -0
  813. package/esm/ibc/applications/interchain_accounts/v1/packet.js +222 -0
  814. package/esm/ibc/applications/transfer/v1/authz.js +223 -0
  815. package/esm/ibc/applications/transfer/v1/genesis.js +126 -0
  816. package/esm/ibc/applications/transfer/v1/query.js +953 -0
  817. package/esm/ibc/applications/transfer/v1/query.rpc.func.js +50 -0
  818. package/esm/ibc/applications/transfer/v1/query.rpc.react.js +26 -0
  819. package/esm/ibc/applications/transfer/v1/transfer.js +179 -0
  820. package/esm/ibc/applications/transfer/v1/tx.js +399 -0
  821. package/esm/ibc/applications/transfer/v1/tx.registry.js +2 -0
  822. package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +17 -0
  823. package/esm/ibc/applications/transfer/v1/tx.rpc.react.js +8 -0
  824. package/esm/ibc/applications/transfer/v2/packet.js +126 -0
  825. package/esm/ibc/core/channel/v1/channel.js +1160 -0
  826. package/esm/ibc/core/channel/v1/genesis.js +302 -0
  827. package/esm/ibc/core/channel/v1/query.js +3415 -0
  828. package/esm/ibc/core/channel/v1/query.rpc.func.js +138 -0
  829. package/esm/ibc/core/channel/v1/query.rpc.react.js +70 -0
  830. package/esm/ibc/core/channel/v1/tx.js +4031 -0
  831. package/esm/ibc/core/channel/v1/tx.registry.js +2 -0
  832. package/esm/ibc/core/channel/v1/tx.rpc.func.js +136 -0
  833. package/esm/ibc/core/channel/v1/tx.rpc.react.js +59 -0
  834. package/esm/ibc/core/channel/v1/upgrade.js +300 -0
  835. package/esm/ibc/core/client/v1/client.js +673 -0
  836. package/esm/ibc/core/client/v1/genesis.js +337 -0
  837. package/esm/ibc/core/client/v1/query.js +1756 -0
  838. package/esm/ibc/core/client/v1/query.rpc.func.js +82 -0
  839. package/esm/ibc/core/client/v1/query.rpc.react.js +42 -0
  840. package/esm/ibc/core/client/v1/tx.js +1186 -0
  841. package/esm/ibc/core/client/v1/tx.registry.js +2 -0
  842. package/esm/ibc/core/client/v1/tx.rpc.func.js +52 -0
  843. package/esm/ibc/core/client/v1/tx.rpc.react.js +23 -0
  844. package/esm/ibc/core/commitment/v1/commitment.js +319 -0
  845. package/esm/ibc/core/connection/v1/connection.js +776 -0
  846. package/esm/ibc/core/connection/v1/genesis.js +125 -0
  847. package/esm/ibc/core/connection/v1/query.js +1097 -0
  848. package/esm/ibc/core/connection/v1/query.rpc.func.js +50 -0
  849. package/esm/ibc/core/connection/v1/query.rpc.react.js +26 -0
  850. package/esm/ibc/core/connection/v1/tx.js +1086 -0
  851. package/esm/ibc/core/connection/v1/tx.registry.js +2 -0
  852. package/esm/ibc/core/connection/v1/tx.rpc.func.js +38 -0
  853. package/esm/ibc/core/connection/v1/tx.rpc.react.js +17 -0
  854. package/esm/ibc/core/types/v1/genesis.js +109 -0
  855. package/esm/ibc/lightclients/localhost/v2/localhost.js +81 -0
  856. package/esm/ibc/lightclients/solomachine/v2/solomachine.js +1675 -0
  857. package/esm/ibc/lightclients/solomachine/v3/solomachine.js +839 -0
  858. package/esm/ibc/lightclients/tendermint/v1/tendermint.js +628 -0
  859. package/esm/ibc/lightclients/wasm/v1/genesis.js +161 -0
  860. package/esm/ibc/lightclients/wasm/v1/query.js +330 -0
  861. package/esm/ibc/lightclients/wasm/v1/query.rpc.func.js +18 -0
  862. package/esm/ibc/lightclients/wasm/v1/query.rpc.react.js +10 -0
  863. package/esm/ibc/lightclients/wasm/v1/tx.js +498 -0
  864. package/esm/ibc/lightclients/wasm/v1/tx.registry.js +2 -0
  865. package/esm/ibc/lightclients/wasm/v1/tx.rpc.func.js +24 -0
  866. package/esm/ibc/lightclients/wasm/v1/tx.rpc.react.js +11 -0
  867. package/esm/ibc/lightclients/wasm/v1/wasm.js +340 -0
  868. package/esm/react-query.js +92 -0
  869. package/esm/registry.js +154 -0
  870. package/esm/tendermint/abci/types.js +5300 -0
  871. package/esm/tendermint/crypto/keys.js +84 -0
  872. package/esm/tendermint/crypto/proof.js +458 -0
  873. package/esm/tendermint/p2p/types.js +429 -0
  874. package/esm/tendermint/types/block.js +114 -0
  875. package/esm/tendermint/types/evidence.js +409 -0
  876. package/esm/tendermint/types/params.js +597 -0
  877. package/esm/tendermint/types/types.js +1776 -0
  878. package/esm/tendermint/types/validator.js +342 -0
  879. package/esm/tendermint/version/types.js +165 -0
  880. package/esm/types.js +6 -0
  881. package/esm/utf8.js +136 -0
  882. package/esm/varint.js +407 -0
  883. package/esm/xpla/reward/v1beta1/genesis.js +74 -0
  884. package/esm/xpla/reward/v1beta1/query.js +264 -0
  885. package/esm/xpla/reward/v1beta1/query.rpc.func.js +18 -0
  886. package/esm/xpla/reward/v1beta1/query.rpc.react.js +10 -0
  887. package/esm/xpla/reward/v1beta1/reward.js +127 -0
  888. package/esm/xpla/reward/v1beta1/tx.js +302 -0
  889. package/esm/xpla/reward/v1beta1/tx.registry.js +2 -0
  890. package/esm/xpla/reward/v1beta1/tx.rpc.func.js +17 -0
  891. package/esm/xpla/reward/v1beta1/tx.rpc.react.js +8 -0
  892. package/esm/xpla/volunteer/v1beta1/genesis.js +77 -0
  893. package/esm/xpla/volunteer/v1beta1/proposal.js +534 -0
  894. package/esm/xpla/volunteer/v1beta1/query.js +131 -0
  895. package/esm/xpla/volunteer/v1beta1/query.rpc.func.js +10 -0
  896. package/esm/xpla/volunteer/v1beta1/query.rpc.react.js +6 -0
  897. package/esm/xpla/volunteer/v1beta1/tx.js +348 -0
  898. package/esm/xpla/volunteer/v1beta1/tx.registry.js +2 -0
  899. package/esm/xpla/volunteer/v1beta1/tx.rpc.func.js +17 -0
  900. package/esm/xpla/volunteer/v1beta1/tx.rpc.react.js +8 -0
  901. package/esm/xpla/volunteer/v1beta1/volunteervalidator.js +83 -0
  902. package/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +82 -0
  903. package/ethermint/crypto/v1/ethsecp256k1/keys.js +145 -0
  904. package/ethermint/evm/v1/events.d.ts +166 -0
  905. package/ethermint/evm/v1/events.js +383 -0
  906. package/ethermint/evm/v1/evm.d.ts +538 -0
  907. package/ethermint/evm/v1/evm.js +1190 -0
  908. package/ethermint/evm/v1/genesis.d.ts +89 -0
  909. package/ethermint/evm/v1/genesis.js +192 -0
  910. package/ethermint/evm/v1/query.d.ts +937 -0
  911. package/ethermint/evm/v1/query.js +1985 -0
  912. package/ethermint/evm/v1/query.rpc.func.d.ts +15 -0
  913. package/ethermint/evm/v1/query.rpc.func.js +114 -0
  914. package/ethermint/evm/v1/query.rpc.react.d.ts +14 -0
  915. package/ethermint/evm/v1/query.rpc.react.js +53 -0
  916. package/ethermint/evm/v1/tx.d.ts +460 -0
  917. package/ethermint/evm/v1/tx.js +1021 -0
  918. package/ethermint/evm/v1/tx.registry.d.ts +2 -0
  919. package/ethermint/evm/v1/tx.registry.js +5 -0
  920. package/ethermint/evm/v1/tx.rpc.func.d.ts +4 -0
  921. package/ethermint/evm/v1/tx.rpc.func.js +22 -0
  922. package/ethermint/evm/v1/tx.rpc.react.d.ts +3 -0
  923. package/ethermint/evm/v1/tx.rpc.react.js +11 -0
  924. package/ethermint/feemarket/v1/events.d.ts +72 -0
  925. package/ethermint/feemarket/v1/events.js +156 -0
  926. package/ethermint/feemarket/v1/feemarket.d.ts +79 -0
  927. package/ethermint/feemarket/v1/feemarket.js +154 -0
  928. package/ethermint/feemarket/v1/genesis.d.ts +46 -0
  929. package/ethermint/feemarket/v1/genesis.js +89 -0
  930. package/ethermint/feemarket/v1/query.d.ts +201 -0
  931. package/ethermint/feemarket/v1/query.js +388 -0
  932. package/ethermint/feemarket/v1/query.rpc.func.d.ts +5 -0
  933. package/ethermint/feemarket/v1/query.rpc.func.js +32 -0
  934. package/ethermint/feemarket/v1/query.rpc.react.d.ts +4 -0
  935. package/ethermint/feemarket/v1/query.rpc.react.js +17 -0
  936. package/ethermint/feemarket/v1/tx.d.ts +83 -0
  937. package/ethermint/feemarket/v1/tx.js +153 -0
  938. package/ethermint/feemarket/v1/tx.registry.d.ts +2 -0
  939. package/ethermint/feemarket/v1/tx.registry.js +5 -0
  940. package/ethermint/feemarket/v1/tx.rpc.func.d.ts +3 -0
  941. package/ethermint/feemarket/v1/tx.rpc.func.js +14 -0
  942. package/ethermint/feemarket/v1/tx.rpc.react.d.ts +2 -0
  943. package/ethermint/feemarket/v1/tx.rpc.react.js +8 -0
  944. package/ethermint/types/v1/account.d.ts +46 -0
  945. package/ethermint/types/v1/account.js +91 -0
  946. package/ethermint/types/v1/dynamic_fee.d.ts +35 -0
  947. package/ethermint/types/v1/dynamic_fee.js +74 -0
  948. package/ethermint/types/v1/indexer.d.ts +77 -0
  949. package/ethermint/types/v1/indexer.js +146 -0
  950. package/ethermint/types/v1/web3.d.ts +67 -0
  951. package/ethermint/types/v1/web3.js +99 -0
  952. package/extern.d.ts +10 -0
  953. package/extern.js +36 -0
  954. package/gogoproto/gogo.d.ts +1 -0
  955. package/gogoproto/gogo.js +2 -0
  956. package/google/api/annotations.d.ts +1 -0
  957. package/google/api/annotations.js +2 -0
  958. package/google/api/http.d.ts +767 -0
  959. package/google/api/http.js +357 -0
  960. package/google/protobuf/any.d.ts +269 -0
  961. package/google/protobuf/any.js +82 -0
  962. package/google/protobuf/descriptor.d.ts +2952 -0
  963. package/google/protobuf/descriptor.js +5175 -0
  964. package/google/protobuf/duration.d.ts +163 -0
  965. package/google/protobuf/duration.js +80 -0
  966. package/google/protobuf/timestamp.d.ts +223 -0
  967. package/google/protobuf/timestamp.js +77 -0
  968. package/helper-func-types.d.ts +120 -0
  969. package/helper-func-types.js +66 -0
  970. package/helpers.d.ts +82 -0
  971. package/helpers.js +143 -0
  972. package/ibc/applications/fee/v1/ack.d.ts +45 -0
  973. package/ibc/applications/fee/v1/ack.js +106 -0
  974. package/ibc/applications/fee/v1/fee.d.ts +164 -0
  975. package/ibc/applications/fee/v1/fee.js +401 -0
  976. package/ibc/applications/fee/v1/genesis.d.ts +225 -0
  977. package/ibc/applications/fee/v1/genesis.js +534 -0
  978. package/ibc/applications/fee/v1/metadata.d.ts +47 -0
  979. package/ibc/applications/fee/v1/metadata.js +93 -0
  980. package/ibc/applications/fee/v1/query.d.ts +757 -0
  981. package/ibc/applications/fee/v1/query.js +1742 -0
  982. package/ibc/applications/fee/v1/query.rpc.func.d.ts +12 -0
  983. package/ibc/applications/fee/v1/query.rpc.func.js +95 -0
  984. package/ibc/applications/fee/v1/query.rpc.react.d.ts +11 -0
  985. package/ibc/applications/fee/v1/query.rpc.react.js +45 -0
  986. package/ibc/applications/fee/v1/tx.d.ts +326 -0
  987. package/ibc/applications/fee/v1/tx.js +710 -0
  988. package/ibc/applications/fee/v1/tx.registry.d.ts +2 -0
  989. package/ibc/applications/fee/v1/tx.registry.js +5 -0
  990. package/ibc/applications/fee/v1/tx.rpc.func.d.ts +6 -0
  991. package/ibc/applications/fee/v1/tx.rpc.func.js +38 -0
  992. package/ibc/applications/fee/v1/tx.rpc.react.d.ts +5 -0
  993. package/ibc/applications/fee/v1/tx.rpc.react.js +17 -0
  994. package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +43 -0
  995. package/ibc/applications/interchain_accounts/controller/v1/controller.js +81 -0
  996. package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +137 -0
  997. package/ibc/applications/interchain_accounts/controller/v1/query.js +314 -0
  998. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.d.ts +4 -0
  999. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +23 -0
  1000. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.d.ts +3 -0
  1001. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.js +13 -0
  1002. package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +237 -0
  1003. package/ibc/applications/interchain_accounts/controller/v1/tx.js +556 -0
  1004. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +2 -0
  1005. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +5 -0
  1006. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +5 -0
  1007. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +30 -0
  1008. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.d.ts +4 -0
  1009. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.js +14 -0
  1010. package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +201 -0
  1011. package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +561 -0
  1012. package/ibc/applications/interchain_accounts/host/v1/host.d.ts +104 -0
  1013. package/ibc/applications/interchain_accounts/host/v1/host.js +186 -0
  1014. package/ibc/applications/interchain_accounts/host/v1/query.d.ts +69 -0
  1015. package/ibc/applications/interchain_accounts/host/v1/query.js +148 -0
  1016. package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.d.ts +3 -0
  1017. package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +14 -0
  1018. package/ibc/applications/interchain_accounts/host/v1/query.rpc.react.d.ts +2 -0
  1019. package/ibc/applications/interchain_accounts/host/v1/query.rpc.react.js +9 -0
  1020. package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +159 -0
  1021. package/ibc/applications/interchain_accounts/host/v1/tx.js +347 -0
  1022. package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -0
  1023. package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +5 -0
  1024. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +4 -0
  1025. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +22 -0
  1026. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.d.ts +3 -0
  1027. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.js +11 -0
  1028. package/ibc/applications/interchain_accounts/v1/account.d.ts +38 -0
  1029. package/ibc/applications/interchain_accounts/v1/account.js +99 -0
  1030. package/ibc/applications/interchain_accounts/v1/metadata.d.ts +69 -0
  1031. package/ibc/applications/interchain_accounts/v1/metadata.js +141 -0
  1032. package/ibc/applications/interchain_accounts/v1/packet.d.ts +87 -0
  1033. package/ibc/applications/interchain_accounts/v1/packet.js +227 -0
  1034. package/ibc/applications/transfer/v1/authz.d.ts +101 -0
  1035. package/ibc/applications/transfer/v1/authz.js +226 -0
  1036. package/ibc/applications/transfer/v1/genesis.d.ts +51 -0
  1037. package/ibc/applications/transfer/v1/genesis.js +129 -0
  1038. package/ibc/applications/transfer/v1/query.d.ts +461 -0
  1039. package/ibc/applications/transfer/v1/query.js +956 -0
  1040. package/ibc/applications/transfer/v1/query.rpc.func.d.ts +8 -0
  1041. package/ibc/applications/transfer/v1/query.rpc.func.js +59 -0
  1042. package/ibc/applications/transfer/v1/query.rpc.react.d.ts +7 -0
  1043. package/ibc/applications/transfer/v1/query.rpc.react.js +29 -0
  1044. package/ibc/applications/transfer/v1/transfer.d.ts +114 -0
  1045. package/ibc/applications/transfer/v1/transfer.js +182 -0
  1046. package/ibc/applications/transfer/v1/tx.d.ts +206 -0
  1047. package/ibc/applications/transfer/v1/tx.js +402 -0
  1048. package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -0
  1049. package/ibc/applications/transfer/v1/tx.registry.js +5 -0
  1050. package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +4 -0
  1051. package/ibc/applications/transfer/v1/tx.rpc.func.js +22 -0
  1052. package/ibc/applications/transfer/v1/tx.rpc.react.d.ts +3 -0
  1053. package/ibc/applications/transfer/v1/tx.rpc.react.js +11 -0
  1054. package/ibc/applications/transfer/v2/packet.d.ts +61 -0
  1055. package/ibc/applications/transfer/v2/packet.js +129 -0
  1056. package/ibc/core/channel/v1/channel.d.ts +556 -0
  1057. package/ibc/core/channel/v1/channel.js +1167 -0
  1058. package/ibc/core/channel/v1/genesis.d.ts +97 -0
  1059. package/ibc/core/channel/v1/genesis.js +305 -0
  1060. package/ibc/core/channel/v1/query.d.ts +1559 -0
  1061. package/ibc/core/channel/v1/query.js +3418 -0
  1062. package/ibc/core/channel/v1/query.rpc.func.d.ts +19 -0
  1063. package/ibc/core/channel/v1/query.rpc.func.js +158 -0
  1064. package/ibc/core/channel/v1/query.rpc.react.d.ts +18 -0
  1065. package/ibc/core/channel/v1/query.rpc.react.js +73 -0
  1066. package/ibc/core/channel/v1/tx.d.ts +1528 -0
  1067. package/ibc/core/channel/v1/tx.js +4036 -0
  1068. package/ibc/core/channel/v1/tx.registry.d.ts +2 -0
  1069. package/ibc/core/channel/v1/tx.registry.js +5 -0
  1070. package/ibc/core/channel/v1/tx.rpc.func.d.ts +21 -0
  1071. package/ibc/core/channel/v1/tx.rpc.func.js +158 -0
  1072. package/ibc/core/channel/v1/tx.rpc.react.d.ts +20 -0
  1073. package/ibc/core/channel/v1/tx.rpc.react.js +62 -0
  1074. package/ibc/core/channel/v1/upgrade.d.ts +142 -0
  1075. package/ibc/core/channel/v1/upgrade.js +303 -0
  1076. package/ibc/core/client/v1/client.d.ts +379 -0
  1077. package/ibc/core/client/v1/client.js +676 -0
  1078. package/ibc/core/client/v1/genesis.d.ts +150 -0
  1079. package/ibc/core/client/v1/genesis.js +340 -0
  1080. package/ibc/core/client/v1/query.d.ts +882 -0
  1081. package/ibc/core/client/v1/query.js +1759 -0
  1082. package/ibc/core/client/v1/query.rpc.func.d.ts +12 -0
  1083. package/ibc/core/client/v1/query.rpc.func.js +95 -0
  1084. package/ibc/core/client/v1/query.rpc.react.d.ts +11 -0
  1085. package/ibc/core/client/v1/query.rpc.react.js +45 -0
  1086. package/ibc/core/client/v1/tx.d.ts +601 -0
  1087. package/ibc/core/client/v1/tx.js +1189 -0
  1088. package/ibc/core/client/v1/tx.registry.d.ts +2 -0
  1089. package/ibc/core/client/v1/tx.registry.js +5 -0
  1090. package/ibc/core/client/v1/tx.rpc.func.d.ts +9 -0
  1091. package/ibc/core/client/v1/tx.rpc.func.js +62 -0
  1092. package/ibc/core/client/v1/tx.rpc.react.d.ts +8 -0
  1093. package/ibc/core/client/v1/tx.rpc.react.js +26 -0
  1094. package/ibc/core/commitment/v1/commitment.d.ts +169 -0
  1095. package/ibc/core/commitment/v1/commitment.js +322 -0
  1096. package/ibc/core/connection/v1/connection.d.ts +383 -0
  1097. package/ibc/core/connection/v1/connection.js +781 -0
  1098. package/ibc/core/connection/v1/genesis.d.ts +44 -0
  1099. package/ibc/core/connection/v1/genesis.js +128 -0
  1100. package/ibc/core/connection/v1/query.d.ts +530 -0
  1101. package/ibc/core/connection/v1/query.js +1100 -0
  1102. package/ibc/core/connection/v1/query.rpc.func.d.ts +8 -0
  1103. package/ibc/core/connection/v1/query.rpc.func.js +59 -0
  1104. package/ibc/core/connection/v1/query.rpc.react.d.ts +7 -0
  1105. package/ibc/core/connection/v1/query.rpc.react.js +29 -0
  1106. package/ibc/core/connection/v1/tx.d.ts +467 -0
  1107. package/ibc/core/connection/v1/tx.js +1089 -0
  1108. package/ibc/core/connection/v1/tx.registry.d.ts +2 -0
  1109. package/ibc/core/connection/v1/tx.registry.js +5 -0
  1110. package/ibc/core/connection/v1/tx.rpc.func.d.ts +7 -0
  1111. package/ibc/core/connection/v1/tx.rpc.func.js +46 -0
  1112. package/ibc/core/connection/v1/tx.rpc.react.d.ts +6 -0
  1113. package/ibc/core/connection/v1/tx.rpc.react.js +20 -0
  1114. package/ibc/core/types/v1/genesis.d.ts +51 -0
  1115. package/ibc/core/types/v1/genesis.js +112 -0
  1116. package/ibc/lightclients/localhost/v2/localhost.d.ts +38 -0
  1117. package/ibc/lightclients/localhost/v2/localhost.js +84 -0
  1118. package/ibc/lightclients/solomachine/v2/solomachine.d.ts +727 -0
  1119. package/ibc/lightclients/solomachine/v2/solomachine.js +1680 -0
  1120. package/ibc/lightclients/solomachine/v3/solomachine.d.ts +365 -0
  1121. package/ibc/lightclients/solomachine/v3/solomachine.js +842 -0
  1122. package/ibc/lightclients/tendermint/v1/tendermint.d.ts +311 -0
  1123. package/ibc/lightclients/tendermint/v1/tendermint.js +631 -0
  1124. package/ibc/lightclients/wasm/v1/genesis.d.ts +72 -0
  1125. package/ibc/lightclients/wasm/v1/genesis.js +164 -0
  1126. package/ibc/lightclients/wasm/v1/query.d.ts +145 -0
  1127. package/ibc/lightclients/wasm/v1/query.js +333 -0
  1128. package/ibc/lightclients/wasm/v1/query.rpc.func.d.ts +4 -0
  1129. package/ibc/lightclients/wasm/v1/query.rpc.func.js +23 -0
  1130. package/ibc/lightclients/wasm/v1/query.rpc.react.d.ts +3 -0
  1131. package/ibc/lightclients/wasm/v1/query.rpc.react.js +13 -0
  1132. package/ibc/lightclients/wasm/v1/tx.d.ts +224 -0
  1133. package/ibc/lightclients/wasm/v1/tx.js +501 -0
  1134. package/ibc/lightclients/wasm/v1/tx.registry.d.ts +2 -0
  1135. package/ibc/lightclients/wasm/v1/tx.registry.js +5 -0
  1136. package/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +5 -0
  1137. package/ibc/lightclients/wasm/v1/tx.rpc.func.js +30 -0
  1138. package/ibc/lightclients/wasm/v1/tx.rpc.react.d.ts +4 -0
  1139. package/ibc/lightclients/wasm/v1/tx.rpc.react.js +14 -0
  1140. package/ibc/lightclients/wasm/v1/wasm.d.ts +167 -0
  1141. package/ibc/lightclients/wasm/v1/wasm.js +343 -0
  1142. package/package.json +11 -7
  1143. package/react-query.d.ts +48 -0
  1144. package/react-query.js +100 -0
  1145. package/registry.d.ts +33 -0
  1146. package/registry.js +158 -0
  1147. package/tendermint/abci/types.d.ts +1890 -0
  1148. package/tendermint/abci/types.js +5316 -0
  1149. package/tendermint/crypto/keys.d.ts +35 -0
  1150. package/tendermint/crypto/keys.js +87 -0
  1151. package/tendermint/crypto/proof.d.ts +179 -0
  1152. package/tendermint/crypto/proof.js +461 -0
  1153. package/tendermint/p2p/types.d.ts +142 -0
  1154. package/tendermint/p2p/types.js +432 -0
  1155. package/tendermint/types/block.d.ts +39 -0
  1156. package/tendermint/types/block.js +117 -0
  1157. package/tendermint/types/evidence.d.ts +142 -0
  1158. package/tendermint/types/evidence.js +412 -0
  1159. package/tendermint/types/params.d.ts +330 -0
  1160. package/tendermint/types/params.js +600 -0
  1161. package/tendermint/types/types.d.ts +655 -0
  1162. package/tendermint/types/types.js +1781 -0
  1163. package/tendermint/types/validator.d.ts +116 -0
  1164. package/tendermint/types/validator.js +347 -0
  1165. package/tendermint/version/types.d.ts +84 -0
  1166. package/tendermint/version/types.js +168 -0
  1167. package/types.d.ts +119 -0
  1168. package/types.js +7 -0
  1169. package/utf8.d.ts +27 -0
  1170. package/utf8.js +141 -0
  1171. package/varint.d.ts +105 -0
  1172. package/varint.js +426 -0
  1173. package/xpla/reward/v1beta1/genesis.d.ts +36 -0
  1174. package/xpla/reward/v1beta1/genesis.js +77 -0
  1175. package/xpla/reward/v1beta1/query.d.ts +140 -0
  1176. package/xpla/reward/v1beta1/query.js +267 -0
  1177. package/xpla/reward/v1beta1/query.rpc.func.d.ts +4 -0
  1178. package/xpla/reward/v1beta1/query.rpc.func.js +23 -0
  1179. package/xpla/reward/v1beta1/query.rpc.react.d.ts +3 -0
  1180. package/xpla/reward/v1beta1/query.rpc.react.js +13 -0
  1181. package/xpla/reward/v1beta1/reward.d.ts +43 -0
  1182. package/xpla/reward/v1beta1/reward.js +130 -0
  1183. package/xpla/reward/v1beta1/tx.d.ts +162 -0
  1184. package/xpla/reward/v1beta1/tx.js +305 -0
  1185. package/xpla/reward/v1beta1/tx.registry.d.ts +2 -0
  1186. package/xpla/reward/v1beta1/tx.registry.js +5 -0
  1187. package/xpla/reward/v1beta1/tx.rpc.func.d.ts +4 -0
  1188. package/xpla/reward/v1beta1/tx.rpc.func.js +22 -0
  1189. package/xpla/reward/v1beta1/tx.rpc.react.d.ts +3 -0
  1190. package/xpla/reward/v1beta1/tx.rpc.react.js +11 -0
  1191. package/xpla/volunteer/v1beta1/genesis.d.ts +34 -0
  1192. package/xpla/volunteer/v1beta1/genesis.js +80 -0
  1193. package/xpla/volunteer/v1beta1/proposal.d.ts +187 -0
  1194. package/xpla/volunteer/v1beta1/proposal.js +537 -0
  1195. package/xpla/volunteer/v1beta1/query.d.ts +62 -0
  1196. package/xpla/volunteer/v1beta1/query.js +134 -0
  1197. package/xpla/volunteer/v1beta1/query.rpc.func.d.ts +3 -0
  1198. package/xpla/volunteer/v1beta1/query.rpc.func.js +14 -0
  1199. package/xpla/volunteer/v1beta1/query.rpc.react.d.ts +2 -0
  1200. package/xpla/volunteer/v1beta1/query.rpc.react.js +9 -0
  1201. package/xpla/volunteer/v1beta1/tx.d.ts +172 -0
  1202. package/xpla/volunteer/v1beta1/tx.js +351 -0
  1203. package/xpla/volunteer/v1beta1/tx.registry.d.ts +2 -0
  1204. package/xpla/volunteer/v1beta1/tx.registry.js +5 -0
  1205. package/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +4 -0
  1206. package/xpla/volunteer/v1beta1/tx.rpc.func.js +22 -0
  1207. package/xpla/volunteer/v1beta1/tx.rpc.react.d.ts +3 -0
  1208. package/xpla/volunteer/v1beta1/tx.rpc.react.js +11 -0
  1209. package/xpla/volunteer/v1beta1/volunteervalidator.d.ts +39 -0
  1210. package/xpla/volunteer/v1beta1/volunteervalidator.js +86 -0
  1211. package/CHANGELOG.md +0 -8
  1212. package/src/amino/amino.ts +0 -1
  1213. package/src/binary.ts +0 -534
  1214. package/src/cosmos/app/runtime/v1alpha1/module.ts +0 -423
  1215. package/src/cosmos/app/runtime/v2/module.ts +0 -589
  1216. package/src/cosmos/app/v1alpha1/config.ts +0 -422
  1217. package/src/cosmos/app/v1alpha1/module.ts +0 -461
  1218. package/src/cosmos/app/v1alpha1/query.rpc.func.ts +0 -14
  1219. package/src/cosmos/app/v1alpha1/query.ts +0 -177
  1220. package/src/cosmos/auth/module/v1/module.ts +0 -253
  1221. package/src/cosmos/auth/v1beta1/accounts.ts +0 -226
  1222. package/src/cosmos/auth/v1beta1/auth.ts +0 -550
  1223. package/src/cosmos/auth/v1beta1/genesis.ts +0 -119
  1224. package/src/cosmos/auth/v1beta1/query.rpc.func.ts +0 -113
  1225. package/src/cosmos/auth/v1beta1/query.ts +0 -2034
  1226. package/src/cosmos/auth/v1beta1/tx.registry.ts +0 -29
  1227. package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +0 -13
  1228. package/src/cosmos/auth/v1beta1/tx.ts +0 -219
  1229. package/src/cosmos/authz/module/v1/module.ts +0 -80
  1230. package/src/cosmos/authz/v1beta1/authz.ts +0 -481
  1231. package/src/cosmos/authz/v1beta1/event.ts +0 -259
  1232. package/src/cosmos/authz/v1beta1/genesis.ts +0 -100
  1233. package/src/cosmos/authz/v1beta1/query.rpc.func.ts +0 -36
  1234. package/src/cosmos/authz/v1beta1/query.ts +0 -707
  1235. package/src/cosmos/authz/v1beta1/tx.registry.ts +0 -65
  1236. package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +0 -31
  1237. package/src/cosmos/authz/v1beta1/tx.ts +0 -647
  1238. package/src/cosmos/autocli/v1/options.ts +0 -1145
  1239. package/src/cosmos/autocli/v1/query.rpc.func.ts +0 -14
  1240. package/src/cosmos/autocli/v1/query.ts +0 -288
  1241. package/src/cosmos/bank/module/v1/module.ts +0 -153
  1242. package/src/cosmos/bank/v1beta1/authz.ts +0 -138
  1243. package/src/cosmos/bank/v1beta1/bank.ts +0 -974
  1244. package/src/cosmos/bank/v1beta1/genesis.ts +0 -307
  1245. package/src/cosmos/bank/v1beta1/query.rpc.func.ts +0 -146
  1246. package/src/cosmos/bank/v1beta1/query.ts +0 -3027
  1247. package/src/cosmos/bank/v1beta1/tx.registry.ts +0 -83
  1248. package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +0 -40
  1249. package/src/cosmos/bank/v1beta1/tx.ts +0 -861
  1250. package/src/cosmos/base/abci/v1beta1/abci.ts +0 -1698
  1251. package/src/cosmos/base/grpc/v2/service.rpc.func.ts +0 -25
  1252. package/src/cosmos/base/grpc/v2/service.ts +0 -473
  1253. package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +0 -25
  1254. package/src/cosmos/base/node/v1beta1/query.ts +0 -454
  1255. package/src/cosmos/base/query/v1beta1/pagination.ts +0 -361
  1256. package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +0 -25
  1257. package/src/cosmos/base/reflection/v1beta1/reflection.ts +0 -382
  1258. package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +0 -69
  1259. package/src/cosmos/base/reflection/v2alpha1/reflection.ts +0 -2727
  1260. package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +0 -80
  1261. package/src/cosmos/base/tendermint/v1beta1/query.ts +0 -2302
  1262. package/src/cosmos/base/tendermint/v1beta1/types.ts +0 -455
  1263. package/src/cosmos/base/v1beta1/coin.ts +0 -439
  1264. package/src/cosmos/circuit/module/v1/module.ts +0 -99
  1265. package/src/cosmos/circuit/v1/query.rpc.func.ts +0 -36
  1266. package/src/cosmos/circuit/v1/query.ts +0 -574
  1267. package/src/cosmos/circuit/v1/tx.registry.ts +0 -65
  1268. package/src/cosmos/circuit/v1/tx.rpc.func.ts +0 -31
  1269. package/src/cosmos/circuit/v1/tx.ts +0 -676
  1270. package/src/cosmos/circuit/v1/types.ts +0 -413
  1271. package/src/cosmos/consensus/module/v1/module.ts +0 -99
  1272. package/src/cosmos/consensus/v1/query.rpc.func.ts +0 -14
  1273. package/src/cosmos/consensus/v1/query.ts +0 -185
  1274. package/src/cosmos/consensus/v1/tx.registry.ts +0 -29
  1275. package/src/cosmos/consensus/v1/tx.rpc.func.ts +0 -13
  1276. package/src/cosmos/consensus/v1/tx.ts +0 -255
  1277. package/src/cosmos/crisis/module/v1/module.ts +0 -115
  1278. package/src/cosmos/crisis/v1beta1/genesis.ts +0 -106
  1279. package/src/cosmos/crisis/v1beta1/tx.registry.ts +0 -47
  1280. package/src/cosmos/crisis/v1beta1/tx.rpc.func.ts +0 -22
  1281. package/src/cosmos/crisis/v1beta1/tx.ts +0 -416
  1282. package/src/cosmos/crypto/ed25519/keys.ts +0 -209
  1283. package/src/cosmos/crypto/hd/v1/hd.ts +0 -169
  1284. package/src/cosmos/crypto/keyring/v1/record.ts +0 -529
  1285. package/src/cosmos/crypto/multisig/keys.ts +0 -122
  1286. package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -225
  1287. package/src/cosmos/crypto/secp256k1/keys.ts +0 -203
  1288. package/src/cosmos/crypto/secp256r1/keys.ts +0 -201
  1289. package/src/cosmos/distribution/module/v1/module.ts +0 -113
  1290. package/src/cosmos/distribution/v1beta1/distribution.ts +0 -1494
  1291. package/src/cosmos/distribution/v1beta1/genesis.ts +0 -1129
  1292. package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +0 -113
  1293. package/src/cosmos/distribution/v1beta1/query.ts +0 -2126
  1294. package/src/cosmos/distribution/v1beta1/tx.registry.ts +0 -137
  1295. package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +0 -67
  1296. package/src/cosmos/distribution/v1beta1/tx.ts +0 -1478
  1297. package/src/cosmos/evidence/module/v1/module.ts +0 -80
  1298. package/src/cosmos/evidence/v1beta1/evidence.ts +0 -154
  1299. package/src/cosmos/evidence/v1beta1/genesis.ts +0 -102
  1300. package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +0 -25
  1301. package/src/cosmos/evidence/v1beta1/query.ts +0 -451
  1302. package/src/cosmos/evidence/v1beta1/tx.registry.ts +0 -29
  1303. package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +0 -13
  1304. package/src/cosmos/evidence/v1beta1/tx.ts +0 -221
  1305. package/src/cosmos/feegrant/module/v1/module.ts +0 -80
  1306. package/src/cosmos/feegrant/v1beta1/feegrant.ts +0 -573
  1307. package/src/cosmos/feegrant/v1beta1/genesis.ts +0 -100
  1308. package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +0 -36
  1309. package/src/cosmos/feegrant/v1beta1/query.ts +0 -677
  1310. package/src/cosmos/feegrant/v1beta1/tx.registry.ts +0 -65
  1311. package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +0 -31
  1312. package/src/cosmos/feegrant/v1beta1/tx.ts +0 -597
  1313. package/src/cosmos/genutil/module/v1/module.ts +0 -80
  1314. package/src/cosmos/genutil/v1beta1/genesis.ts +0 -101
  1315. package/src/cosmos/gov/module/v1/module.ts +0 -121
  1316. package/src/cosmos/gov/v1/genesis.ts +0 -280
  1317. package/src/cosmos/gov/v1/gov.ts +0 -1843
  1318. package/src/cosmos/gov/v1/query.rpc.func.ts +0 -102
  1319. package/src/cosmos/gov/v1/query.ts +0 -1970
  1320. package/src/cosmos/gov/v1/tx.registry.ts +0 -137
  1321. package/src/cosmos/gov/v1/tx.rpc.func.ts +0 -67
  1322. package/src/cosmos/gov/v1/tx.ts +0 -1657
  1323. package/src/cosmos/gov/v1beta1/genesis.ts +0 -202
  1324. package/src/cosmos/gov/v1beta1/gov.ts +0 -1425
  1325. package/src/cosmos/gov/v1beta1/query.rpc.func.ts +0 -91
  1326. package/src/cosmos/gov/v1beta1/query.ts +0 -1749
  1327. package/src/cosmos/gov/v1beta1/tx.registry.ts +0 -83
  1328. package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +0 -40
  1329. package/src/cosmos/gov/v1beta1/tx.ts +0 -881
  1330. package/src/cosmos/group/module/v1/module.ts +0 -128
  1331. package/src/cosmos/group/v1/events.ts +0 -1044
  1332. package/src/cosmos/group/v1/genesis.ts +0 -240
  1333. package/src/cosmos/group/v1/query.rpc.func.ts +0 -157
  1334. package/src/cosmos/group/v1/query.ts +0 -3015
  1335. package/src/cosmos/group/v1/tx.registry.ts +0 -263
  1336. package/src/cosmos/group/v1/tx.rpc.func.ts +0 -130
  1337. package/src/cosmos/group/v1/tx.ts +0 -3207
  1338. package/src/cosmos/group/v1/types.ts +0 -2081
  1339. package/src/cosmos/ics23/v1/proofs.ts +0 -2060
  1340. package/src/cosmos/mint/module/v1/module.ts +0 -113
  1341. package/src/cosmos/mint/v1beta1/genesis.ts +0 -116
  1342. package/src/cosmos/mint/v1beta1/mint.ts +0 -291
  1343. package/src/cosmos/mint/v1beta1/query.rpc.func.ts +0 -36
  1344. package/src/cosmos/mint/v1beta1/query.ts +0 -541
  1345. package/src/cosmos/mint/v1beta1/tx.registry.ts +0 -29
  1346. package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +0 -13
  1347. package/src/cosmos/mint/v1beta1/tx.ts +0 -219
  1348. package/src/cosmos/msg/textual/v1/textual.ts +0 -1
  1349. package/src/cosmos/msg/v1/msg.ts +0 -1
  1350. package/src/cosmos/nft/module/v1/module.ts +0 -80
  1351. package/src/cosmos/nft/v1beta1/event.ts +0 -403
  1352. package/src/cosmos/nft/v1beta1/genesis.ts +0 -234
  1353. package/src/cosmos/nft/v1beta1/nft.ts +0 -356
  1354. package/src/cosmos/nft/v1beta1/query.rpc.func.ts +0 -80
  1355. package/src/cosmos/nft/v1beta1/query.ts +0 -1465
  1356. package/src/cosmos/nft/v1beta1/tx.registry.ts +0 -29
  1357. package/src/cosmos/nft/v1beta1/tx.rpc.func.ts +0 -13
  1358. package/src/cosmos/nft/v1beta1/tx.ts +0 -224
  1359. package/src/cosmos/orm/module/v1alpha1/module.ts +0 -88
  1360. package/src/cosmos/orm/query/v1alpha1/query.rpc.func.ts +0 -25
  1361. package/src/cosmos/orm/query/v1alpha1/query.ts +0 -993
  1362. package/src/cosmos/orm/v1/orm.ts +0 -589
  1363. package/src/cosmos/orm/v1alpha1/schema.ts +0 -325
  1364. package/src/cosmos/params/module/v1/module.ts +0 -80
  1365. package/src/cosmos/params/v1beta1/params.ts +0 -255
  1366. package/src/cosmos/params/v1beta1/query.rpc.func.ts +0 -25
  1367. package/src/cosmos/params/v1beta1/query.ts +0 -525
  1368. package/src/cosmos/query/v1/query.ts +0 -1
  1369. package/src/cosmos/reflection/v1/reflection.rpc.func.ts +0 -14
  1370. package/src/cosmos/reflection/v1/reflection.ts +0 -179
  1371. package/src/cosmos/slashing/module/v1/module.ts +0 -99
  1372. package/src/cosmos/slashing/v1beta1/genesis.ts +0 -492
  1373. package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +0 -36
  1374. package/src/cosmos/slashing/v1beta1/query.ts +0 -598
  1375. package/src/cosmos/slashing/v1beta1/slashing.ts +0 -357
  1376. package/src/cosmos/slashing/v1beta1/tx.registry.ts +0 -47
  1377. package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +0 -22
  1378. package/src/cosmos/slashing/v1beta1/tx.ts +0 -390
  1379. package/src/cosmos/staking/module/v1/module.ts +0 -157
  1380. package/src/cosmos/staking/v1beta1/authz.ts +0 -323
  1381. package/src/cosmos/staking/v1beta1/genesis.ts +0 -346
  1382. package/src/cosmos/staking/v1beta1/query.rpc.func.ts +0 -157
  1383. package/src/cosmos/staking/v1beta1/query.ts +0 -3073
  1384. package/src/cosmos/staking/v1beta1/staking.ts +0 -3005
  1385. package/src/cosmos/staking/v1beta1/tx.registry.ts +0 -137
  1386. package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +0 -67
  1387. package/src/cosmos/staking/v1beta1/tx.ts +0 -1638
  1388. package/src/cosmos/store/internal/kv/v1beta1/kv.ts +0 -207
  1389. package/src/cosmos/store/snapshots/v1/snapshot.ts +0 -863
  1390. package/src/cosmos/store/snapshots/v2/snapshot.ts +0 -823
  1391. package/src/cosmos/store/streaming/abci/grpc.ts +0 -393
  1392. package/src/cosmos/store/v1beta1/commit_info.ts +0 -362
  1393. package/src/cosmos/store/v1beta1/listening.ts +0 -286
  1394. package/src/cosmos/streaming/v1/grpc.ts +0 -985
  1395. package/src/cosmos/tx/config/v1/config.ts +0 -127
  1396. package/src/cosmos/tx/signing/v1beta1/signing.ts +0 -688
  1397. package/src/cosmos/tx/v1beta1/service.rpc.func.ts +0 -102
  1398. package/src/cosmos/tx/v1beta1/service.ts +0 -2294
  1399. package/src/cosmos/tx/v1beta1/tx.ts +0 -2029
  1400. package/src/cosmos/upgrade/module/v1/module.ts +0 -99
  1401. package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +0 -58
  1402. package/src/cosmos/upgrade/v1beta1/query.ts +0 -1016
  1403. package/src/cosmos/upgrade/v1beta1/tx.registry.ts +0 -47
  1404. package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +0 -22
  1405. package/src/cosmos/upgrade/v1beta1/tx.ts +0 -398
  1406. package/src/cosmos/upgrade/v1beta1/upgrade.ts +0 -591
  1407. package/src/cosmos/validate/module/v1/module.ts +0 -80
  1408. package/src/cosmos/vesting/module/v1/module.ts +0 -80
  1409. package/src/cosmos/vesting/v1beta1/tx.registry.ts +0 -65
  1410. package/src/cosmos/vesting/v1beta1/tx.rpc.func.ts +0 -31
  1411. package/src/cosmos/vesting/v1beta1/tx.ts +0 -698
  1412. package/src/cosmos/vesting/v1beta1/vesting.ts +0 -735
  1413. package/src/cosmos_proto/cosmos.ts +0 -341
  1414. package/src/cosmwasm/wasm/v1/authz.ts +0 -1231
  1415. package/src/cosmwasm/wasm/v1/genesis.ts +0 -532
  1416. package/src/cosmwasm/wasm/v1/ibc.ts +0 -355
  1417. package/src/cosmwasm/wasm/v1/proposal_legacy.ts +0 -2432
  1418. package/src/cosmwasm/wasm/v1/query.rpc.func.ts +0 -124
  1419. package/src/cosmwasm/wasm/v1/query.ts +0 -2560
  1420. package/src/cosmwasm/wasm/v1/tx.registry.ts +0 -317
  1421. package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +0 -157
  1422. package/src/cosmwasm/wasm/v1/tx.ts +0 -4191
  1423. package/src/cosmwasm/wasm/v1/types.ts +0 -1120
  1424. package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +0 -193
  1425. package/src/ethermint/evm/v1/events.ts +0 -485
  1426. package/src/ethermint/evm/v1/evm.ts +0 -1590
  1427. package/src/ethermint/evm/v1/genesis.ts +0 -240
  1428. package/src/ethermint/evm/v1/query.rpc.func.ts +0 -136
  1429. package/src/ethermint/evm/v1/query.ts +0 -2535
  1430. package/src/ethermint/evm/v1/tx.registry.ts +0 -47
  1431. package/src/ethermint/evm/v1/tx.rpc.func.ts +0 -22
  1432. package/src/ethermint/evm/v1/tx.ts +0 -1333
  1433. package/src/ethermint/feemarket/v1/events.ts +0 -195
  1434. package/src/ethermint/feemarket/v1/feemarket.ts +0 -213
  1435. package/src/ethermint/feemarket/v1/genesis.ts +0 -114
  1436. package/src/ethermint/feemarket/v1/query.rpc.func.ts +0 -36
  1437. package/src/ethermint/feemarket/v1/query.ts +0 -487
  1438. package/src/ethermint/feemarket/v1/tx.registry.ts +0 -29
  1439. package/src/ethermint/feemarket/v1/tx.rpc.func.ts +0 -13
  1440. package/src/ethermint/feemarket/v1/tx.ts +0 -197
  1441. package/src/ethermint/types/v1/account.ts +0 -114
  1442. package/src/ethermint/types/v1/dynamic_fee.ts +0 -91
  1443. package/src/ethermint/types/v1/indexer.ts +0 -205
  1444. package/src/ethermint/types/v1/web3.ts +0 -147
  1445. package/src/extern.ts +0 -38
  1446. package/src/gogoproto/gogo.ts +0 -1
  1447. package/src/google/api/annotations.ts +0 -1
  1448. package/src/google/api/http.ts +0 -1069
  1449. package/src/google/protobuf/any.ts +0 -331
  1450. package/src/google/protobuf/descriptor.ts +0 -7177
  1451. package/src/google/protobuf/duration.ts +0 -225
  1452. package/src/google/protobuf/timestamp.ts +0 -281
  1453. package/src/helper-func-types.ts +0 -191
  1454. package/src/helpers.ts +0 -259
  1455. package/src/ibc/applications/fee/v1/ack.ts +0 -131
  1456. package/src/ibc/applications/fee/v1/fee.ts +0 -481
  1457. package/src/ibc/applications/fee/v1/genesis.ts +0 -661
  1458. package/src/ibc/applications/fee/v1/metadata.ts +0 -121
  1459. package/src/ibc/applications/fee/v1/query.rpc.func.ts +0 -113
  1460. package/src/ibc/applications/fee/v1/query.ts +0 -2134
  1461. package/src/ibc/applications/fee/v1/tx.registry.ts +0 -83
  1462. package/src/ibc/applications/fee/v1/tx.rpc.func.ts +0 -40
  1463. package/src/ibc/applications/fee/v1/tx.ts +0 -889
  1464. package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -105
  1465. package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +0 -25
  1466. package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -379
  1467. package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +0 -65
  1468. package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +0 -31
  1469. package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +0 -685
  1470. package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +0 -661
  1471. package/src/ibc/applications/interchain_accounts/host/v1/host.ts +0 -253
  1472. package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +0 -14
  1473. package/src/ibc/applications/interchain_accounts/host/v1/query.ts +0 -177
  1474. package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +0 -47
  1475. package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +0 -22
  1476. package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +0 -429
  1477. package/src/ibc/applications/interchain_accounts/v1/account.ts +0 -112
  1478. package/src/ibc/applications/interchain_accounts/v1/metadata.ts +0 -191
  1479. package/src/ibc/applications/interchain_accounts/v1/packet.ts +0 -259
  1480. package/src/ibc/applications/transfer/v1/authz.ts +0 -280
  1481. package/src/ibc/applications/transfer/v1/genesis.ts +0 -153
  1482. package/src/ibc/applications/transfer/v1/query.rpc.func.ts +0 -69
  1483. package/src/ibc/applications/transfer/v1/query.ts +0 -1205
  1484. package/src/ibc/applications/transfer/v1/transfer.ts +0 -261
  1485. package/src/ibc/applications/transfer/v1/tx.registry.ts +0 -47
  1486. package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +0 -22
  1487. package/src/ibc/applications/transfer/v1/tx.ts +0 -532
  1488. package/src/ibc/applications/transfer/v2/packet.ts +0 -171
  1489. package/src/ibc/core/channel/v1/channel.ts +0 -1510
  1490. package/src/ibc/core/channel/v1/genesis.ts +0 -354
  1491. package/src/ibc/core/channel/v1/query.rpc.func.ts +0 -190
  1492. package/src/ibc/core/channel/v1/query.ts +0 -4354
  1493. package/src/ibc/core/channel/v1/tx.registry.ts +0 -353
  1494. package/src/ibc/core/channel/v1/tx.rpc.func.ts +0 -175
  1495. package/src/ibc/core/channel/v1/tx.ts +0 -4866
  1496. package/src/ibc/core/channel/v1/upgrade.ts +0 -388
  1497. package/src/ibc/core/client/v1/client.ts +0 -927
  1498. package/src/ibc/core/client/v1/genesis.ts +0 -426
  1499. package/src/ibc/core/client/v1/query.rpc.func.ts +0 -113
  1500. package/src/ibc/core/client/v1/query.ts +0 -2280
  1501. package/src/ibc/core/client/v1/tx.registry.ts +0 -137
  1502. package/src/ibc/core/client/v1/tx.rpc.func.ts +0 -67
  1503. package/src/ibc/core/client/v1/tx.ts +0 -1543
  1504. package/src/ibc/core/commitment/v1/commitment.ts +0 -418
  1505. package/src/ibc/core/connection/v1/connection.ts +0 -1010
  1506. package/src/ibc/core/connection/v1/genesis.ts +0 -146
  1507. package/src/ibc/core/connection/v1/query.rpc.func.ts +0 -69
  1508. package/src/ibc/core/connection/v1/query.ts +0 -1408
  1509. package/src/ibc/core/connection/v1/tx.registry.ts +0 -101
  1510. package/src/ibc/core/connection/v1/tx.rpc.func.ts +0 -49
  1511. package/src/ibc/core/connection/v1/tx.ts +0 -1365
  1512. package/src/ibc/core/types/v1/genesis.ts +0 -137
  1513. package/src/ibc/lightclients/localhost/v2/localhost.ts +0 -100
  1514. package/src/ibc/lightclients/solomachine/v2/solomachine.ts +0 -2103
  1515. package/src/ibc/lightclients/solomachine/v3/solomachine.ts +0 -1070
  1516. package/src/ibc/lightclients/tendermint/v1/tendermint.ts +0 -838
  1517. package/src/ibc/lightclients/wasm/v1/genesis.ts +0 -197
  1518. package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +0 -25
  1519. package/src/ibc/lightclients/wasm/v1/query.ts +0 -404
  1520. package/src/ibc/lightclients/wasm/v1/tx.registry.ts +0 -65
  1521. package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +0 -31
  1522. package/src/ibc/lightclients/wasm/v1/tx.ts +0 -621
  1523. package/src/ibc/lightclients/wasm/v1/wasm.ts +0 -438
  1524. package/src/react-query.ts +0 -185
  1525. package/src/registry.ts +0 -218
  1526. package/src/tendermint/abci/types.ts +0 -6283
  1527. package/src/tendermint/crypto/keys.ts +0 -103
  1528. package/src/tendermint/crypto/proof.ts +0 -555
  1529. package/src/tendermint/p2p/types.ts +0 -507
  1530. package/src/tendermint/types/block.ts +0 -131
  1531. package/src/tendermint/types/evidence.ts +0 -476
  1532. package/src/tendermint/types/params.ts +0 -814
  1533. package/src/tendermint/types/types.ts +0 -2157
  1534. package/src/tendermint/types/validator.ts +0 -389
  1535. package/src/tendermint/version/types.ts +0 -219
  1536. package/src/types.ts +0 -155
  1537. package/src/utf8.ts +0 -148
  1538. package/src/varint.ts +0 -488
  1539. package/src/xpla/reward/v1beta1/genesis.ts +0 -92
  1540. package/src/xpla/reward/v1beta1/query.rpc.func.ts +0 -25
  1541. package/src/xpla/reward/v1beta1/query.ts +0 -333
  1542. package/src/xpla/reward/v1beta1/reward.ts +0 -153
  1543. package/src/xpla/reward/v1beta1/tx.registry.ts +0 -47
  1544. package/src/xpla/reward/v1beta1/tx.rpc.func.ts +0 -22
  1545. package/src/xpla/reward/v1beta1/tx.ts +0 -391
  1546. package/src/xpla/volunteer/v1beta1/genesis.ts +0 -92
  1547. package/src/xpla/volunteer/v1beta1/proposal.ts +0 -649
  1548. package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +0 -14
  1549. package/src/xpla/volunteer/v1beta1/query.ts +0 -160
  1550. package/src/xpla/volunteer/v1beta1/tx.registry.ts +0 -47
  1551. package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +0 -22
  1552. package/src/xpla/volunteer/v1beta1/tx.ts +0 -448
  1553. package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +0 -107
  1554. package/tsconfig.esm.json +0 -10
  1555. package/tsconfig.json +0 -10
@@ -1,2302 +0,0 @@
1
- import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../query/v1beta1/pagination";
2
- import { Any, AnyAmino } from "../../../../google/protobuf/any";
3
- import { BlockID, BlockIDAmino } from "../../../../tendermint/types/types";
4
- import { Block as Block1 } from "../../../../tendermint/types/block";
5
- import { BlockAmino as Block1Amino } from "../../../../tendermint/types/block";
6
- import { Block as Block2 } from "./types";
7
- import { BlockAmino as Block2Amino } from "./types";
8
- import { DefaultNodeInfo, DefaultNodeInfoAmino } from "../../../../tendermint/p2p/types";
9
- import { BinaryReader, BinaryWriter } from "../../../../binary";
10
- import { DeepPartial, bytesFromBase64, base64FromBytes } from "../../../../helpers";
11
- import { GlobalDecoderRegistry } from "../../../../registry";
12
- /** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
13
- export interface GetValidatorSetByHeightRequest {
14
- height: bigint;
15
- /** pagination defines an pagination for the request. */
16
- pagination?: PageRequest;
17
- }
18
- export interface GetValidatorSetByHeightRequestProtoMsg {
19
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest";
20
- value: Uint8Array;
21
- }
22
- /** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
23
- export interface GetValidatorSetByHeightRequestAmino {
24
- height: string;
25
- /** pagination defines an pagination for the request. */
26
- pagination?: PageRequestAmino;
27
- }
28
- export interface GetValidatorSetByHeightRequestAminoMsg {
29
- type: "cosmos-sdk/GetValidatorSetByHeightRequest";
30
- value: GetValidatorSetByHeightRequestAmino;
31
- }
32
- /** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
33
- export interface GetValidatorSetByHeightResponse {
34
- blockHeight: bigint;
35
- validators: Validator[];
36
- /** pagination defines an pagination for the response. */
37
- pagination?: PageResponse;
38
- }
39
- export interface GetValidatorSetByHeightResponseProtoMsg {
40
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse";
41
- value: Uint8Array;
42
- }
43
- /** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
44
- export interface GetValidatorSetByHeightResponseAmino {
45
- block_height: string;
46
- validators: ValidatorAmino[];
47
- /** pagination defines an pagination for the response. */
48
- pagination?: PageResponseAmino;
49
- }
50
- export interface GetValidatorSetByHeightResponseAminoMsg {
51
- type: "cosmos-sdk/GetValidatorSetByHeightResponse";
52
- value: GetValidatorSetByHeightResponseAmino;
53
- }
54
- /** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
55
- export interface GetLatestValidatorSetRequest {
56
- /** pagination defines an pagination for the request. */
57
- pagination?: PageRequest;
58
- }
59
- export interface GetLatestValidatorSetRequestProtoMsg {
60
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest";
61
- value: Uint8Array;
62
- }
63
- /** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
64
- export interface GetLatestValidatorSetRequestAmino {
65
- /** pagination defines an pagination for the request. */
66
- pagination?: PageRequestAmino;
67
- }
68
- export interface GetLatestValidatorSetRequestAminoMsg {
69
- type: "cosmos-sdk/GetLatestValidatorSetRequest";
70
- value: GetLatestValidatorSetRequestAmino;
71
- }
72
- /** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
73
- export interface GetLatestValidatorSetResponse {
74
- blockHeight: bigint;
75
- validators: Validator[];
76
- /** pagination defines an pagination for the response. */
77
- pagination?: PageResponse;
78
- }
79
- export interface GetLatestValidatorSetResponseProtoMsg {
80
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse";
81
- value: Uint8Array;
82
- }
83
- /** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
84
- export interface GetLatestValidatorSetResponseAmino {
85
- block_height: string;
86
- validators: ValidatorAmino[];
87
- /** pagination defines an pagination for the response. */
88
- pagination?: PageResponseAmino;
89
- }
90
- export interface GetLatestValidatorSetResponseAminoMsg {
91
- type: "cosmos-sdk/GetLatestValidatorSetResponse";
92
- value: GetLatestValidatorSetResponseAmino;
93
- }
94
- /** Validator is the type for the validator-set. */
95
- export interface Validator {
96
- address: string;
97
- pubKey?: Any;
98
- votingPower: bigint;
99
- proposerPriority: bigint;
100
- }
101
- export interface ValidatorProtoMsg {
102
- typeUrl: "/cosmos.base.tendermint.v1beta1.Validator";
103
- value: Uint8Array;
104
- }
105
- /** Validator is the type for the validator-set. */
106
- export interface ValidatorAmino {
107
- address: string;
108
- pub_key?: AnyAmino;
109
- voting_power: string;
110
- proposer_priority: string;
111
- }
112
- export interface ValidatorAminoMsg {
113
- type: "cosmos-sdk/Validator";
114
- value: ValidatorAmino;
115
- }
116
- /** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */
117
- export interface GetBlockByHeightRequest {
118
- height: bigint;
119
- }
120
- export interface GetBlockByHeightRequestProtoMsg {
121
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest";
122
- value: Uint8Array;
123
- }
124
- /** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */
125
- export interface GetBlockByHeightRequestAmino {
126
- height: string;
127
- }
128
- export interface GetBlockByHeightRequestAminoMsg {
129
- type: "cosmos-sdk/GetBlockByHeightRequest";
130
- value: GetBlockByHeightRequestAmino;
131
- }
132
- /** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */
133
- export interface GetBlockByHeightResponse {
134
- blockId?: BlockID;
135
- /** Deprecated: please use `sdk_block` instead */
136
- block?: Block1;
137
- /** Since: cosmos-sdk 0.47 */
138
- sdkBlock?: Block2;
139
- }
140
- export interface GetBlockByHeightResponseProtoMsg {
141
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse";
142
- value: Uint8Array;
143
- }
144
- /** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */
145
- export interface GetBlockByHeightResponseAmino {
146
- block_id?: BlockIDAmino;
147
- /** Deprecated: please use `sdk_block` instead */
148
- block?: Block1Amino;
149
- /** Since: cosmos-sdk 0.47 */
150
- sdk_block?: Block2Amino;
151
- }
152
- export interface GetBlockByHeightResponseAminoMsg {
153
- type: "cosmos-sdk/GetBlockByHeightResponse";
154
- value: GetBlockByHeightResponseAmino;
155
- }
156
- /** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */
157
- export interface GetLatestBlockRequest {}
158
- export interface GetLatestBlockRequestProtoMsg {
159
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest";
160
- value: Uint8Array;
161
- }
162
- /** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */
163
- export interface GetLatestBlockRequestAmino {}
164
- export interface GetLatestBlockRequestAminoMsg {
165
- type: "cosmos-sdk/GetLatestBlockRequest";
166
- value: GetLatestBlockRequestAmino;
167
- }
168
- /** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */
169
- export interface GetLatestBlockResponse {
170
- blockId?: BlockID;
171
- /** Deprecated: please use `sdk_block` instead */
172
- block?: Block1;
173
- /** Since: cosmos-sdk 0.47 */
174
- sdkBlock?: Block2;
175
- }
176
- export interface GetLatestBlockResponseProtoMsg {
177
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse";
178
- value: Uint8Array;
179
- }
180
- /** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */
181
- export interface GetLatestBlockResponseAmino {
182
- block_id?: BlockIDAmino;
183
- /** Deprecated: please use `sdk_block` instead */
184
- block?: Block1Amino;
185
- /** Since: cosmos-sdk 0.47 */
186
- sdk_block?: Block2Amino;
187
- }
188
- export interface GetLatestBlockResponseAminoMsg {
189
- type: "cosmos-sdk/GetLatestBlockResponse";
190
- value: GetLatestBlockResponseAmino;
191
- }
192
- /** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */
193
- export interface GetSyncingRequest {}
194
- export interface GetSyncingRequestProtoMsg {
195
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest";
196
- value: Uint8Array;
197
- }
198
- /** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */
199
- export interface GetSyncingRequestAmino {}
200
- export interface GetSyncingRequestAminoMsg {
201
- type: "cosmos-sdk/GetSyncingRequest";
202
- value: GetSyncingRequestAmino;
203
- }
204
- /** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */
205
- export interface GetSyncingResponse {
206
- syncing: boolean;
207
- }
208
- export interface GetSyncingResponseProtoMsg {
209
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse";
210
- value: Uint8Array;
211
- }
212
- /** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */
213
- export interface GetSyncingResponseAmino {
214
- syncing: boolean;
215
- }
216
- export interface GetSyncingResponseAminoMsg {
217
- type: "cosmos-sdk/GetSyncingResponse";
218
- value: GetSyncingResponseAmino;
219
- }
220
- /** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */
221
- export interface GetNodeInfoRequest {}
222
- export interface GetNodeInfoRequestProtoMsg {
223
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest";
224
- value: Uint8Array;
225
- }
226
- /** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */
227
- export interface GetNodeInfoRequestAmino {}
228
- export interface GetNodeInfoRequestAminoMsg {
229
- type: "cosmos-sdk/GetNodeInfoRequest";
230
- value: GetNodeInfoRequestAmino;
231
- }
232
- /** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */
233
- export interface GetNodeInfoResponse {
234
- defaultNodeInfo?: DefaultNodeInfo;
235
- applicationVersion?: VersionInfo;
236
- }
237
- export interface GetNodeInfoResponseProtoMsg {
238
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse";
239
- value: Uint8Array;
240
- }
241
- /** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */
242
- export interface GetNodeInfoResponseAmino {
243
- default_node_info?: DefaultNodeInfoAmino;
244
- application_version?: VersionInfoAmino;
245
- }
246
- export interface GetNodeInfoResponseAminoMsg {
247
- type: "cosmos-sdk/GetNodeInfoResponse";
248
- value: GetNodeInfoResponseAmino;
249
- }
250
- /** VersionInfo is the type for the GetNodeInfoResponse message. */
251
- export interface VersionInfo {
252
- name: string;
253
- appName: string;
254
- version: string;
255
- gitCommit: string;
256
- buildTags: string;
257
- goVersion: string;
258
- buildDeps: Module[];
259
- /** Since: cosmos-sdk 0.43 */
260
- cosmosSdkVersion: string;
261
- }
262
- export interface VersionInfoProtoMsg {
263
- typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo";
264
- value: Uint8Array;
265
- }
266
- /** VersionInfo is the type for the GetNodeInfoResponse message. */
267
- export interface VersionInfoAmino {
268
- name: string;
269
- app_name: string;
270
- version: string;
271
- git_commit: string;
272
- build_tags: string;
273
- go_version: string;
274
- build_deps: ModuleAmino[];
275
- /** Since: cosmos-sdk 0.43 */
276
- cosmos_sdk_version: string;
277
- }
278
- export interface VersionInfoAminoMsg {
279
- type: "cosmos-sdk/VersionInfo";
280
- value: VersionInfoAmino;
281
- }
282
- /** Module is the type for VersionInfo */
283
- export interface Module {
284
- /** module path */
285
- path: string;
286
- /** module version */
287
- version: string;
288
- /** checksum */
289
- sum: string;
290
- }
291
- export interface ModuleProtoMsg {
292
- typeUrl: "/cosmos.base.tendermint.v1beta1.Module";
293
- value: Uint8Array;
294
- }
295
- /** Module is the type for VersionInfo */
296
- export interface ModuleAmino {
297
- /** module path */
298
- path: string;
299
- /** module version */
300
- version: string;
301
- /** checksum */
302
- sum: string;
303
- }
304
- export interface ModuleAminoMsg {
305
- type: "cosmos-sdk/Module";
306
- value: ModuleAmino;
307
- }
308
- /** ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. */
309
- export interface ABCIQueryRequest {
310
- data: Uint8Array;
311
- path: string;
312
- height: bigint;
313
- prove: boolean;
314
- }
315
- export interface ABCIQueryRequestProtoMsg {
316
- typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryRequest";
317
- value: Uint8Array;
318
- }
319
- /** ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. */
320
- export interface ABCIQueryRequestAmino {
321
- data: string;
322
- path: string;
323
- height: string;
324
- prove: boolean;
325
- }
326
- export interface ABCIQueryRequestAminoMsg {
327
- type: "cosmos-sdk/ABCIQueryRequest";
328
- value: ABCIQueryRequestAmino;
329
- }
330
- /**
331
- * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.
332
- *
333
- * Note: This type is a duplicate of the ResponseQuery proto type defined in
334
- * Tendermint.
335
- */
336
- export interface ABCIQueryResponse {
337
- code: number;
338
- /** nondeterministic */
339
- log: string;
340
- /** nondeterministic */
341
- info: string;
342
- index: bigint;
343
- key: Uint8Array;
344
- value: Uint8Array;
345
- proofOps?: ProofOps;
346
- height: bigint;
347
- codespace: string;
348
- }
349
- export interface ABCIQueryResponseProtoMsg {
350
- typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryResponse";
351
- value: Uint8Array;
352
- }
353
- /**
354
- * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.
355
- *
356
- * Note: This type is a duplicate of the ResponseQuery proto type defined in
357
- * Tendermint.
358
- */
359
- export interface ABCIQueryResponseAmino {
360
- code: number;
361
- /** nondeterministic */
362
- log: string;
363
- /** nondeterministic */
364
- info: string;
365
- index: string;
366
- key: string;
367
- value: string;
368
- proof_ops?: ProofOpsAmino;
369
- height: string;
370
- codespace: string;
371
- }
372
- export interface ABCIQueryResponseAminoMsg {
373
- type: "cosmos-sdk/ABCIQueryResponse";
374
- value: ABCIQueryResponseAmino;
375
- }
376
- /**
377
- * ProofOp defines an operation used for calculating Merkle root. The data could
378
- * be arbitrary format, providing necessary data for example neighbouring node
379
- * hash.
380
- *
381
- * Note: This type is a duplicate of the ProofOp proto type defined in Tendermint.
382
- */
383
- export interface ProofOp {
384
- type: string;
385
- key: Uint8Array;
386
- data: Uint8Array;
387
- }
388
- export interface ProofOpProtoMsg {
389
- typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOp";
390
- value: Uint8Array;
391
- }
392
- /**
393
- * ProofOp defines an operation used for calculating Merkle root. The data could
394
- * be arbitrary format, providing necessary data for example neighbouring node
395
- * hash.
396
- *
397
- * Note: This type is a duplicate of the ProofOp proto type defined in Tendermint.
398
- */
399
- export interface ProofOpAmino {
400
- type: string;
401
- key: string;
402
- data: string;
403
- }
404
- export interface ProofOpAminoMsg {
405
- type: "cosmos-sdk/ProofOp";
406
- value: ProofOpAmino;
407
- }
408
- /**
409
- * ProofOps is Merkle proof defined by the list of ProofOps.
410
- *
411
- * Note: This type is a duplicate of the ProofOps proto type defined in Tendermint.
412
- */
413
- export interface ProofOps {
414
- ops: ProofOp[];
415
- }
416
- export interface ProofOpsProtoMsg {
417
- typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOps";
418
- value: Uint8Array;
419
- }
420
- /**
421
- * ProofOps is Merkle proof defined by the list of ProofOps.
422
- *
423
- * Note: This type is a duplicate of the ProofOps proto type defined in Tendermint.
424
- */
425
- export interface ProofOpsAmino {
426
- ops: ProofOpAmino[];
427
- }
428
- export interface ProofOpsAminoMsg {
429
- type: "cosmos-sdk/ProofOps";
430
- value: ProofOpsAmino;
431
- }
432
- function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest {
433
- return {
434
- height: BigInt(0),
435
- pagination: undefined
436
- };
437
- }
438
- export const GetValidatorSetByHeightRequest = {
439
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest",
440
- aminoType: "cosmos-sdk/GetValidatorSetByHeightRequest",
441
- is(o: any): o is GetValidatorSetByHeightRequest {
442
- return o && (o.$typeUrl === GetValidatorSetByHeightRequest.typeUrl || typeof o.height === "bigint");
443
- },
444
- isAmino(o: any): o is GetValidatorSetByHeightRequestAmino {
445
- return o && (o.$typeUrl === GetValidatorSetByHeightRequest.typeUrl || typeof o.height === "bigint");
446
- },
447
- encode(message: GetValidatorSetByHeightRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
448
- if (message.height !== BigInt(0)) {
449
- writer.uint32(8).int64(message.height);
450
- }
451
- if (message.pagination !== undefined) {
452
- PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
453
- }
454
- return writer;
455
- },
456
- decode(input: BinaryReader | Uint8Array, length?: number): GetValidatorSetByHeightRequest {
457
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
458
- let end = length === undefined ? reader.len : reader.pos + length;
459
- const message = createBaseGetValidatorSetByHeightRequest();
460
- while (reader.pos < end) {
461
- const tag = reader.uint32();
462
- switch (tag >>> 3) {
463
- case 1:
464
- message.height = reader.int64();
465
- break;
466
- case 2:
467
- message.pagination = PageRequest.decode(reader, reader.uint32());
468
- break;
469
- default:
470
- reader.skipType(tag & 7);
471
- break;
472
- }
473
- }
474
- return message;
475
- },
476
- fromPartial(object: DeepPartial<GetValidatorSetByHeightRequest>): GetValidatorSetByHeightRequest {
477
- const message = createBaseGetValidatorSetByHeightRequest();
478
- message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
479
- message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
480
- return message;
481
- },
482
- fromAmino(object: GetValidatorSetByHeightRequestAmino): GetValidatorSetByHeightRequest {
483
- const message = createBaseGetValidatorSetByHeightRequest();
484
- if (object.height !== undefined && object.height !== null) {
485
- message.height = BigInt(object.height);
486
- }
487
- if (object.pagination !== undefined && object.pagination !== null) {
488
- message.pagination = PageRequest.fromAmino(object.pagination);
489
- }
490
- return message;
491
- },
492
- toAmino(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAmino {
493
- const obj: any = {};
494
- obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
495
- obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
496
- return obj;
497
- },
498
- fromAminoMsg(object: GetValidatorSetByHeightRequestAminoMsg): GetValidatorSetByHeightRequest {
499
- return GetValidatorSetByHeightRequest.fromAmino(object.value);
500
- },
501
- toAminoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAminoMsg {
502
- return {
503
- type: "cosmos-sdk/GetValidatorSetByHeightRequest",
504
- value: GetValidatorSetByHeightRequest.toAmino(message)
505
- };
506
- },
507
- fromProtoMsg(message: GetValidatorSetByHeightRequestProtoMsg): GetValidatorSetByHeightRequest {
508
- return GetValidatorSetByHeightRequest.decode(message.value);
509
- },
510
- toProto(message: GetValidatorSetByHeightRequest): Uint8Array {
511
- return GetValidatorSetByHeightRequest.encode(message).finish();
512
- },
513
- toProtoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestProtoMsg {
514
- return {
515
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest",
516
- value: GetValidatorSetByHeightRequest.encode(message).finish()
517
- };
518
- }
519
- };
520
- GlobalDecoderRegistry.register(GetValidatorSetByHeightRequest.typeUrl, GetValidatorSetByHeightRequest);
521
- GlobalDecoderRegistry.registerAminoProtoMapping(GetValidatorSetByHeightRequest.aminoType, GetValidatorSetByHeightRequest.typeUrl);
522
- function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightResponse {
523
- return {
524
- blockHeight: BigInt(0),
525
- validators: [],
526
- pagination: undefined
527
- };
528
- }
529
- export const GetValidatorSetByHeightResponse = {
530
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse",
531
- aminoType: "cosmos-sdk/GetValidatorSetByHeightResponse",
532
- is(o: any): o is GetValidatorSetByHeightResponse {
533
- return o && (o.$typeUrl === GetValidatorSetByHeightResponse.typeUrl || typeof o.blockHeight === "bigint" && Array.isArray(o.validators) && (!o.validators.length || Validator.is(o.validators[0])));
534
- },
535
- isAmino(o: any): o is GetValidatorSetByHeightResponseAmino {
536
- return o && (o.$typeUrl === GetValidatorSetByHeightResponse.typeUrl || typeof o.block_height === "bigint" && Array.isArray(o.validators) && (!o.validators.length || Validator.isAmino(o.validators[0])));
537
- },
538
- encode(message: GetValidatorSetByHeightResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
539
- if (message.blockHeight !== BigInt(0)) {
540
- writer.uint32(8).int64(message.blockHeight);
541
- }
542
- for (const v of message.validators) {
543
- Validator.encode(v!, writer.uint32(18).fork()).ldelim();
544
- }
545
- if (message.pagination !== undefined) {
546
- PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim();
547
- }
548
- return writer;
549
- },
550
- decode(input: BinaryReader | Uint8Array, length?: number): GetValidatorSetByHeightResponse {
551
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
552
- let end = length === undefined ? reader.len : reader.pos + length;
553
- const message = createBaseGetValidatorSetByHeightResponse();
554
- while (reader.pos < end) {
555
- const tag = reader.uint32();
556
- switch (tag >>> 3) {
557
- case 1:
558
- message.blockHeight = reader.int64();
559
- break;
560
- case 2:
561
- message.validators.push(Validator.decode(reader, reader.uint32()));
562
- break;
563
- case 3:
564
- message.pagination = PageResponse.decode(reader, reader.uint32());
565
- break;
566
- default:
567
- reader.skipType(tag & 7);
568
- break;
569
- }
570
- }
571
- return message;
572
- },
573
- fromPartial(object: DeepPartial<GetValidatorSetByHeightResponse>): GetValidatorSetByHeightResponse {
574
- const message = createBaseGetValidatorSetByHeightResponse();
575
- message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? BigInt(object.blockHeight.toString()) : BigInt(0);
576
- message.validators = object.validators?.map(e => Validator.fromPartial(e)) || [];
577
- message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
578
- return message;
579
- },
580
- fromAmino(object: GetValidatorSetByHeightResponseAmino): GetValidatorSetByHeightResponse {
581
- const message = createBaseGetValidatorSetByHeightResponse();
582
- if (object.block_height !== undefined && object.block_height !== null) {
583
- message.blockHeight = BigInt(object.block_height);
584
- }
585
- message.validators = object.validators?.map(e => Validator.fromAmino(e)) || [];
586
- if (object.pagination !== undefined && object.pagination !== null) {
587
- message.pagination = PageResponse.fromAmino(object.pagination);
588
- }
589
- return message;
590
- },
591
- toAmino(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAmino {
592
- const obj: any = {};
593
- obj.block_height = message.blockHeight !== BigInt(0) ? message.blockHeight?.toString() : undefined;
594
- if (message.validators) {
595
- obj.validators = message.validators.map(e => e ? Validator.toAmino(e) : undefined);
596
- } else {
597
- obj.validators = message.validators;
598
- }
599
- obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
600
- return obj;
601
- },
602
- fromAminoMsg(object: GetValidatorSetByHeightResponseAminoMsg): GetValidatorSetByHeightResponse {
603
- return GetValidatorSetByHeightResponse.fromAmino(object.value);
604
- },
605
- toAminoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAminoMsg {
606
- return {
607
- type: "cosmos-sdk/GetValidatorSetByHeightResponse",
608
- value: GetValidatorSetByHeightResponse.toAmino(message)
609
- };
610
- },
611
- fromProtoMsg(message: GetValidatorSetByHeightResponseProtoMsg): GetValidatorSetByHeightResponse {
612
- return GetValidatorSetByHeightResponse.decode(message.value);
613
- },
614
- toProto(message: GetValidatorSetByHeightResponse): Uint8Array {
615
- return GetValidatorSetByHeightResponse.encode(message).finish();
616
- },
617
- toProtoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseProtoMsg {
618
- return {
619
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse",
620
- value: GetValidatorSetByHeightResponse.encode(message).finish()
621
- };
622
- }
623
- };
624
- GlobalDecoderRegistry.register(GetValidatorSetByHeightResponse.typeUrl, GetValidatorSetByHeightResponse);
625
- GlobalDecoderRegistry.registerAminoProtoMapping(GetValidatorSetByHeightResponse.aminoType, GetValidatorSetByHeightResponse.typeUrl);
626
- function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest {
627
- return {
628
- pagination: undefined
629
- };
630
- }
631
- export const GetLatestValidatorSetRequest = {
632
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest",
633
- aminoType: "cosmos-sdk/GetLatestValidatorSetRequest",
634
- is(o: any): o is GetLatestValidatorSetRequest {
635
- return o && o.$typeUrl === GetLatestValidatorSetRequest.typeUrl;
636
- },
637
- isAmino(o: any): o is GetLatestValidatorSetRequestAmino {
638
- return o && o.$typeUrl === GetLatestValidatorSetRequest.typeUrl;
639
- },
640
- encode(message: GetLatestValidatorSetRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
641
- if (message.pagination !== undefined) {
642
- PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
643
- }
644
- return writer;
645
- },
646
- decode(input: BinaryReader | Uint8Array, length?: number): GetLatestValidatorSetRequest {
647
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
648
- let end = length === undefined ? reader.len : reader.pos + length;
649
- const message = createBaseGetLatestValidatorSetRequest();
650
- while (reader.pos < end) {
651
- const tag = reader.uint32();
652
- switch (tag >>> 3) {
653
- case 1:
654
- message.pagination = PageRequest.decode(reader, reader.uint32());
655
- break;
656
- default:
657
- reader.skipType(tag & 7);
658
- break;
659
- }
660
- }
661
- return message;
662
- },
663
- fromPartial(object: DeepPartial<GetLatestValidatorSetRequest>): GetLatestValidatorSetRequest {
664
- const message = createBaseGetLatestValidatorSetRequest();
665
- message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
666
- return message;
667
- },
668
- fromAmino(object: GetLatestValidatorSetRequestAmino): GetLatestValidatorSetRequest {
669
- const message = createBaseGetLatestValidatorSetRequest();
670
- if (object.pagination !== undefined && object.pagination !== null) {
671
- message.pagination = PageRequest.fromAmino(object.pagination);
672
- }
673
- return message;
674
- },
675
- toAmino(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAmino {
676
- const obj: any = {};
677
- obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
678
- return obj;
679
- },
680
- fromAminoMsg(object: GetLatestValidatorSetRequestAminoMsg): GetLatestValidatorSetRequest {
681
- return GetLatestValidatorSetRequest.fromAmino(object.value);
682
- },
683
- toAminoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAminoMsg {
684
- return {
685
- type: "cosmos-sdk/GetLatestValidatorSetRequest",
686
- value: GetLatestValidatorSetRequest.toAmino(message)
687
- };
688
- },
689
- fromProtoMsg(message: GetLatestValidatorSetRequestProtoMsg): GetLatestValidatorSetRequest {
690
- return GetLatestValidatorSetRequest.decode(message.value);
691
- },
692
- toProto(message: GetLatestValidatorSetRequest): Uint8Array {
693
- return GetLatestValidatorSetRequest.encode(message).finish();
694
- },
695
- toProtoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestProtoMsg {
696
- return {
697
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest",
698
- value: GetLatestValidatorSetRequest.encode(message).finish()
699
- };
700
- }
701
- };
702
- GlobalDecoderRegistry.register(GetLatestValidatorSetRequest.typeUrl, GetLatestValidatorSetRequest);
703
- GlobalDecoderRegistry.registerAminoProtoMapping(GetLatestValidatorSetRequest.aminoType, GetLatestValidatorSetRequest.typeUrl);
704
- function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetResponse {
705
- return {
706
- blockHeight: BigInt(0),
707
- validators: [],
708
- pagination: undefined
709
- };
710
- }
711
- export const GetLatestValidatorSetResponse = {
712
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse",
713
- aminoType: "cosmos-sdk/GetLatestValidatorSetResponse",
714
- is(o: any): o is GetLatestValidatorSetResponse {
715
- return o && (o.$typeUrl === GetLatestValidatorSetResponse.typeUrl || typeof o.blockHeight === "bigint" && Array.isArray(o.validators) && (!o.validators.length || Validator.is(o.validators[0])));
716
- },
717
- isAmino(o: any): o is GetLatestValidatorSetResponseAmino {
718
- return o && (o.$typeUrl === GetLatestValidatorSetResponse.typeUrl || typeof o.block_height === "bigint" && Array.isArray(o.validators) && (!o.validators.length || Validator.isAmino(o.validators[0])));
719
- },
720
- encode(message: GetLatestValidatorSetResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
721
- if (message.blockHeight !== BigInt(0)) {
722
- writer.uint32(8).int64(message.blockHeight);
723
- }
724
- for (const v of message.validators) {
725
- Validator.encode(v!, writer.uint32(18).fork()).ldelim();
726
- }
727
- if (message.pagination !== undefined) {
728
- PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim();
729
- }
730
- return writer;
731
- },
732
- decode(input: BinaryReader | Uint8Array, length?: number): GetLatestValidatorSetResponse {
733
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
734
- let end = length === undefined ? reader.len : reader.pos + length;
735
- const message = createBaseGetLatestValidatorSetResponse();
736
- while (reader.pos < end) {
737
- const tag = reader.uint32();
738
- switch (tag >>> 3) {
739
- case 1:
740
- message.blockHeight = reader.int64();
741
- break;
742
- case 2:
743
- message.validators.push(Validator.decode(reader, reader.uint32()));
744
- break;
745
- case 3:
746
- message.pagination = PageResponse.decode(reader, reader.uint32());
747
- break;
748
- default:
749
- reader.skipType(tag & 7);
750
- break;
751
- }
752
- }
753
- return message;
754
- },
755
- fromPartial(object: DeepPartial<GetLatestValidatorSetResponse>): GetLatestValidatorSetResponse {
756
- const message = createBaseGetLatestValidatorSetResponse();
757
- message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? BigInt(object.blockHeight.toString()) : BigInt(0);
758
- message.validators = object.validators?.map(e => Validator.fromPartial(e)) || [];
759
- message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
760
- return message;
761
- },
762
- fromAmino(object: GetLatestValidatorSetResponseAmino): GetLatestValidatorSetResponse {
763
- const message = createBaseGetLatestValidatorSetResponse();
764
- if (object.block_height !== undefined && object.block_height !== null) {
765
- message.blockHeight = BigInt(object.block_height);
766
- }
767
- message.validators = object.validators?.map(e => Validator.fromAmino(e)) || [];
768
- if (object.pagination !== undefined && object.pagination !== null) {
769
- message.pagination = PageResponse.fromAmino(object.pagination);
770
- }
771
- return message;
772
- },
773
- toAmino(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAmino {
774
- const obj: any = {};
775
- obj.block_height = message.blockHeight !== BigInt(0) ? message.blockHeight?.toString() : undefined;
776
- if (message.validators) {
777
- obj.validators = message.validators.map(e => e ? Validator.toAmino(e) : undefined);
778
- } else {
779
- obj.validators = message.validators;
780
- }
781
- obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
782
- return obj;
783
- },
784
- fromAminoMsg(object: GetLatestValidatorSetResponseAminoMsg): GetLatestValidatorSetResponse {
785
- return GetLatestValidatorSetResponse.fromAmino(object.value);
786
- },
787
- toAminoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAminoMsg {
788
- return {
789
- type: "cosmos-sdk/GetLatestValidatorSetResponse",
790
- value: GetLatestValidatorSetResponse.toAmino(message)
791
- };
792
- },
793
- fromProtoMsg(message: GetLatestValidatorSetResponseProtoMsg): GetLatestValidatorSetResponse {
794
- return GetLatestValidatorSetResponse.decode(message.value);
795
- },
796
- toProto(message: GetLatestValidatorSetResponse): Uint8Array {
797
- return GetLatestValidatorSetResponse.encode(message).finish();
798
- },
799
- toProtoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseProtoMsg {
800
- return {
801
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse",
802
- value: GetLatestValidatorSetResponse.encode(message).finish()
803
- };
804
- }
805
- };
806
- GlobalDecoderRegistry.register(GetLatestValidatorSetResponse.typeUrl, GetLatestValidatorSetResponse);
807
- GlobalDecoderRegistry.registerAminoProtoMapping(GetLatestValidatorSetResponse.aminoType, GetLatestValidatorSetResponse.typeUrl);
808
- function createBaseValidator(): Validator {
809
- return {
810
- address: "",
811
- pubKey: undefined,
812
- votingPower: BigInt(0),
813
- proposerPriority: BigInt(0)
814
- };
815
- }
816
- export const Validator = {
817
- typeUrl: "/cosmos.base.tendermint.v1beta1.Validator",
818
- aminoType: "cosmos-sdk/Validator",
819
- is(o: any): o is Validator {
820
- return o && (o.$typeUrl === Validator.typeUrl || typeof o.address === "string" && typeof o.votingPower === "bigint" && typeof o.proposerPriority === "bigint");
821
- },
822
- isAmino(o: any): o is ValidatorAmino {
823
- return o && (o.$typeUrl === Validator.typeUrl || typeof o.address === "string" && typeof o.voting_power === "bigint" && typeof o.proposer_priority === "bigint");
824
- },
825
- encode(message: Validator, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
826
- if (message.address !== "") {
827
- writer.uint32(10).string(message.address);
828
- }
829
- if (message.pubKey !== undefined) {
830
- Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim();
831
- }
832
- if (message.votingPower !== BigInt(0)) {
833
- writer.uint32(24).int64(message.votingPower);
834
- }
835
- if (message.proposerPriority !== BigInt(0)) {
836
- writer.uint32(32).int64(message.proposerPriority);
837
- }
838
- return writer;
839
- },
840
- decode(input: BinaryReader | Uint8Array, length?: number): Validator {
841
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
842
- let end = length === undefined ? reader.len : reader.pos + length;
843
- const message = createBaseValidator();
844
- while (reader.pos < end) {
845
- const tag = reader.uint32();
846
- switch (tag >>> 3) {
847
- case 1:
848
- message.address = reader.string();
849
- break;
850
- case 2:
851
- message.pubKey = Any.decode(reader, reader.uint32());
852
- break;
853
- case 3:
854
- message.votingPower = reader.int64();
855
- break;
856
- case 4:
857
- message.proposerPriority = reader.int64();
858
- break;
859
- default:
860
- reader.skipType(tag & 7);
861
- break;
862
- }
863
- }
864
- return message;
865
- },
866
- fromPartial(object: DeepPartial<Validator>): Validator {
867
- const message = createBaseValidator();
868
- message.address = object.address ?? "";
869
- message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined;
870
- message.votingPower = object.votingPower !== undefined && object.votingPower !== null ? BigInt(object.votingPower.toString()) : BigInt(0);
871
- message.proposerPriority = object.proposerPriority !== undefined && object.proposerPriority !== null ? BigInt(object.proposerPriority.toString()) : BigInt(0);
872
- return message;
873
- },
874
- fromAmino(object: ValidatorAmino): Validator {
875
- const message = createBaseValidator();
876
- if (object.address !== undefined && object.address !== null) {
877
- message.address = object.address;
878
- }
879
- if (object.pub_key !== undefined && object.pub_key !== null) {
880
- message.pubKey = Any.fromAmino(object.pub_key);
881
- }
882
- if (object.voting_power !== undefined && object.voting_power !== null) {
883
- message.votingPower = BigInt(object.voting_power);
884
- }
885
- if (object.proposer_priority !== undefined && object.proposer_priority !== null) {
886
- message.proposerPriority = BigInt(object.proposer_priority);
887
- }
888
- return message;
889
- },
890
- toAmino(message: Validator): ValidatorAmino {
891
- const obj: any = {};
892
- obj.address = message.address === "" ? undefined : message.address;
893
- obj.pub_key = message.pubKey ? Any.toAmino(message.pubKey) : undefined;
894
- obj.voting_power = message.votingPower !== BigInt(0) ? message.votingPower?.toString() : undefined;
895
- obj.proposer_priority = message.proposerPriority !== BigInt(0) ? message.proposerPriority?.toString() : undefined;
896
- return obj;
897
- },
898
- fromAminoMsg(object: ValidatorAminoMsg): Validator {
899
- return Validator.fromAmino(object.value);
900
- },
901
- toAminoMsg(message: Validator): ValidatorAminoMsg {
902
- return {
903
- type: "cosmos-sdk/Validator",
904
- value: Validator.toAmino(message)
905
- };
906
- },
907
- fromProtoMsg(message: ValidatorProtoMsg): Validator {
908
- return Validator.decode(message.value);
909
- },
910
- toProto(message: Validator): Uint8Array {
911
- return Validator.encode(message).finish();
912
- },
913
- toProtoMsg(message: Validator): ValidatorProtoMsg {
914
- return {
915
- typeUrl: "/cosmos.base.tendermint.v1beta1.Validator",
916
- value: Validator.encode(message).finish()
917
- };
918
- }
919
- };
920
- GlobalDecoderRegistry.register(Validator.typeUrl, Validator);
921
- GlobalDecoderRegistry.registerAminoProtoMapping(Validator.aminoType, Validator.typeUrl);
922
- function createBaseGetBlockByHeightRequest(): GetBlockByHeightRequest {
923
- return {
924
- height: BigInt(0)
925
- };
926
- }
927
- export const GetBlockByHeightRequest = {
928
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest",
929
- aminoType: "cosmos-sdk/GetBlockByHeightRequest",
930
- is(o: any): o is GetBlockByHeightRequest {
931
- return o && (o.$typeUrl === GetBlockByHeightRequest.typeUrl || typeof o.height === "bigint");
932
- },
933
- isAmino(o: any): o is GetBlockByHeightRequestAmino {
934
- return o && (o.$typeUrl === GetBlockByHeightRequest.typeUrl || typeof o.height === "bigint");
935
- },
936
- encode(message: GetBlockByHeightRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
937
- if (message.height !== BigInt(0)) {
938
- writer.uint32(8).int64(message.height);
939
- }
940
- return writer;
941
- },
942
- decode(input: BinaryReader | Uint8Array, length?: number): GetBlockByHeightRequest {
943
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
944
- let end = length === undefined ? reader.len : reader.pos + length;
945
- const message = createBaseGetBlockByHeightRequest();
946
- while (reader.pos < end) {
947
- const tag = reader.uint32();
948
- switch (tag >>> 3) {
949
- case 1:
950
- message.height = reader.int64();
951
- break;
952
- default:
953
- reader.skipType(tag & 7);
954
- break;
955
- }
956
- }
957
- return message;
958
- },
959
- fromPartial(object: DeepPartial<GetBlockByHeightRequest>): GetBlockByHeightRequest {
960
- const message = createBaseGetBlockByHeightRequest();
961
- message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
962
- return message;
963
- },
964
- fromAmino(object: GetBlockByHeightRequestAmino): GetBlockByHeightRequest {
965
- const message = createBaseGetBlockByHeightRequest();
966
- if (object.height !== undefined && object.height !== null) {
967
- message.height = BigInt(object.height);
968
- }
969
- return message;
970
- },
971
- toAmino(message: GetBlockByHeightRequest): GetBlockByHeightRequestAmino {
972
- const obj: any = {};
973
- obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
974
- return obj;
975
- },
976
- fromAminoMsg(object: GetBlockByHeightRequestAminoMsg): GetBlockByHeightRequest {
977
- return GetBlockByHeightRequest.fromAmino(object.value);
978
- },
979
- toAminoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestAminoMsg {
980
- return {
981
- type: "cosmos-sdk/GetBlockByHeightRequest",
982
- value: GetBlockByHeightRequest.toAmino(message)
983
- };
984
- },
985
- fromProtoMsg(message: GetBlockByHeightRequestProtoMsg): GetBlockByHeightRequest {
986
- return GetBlockByHeightRequest.decode(message.value);
987
- },
988
- toProto(message: GetBlockByHeightRequest): Uint8Array {
989
- return GetBlockByHeightRequest.encode(message).finish();
990
- },
991
- toProtoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestProtoMsg {
992
- return {
993
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest",
994
- value: GetBlockByHeightRequest.encode(message).finish()
995
- };
996
- }
997
- };
998
- GlobalDecoderRegistry.register(GetBlockByHeightRequest.typeUrl, GetBlockByHeightRequest);
999
- GlobalDecoderRegistry.registerAminoProtoMapping(GetBlockByHeightRequest.aminoType, GetBlockByHeightRequest.typeUrl);
1000
- function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse {
1001
- return {
1002
- blockId: undefined,
1003
- block: undefined,
1004
- sdkBlock: undefined
1005
- };
1006
- }
1007
- export const GetBlockByHeightResponse = {
1008
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse",
1009
- aminoType: "cosmos-sdk/GetBlockByHeightResponse",
1010
- is(o: any): o is GetBlockByHeightResponse {
1011
- return o && o.$typeUrl === GetBlockByHeightResponse.typeUrl;
1012
- },
1013
- isAmino(o: any): o is GetBlockByHeightResponseAmino {
1014
- return o && o.$typeUrl === GetBlockByHeightResponse.typeUrl;
1015
- },
1016
- encode(message: GetBlockByHeightResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1017
- if (message.blockId !== undefined) {
1018
- BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim();
1019
- }
1020
- if (message.block !== undefined) {
1021
- Block1.encode(message.block, writer.uint32(18).fork()).ldelim();
1022
- }
1023
- if (message.sdkBlock !== undefined) {
1024
- Block2.encode(message.sdkBlock, writer.uint32(26).fork()).ldelim();
1025
- }
1026
- return writer;
1027
- },
1028
- decode(input: BinaryReader | Uint8Array, length?: number): GetBlockByHeightResponse {
1029
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1030
- let end = length === undefined ? reader.len : reader.pos + length;
1031
- const message = createBaseGetBlockByHeightResponse();
1032
- while (reader.pos < end) {
1033
- const tag = reader.uint32();
1034
- switch (tag >>> 3) {
1035
- case 1:
1036
- message.blockId = BlockID.decode(reader, reader.uint32());
1037
- break;
1038
- case 2:
1039
- message.block = Block1.decode(reader, reader.uint32());
1040
- break;
1041
- case 3:
1042
- message.sdkBlock = Block2.decode(reader, reader.uint32());
1043
- break;
1044
- default:
1045
- reader.skipType(tag & 7);
1046
- break;
1047
- }
1048
- }
1049
- return message;
1050
- },
1051
- fromPartial(object: DeepPartial<GetBlockByHeightResponse>): GetBlockByHeightResponse {
1052
- const message = createBaseGetBlockByHeightResponse();
1053
- message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined;
1054
- message.block = object.block !== undefined && object.block !== null ? Block1.fromPartial(object.block) : undefined;
1055
- message.sdkBlock = object.sdkBlock !== undefined && object.sdkBlock !== null ? Block2.fromPartial(object.sdkBlock) : undefined;
1056
- return message;
1057
- },
1058
- fromAmino(object: GetBlockByHeightResponseAmino): GetBlockByHeightResponse {
1059
- const message = createBaseGetBlockByHeightResponse();
1060
- if (object.block_id !== undefined && object.block_id !== null) {
1061
- message.blockId = BlockID.fromAmino(object.block_id);
1062
- }
1063
- if (object.block !== undefined && object.block !== null) {
1064
- message.block = Block1.fromAmino(object.block);
1065
- }
1066
- if (object.sdk_block !== undefined && object.sdk_block !== null) {
1067
- message.sdkBlock = Block2.fromAmino(object.sdk_block);
1068
- }
1069
- return message;
1070
- },
1071
- toAmino(message: GetBlockByHeightResponse): GetBlockByHeightResponseAmino {
1072
- const obj: any = {};
1073
- obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined;
1074
- obj.block = message.block ? Block1.toAmino(message.block) : undefined;
1075
- obj.sdk_block = message.sdkBlock ? Block2.toAmino(message.sdkBlock) : undefined;
1076
- return obj;
1077
- },
1078
- fromAminoMsg(object: GetBlockByHeightResponseAminoMsg): GetBlockByHeightResponse {
1079
- return GetBlockByHeightResponse.fromAmino(object.value);
1080
- },
1081
- toAminoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseAminoMsg {
1082
- return {
1083
- type: "cosmos-sdk/GetBlockByHeightResponse",
1084
- value: GetBlockByHeightResponse.toAmino(message)
1085
- };
1086
- },
1087
- fromProtoMsg(message: GetBlockByHeightResponseProtoMsg): GetBlockByHeightResponse {
1088
- return GetBlockByHeightResponse.decode(message.value);
1089
- },
1090
- toProto(message: GetBlockByHeightResponse): Uint8Array {
1091
- return GetBlockByHeightResponse.encode(message).finish();
1092
- },
1093
- toProtoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseProtoMsg {
1094
- return {
1095
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse",
1096
- value: GetBlockByHeightResponse.encode(message).finish()
1097
- };
1098
- }
1099
- };
1100
- GlobalDecoderRegistry.register(GetBlockByHeightResponse.typeUrl, GetBlockByHeightResponse);
1101
- GlobalDecoderRegistry.registerAminoProtoMapping(GetBlockByHeightResponse.aminoType, GetBlockByHeightResponse.typeUrl);
1102
- function createBaseGetLatestBlockRequest(): GetLatestBlockRequest {
1103
- return {};
1104
- }
1105
- export const GetLatestBlockRequest = {
1106
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest",
1107
- aminoType: "cosmos-sdk/GetLatestBlockRequest",
1108
- is(o: any): o is GetLatestBlockRequest {
1109
- return o && o.$typeUrl === GetLatestBlockRequest.typeUrl;
1110
- },
1111
- isAmino(o: any): o is GetLatestBlockRequestAmino {
1112
- return o && o.$typeUrl === GetLatestBlockRequest.typeUrl;
1113
- },
1114
- encode(_: GetLatestBlockRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1115
- return writer;
1116
- },
1117
- decode(input: BinaryReader | Uint8Array, length?: number): GetLatestBlockRequest {
1118
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1119
- let end = length === undefined ? reader.len : reader.pos + length;
1120
- const message = createBaseGetLatestBlockRequest();
1121
- while (reader.pos < end) {
1122
- const tag = reader.uint32();
1123
- switch (tag >>> 3) {
1124
- default:
1125
- reader.skipType(tag & 7);
1126
- break;
1127
- }
1128
- }
1129
- return message;
1130
- },
1131
- fromPartial(_: DeepPartial<GetLatestBlockRequest>): GetLatestBlockRequest {
1132
- const message = createBaseGetLatestBlockRequest();
1133
- return message;
1134
- },
1135
- fromAmino(_: GetLatestBlockRequestAmino): GetLatestBlockRequest {
1136
- const message = createBaseGetLatestBlockRequest();
1137
- return message;
1138
- },
1139
- toAmino(_: GetLatestBlockRequest): GetLatestBlockRequestAmino {
1140
- const obj: any = {};
1141
- return obj;
1142
- },
1143
- fromAminoMsg(object: GetLatestBlockRequestAminoMsg): GetLatestBlockRequest {
1144
- return GetLatestBlockRequest.fromAmino(object.value);
1145
- },
1146
- toAminoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestAminoMsg {
1147
- return {
1148
- type: "cosmos-sdk/GetLatestBlockRequest",
1149
- value: GetLatestBlockRequest.toAmino(message)
1150
- };
1151
- },
1152
- fromProtoMsg(message: GetLatestBlockRequestProtoMsg): GetLatestBlockRequest {
1153
- return GetLatestBlockRequest.decode(message.value);
1154
- },
1155
- toProto(message: GetLatestBlockRequest): Uint8Array {
1156
- return GetLatestBlockRequest.encode(message).finish();
1157
- },
1158
- toProtoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestProtoMsg {
1159
- return {
1160
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest",
1161
- value: GetLatestBlockRequest.encode(message).finish()
1162
- };
1163
- }
1164
- };
1165
- GlobalDecoderRegistry.register(GetLatestBlockRequest.typeUrl, GetLatestBlockRequest);
1166
- GlobalDecoderRegistry.registerAminoProtoMapping(GetLatestBlockRequest.aminoType, GetLatestBlockRequest.typeUrl);
1167
- function createBaseGetLatestBlockResponse(): GetLatestBlockResponse {
1168
- return {
1169
- blockId: undefined,
1170
- block: undefined,
1171
- sdkBlock: undefined
1172
- };
1173
- }
1174
- export const GetLatestBlockResponse = {
1175
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse",
1176
- aminoType: "cosmos-sdk/GetLatestBlockResponse",
1177
- is(o: any): o is GetLatestBlockResponse {
1178
- return o && o.$typeUrl === GetLatestBlockResponse.typeUrl;
1179
- },
1180
- isAmino(o: any): o is GetLatestBlockResponseAmino {
1181
- return o && o.$typeUrl === GetLatestBlockResponse.typeUrl;
1182
- },
1183
- encode(message: GetLatestBlockResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1184
- if (message.blockId !== undefined) {
1185
- BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim();
1186
- }
1187
- if (message.block !== undefined) {
1188
- Block1.encode(message.block, writer.uint32(18).fork()).ldelim();
1189
- }
1190
- if (message.sdkBlock !== undefined) {
1191
- Block2.encode(message.sdkBlock, writer.uint32(26).fork()).ldelim();
1192
- }
1193
- return writer;
1194
- },
1195
- decode(input: BinaryReader | Uint8Array, length?: number): GetLatestBlockResponse {
1196
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1197
- let end = length === undefined ? reader.len : reader.pos + length;
1198
- const message = createBaseGetLatestBlockResponse();
1199
- while (reader.pos < end) {
1200
- const tag = reader.uint32();
1201
- switch (tag >>> 3) {
1202
- case 1:
1203
- message.blockId = BlockID.decode(reader, reader.uint32());
1204
- break;
1205
- case 2:
1206
- message.block = Block1.decode(reader, reader.uint32());
1207
- break;
1208
- case 3:
1209
- message.sdkBlock = Block2.decode(reader, reader.uint32());
1210
- break;
1211
- default:
1212
- reader.skipType(tag & 7);
1213
- break;
1214
- }
1215
- }
1216
- return message;
1217
- },
1218
- fromPartial(object: DeepPartial<GetLatestBlockResponse>): GetLatestBlockResponse {
1219
- const message = createBaseGetLatestBlockResponse();
1220
- message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined;
1221
- message.block = object.block !== undefined && object.block !== null ? Block1.fromPartial(object.block) : undefined;
1222
- message.sdkBlock = object.sdkBlock !== undefined && object.sdkBlock !== null ? Block2.fromPartial(object.sdkBlock) : undefined;
1223
- return message;
1224
- },
1225
- fromAmino(object: GetLatestBlockResponseAmino): GetLatestBlockResponse {
1226
- const message = createBaseGetLatestBlockResponse();
1227
- if (object.block_id !== undefined && object.block_id !== null) {
1228
- message.blockId = BlockID.fromAmino(object.block_id);
1229
- }
1230
- if (object.block !== undefined && object.block !== null) {
1231
- message.block = Block1.fromAmino(object.block);
1232
- }
1233
- if (object.sdk_block !== undefined && object.sdk_block !== null) {
1234
- message.sdkBlock = Block2.fromAmino(object.sdk_block);
1235
- }
1236
- return message;
1237
- },
1238
- toAmino(message: GetLatestBlockResponse): GetLatestBlockResponseAmino {
1239
- const obj: any = {};
1240
- obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined;
1241
- obj.block = message.block ? Block1.toAmino(message.block) : undefined;
1242
- obj.sdk_block = message.sdkBlock ? Block2.toAmino(message.sdkBlock) : undefined;
1243
- return obj;
1244
- },
1245
- fromAminoMsg(object: GetLatestBlockResponseAminoMsg): GetLatestBlockResponse {
1246
- return GetLatestBlockResponse.fromAmino(object.value);
1247
- },
1248
- toAminoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseAminoMsg {
1249
- return {
1250
- type: "cosmos-sdk/GetLatestBlockResponse",
1251
- value: GetLatestBlockResponse.toAmino(message)
1252
- };
1253
- },
1254
- fromProtoMsg(message: GetLatestBlockResponseProtoMsg): GetLatestBlockResponse {
1255
- return GetLatestBlockResponse.decode(message.value);
1256
- },
1257
- toProto(message: GetLatestBlockResponse): Uint8Array {
1258
- return GetLatestBlockResponse.encode(message).finish();
1259
- },
1260
- toProtoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseProtoMsg {
1261
- return {
1262
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse",
1263
- value: GetLatestBlockResponse.encode(message).finish()
1264
- };
1265
- }
1266
- };
1267
- GlobalDecoderRegistry.register(GetLatestBlockResponse.typeUrl, GetLatestBlockResponse);
1268
- GlobalDecoderRegistry.registerAminoProtoMapping(GetLatestBlockResponse.aminoType, GetLatestBlockResponse.typeUrl);
1269
- function createBaseGetSyncingRequest(): GetSyncingRequest {
1270
- return {};
1271
- }
1272
- export const GetSyncingRequest = {
1273
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest",
1274
- aminoType: "cosmos-sdk/GetSyncingRequest",
1275
- is(o: any): o is GetSyncingRequest {
1276
- return o && o.$typeUrl === GetSyncingRequest.typeUrl;
1277
- },
1278
- isAmino(o: any): o is GetSyncingRequestAmino {
1279
- return o && o.$typeUrl === GetSyncingRequest.typeUrl;
1280
- },
1281
- encode(_: GetSyncingRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1282
- return writer;
1283
- },
1284
- decode(input: BinaryReader | Uint8Array, length?: number): GetSyncingRequest {
1285
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1286
- let end = length === undefined ? reader.len : reader.pos + length;
1287
- const message = createBaseGetSyncingRequest();
1288
- while (reader.pos < end) {
1289
- const tag = reader.uint32();
1290
- switch (tag >>> 3) {
1291
- default:
1292
- reader.skipType(tag & 7);
1293
- break;
1294
- }
1295
- }
1296
- return message;
1297
- },
1298
- fromPartial(_: DeepPartial<GetSyncingRequest>): GetSyncingRequest {
1299
- const message = createBaseGetSyncingRequest();
1300
- return message;
1301
- },
1302
- fromAmino(_: GetSyncingRequestAmino): GetSyncingRequest {
1303
- const message = createBaseGetSyncingRequest();
1304
- return message;
1305
- },
1306
- toAmino(_: GetSyncingRequest): GetSyncingRequestAmino {
1307
- const obj: any = {};
1308
- return obj;
1309
- },
1310
- fromAminoMsg(object: GetSyncingRequestAminoMsg): GetSyncingRequest {
1311
- return GetSyncingRequest.fromAmino(object.value);
1312
- },
1313
- toAminoMsg(message: GetSyncingRequest): GetSyncingRequestAminoMsg {
1314
- return {
1315
- type: "cosmos-sdk/GetSyncingRequest",
1316
- value: GetSyncingRequest.toAmino(message)
1317
- };
1318
- },
1319
- fromProtoMsg(message: GetSyncingRequestProtoMsg): GetSyncingRequest {
1320
- return GetSyncingRequest.decode(message.value);
1321
- },
1322
- toProto(message: GetSyncingRequest): Uint8Array {
1323
- return GetSyncingRequest.encode(message).finish();
1324
- },
1325
- toProtoMsg(message: GetSyncingRequest): GetSyncingRequestProtoMsg {
1326
- return {
1327
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest",
1328
- value: GetSyncingRequest.encode(message).finish()
1329
- };
1330
- }
1331
- };
1332
- GlobalDecoderRegistry.register(GetSyncingRequest.typeUrl, GetSyncingRequest);
1333
- GlobalDecoderRegistry.registerAminoProtoMapping(GetSyncingRequest.aminoType, GetSyncingRequest.typeUrl);
1334
- function createBaseGetSyncingResponse(): GetSyncingResponse {
1335
- return {
1336
- syncing: false
1337
- };
1338
- }
1339
- export const GetSyncingResponse = {
1340
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse",
1341
- aminoType: "cosmos-sdk/GetSyncingResponse",
1342
- is(o: any): o is GetSyncingResponse {
1343
- return o && (o.$typeUrl === GetSyncingResponse.typeUrl || typeof o.syncing === "boolean");
1344
- },
1345
- isAmino(o: any): o is GetSyncingResponseAmino {
1346
- return o && (o.$typeUrl === GetSyncingResponse.typeUrl || typeof o.syncing === "boolean");
1347
- },
1348
- encode(message: GetSyncingResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1349
- if (message.syncing === true) {
1350
- writer.uint32(8).bool(message.syncing);
1351
- }
1352
- return writer;
1353
- },
1354
- decode(input: BinaryReader | Uint8Array, length?: number): GetSyncingResponse {
1355
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1356
- let end = length === undefined ? reader.len : reader.pos + length;
1357
- const message = createBaseGetSyncingResponse();
1358
- while (reader.pos < end) {
1359
- const tag = reader.uint32();
1360
- switch (tag >>> 3) {
1361
- case 1:
1362
- message.syncing = reader.bool();
1363
- break;
1364
- default:
1365
- reader.skipType(tag & 7);
1366
- break;
1367
- }
1368
- }
1369
- return message;
1370
- },
1371
- fromPartial(object: DeepPartial<GetSyncingResponse>): GetSyncingResponse {
1372
- const message = createBaseGetSyncingResponse();
1373
- message.syncing = object.syncing ?? false;
1374
- return message;
1375
- },
1376
- fromAmino(object: GetSyncingResponseAmino): GetSyncingResponse {
1377
- const message = createBaseGetSyncingResponse();
1378
- if (object.syncing !== undefined && object.syncing !== null) {
1379
- message.syncing = object.syncing;
1380
- }
1381
- return message;
1382
- },
1383
- toAmino(message: GetSyncingResponse): GetSyncingResponseAmino {
1384
- const obj: any = {};
1385
- obj.syncing = message.syncing === false ? undefined : message.syncing;
1386
- return obj;
1387
- },
1388
- fromAminoMsg(object: GetSyncingResponseAminoMsg): GetSyncingResponse {
1389
- return GetSyncingResponse.fromAmino(object.value);
1390
- },
1391
- toAminoMsg(message: GetSyncingResponse): GetSyncingResponseAminoMsg {
1392
- return {
1393
- type: "cosmos-sdk/GetSyncingResponse",
1394
- value: GetSyncingResponse.toAmino(message)
1395
- };
1396
- },
1397
- fromProtoMsg(message: GetSyncingResponseProtoMsg): GetSyncingResponse {
1398
- return GetSyncingResponse.decode(message.value);
1399
- },
1400
- toProto(message: GetSyncingResponse): Uint8Array {
1401
- return GetSyncingResponse.encode(message).finish();
1402
- },
1403
- toProtoMsg(message: GetSyncingResponse): GetSyncingResponseProtoMsg {
1404
- return {
1405
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse",
1406
- value: GetSyncingResponse.encode(message).finish()
1407
- };
1408
- }
1409
- };
1410
- GlobalDecoderRegistry.register(GetSyncingResponse.typeUrl, GetSyncingResponse);
1411
- GlobalDecoderRegistry.registerAminoProtoMapping(GetSyncingResponse.aminoType, GetSyncingResponse.typeUrl);
1412
- function createBaseGetNodeInfoRequest(): GetNodeInfoRequest {
1413
- return {};
1414
- }
1415
- export const GetNodeInfoRequest = {
1416
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest",
1417
- aminoType: "cosmos-sdk/GetNodeInfoRequest",
1418
- is(o: any): o is GetNodeInfoRequest {
1419
- return o && o.$typeUrl === GetNodeInfoRequest.typeUrl;
1420
- },
1421
- isAmino(o: any): o is GetNodeInfoRequestAmino {
1422
- return o && o.$typeUrl === GetNodeInfoRequest.typeUrl;
1423
- },
1424
- encode(_: GetNodeInfoRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1425
- return writer;
1426
- },
1427
- decode(input: BinaryReader | Uint8Array, length?: number): GetNodeInfoRequest {
1428
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1429
- let end = length === undefined ? reader.len : reader.pos + length;
1430
- const message = createBaseGetNodeInfoRequest();
1431
- while (reader.pos < end) {
1432
- const tag = reader.uint32();
1433
- switch (tag >>> 3) {
1434
- default:
1435
- reader.skipType(tag & 7);
1436
- break;
1437
- }
1438
- }
1439
- return message;
1440
- },
1441
- fromPartial(_: DeepPartial<GetNodeInfoRequest>): GetNodeInfoRequest {
1442
- const message = createBaseGetNodeInfoRequest();
1443
- return message;
1444
- },
1445
- fromAmino(_: GetNodeInfoRequestAmino): GetNodeInfoRequest {
1446
- const message = createBaseGetNodeInfoRequest();
1447
- return message;
1448
- },
1449
- toAmino(_: GetNodeInfoRequest): GetNodeInfoRequestAmino {
1450
- const obj: any = {};
1451
- return obj;
1452
- },
1453
- fromAminoMsg(object: GetNodeInfoRequestAminoMsg): GetNodeInfoRequest {
1454
- return GetNodeInfoRequest.fromAmino(object.value);
1455
- },
1456
- toAminoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestAminoMsg {
1457
- return {
1458
- type: "cosmos-sdk/GetNodeInfoRequest",
1459
- value: GetNodeInfoRequest.toAmino(message)
1460
- };
1461
- },
1462
- fromProtoMsg(message: GetNodeInfoRequestProtoMsg): GetNodeInfoRequest {
1463
- return GetNodeInfoRequest.decode(message.value);
1464
- },
1465
- toProto(message: GetNodeInfoRequest): Uint8Array {
1466
- return GetNodeInfoRequest.encode(message).finish();
1467
- },
1468
- toProtoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestProtoMsg {
1469
- return {
1470
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest",
1471
- value: GetNodeInfoRequest.encode(message).finish()
1472
- };
1473
- }
1474
- };
1475
- GlobalDecoderRegistry.register(GetNodeInfoRequest.typeUrl, GetNodeInfoRequest);
1476
- GlobalDecoderRegistry.registerAminoProtoMapping(GetNodeInfoRequest.aminoType, GetNodeInfoRequest.typeUrl);
1477
- function createBaseGetNodeInfoResponse(): GetNodeInfoResponse {
1478
- return {
1479
- defaultNodeInfo: undefined,
1480
- applicationVersion: undefined
1481
- };
1482
- }
1483
- export const GetNodeInfoResponse = {
1484
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse",
1485
- aminoType: "cosmos-sdk/GetNodeInfoResponse",
1486
- is(o: any): o is GetNodeInfoResponse {
1487
- return o && o.$typeUrl === GetNodeInfoResponse.typeUrl;
1488
- },
1489
- isAmino(o: any): o is GetNodeInfoResponseAmino {
1490
- return o && o.$typeUrl === GetNodeInfoResponse.typeUrl;
1491
- },
1492
- encode(message: GetNodeInfoResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1493
- if (message.defaultNodeInfo !== undefined) {
1494
- DefaultNodeInfo.encode(message.defaultNodeInfo, writer.uint32(10).fork()).ldelim();
1495
- }
1496
- if (message.applicationVersion !== undefined) {
1497
- VersionInfo.encode(message.applicationVersion, writer.uint32(18).fork()).ldelim();
1498
- }
1499
- return writer;
1500
- },
1501
- decode(input: BinaryReader | Uint8Array, length?: number): GetNodeInfoResponse {
1502
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1503
- let end = length === undefined ? reader.len : reader.pos + length;
1504
- const message = createBaseGetNodeInfoResponse();
1505
- while (reader.pos < end) {
1506
- const tag = reader.uint32();
1507
- switch (tag >>> 3) {
1508
- case 1:
1509
- message.defaultNodeInfo = DefaultNodeInfo.decode(reader, reader.uint32());
1510
- break;
1511
- case 2:
1512
- message.applicationVersion = VersionInfo.decode(reader, reader.uint32());
1513
- break;
1514
- default:
1515
- reader.skipType(tag & 7);
1516
- break;
1517
- }
1518
- }
1519
- return message;
1520
- },
1521
- fromPartial(object: DeepPartial<GetNodeInfoResponse>): GetNodeInfoResponse {
1522
- const message = createBaseGetNodeInfoResponse();
1523
- message.defaultNodeInfo = object.defaultNodeInfo !== undefined && object.defaultNodeInfo !== null ? DefaultNodeInfo.fromPartial(object.defaultNodeInfo) : undefined;
1524
- message.applicationVersion = object.applicationVersion !== undefined && object.applicationVersion !== null ? VersionInfo.fromPartial(object.applicationVersion) : undefined;
1525
- return message;
1526
- },
1527
- fromAmino(object: GetNodeInfoResponseAmino): GetNodeInfoResponse {
1528
- const message = createBaseGetNodeInfoResponse();
1529
- if (object.default_node_info !== undefined && object.default_node_info !== null) {
1530
- message.defaultNodeInfo = DefaultNodeInfo.fromAmino(object.default_node_info);
1531
- }
1532
- if (object.application_version !== undefined && object.application_version !== null) {
1533
- message.applicationVersion = VersionInfo.fromAmino(object.application_version);
1534
- }
1535
- return message;
1536
- },
1537
- toAmino(message: GetNodeInfoResponse): GetNodeInfoResponseAmino {
1538
- const obj: any = {};
1539
- obj.default_node_info = message.defaultNodeInfo ? DefaultNodeInfo.toAmino(message.defaultNodeInfo) : undefined;
1540
- obj.application_version = message.applicationVersion ? VersionInfo.toAmino(message.applicationVersion) : undefined;
1541
- return obj;
1542
- },
1543
- fromAminoMsg(object: GetNodeInfoResponseAminoMsg): GetNodeInfoResponse {
1544
- return GetNodeInfoResponse.fromAmino(object.value);
1545
- },
1546
- toAminoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseAminoMsg {
1547
- return {
1548
- type: "cosmos-sdk/GetNodeInfoResponse",
1549
- value: GetNodeInfoResponse.toAmino(message)
1550
- };
1551
- },
1552
- fromProtoMsg(message: GetNodeInfoResponseProtoMsg): GetNodeInfoResponse {
1553
- return GetNodeInfoResponse.decode(message.value);
1554
- },
1555
- toProto(message: GetNodeInfoResponse): Uint8Array {
1556
- return GetNodeInfoResponse.encode(message).finish();
1557
- },
1558
- toProtoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseProtoMsg {
1559
- return {
1560
- typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse",
1561
- value: GetNodeInfoResponse.encode(message).finish()
1562
- };
1563
- }
1564
- };
1565
- GlobalDecoderRegistry.register(GetNodeInfoResponse.typeUrl, GetNodeInfoResponse);
1566
- GlobalDecoderRegistry.registerAminoProtoMapping(GetNodeInfoResponse.aminoType, GetNodeInfoResponse.typeUrl);
1567
- function createBaseVersionInfo(): VersionInfo {
1568
- return {
1569
- name: "",
1570
- appName: "",
1571
- version: "",
1572
- gitCommit: "",
1573
- buildTags: "",
1574
- goVersion: "",
1575
- buildDeps: [],
1576
- cosmosSdkVersion: ""
1577
- };
1578
- }
1579
- export const VersionInfo = {
1580
- typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo",
1581
- aminoType: "cosmos-sdk/VersionInfo",
1582
- is(o: any): o is VersionInfo {
1583
- return o && (o.$typeUrl === VersionInfo.typeUrl || typeof o.name === "string" && typeof o.appName === "string" && typeof o.version === "string" && typeof o.gitCommit === "string" && typeof o.buildTags === "string" && typeof o.goVersion === "string" && Array.isArray(o.buildDeps) && (!o.buildDeps.length || Module.is(o.buildDeps[0])) && typeof o.cosmosSdkVersion === "string");
1584
- },
1585
- isAmino(o: any): o is VersionInfoAmino {
1586
- return o && (o.$typeUrl === VersionInfo.typeUrl || typeof o.name === "string" && typeof o.app_name === "string" && typeof o.version === "string" && typeof o.git_commit === "string" && typeof o.build_tags === "string" && typeof o.go_version === "string" && Array.isArray(o.build_deps) && (!o.build_deps.length || Module.isAmino(o.build_deps[0])) && typeof o.cosmos_sdk_version === "string");
1587
- },
1588
- encode(message: VersionInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1589
- if (message.name !== "") {
1590
- writer.uint32(10).string(message.name);
1591
- }
1592
- if (message.appName !== "") {
1593
- writer.uint32(18).string(message.appName);
1594
- }
1595
- if (message.version !== "") {
1596
- writer.uint32(26).string(message.version);
1597
- }
1598
- if (message.gitCommit !== "") {
1599
- writer.uint32(34).string(message.gitCommit);
1600
- }
1601
- if (message.buildTags !== "") {
1602
- writer.uint32(42).string(message.buildTags);
1603
- }
1604
- if (message.goVersion !== "") {
1605
- writer.uint32(50).string(message.goVersion);
1606
- }
1607
- for (const v of message.buildDeps) {
1608
- Module.encode(v!, writer.uint32(58).fork()).ldelim();
1609
- }
1610
- if (message.cosmosSdkVersion !== "") {
1611
- writer.uint32(66).string(message.cosmosSdkVersion);
1612
- }
1613
- return writer;
1614
- },
1615
- decode(input: BinaryReader | Uint8Array, length?: number): VersionInfo {
1616
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1617
- let end = length === undefined ? reader.len : reader.pos + length;
1618
- const message = createBaseVersionInfo();
1619
- while (reader.pos < end) {
1620
- const tag = reader.uint32();
1621
- switch (tag >>> 3) {
1622
- case 1:
1623
- message.name = reader.string();
1624
- break;
1625
- case 2:
1626
- message.appName = reader.string();
1627
- break;
1628
- case 3:
1629
- message.version = reader.string();
1630
- break;
1631
- case 4:
1632
- message.gitCommit = reader.string();
1633
- break;
1634
- case 5:
1635
- message.buildTags = reader.string();
1636
- break;
1637
- case 6:
1638
- message.goVersion = reader.string();
1639
- break;
1640
- case 7:
1641
- message.buildDeps.push(Module.decode(reader, reader.uint32()));
1642
- break;
1643
- case 8:
1644
- message.cosmosSdkVersion = reader.string();
1645
- break;
1646
- default:
1647
- reader.skipType(tag & 7);
1648
- break;
1649
- }
1650
- }
1651
- return message;
1652
- },
1653
- fromPartial(object: DeepPartial<VersionInfo>): VersionInfo {
1654
- const message = createBaseVersionInfo();
1655
- message.name = object.name ?? "";
1656
- message.appName = object.appName ?? "";
1657
- message.version = object.version ?? "";
1658
- message.gitCommit = object.gitCommit ?? "";
1659
- message.buildTags = object.buildTags ?? "";
1660
- message.goVersion = object.goVersion ?? "";
1661
- message.buildDeps = object.buildDeps?.map(e => Module.fromPartial(e)) || [];
1662
- message.cosmosSdkVersion = object.cosmosSdkVersion ?? "";
1663
- return message;
1664
- },
1665
- fromAmino(object: VersionInfoAmino): VersionInfo {
1666
- const message = createBaseVersionInfo();
1667
- if (object.name !== undefined && object.name !== null) {
1668
- message.name = object.name;
1669
- }
1670
- if (object.app_name !== undefined && object.app_name !== null) {
1671
- message.appName = object.app_name;
1672
- }
1673
- if (object.version !== undefined && object.version !== null) {
1674
- message.version = object.version;
1675
- }
1676
- if (object.git_commit !== undefined && object.git_commit !== null) {
1677
- message.gitCommit = object.git_commit;
1678
- }
1679
- if (object.build_tags !== undefined && object.build_tags !== null) {
1680
- message.buildTags = object.build_tags;
1681
- }
1682
- if (object.go_version !== undefined && object.go_version !== null) {
1683
- message.goVersion = object.go_version;
1684
- }
1685
- message.buildDeps = object.build_deps?.map(e => Module.fromAmino(e)) || [];
1686
- if (object.cosmos_sdk_version !== undefined && object.cosmos_sdk_version !== null) {
1687
- message.cosmosSdkVersion = object.cosmos_sdk_version;
1688
- }
1689
- return message;
1690
- },
1691
- toAmino(message: VersionInfo): VersionInfoAmino {
1692
- const obj: any = {};
1693
- obj.name = message.name === "" ? undefined : message.name;
1694
- obj.app_name = message.appName === "" ? undefined : message.appName;
1695
- obj.version = message.version === "" ? undefined : message.version;
1696
- obj.git_commit = message.gitCommit === "" ? undefined : message.gitCommit;
1697
- obj.build_tags = message.buildTags === "" ? undefined : message.buildTags;
1698
- obj.go_version = message.goVersion === "" ? undefined : message.goVersion;
1699
- if (message.buildDeps) {
1700
- obj.build_deps = message.buildDeps.map(e => e ? Module.toAmino(e) : undefined);
1701
- } else {
1702
- obj.build_deps = message.buildDeps;
1703
- }
1704
- obj.cosmos_sdk_version = message.cosmosSdkVersion === "" ? undefined : message.cosmosSdkVersion;
1705
- return obj;
1706
- },
1707
- fromAminoMsg(object: VersionInfoAminoMsg): VersionInfo {
1708
- return VersionInfo.fromAmino(object.value);
1709
- },
1710
- toAminoMsg(message: VersionInfo): VersionInfoAminoMsg {
1711
- return {
1712
- type: "cosmos-sdk/VersionInfo",
1713
- value: VersionInfo.toAmino(message)
1714
- };
1715
- },
1716
- fromProtoMsg(message: VersionInfoProtoMsg): VersionInfo {
1717
- return VersionInfo.decode(message.value);
1718
- },
1719
- toProto(message: VersionInfo): Uint8Array {
1720
- return VersionInfo.encode(message).finish();
1721
- },
1722
- toProtoMsg(message: VersionInfo): VersionInfoProtoMsg {
1723
- return {
1724
- typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo",
1725
- value: VersionInfo.encode(message).finish()
1726
- };
1727
- }
1728
- };
1729
- GlobalDecoderRegistry.register(VersionInfo.typeUrl, VersionInfo);
1730
- GlobalDecoderRegistry.registerAminoProtoMapping(VersionInfo.aminoType, VersionInfo.typeUrl);
1731
- function createBaseModule(): Module {
1732
- return {
1733
- path: "",
1734
- version: "",
1735
- sum: ""
1736
- };
1737
- }
1738
- export const Module = {
1739
- typeUrl: "/cosmos.base.tendermint.v1beta1.Module",
1740
- aminoType: "cosmos-sdk/Module",
1741
- is(o: any): o is Module {
1742
- return o && (o.$typeUrl === Module.typeUrl || typeof o.path === "string" && typeof o.version === "string" && typeof o.sum === "string");
1743
- },
1744
- isAmino(o: any): o is ModuleAmino {
1745
- return o && (o.$typeUrl === Module.typeUrl || typeof o.path === "string" && typeof o.version === "string" && typeof o.sum === "string");
1746
- },
1747
- encode(message: Module, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1748
- if (message.path !== "") {
1749
- writer.uint32(10).string(message.path);
1750
- }
1751
- if (message.version !== "") {
1752
- writer.uint32(18).string(message.version);
1753
- }
1754
- if (message.sum !== "") {
1755
- writer.uint32(26).string(message.sum);
1756
- }
1757
- return writer;
1758
- },
1759
- decode(input: BinaryReader | Uint8Array, length?: number): Module {
1760
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1761
- let end = length === undefined ? reader.len : reader.pos + length;
1762
- const message = createBaseModule();
1763
- while (reader.pos < end) {
1764
- const tag = reader.uint32();
1765
- switch (tag >>> 3) {
1766
- case 1:
1767
- message.path = reader.string();
1768
- break;
1769
- case 2:
1770
- message.version = reader.string();
1771
- break;
1772
- case 3:
1773
- message.sum = reader.string();
1774
- break;
1775
- default:
1776
- reader.skipType(tag & 7);
1777
- break;
1778
- }
1779
- }
1780
- return message;
1781
- },
1782
- fromPartial(object: DeepPartial<Module>): Module {
1783
- const message = createBaseModule();
1784
- message.path = object.path ?? "";
1785
- message.version = object.version ?? "";
1786
- message.sum = object.sum ?? "";
1787
- return message;
1788
- },
1789
- fromAmino(object: ModuleAmino): Module {
1790
- const message = createBaseModule();
1791
- if (object.path !== undefined && object.path !== null) {
1792
- message.path = object.path;
1793
- }
1794
- if (object.version !== undefined && object.version !== null) {
1795
- message.version = object.version;
1796
- }
1797
- if (object.sum !== undefined && object.sum !== null) {
1798
- message.sum = object.sum;
1799
- }
1800
- return message;
1801
- },
1802
- toAmino(message: Module): ModuleAmino {
1803
- const obj: any = {};
1804
- obj.path = message.path === "" ? undefined : message.path;
1805
- obj.version = message.version === "" ? undefined : message.version;
1806
- obj.sum = message.sum === "" ? undefined : message.sum;
1807
- return obj;
1808
- },
1809
- fromAminoMsg(object: ModuleAminoMsg): Module {
1810
- return Module.fromAmino(object.value);
1811
- },
1812
- toAminoMsg(message: Module): ModuleAminoMsg {
1813
- return {
1814
- type: "cosmos-sdk/Module",
1815
- value: Module.toAmino(message)
1816
- };
1817
- },
1818
- fromProtoMsg(message: ModuleProtoMsg): Module {
1819
- return Module.decode(message.value);
1820
- },
1821
- toProto(message: Module): Uint8Array {
1822
- return Module.encode(message).finish();
1823
- },
1824
- toProtoMsg(message: Module): ModuleProtoMsg {
1825
- return {
1826
- typeUrl: "/cosmos.base.tendermint.v1beta1.Module",
1827
- value: Module.encode(message).finish()
1828
- };
1829
- }
1830
- };
1831
- GlobalDecoderRegistry.register(Module.typeUrl, Module);
1832
- GlobalDecoderRegistry.registerAminoProtoMapping(Module.aminoType, Module.typeUrl);
1833
- function createBaseABCIQueryRequest(): ABCIQueryRequest {
1834
- return {
1835
- data: new Uint8Array(),
1836
- path: "",
1837
- height: BigInt(0),
1838
- prove: false
1839
- };
1840
- }
1841
- export const ABCIQueryRequest = {
1842
- typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryRequest",
1843
- aminoType: "cosmos-sdk/ABCIQueryRequest",
1844
- is(o: any): o is ABCIQueryRequest {
1845
- return o && (o.$typeUrl === ABCIQueryRequest.typeUrl || (o.data instanceof Uint8Array || typeof o.data === "string") && typeof o.path === "string" && typeof o.height === "bigint" && typeof o.prove === "boolean");
1846
- },
1847
- isAmino(o: any): o is ABCIQueryRequestAmino {
1848
- return o && (o.$typeUrl === ABCIQueryRequest.typeUrl || (o.data instanceof Uint8Array || typeof o.data === "string") && typeof o.path === "string" && typeof o.height === "bigint" && typeof o.prove === "boolean");
1849
- },
1850
- encode(message: ABCIQueryRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1851
- if (message.data.length !== 0) {
1852
- writer.uint32(10).bytes(message.data);
1853
- }
1854
- if (message.path !== "") {
1855
- writer.uint32(18).string(message.path);
1856
- }
1857
- if (message.height !== BigInt(0)) {
1858
- writer.uint32(24).int64(message.height);
1859
- }
1860
- if (message.prove === true) {
1861
- writer.uint32(32).bool(message.prove);
1862
- }
1863
- return writer;
1864
- },
1865
- decode(input: BinaryReader | Uint8Array, length?: number): ABCIQueryRequest {
1866
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1867
- let end = length === undefined ? reader.len : reader.pos + length;
1868
- const message = createBaseABCIQueryRequest();
1869
- while (reader.pos < end) {
1870
- const tag = reader.uint32();
1871
- switch (tag >>> 3) {
1872
- case 1:
1873
- message.data = reader.bytes();
1874
- break;
1875
- case 2:
1876
- message.path = reader.string();
1877
- break;
1878
- case 3:
1879
- message.height = reader.int64();
1880
- break;
1881
- case 4:
1882
- message.prove = reader.bool();
1883
- break;
1884
- default:
1885
- reader.skipType(tag & 7);
1886
- break;
1887
- }
1888
- }
1889
- return message;
1890
- },
1891
- fromPartial(object: DeepPartial<ABCIQueryRequest>): ABCIQueryRequest {
1892
- const message = createBaseABCIQueryRequest();
1893
- message.data = object.data ?? new Uint8Array();
1894
- message.path = object.path ?? "";
1895
- message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
1896
- message.prove = object.prove ?? false;
1897
- return message;
1898
- },
1899
- fromAmino(object: ABCIQueryRequestAmino): ABCIQueryRequest {
1900
- const message = createBaseABCIQueryRequest();
1901
- if (object.data !== undefined && object.data !== null) {
1902
- message.data = bytesFromBase64(object.data);
1903
- }
1904
- if (object.path !== undefined && object.path !== null) {
1905
- message.path = object.path;
1906
- }
1907
- if (object.height !== undefined && object.height !== null) {
1908
- message.height = BigInt(object.height);
1909
- }
1910
- if (object.prove !== undefined && object.prove !== null) {
1911
- message.prove = object.prove;
1912
- }
1913
- return message;
1914
- },
1915
- toAmino(message: ABCIQueryRequest): ABCIQueryRequestAmino {
1916
- const obj: any = {};
1917
- obj.data = message.data ? base64FromBytes(message.data) : undefined;
1918
- obj.path = message.path === "" ? undefined : message.path;
1919
- obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
1920
- obj.prove = message.prove === false ? undefined : message.prove;
1921
- return obj;
1922
- },
1923
- fromAminoMsg(object: ABCIQueryRequestAminoMsg): ABCIQueryRequest {
1924
- return ABCIQueryRequest.fromAmino(object.value);
1925
- },
1926
- toAminoMsg(message: ABCIQueryRequest): ABCIQueryRequestAminoMsg {
1927
- return {
1928
- type: "cosmos-sdk/ABCIQueryRequest",
1929
- value: ABCIQueryRequest.toAmino(message)
1930
- };
1931
- },
1932
- fromProtoMsg(message: ABCIQueryRequestProtoMsg): ABCIQueryRequest {
1933
- return ABCIQueryRequest.decode(message.value);
1934
- },
1935
- toProto(message: ABCIQueryRequest): Uint8Array {
1936
- return ABCIQueryRequest.encode(message).finish();
1937
- },
1938
- toProtoMsg(message: ABCIQueryRequest): ABCIQueryRequestProtoMsg {
1939
- return {
1940
- typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryRequest",
1941
- value: ABCIQueryRequest.encode(message).finish()
1942
- };
1943
- }
1944
- };
1945
- GlobalDecoderRegistry.register(ABCIQueryRequest.typeUrl, ABCIQueryRequest);
1946
- GlobalDecoderRegistry.registerAminoProtoMapping(ABCIQueryRequest.aminoType, ABCIQueryRequest.typeUrl);
1947
- function createBaseABCIQueryResponse(): ABCIQueryResponse {
1948
- return {
1949
- code: 0,
1950
- log: "",
1951
- info: "",
1952
- index: BigInt(0),
1953
- key: new Uint8Array(),
1954
- value: new Uint8Array(),
1955
- proofOps: undefined,
1956
- height: BigInt(0),
1957
- codespace: ""
1958
- };
1959
- }
1960
- export const ABCIQueryResponse = {
1961
- typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryResponse",
1962
- aminoType: "cosmos-sdk/ABCIQueryResponse",
1963
- is(o: any): o is ABCIQueryResponse {
1964
- return o && (o.$typeUrl === ABCIQueryResponse.typeUrl || typeof o.code === "number" && typeof o.log === "string" && typeof o.info === "string" && typeof o.index === "bigint" && (o.key instanceof Uint8Array || typeof o.key === "string") && (o.value instanceof Uint8Array || typeof o.value === "string") && typeof o.height === "bigint" && typeof o.codespace === "string");
1965
- },
1966
- isAmino(o: any): o is ABCIQueryResponseAmino {
1967
- return o && (o.$typeUrl === ABCIQueryResponse.typeUrl || typeof o.code === "number" && typeof o.log === "string" && typeof o.info === "string" && typeof o.index === "bigint" && (o.key instanceof Uint8Array || typeof o.key === "string") && (o.value instanceof Uint8Array || typeof o.value === "string") && typeof o.height === "bigint" && typeof o.codespace === "string");
1968
- },
1969
- encode(message: ABCIQueryResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1970
- if (message.code !== 0) {
1971
- writer.uint32(8).uint32(message.code);
1972
- }
1973
- if (message.log !== "") {
1974
- writer.uint32(26).string(message.log);
1975
- }
1976
- if (message.info !== "") {
1977
- writer.uint32(34).string(message.info);
1978
- }
1979
- if (message.index !== BigInt(0)) {
1980
- writer.uint32(40).int64(message.index);
1981
- }
1982
- if (message.key.length !== 0) {
1983
- writer.uint32(50).bytes(message.key);
1984
- }
1985
- if (message.value.length !== 0) {
1986
- writer.uint32(58).bytes(message.value);
1987
- }
1988
- if (message.proofOps !== undefined) {
1989
- ProofOps.encode(message.proofOps, writer.uint32(66).fork()).ldelim();
1990
- }
1991
- if (message.height !== BigInt(0)) {
1992
- writer.uint32(72).int64(message.height);
1993
- }
1994
- if (message.codespace !== "") {
1995
- writer.uint32(82).string(message.codespace);
1996
- }
1997
- return writer;
1998
- },
1999
- decode(input: BinaryReader | Uint8Array, length?: number): ABCIQueryResponse {
2000
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2001
- let end = length === undefined ? reader.len : reader.pos + length;
2002
- const message = createBaseABCIQueryResponse();
2003
- while (reader.pos < end) {
2004
- const tag = reader.uint32();
2005
- switch (tag >>> 3) {
2006
- case 1:
2007
- message.code = reader.uint32();
2008
- break;
2009
- case 3:
2010
- message.log = reader.string();
2011
- break;
2012
- case 4:
2013
- message.info = reader.string();
2014
- break;
2015
- case 5:
2016
- message.index = reader.int64();
2017
- break;
2018
- case 6:
2019
- message.key = reader.bytes();
2020
- break;
2021
- case 7:
2022
- message.value = reader.bytes();
2023
- break;
2024
- case 8:
2025
- message.proofOps = ProofOps.decode(reader, reader.uint32());
2026
- break;
2027
- case 9:
2028
- message.height = reader.int64();
2029
- break;
2030
- case 10:
2031
- message.codespace = reader.string();
2032
- break;
2033
- default:
2034
- reader.skipType(tag & 7);
2035
- break;
2036
- }
2037
- }
2038
- return message;
2039
- },
2040
- fromPartial(object: DeepPartial<ABCIQueryResponse>): ABCIQueryResponse {
2041
- const message = createBaseABCIQueryResponse();
2042
- message.code = object.code ?? 0;
2043
- message.log = object.log ?? "";
2044
- message.info = object.info ?? "";
2045
- message.index = object.index !== undefined && object.index !== null ? BigInt(object.index.toString()) : BigInt(0);
2046
- message.key = object.key ?? new Uint8Array();
2047
- message.value = object.value ?? new Uint8Array();
2048
- message.proofOps = object.proofOps !== undefined && object.proofOps !== null ? ProofOps.fromPartial(object.proofOps) : undefined;
2049
- message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
2050
- message.codespace = object.codespace ?? "";
2051
- return message;
2052
- },
2053
- fromAmino(object: ABCIQueryResponseAmino): ABCIQueryResponse {
2054
- const message = createBaseABCIQueryResponse();
2055
- if (object.code !== undefined && object.code !== null) {
2056
- message.code = object.code;
2057
- }
2058
- if (object.log !== undefined && object.log !== null) {
2059
- message.log = object.log;
2060
- }
2061
- if (object.info !== undefined && object.info !== null) {
2062
- message.info = object.info;
2063
- }
2064
- if (object.index !== undefined && object.index !== null) {
2065
- message.index = BigInt(object.index);
2066
- }
2067
- if (object.key !== undefined && object.key !== null) {
2068
- message.key = bytesFromBase64(object.key);
2069
- }
2070
- if (object.value !== undefined && object.value !== null) {
2071
- message.value = bytesFromBase64(object.value);
2072
- }
2073
- if (object.proof_ops !== undefined && object.proof_ops !== null) {
2074
- message.proofOps = ProofOps.fromAmino(object.proof_ops);
2075
- }
2076
- if (object.height !== undefined && object.height !== null) {
2077
- message.height = BigInt(object.height);
2078
- }
2079
- if (object.codespace !== undefined && object.codespace !== null) {
2080
- message.codespace = object.codespace;
2081
- }
2082
- return message;
2083
- },
2084
- toAmino(message: ABCIQueryResponse): ABCIQueryResponseAmino {
2085
- const obj: any = {};
2086
- obj.code = message.code === 0 ? undefined : message.code;
2087
- obj.log = message.log === "" ? undefined : message.log;
2088
- obj.info = message.info === "" ? undefined : message.info;
2089
- obj.index = message.index !== BigInt(0) ? message.index?.toString() : undefined;
2090
- obj.key = message.key ? base64FromBytes(message.key) : undefined;
2091
- obj.value = message.value ? base64FromBytes(message.value) : undefined;
2092
- obj.proof_ops = message.proofOps ? ProofOps.toAmino(message.proofOps) : undefined;
2093
- obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
2094
- obj.codespace = message.codespace === "" ? undefined : message.codespace;
2095
- return obj;
2096
- },
2097
- fromAminoMsg(object: ABCIQueryResponseAminoMsg): ABCIQueryResponse {
2098
- return ABCIQueryResponse.fromAmino(object.value);
2099
- },
2100
- toAminoMsg(message: ABCIQueryResponse): ABCIQueryResponseAminoMsg {
2101
- return {
2102
- type: "cosmos-sdk/ABCIQueryResponse",
2103
- value: ABCIQueryResponse.toAmino(message)
2104
- };
2105
- },
2106
- fromProtoMsg(message: ABCIQueryResponseProtoMsg): ABCIQueryResponse {
2107
- return ABCIQueryResponse.decode(message.value);
2108
- },
2109
- toProto(message: ABCIQueryResponse): Uint8Array {
2110
- return ABCIQueryResponse.encode(message).finish();
2111
- },
2112
- toProtoMsg(message: ABCIQueryResponse): ABCIQueryResponseProtoMsg {
2113
- return {
2114
- typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryResponse",
2115
- value: ABCIQueryResponse.encode(message).finish()
2116
- };
2117
- }
2118
- };
2119
- GlobalDecoderRegistry.register(ABCIQueryResponse.typeUrl, ABCIQueryResponse);
2120
- GlobalDecoderRegistry.registerAminoProtoMapping(ABCIQueryResponse.aminoType, ABCIQueryResponse.typeUrl);
2121
- function createBaseProofOp(): ProofOp {
2122
- return {
2123
- type: "",
2124
- key: new Uint8Array(),
2125
- data: new Uint8Array()
2126
- };
2127
- }
2128
- export const ProofOp = {
2129
- typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOp",
2130
- aminoType: "cosmos-sdk/ProofOp",
2131
- is(o: any): o is ProofOp {
2132
- return o && (o.$typeUrl === ProofOp.typeUrl || typeof o.type === "string" && (o.key instanceof Uint8Array || typeof o.key === "string") && (o.data instanceof Uint8Array || typeof o.data === "string"));
2133
- },
2134
- isAmino(o: any): o is ProofOpAmino {
2135
- return o && (o.$typeUrl === ProofOp.typeUrl || typeof o.type === "string" && (o.key instanceof Uint8Array || typeof o.key === "string") && (o.data instanceof Uint8Array || typeof o.data === "string"));
2136
- },
2137
- encode(message: ProofOp, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
2138
- if (message.type !== "") {
2139
- writer.uint32(10).string(message.type);
2140
- }
2141
- if (message.key.length !== 0) {
2142
- writer.uint32(18).bytes(message.key);
2143
- }
2144
- if (message.data.length !== 0) {
2145
- writer.uint32(26).bytes(message.data);
2146
- }
2147
- return writer;
2148
- },
2149
- decode(input: BinaryReader | Uint8Array, length?: number): ProofOp {
2150
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2151
- let end = length === undefined ? reader.len : reader.pos + length;
2152
- const message = createBaseProofOp();
2153
- while (reader.pos < end) {
2154
- const tag = reader.uint32();
2155
- switch (tag >>> 3) {
2156
- case 1:
2157
- message.type = reader.string();
2158
- break;
2159
- case 2:
2160
- message.key = reader.bytes();
2161
- break;
2162
- case 3:
2163
- message.data = reader.bytes();
2164
- break;
2165
- default:
2166
- reader.skipType(tag & 7);
2167
- break;
2168
- }
2169
- }
2170
- return message;
2171
- },
2172
- fromPartial(object: DeepPartial<ProofOp>): ProofOp {
2173
- const message = createBaseProofOp();
2174
- message.type = object.type ?? "";
2175
- message.key = object.key ?? new Uint8Array();
2176
- message.data = object.data ?? new Uint8Array();
2177
- return message;
2178
- },
2179
- fromAmino(object: ProofOpAmino): ProofOp {
2180
- const message = createBaseProofOp();
2181
- if (object.type !== undefined && object.type !== null) {
2182
- message.type = object.type;
2183
- }
2184
- if (object.key !== undefined && object.key !== null) {
2185
- message.key = bytesFromBase64(object.key);
2186
- }
2187
- if (object.data !== undefined && object.data !== null) {
2188
- message.data = bytesFromBase64(object.data);
2189
- }
2190
- return message;
2191
- },
2192
- toAmino(message: ProofOp): ProofOpAmino {
2193
- const obj: any = {};
2194
- obj.type = message.type === "" ? undefined : message.type;
2195
- obj.key = message.key ? base64FromBytes(message.key) : undefined;
2196
- obj.data = message.data ? base64FromBytes(message.data) : undefined;
2197
- return obj;
2198
- },
2199
- fromAminoMsg(object: ProofOpAminoMsg): ProofOp {
2200
- return ProofOp.fromAmino(object.value);
2201
- },
2202
- toAminoMsg(message: ProofOp): ProofOpAminoMsg {
2203
- return {
2204
- type: "cosmos-sdk/ProofOp",
2205
- value: ProofOp.toAmino(message)
2206
- };
2207
- },
2208
- fromProtoMsg(message: ProofOpProtoMsg): ProofOp {
2209
- return ProofOp.decode(message.value);
2210
- },
2211
- toProto(message: ProofOp): Uint8Array {
2212
- return ProofOp.encode(message).finish();
2213
- },
2214
- toProtoMsg(message: ProofOp): ProofOpProtoMsg {
2215
- return {
2216
- typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOp",
2217
- value: ProofOp.encode(message).finish()
2218
- };
2219
- }
2220
- };
2221
- GlobalDecoderRegistry.register(ProofOp.typeUrl, ProofOp);
2222
- GlobalDecoderRegistry.registerAminoProtoMapping(ProofOp.aminoType, ProofOp.typeUrl);
2223
- function createBaseProofOps(): ProofOps {
2224
- return {
2225
- ops: []
2226
- };
2227
- }
2228
- export const ProofOps = {
2229
- typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOps",
2230
- aminoType: "cosmos-sdk/ProofOps",
2231
- is(o: any): o is ProofOps {
2232
- return o && (o.$typeUrl === ProofOps.typeUrl || Array.isArray(o.ops) && (!o.ops.length || ProofOp.is(o.ops[0])));
2233
- },
2234
- isAmino(o: any): o is ProofOpsAmino {
2235
- return o && (o.$typeUrl === ProofOps.typeUrl || Array.isArray(o.ops) && (!o.ops.length || ProofOp.isAmino(o.ops[0])));
2236
- },
2237
- encode(message: ProofOps, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
2238
- for (const v of message.ops) {
2239
- ProofOp.encode(v!, writer.uint32(10).fork()).ldelim();
2240
- }
2241
- return writer;
2242
- },
2243
- decode(input: BinaryReader | Uint8Array, length?: number): ProofOps {
2244
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2245
- let end = length === undefined ? reader.len : reader.pos + length;
2246
- const message = createBaseProofOps();
2247
- while (reader.pos < end) {
2248
- const tag = reader.uint32();
2249
- switch (tag >>> 3) {
2250
- case 1:
2251
- message.ops.push(ProofOp.decode(reader, reader.uint32()));
2252
- break;
2253
- default:
2254
- reader.skipType(tag & 7);
2255
- break;
2256
- }
2257
- }
2258
- return message;
2259
- },
2260
- fromPartial(object: DeepPartial<ProofOps>): ProofOps {
2261
- const message = createBaseProofOps();
2262
- message.ops = object.ops?.map(e => ProofOp.fromPartial(e)) || [];
2263
- return message;
2264
- },
2265
- fromAmino(object: ProofOpsAmino): ProofOps {
2266
- const message = createBaseProofOps();
2267
- message.ops = object.ops?.map(e => ProofOp.fromAmino(e)) || [];
2268
- return message;
2269
- },
2270
- toAmino(message: ProofOps): ProofOpsAmino {
2271
- const obj: any = {};
2272
- if (message.ops) {
2273
- obj.ops = message.ops.map(e => e ? ProofOp.toAmino(e) : undefined);
2274
- } else {
2275
- obj.ops = message.ops;
2276
- }
2277
- return obj;
2278
- },
2279
- fromAminoMsg(object: ProofOpsAminoMsg): ProofOps {
2280
- return ProofOps.fromAmino(object.value);
2281
- },
2282
- toAminoMsg(message: ProofOps): ProofOpsAminoMsg {
2283
- return {
2284
- type: "cosmos-sdk/ProofOps",
2285
- value: ProofOps.toAmino(message)
2286
- };
2287
- },
2288
- fromProtoMsg(message: ProofOpsProtoMsg): ProofOps {
2289
- return ProofOps.decode(message.value);
2290
- },
2291
- toProto(message: ProofOps): Uint8Array {
2292
- return ProofOps.encode(message).finish();
2293
- },
2294
- toProtoMsg(message: ProofOps): ProofOpsProtoMsg {
2295
- return {
2296
- typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOps",
2297
- value: ProofOps.encode(message).finish()
2298
- };
2299
- }
2300
- };
2301
- GlobalDecoderRegistry.register(ProofOps.typeUrl, ProofOps);
2302
- GlobalDecoderRegistry.registerAminoProtoMapping(ProofOps.aminoType, ProofOps.typeUrl);