@xpla/xplajs 1.7.0-beta.3 → 1.7.0-beta.4

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 (1937) hide show
  1. package/dist/binary.d.ts +130 -0
  2. package/dist/binary.js +370 -0
  3. package/dist/cosmos/app/runtime/v1alpha1/module.d.ts +174 -0
  4. package/dist/cosmos/app/runtime/v1alpha1/module.js +293 -0
  5. package/dist/cosmos/app/runtime/v2/module.d.ts +228 -0
  6. package/dist/cosmos/app/runtime/v2/module.js +422 -0
  7. package/dist/cosmos/app/v1alpha1/config.d.ts +181 -0
  8. package/dist/cosmos/app/v1alpha1/config.js +297 -0
  9. package/dist/cosmos/app/v1alpha1/module.d.ts +234 -0
  10. package/dist/cosmos/app/v1alpha1/module.js +281 -0
  11. package/dist/cosmos/app/v1alpha1/query.d.ts +67 -0
  12. package/dist/cosmos/app/v1alpha1/query.js +149 -0
  13. package/dist/cosmos/app/v1alpha1/query.rpc.Query.d.ts +16 -0
  14. package/dist/cosmos/app/v1alpha1/query.rpc.Query.js +29 -0
  15. package/dist/cosmos/app/v1alpha1/query.rpc.func.d.ts +3 -0
  16. package/dist/cosmos/app/v1alpha1/query.rpc.func.js +13 -0
  17. package/dist/cosmos/auth/module/v1/module.d.ts +88 -0
  18. package/dist/cosmos/auth/module/v1/module.js +203 -0
  19. package/dist/cosmos/auth/v1beta1/accounts.d.ts +104 -0
  20. package/dist/cosmos/auth/v1beta1/accounts.js +162 -0
  21. package/dist/cosmos/auth/v1beta1/genesis.d.ts +42 -0
  22. package/dist/cosmos/auth/v1beta1/genesis.js +100 -0
  23. package/dist/cosmos/auth/v1beta1/query.lcd.d.ts +18 -0
  24. package/dist/cosmos/auth/v1beta1/query.lcd.js +92 -0
  25. package/dist/cosmos/auth/v1beta1/query.rpc.Query.d.ts +83 -0
  26. package/dist/cosmos/auth/v1beta1/query.rpc.Query.js +129 -0
  27. package/dist/cosmos/auth/v1beta1/tx.amino.d.ts +8 -0
  28. package/dist/cosmos/auth/v1beta1/tx.amino.js +11 -0
  29. package/dist/cosmos/auth/v1beta1/tx.d.ts +97 -0
  30. package/dist/cosmos/auth/v1beta1/tx.js +161 -0
  31. package/dist/cosmos/auth/v1beta1/tx.registry.d.ts +2 -0
  32. package/dist/cosmos/auth/v1beta1/tx.registry.js +5 -0
  33. package/dist/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +18 -0
  34. package/dist/cosmos/auth/v1beta1/tx.rpc.msg.js +25 -0
  35. package/dist/cosmos/authz/module/v1/module.d.ts +32 -0
  36. package/dist/cosmos/authz/module/v1/module.js +70 -0
  37. package/dist/cosmos/authz/v1beta1/authz.d.ts +181 -0
  38. package/dist/cosmos/authz/v1beta1/event.d.ts +86 -0
  39. package/dist/cosmos/authz/v1beta1/event.js +209 -0
  40. package/dist/cosmos/authz/v1beta1/genesis.d.ts +35 -0
  41. package/dist/cosmos/authz/v1beta1/genesis.js +87 -0
  42. package/dist/cosmos/authz/v1beta1/query.d.ts +232 -0
  43. package/dist/cosmos/authz/v1beta1/query.js +580 -0
  44. package/dist/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
  45. package/dist/cosmos/authz/v1beta1/query.lcd.js +57 -0
  46. package/dist/cosmos/authz/v1beta1/query.rpc.Query.d.ts +32 -0
  47. package/dist/cosmos/authz/v1beta1/query.rpc.Query.js +51 -0
  48. package/dist/cosmos/authz/v1beta1/query.rpc.func.d.ts +5 -0
  49. package/dist/cosmos/authz/v1beta1/query.rpc.func.js +29 -0
  50. package/dist/cosmos/authz/v1beta1/tx.amino.d.ts +18 -0
  51. package/dist/cosmos/authz/v1beta1/tx.amino.js +21 -0
  52. package/dist/cosmos/authz/v1beta1/tx.registry.d.ts +2 -0
  53. package/dist/cosmos/authz/v1beta1/tx.registry.js +5 -0
  54. package/dist/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +31 -0
  55. package/dist/cosmos/authz/v1beta1/tx.rpc.msg.js +40 -0
  56. package/dist/cosmos/autocli/v1/options.d.ts +412 -0
  57. package/dist/cosmos/autocli/v1/options.js +834 -0
  58. package/dist/cosmos/autocli/v1/query.d.ts +97 -0
  59. package/dist/cosmos/autocli/v1/query.js +237 -0
  60. package/dist/cosmos/autocli/v1/query.rpc.Query.d.ts +17 -0
  61. package/dist/cosmos/autocli/v1/query.rpc.Query.js +29 -0
  62. package/dist/cosmos/autocli/v1/query.rpc.func.d.ts +3 -0
  63. package/dist/cosmos/autocli/v1/query.rpc.func.js +13 -0
  64. package/dist/cosmos/bank/module/v1/module.d.ts +62 -0
  65. package/dist/cosmos/bank/module/v1/module.js +113 -0
  66. package/dist/cosmos/bank/v1beta1/authz.d.ts +59 -0
  67. package/dist/cosmos/bank/v1beta1/authz.js +102 -0
  68. package/dist/cosmos/bank/v1beta1/genesis.d.ts +112 -0
  69. package/dist/cosmos/bank/v1beta1/genesis.js +238 -0
  70. package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +21 -0
  71. package/dist/cosmos/bank/v1beta1/query.lcd.js +192 -0
  72. package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +119 -0
  73. package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +178 -0
  74. package/dist/cosmos/bank/v1beta1/tx.amino.d.ts +23 -0
  75. package/dist/cosmos/bank/v1beta1/tx.amino.js +26 -0
  76. package/dist/cosmos/bank/v1beta1/tx.registry.d.ts +2 -0
  77. package/dist/cosmos/bank/v1beta1/tx.registry.js +5 -0
  78. package/dist/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +34 -0
  79. package/dist/cosmos/bank/v1beta1/tx.rpc.msg.js +48 -0
  80. package/dist/cosmos/base/grpc/v2/service.d.ts +163 -0
  81. package/dist/cosmos/base/grpc/v2/service.js +398 -0
  82. package/dist/cosmos/base/grpc/v2/service.rpc.Service.d.ts +20 -0
  83. package/dist/cosmos/base/grpc/v2/service.rpc.Service.js +38 -0
  84. package/dist/cosmos/base/grpc/v2/service.rpc.func.d.ts +4 -0
  85. package/dist/cosmos/base/grpc/v2/service.rpc.func.js +21 -0
  86. package/dist/cosmos/base/node/v1beta1/query.d.ts +150 -0
  87. package/dist/cosmos/base/node/v1beta1/query.js +377 -0
  88. package/dist/cosmos/base/node/v1beta1/query.lcd.d.ts +10 -0
  89. package/dist/cosmos/base/node/v1beta1/query.lcd.js +20 -0
  90. package/dist/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +20 -0
  91. package/dist/cosmos/base/node/v1beta1/query.rpc.Service.js +38 -0
  92. package/dist/cosmos/base/node/v1beta1/query.rpc.func.d.ts +4 -0
  93. package/dist/cosmos/base/node/v1beta1/query.rpc.func.js +21 -0
  94. package/dist/cosmos/base/reflection/v1beta1/reflection.d.ts +144 -0
  95. package/dist/cosmos/base/reflection/v1beta1/reflection.js +310 -0
  96. package/dist/cosmos/base/reflection/v1beta1/reflection.rpc.func.d.ts +4 -0
  97. package/dist/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +21 -0
  98. package/dist/cosmos/base/reflection/v2alpha1/reflection.d.ts +1008 -0
  99. package/dist/cosmos/base/reflection/v2alpha1/reflection.js +2159 -0
  100. package/dist/cosmos/base/reflection/v2alpha1/reflection.rpc.func.d.ts +8 -0
  101. package/dist/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +53 -0
  102. package/dist/cosmos/base/tendermint/v1beta1/query.d.ts +740 -0
  103. package/dist/cosmos/base/tendermint/v1beta1/query.js +1887 -0
  104. package/dist/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +15 -0
  105. package/dist/cosmos/base/tendermint/v1beta1/query.lcd.js +79 -0
  106. package/dist/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts +46 -0
  107. package/dist/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +89 -0
  108. package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +9 -0
  109. package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.js +61 -0
  110. package/dist/cosmos/base/tendermint/v1beta1/types.d.ts +137 -0
  111. package/dist/cosmos/base/tendermint/v1beta1/types.js +358 -0
  112. package/dist/cosmos/circuit/module/v1/module.d.ts +36 -0
  113. package/dist/cosmos/circuit/module/v1/module.js +83 -0
  114. package/dist/cosmos/circuit/v1/query.d.ts +200 -0
  115. package/dist/cosmos/circuit/v1/query.js +480 -0
  116. package/dist/cosmos/circuit/v1/query.lcd.d.ts +11 -0
  117. package/dist/cosmos/circuit/v1/query.lcd.js +34 -0
  118. package/dist/cosmos/circuit/v1/query.rpc.Query.d.ts +24 -0
  119. package/dist/cosmos/circuit/v1/query.rpc.Query.js +49 -0
  120. package/dist/cosmos/circuit/v1/query.rpc.func.d.ts +5 -0
  121. package/dist/cosmos/circuit/v1/query.rpc.func.js +29 -0
  122. package/dist/cosmos/circuit/v1/tx.amino.d.ts +18 -0
  123. package/dist/cosmos/circuit/v1/tx.amino.js +21 -0
  124. package/dist/cosmos/circuit/v1/tx.d.ts +251 -0
  125. package/dist/cosmos/circuit/v1/tx.js +528 -0
  126. package/dist/cosmos/circuit/v1/tx.registry.d.ts +2 -0
  127. package/dist/cosmos/circuit/v1/tx.registry.js +5 -0
  128. package/dist/cosmos/circuit/v1/tx.rpc.func.d.ts +5 -0
  129. package/dist/cosmos/circuit/v1/tx.rpc.func.js +27 -0
  130. package/dist/cosmos/circuit/v1/tx.rpc.msg.d.ts +25 -0
  131. package/dist/cosmos/circuit/v1/tx.rpc.msg.js +36 -0
  132. package/dist/cosmos/circuit/v1/types.d.ts +151 -0
  133. package/dist/cosmos/circuit/v1/types.js +350 -0
  134. package/dist/cosmos/consensus/module/v1/module.d.ts +36 -0
  135. package/dist/cosmos/consensus/module/v1/module.js +83 -0
  136. package/dist/cosmos/consensus/v1/query.d.ts +75 -0
  137. package/dist/cosmos/consensus/v1/query.js +149 -0
  138. package/dist/cosmos/consensus/v1/query.lcd.d.ts +9 -0
  139. package/dist/cosmos/consensus/v1/query.lcd.js +15 -0
  140. package/dist/cosmos/consensus/v1/query.rpc.Query.d.ts +16 -0
  141. package/dist/cosmos/consensus/v1/query.rpc.Query.js +29 -0
  142. package/dist/cosmos/consensus/v1/query.rpc.func.d.ts +3 -0
  143. package/dist/cosmos/consensus/v1/query.rpc.func.js +13 -0
  144. package/dist/cosmos/consensus/v1/tx.amino.d.ts +8 -0
  145. package/dist/cosmos/consensus/v1/tx.amino.js +11 -0
  146. package/dist/cosmos/consensus/v1/tx.d.ts +97 -0
  147. package/dist/cosmos/consensus/v1/tx.js +197 -0
  148. package/dist/cosmos/consensus/v1/tx.registry.d.ts +2 -0
  149. package/dist/cosmos/consensus/v1/tx.registry.js +5 -0
  150. package/dist/cosmos/consensus/v1/tx.rpc.func.d.ts +3 -0
  151. package/dist/cosmos/consensus/v1/tx.rpc.func.js +13 -0
  152. package/dist/cosmos/consensus/v1/tx.rpc.msg.d.ts +18 -0
  153. package/dist/cosmos/consensus/v1/tx.rpc.msg.js +25 -0
  154. package/dist/cosmos/crisis/module/v1/module.d.ts +40 -0
  155. package/dist/cosmos/crisis/module/v1/module.js +95 -0
  156. package/dist/cosmos/crisis/v1beta1/genesis.d.ts +43 -0
  157. package/dist/cosmos/crisis/v1beta1/genesis.js +84 -0
  158. package/dist/cosmos/crisis/v1beta1/tx.amino.d.ts +13 -0
  159. package/dist/cosmos/crisis/v1beta1/tx.amino.js +16 -0
  160. package/dist/cosmos/crisis/v1beta1/tx.d.ts +161 -0
  161. package/dist/cosmos/crisis/v1beta1/tx.js +328 -0
  162. package/dist/cosmos/crisis/v1beta1/tx.registry.d.ts +2 -0
  163. package/dist/cosmos/crisis/v1beta1/tx.registry.js +5 -0
  164. package/dist/cosmos/crisis/v1beta1/tx.rpc.func.d.ts +4 -0
  165. package/dist/cosmos/crisis/v1beta1/tx.rpc.func.js +20 -0
  166. package/dist/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +21 -0
  167. package/dist/cosmos/crisis/v1beta1/tx.rpc.msg.js +31 -0
  168. package/dist/cosmos/crypto/hd/v1/hd.d.ts +58 -0
  169. package/dist/cosmos/crypto/hd/v1/hd.js +131 -0
  170. package/dist/cosmos/crypto/keyring/v1/record.d.ts +188 -0
  171. package/dist/cosmos/crypto/keyring/v1/record.js +431 -0
  172. package/dist/cosmos/crypto/multisig/keys.d.ts +45 -0
  173. package/dist/cosmos/crypto/multisig/keys.js +99 -0
  174. package/dist/cosmos/distribution/module/v1/module.d.ts +38 -0
  175. package/dist/cosmos/distribution/module/v1/module.js +95 -0
  176. package/dist/cosmos/distribution/v1beta1/genesis.d.ts +376 -0
  177. package/dist/cosmos/distribution/v1beta1/genesis.js +895 -0
  178. package/dist/cosmos/distribution/v1beta1/query.d.ts +803 -0
  179. package/dist/cosmos/distribution/v1beta1/query.js +1662 -0
  180. package/dist/cosmos/distribution/v1beta1/query.lcd.d.ts +18 -0
  181. package/dist/cosmos/distribution/v1beta1/query.lcd.js +74 -0
  182. package/dist/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +55 -0
  183. package/dist/cosmos/distribution/v1beta1/query.rpc.Query.js +111 -0
  184. package/dist/cosmos/distribution/v1beta1/query.rpc.func.d.ts +12 -0
  185. package/dist/cosmos/distribution/v1beta1/query.rpc.func.js +85 -0
  186. package/dist/cosmos/distribution/v1beta1/tx.amino.d.ts +38 -0
  187. package/dist/cosmos/distribution/v1beta1/tx.amino.js +41 -0
  188. package/dist/cosmos/distribution/v1beta1/tx.registry.d.ts +2 -0
  189. package/dist/cosmos/distribution/v1beta1/tx.registry.js +5 -0
  190. package/dist/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +60 -0
  191. package/dist/cosmos/distribution/v1beta1/tx.rpc.msg.js +73 -0
  192. package/dist/cosmos/evidence/module/v1/module.d.ts +32 -0
  193. package/dist/cosmos/evidence/module/v1/module.js +70 -0
  194. package/dist/cosmos/evidence/v1beta1/evidence.d.ts +54 -0
  195. package/dist/cosmos/evidence/v1beta1/evidence.js +121 -0
  196. package/dist/cosmos/evidence/v1beta1/genesis.d.ts +37 -0
  197. package/dist/cosmos/evidence/v1beta1/genesis.js +87 -0
  198. package/dist/cosmos/evidence/v1beta1/query.d.ts +176 -0
  199. package/dist/cosmos/evidence/v1beta1/query.js +347 -0
  200. package/dist/cosmos/evidence/v1beta1/query.lcd.d.ts +10 -0
  201. package/dist/cosmos/evidence/v1beta1/query.lcd.js +35 -0
  202. package/dist/cosmos/evidence/v1beta1/query.rpc.Query.d.ts +20 -0
  203. package/dist/cosmos/evidence/v1beta1/query.rpc.Query.js +40 -0
  204. package/dist/cosmos/evidence/v1beta1/query.rpc.func.d.ts +4 -0
  205. package/dist/cosmos/evidence/v1beta1/query.rpc.func.js +21 -0
  206. package/dist/cosmos/evidence/v1beta1/tx.amino.d.ts +8 -0
  207. package/dist/cosmos/evidence/v1beta1/tx.amino.js +11 -0
  208. package/dist/cosmos/evidence/v1beta1/tx.d.ts +84 -0
  209. package/dist/cosmos/evidence/v1beta1/tx.js +175 -0
  210. package/dist/cosmos/evidence/v1beta1/tx.registry.d.ts +2 -0
  211. package/dist/cosmos/evidence/v1beta1/tx.registry.js +5 -0
  212. package/dist/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +3 -0
  213. package/dist/cosmos/evidence/v1beta1/tx.rpc.func.js +13 -0
  214. package/dist/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +16 -0
  215. package/dist/cosmos/evidence/v1beta1/tx.rpc.msg.js +23 -0
  216. package/dist/cosmos/feegrant/module/v1/module.d.ts +32 -0
  217. package/dist/cosmos/feegrant/module/v1/module.js +70 -0
  218. package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +219 -0
  219. package/dist/cosmos/feegrant/v1beta1/feegrant.js +430 -0
  220. package/dist/cosmos/feegrant/v1beta1/genesis.d.ts +35 -0
  221. package/dist/cosmos/feegrant/v1beta1/genesis.js +87 -0
  222. package/dist/cosmos/feegrant/v1beta1/query.d.ts +240 -0
  223. package/dist/cosmos/feegrant/v1beta1/query.js +541 -0
  224. package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +11 -0
  225. package/dist/cosmos/feegrant/v1beta1/query.lcd.js +40 -0
  226. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +28 -0
  227. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +49 -0
  228. package/dist/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +5 -0
  229. package/dist/cosmos/feegrant/v1beta1/query.rpc.func.js +29 -0
  230. package/dist/cosmos/feegrant/v1beta1/tx.amino.d.ts +18 -0
  231. package/dist/cosmos/feegrant/v1beta1/tx.amino.js +21 -0
  232. package/dist/cosmos/feegrant/v1beta1/tx.d.ts +233 -0
  233. package/dist/cosmos/feegrant/v1beta1/tx.registry.d.ts +2 -0
  234. package/dist/cosmos/feegrant/v1beta1/tx.registry.js +5 -0
  235. package/dist/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +29 -0
  236. package/dist/cosmos/feegrant/v1beta1/tx.rpc.msg.js +38 -0
  237. package/dist/cosmos/genutil/module/v1/module.d.ts +32 -0
  238. package/dist/cosmos/genutil/module/v1/module.js +70 -0
  239. package/dist/cosmos/genutil/v1beta1/genesis.d.ts +36 -0
  240. package/dist/cosmos/genutil/v1beta1/genesis.js +87 -0
  241. package/dist/cosmos/gov/module/v1/module.d.ts +46 -0
  242. package/dist/cosmos/gov/module/v1/module.js +95 -0
  243. package/dist/cosmos/gov/v1/genesis.d.ts +115 -0
  244. package/dist/cosmos/gov/v1/genesis.js +189 -0
  245. package/dist/cosmos/gov/v1/query.d.ts +706 -0
  246. package/dist/cosmos/gov/v1/query.js +1564 -0
  247. package/dist/cosmos/gov/v1/query.lcd.d.ts +17 -0
  248. package/dist/cosmos/gov/v1/query.lcd.js +83 -0
  249. package/dist/cosmos/gov/v1/query.rpc.Query.d.ts +48 -0
  250. package/dist/cosmos/gov/v1/query.rpc.Query.js +101 -0
  251. package/dist/cosmos/gov/v1/query.rpc.func.d.ts +11 -0
  252. package/dist/cosmos/gov/v1/query.rpc.func.js +77 -0
  253. package/dist/cosmos/gov/v1/tx.amino.d.ts +38 -0
  254. package/dist/cosmos/gov/v1/tx.amino.js +41 -0
  255. package/dist/cosmos/gov/v1/tx.d.ts +626 -0
  256. package/dist/cosmos/gov/v1/tx.registry.d.ts +2 -0
  257. package/dist/cosmos/gov/v1/tx.registry.js +5 -0
  258. package/dist/cosmos/gov/v1/tx.rpc.msg.d.ts +43 -0
  259. package/dist/cosmos/gov/v1/tx.rpc.msg.js +64 -0
  260. package/dist/cosmos/gov/v1beta1/genesis.d.ts +61 -0
  261. package/dist/cosmos/gov/v1beta1/genesis.js +165 -0
  262. package/dist/cosmos/gov/v1beta1/gov.d.ts +524 -0
  263. package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  264. package/dist/cosmos/gov/v1beta1/query.lcd.js +78 -0
  265. package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
  266. package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +92 -0
  267. package/dist/cosmos/gov/v1beta1/tx.amino.d.ts +23 -0
  268. package/dist/cosmos/gov/v1beta1/tx.amino.js +26 -0
  269. package/dist/cosmos/gov/v1beta1/tx.d.ts +327 -0
  270. package/dist/cosmos/gov/v1beta1/tx.registry.d.ts +2 -0
  271. package/dist/cosmos/gov/v1beta1/tx.registry.js +5 -0
  272. package/dist/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +26 -0
  273. package/dist/cosmos/gov/v1beta1/tx.rpc.msg.js +42 -0
  274. package/dist/cosmos/group/module/v1/module.d.ts +53 -0
  275. package/dist/cosmos/group/module/v1/module.js +96 -0
  276. package/dist/cosmos/group/v1/events.d.ts +363 -0
  277. package/dist/cosmos/group/v1/events.js +847 -0
  278. package/dist/cosmos/group/v1/genesis.d.ts +83 -0
  279. package/dist/cosmos/group/v1/genesis.js +183 -0
  280. package/dist/cosmos/group/v1/query.d.ts +1044 -0
  281. package/dist/cosmos/group/v1/query.js +2434 -0
  282. package/dist/cosmos/group/v1/query.lcd.d.ts +22 -0
  283. package/dist/cosmos/group/v1/query.lcd.js +143 -0
  284. package/dist/cosmos/group/v1/query.rpc.Query.d.ts +78 -0
  285. package/dist/cosmos/group/v1/query.rpc.Query.js +154 -0
  286. package/dist/cosmos/group/v1/query.rpc.func.d.ts +16 -0
  287. package/dist/cosmos/group/v1/query.rpc.func.js +117 -0
  288. package/dist/cosmos/group/v1/tx.amino.d.ts +73 -0
  289. package/dist/cosmos/group/v1/tx.amino.js +76 -0
  290. package/dist/cosmos/group/v1/tx.registry.d.ts +2 -0
  291. package/dist/cosmos/group/v1/tx.registry.js +5 -0
  292. package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +52 -0
  293. package/dist/cosmos/group/v1/tx.rpc.msg.js +100 -0
  294. package/dist/cosmos/mint/module/v1/module.d.ts +38 -0
  295. package/dist/cosmos/mint/module/v1/module.js +95 -0
  296. package/dist/cosmos/mint/v1beta1/genesis.d.ts +41 -0
  297. package/dist/cosmos/mint/v1beta1/genesis.js +96 -0
  298. package/dist/cosmos/mint/v1beta1/mint.d.ts +94 -0
  299. package/dist/cosmos/mint/v1beta1/mint.js +233 -0
  300. package/dist/cosmos/mint/v1beta1/query.d.ts +213 -0
  301. package/dist/cosmos/mint/v1beta1/query.js +436 -0
  302. package/dist/cosmos/mint/v1beta1/query.lcd.d.ts +11 -0
  303. package/dist/cosmos/mint/v1beta1/query.lcd.js +25 -0
  304. package/dist/cosmos/mint/v1beta1/query.rpc.Query.d.ts +24 -0
  305. package/dist/cosmos/mint/v1beta1/query.rpc.Query.js +47 -0
  306. package/dist/cosmos/mint/v1beta1/query.rpc.func.d.ts +5 -0
  307. package/dist/cosmos/mint/v1beta1/query.rpc.func.js +29 -0
  308. package/dist/cosmos/mint/v1beta1/tx.amino.d.ts +8 -0
  309. package/dist/cosmos/mint/v1beta1/tx.amino.js +11 -0
  310. package/dist/cosmos/mint/v1beta1/tx.d.ts +97 -0
  311. package/dist/cosmos/mint/v1beta1/tx.js +161 -0
  312. package/dist/cosmos/mint/v1beta1/tx.registry.d.ts +2 -0
  313. package/dist/cosmos/mint/v1beta1/tx.registry.js +5 -0
  314. package/dist/cosmos/mint/v1beta1/tx.rpc.func.d.ts +3 -0
  315. package/dist/cosmos/mint/v1beta1/tx.rpc.func.js +13 -0
  316. package/dist/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +18 -0
  317. package/dist/cosmos/mint/v1beta1/tx.rpc.msg.js +25 -0
  318. package/dist/cosmos/nft/module/v1/module.d.ts +32 -0
  319. package/dist/cosmos/nft/module/v1/module.js +70 -0
  320. package/dist/cosmos/nft/v1beta1/event.d.ts +132 -0
  321. package/dist/cosmos/nft/v1beta1/event.js +323 -0
  322. package/dist/cosmos/nft/v1beta1/genesis.d.ts +79 -0
  323. package/dist/cosmos/nft/v1beta1/genesis.js +195 -0
  324. package/dist/cosmos/nft/v1beta1/nft.d.ts +111 -0
  325. package/dist/cosmos/nft/v1beta1/nft.js +282 -0
  326. package/dist/cosmos/nft/v1beta1/query.d.ts +508 -0
  327. package/dist/cosmos/nft/v1beta1/query.js +1189 -0
  328. package/dist/cosmos/nft/v1beta1/query.lcd.d.ts +15 -0
  329. package/dist/cosmos/nft/v1beta1/query.lcd.js +67 -0
  330. package/dist/cosmos/nft/v1beta1/query.rpc.Query.d.ts +43 -0
  331. package/dist/cosmos/nft/v1beta1/query.rpc.Query.js +86 -0
  332. package/dist/cosmos/nft/v1beta1/query.rpc.func.d.ts +9 -0
  333. package/dist/cosmos/nft/v1beta1/query.rpc.func.js +61 -0
  334. package/dist/cosmos/nft/v1beta1/tx.amino.d.ts +8 -0
  335. package/dist/cosmos/nft/v1beta1/tx.amino.js +11 -0
  336. package/dist/cosmos/nft/v1beta1/tx.d.ts +78 -0
  337. package/dist/cosmos/nft/v1beta1/tx.js +184 -0
  338. package/dist/cosmos/nft/v1beta1/tx.registry.d.ts +2 -0
  339. package/dist/cosmos/nft/v1beta1/tx.registry.js +5 -0
  340. package/dist/cosmos/nft/v1beta1/tx.rpc.func.d.ts +3 -0
  341. package/dist/cosmos/nft/v1beta1/tx.rpc.func.js +13 -0
  342. package/dist/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +13 -0
  343. package/dist/cosmos/nft/v1beta1/tx.rpc.msg.js +22 -0
  344. package/dist/cosmos/orm/module/v1alpha1/module.d.ts +40 -0
  345. package/dist/cosmos/orm/module/v1alpha1/module.js +70 -0
  346. package/dist/cosmos/orm/query/v1alpha1/query.d.ts +367 -0
  347. package/dist/cosmos/orm/query/v1alpha1/query.js +751 -0
  348. package/dist/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +20 -0
  349. package/dist/cosmos/orm/query/v1alpha1/query.rpc.Query.js +38 -0
  350. package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +4 -0
  351. package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.js +21 -0
  352. package/dist/cosmos/orm/v1/orm.d.ts +278 -0
  353. package/dist/cosmos/orm/v1/orm.js +380 -0
  354. package/dist/cosmos/orm/v1alpha1/schema.d.ts +134 -0
  355. package/dist/cosmos/orm/v1alpha1/schema.js +258 -0
  356. package/dist/cosmos/params/module/v1/module.d.ts +32 -0
  357. package/dist/cosmos/params/module/v1/module.js +70 -0
  358. package/dist/cosmos/params/v1beta1/params.d.ts +80 -0
  359. package/dist/cosmos/params/v1beta1/params.js +212 -0
  360. package/dist/cosmos/params/v1beta1/query.d.ts +201 -0
  361. package/dist/cosmos/params/v1beta1/query.js +413 -0
  362. package/dist/cosmos/params/v1beta1/query.lcd.d.ts +10 -0
  363. package/dist/cosmos/params/v1beta1/query.lcd.js +32 -0
  364. package/dist/cosmos/params/v1beta1/query.rpc.Query.d.ts +27 -0
  365. package/dist/cosmos/params/v1beta1/query.rpc.Query.js +41 -0
  366. package/dist/cosmos/params/v1beta1/query.rpc.func.d.ts +4 -0
  367. package/dist/cosmos/params/v1beta1/query.rpc.func.js +21 -0
  368. package/dist/cosmos/reflection/v1/reflection.d.ts +67 -0
  369. package/dist/cosmos/reflection/v1/reflection.js +152 -0
  370. package/dist/cosmos/reflection/v1/reflection.rpc.func.d.ts +3 -0
  371. package/dist/cosmos/reflection/v1/reflection.rpc.func.js +13 -0
  372. package/dist/cosmos/rpc.query.d.ts +81 -0
  373. package/dist/cosmos/rpc.query.js +62 -0
  374. package/dist/cosmos/rpc.tx.d.ts +32 -0
  375. package/dist/cosmos/rpc.tx.js +66 -0
  376. package/dist/cosmos/slashing/module/v1/module.d.ts +36 -0
  377. package/dist/cosmos/slashing/module/v1/module.js +83 -0
  378. package/dist/cosmos/slashing/v1beta1/genesis.d.ts +177 -0
  379. package/dist/cosmos/slashing/v1beta1/genesis.js +387 -0
  380. package/dist/cosmos/slashing/v1beta1/query.d.ts +226 -0
  381. package/dist/cosmos/slashing/v1beta1/query.js +477 -0
  382. package/dist/cosmos/slashing/v1beta1/query.lcd.d.ts +11 -0
  383. package/dist/cosmos/slashing/v1beta1/query.lcd.js +34 -0
  384. package/dist/cosmos/slashing/v1beta1/query.rpc.Query.d.ts +24 -0
  385. package/dist/cosmos/slashing/v1beta1/query.rpc.Query.js +49 -0
  386. package/dist/cosmos/slashing/v1beta1/query.rpc.func.d.ts +5 -0
  387. package/dist/cosmos/slashing/v1beta1/query.rpc.func.js +29 -0
  388. package/dist/cosmos/slashing/v1beta1/slashing.d.ts +123 -0
  389. package/dist/cosmos/slashing/v1beta1/slashing.js +272 -0
  390. package/dist/cosmos/slashing/v1beta1/tx.amino.d.ts +13 -0
  391. package/dist/cosmos/slashing/v1beta1/tx.amino.js +16 -0
  392. package/dist/cosmos/slashing/v1beta1/tx.d.ts +159 -0
  393. package/dist/cosmos/slashing/v1beta1/tx.js +304 -0
  394. package/dist/cosmos/slashing/v1beta1/tx.registry.d.ts +2 -0
  395. package/dist/cosmos/slashing/v1beta1/tx.registry.js +5 -0
  396. package/dist/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +4 -0
  397. package/dist/cosmos/slashing/v1beta1/tx.rpc.func.js +20 -0
  398. package/dist/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +25 -0
  399. package/dist/cosmos/slashing/v1beta1/tx.rpc.msg.js +33 -0
  400. package/dist/cosmos/staking/module/v1/module.d.ts +56 -0
  401. package/dist/cosmos/staking/module/v1/module.js +122 -0
  402. package/dist/cosmos/staking/v1beta1/authz.d.ts +122 -0
  403. package/dist/cosmos/staking/v1beta1/authz.js +264 -0
  404. package/dist/cosmos/staking/v1beta1/genesis.d.ts +115 -0
  405. package/dist/cosmos/staking/v1beta1/genesis.js +274 -0
  406. package/dist/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
  407. package/dist/cosmos/staking/v1beta1/query.lcd.js +157 -0
  408. package/dist/cosmos/staking/v1beta1/query.rpc.Query.d.ts +111 -0
  409. package/dist/cosmos/staking/v1beta1/query.rpc.Query.js +171 -0
  410. package/dist/cosmos/staking/v1beta1/tx.amino.d.ts +38 -0
  411. package/dist/cosmos/staking/v1beta1/tx.amino.js +41 -0
  412. package/dist/cosmos/staking/v1beta1/tx.registry.d.ts +2 -0
  413. package/dist/cosmos/staking/v1beta1/tx.registry.js +5 -0
  414. package/dist/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +49 -0
  415. package/dist/cosmos/staking/v1beta1/tx.rpc.msg.js +66 -0
  416. package/dist/cosmos/store/internal/kv/v1beta1/kv.d.ts +68 -0
  417. package/dist/cosmos/store/internal/kv/v1beta1/kv.js +177 -0
  418. package/dist/cosmos/store/snapshots/v1/snapshot.d.ts +294 -0
  419. package/dist/cosmos/store/snapshots/v1/snapshot.js +687 -0
  420. package/dist/cosmos/store/snapshots/v2/snapshot.d.ts +254 -0
  421. package/dist/cosmos/store/snapshots/v2/snapshot.js +687 -0
  422. package/dist/cosmos/store/streaming/abci/grpc.d.ts +136 -0
  423. package/dist/cosmos/store/streaming/abci/grpc.js +332 -0
  424. package/dist/cosmos/store/v1beta1/commit_info.d.ts +124 -0
  425. package/dist/cosmos/store/v1beta1/commit_info.js +292 -0
  426. package/dist/cosmos/store/v1beta1/listening.d.ts +101 -0
  427. package/dist/cosmos/store/v1beta1/listening.js +223 -0
  428. package/dist/cosmos/streaming/v1/grpc.d.ts +302 -0
  429. package/dist/cosmos/streaming/v1/grpc.js +826 -0
  430. package/dist/cosmos/tx/config/v1/config.d.ts +52 -0
  431. package/dist/cosmos/tx/config/v1/config.js +95 -0
  432. package/dist/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
  433. package/dist/cosmos/tx/v1beta1/service.lcd.js +55 -0
  434. package/dist/cosmos/tx/v1beta1/service.rpc.Service.d.ts +68 -0
  435. package/dist/cosmos/tx/v1beta1/service.rpc.Service.js +111 -0
  436. package/dist/cosmos/upgrade/module/v1/module.d.ts +36 -0
  437. package/dist/cosmos/upgrade/module/v1/module.js +83 -0
  438. package/dist/cosmos/upgrade/v1beta1/query.d.ts +423 -0
  439. package/dist/cosmos/upgrade/v1beta1/query.js +764 -0
  440. package/dist/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
  441. package/dist/cosmos/upgrade/v1beta1/query.lcd.js +50 -0
  442. package/dist/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +47 -0
  443. package/dist/cosmos/upgrade/v1beta1/query.rpc.Query.js +74 -0
  444. package/dist/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +7 -0
  445. package/dist/cosmos/upgrade/v1beta1/query.rpc.func.js +45 -0
  446. package/dist/cosmos/upgrade/v1beta1/tx.amino.d.ts +13 -0
  447. package/dist/cosmos/upgrade/v1beta1/tx.amino.js +16 -0
  448. package/dist/cosmos/upgrade/v1beta1/tx.d.ts +167 -0
  449. package/dist/cosmos/upgrade/v1beta1/tx.js +304 -0
  450. package/dist/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -0
  451. package/dist/cosmos/upgrade/v1beta1/tx.registry.js +5 -0
  452. package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +4 -0
  453. package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.js +20 -0
  454. package/dist/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +25 -0
  455. package/dist/cosmos/upgrade/v1beta1/tx.rpc.msg.js +33 -0
  456. package/dist/cosmos/validate/module/v1/module.d.ts +32 -0
  457. package/dist/cosmos/validate/module/v1/module.js +70 -0
  458. package/dist/cosmos/vesting/module/v1/module.d.ts +32 -0
  459. package/dist/cosmos/vesting/module/v1/module.js +70 -0
  460. package/dist/cosmos/vesting/v1beta1/tx.amino.d.ts +18 -0
  461. package/dist/cosmos/vesting/v1beta1/tx.amino.js +21 -0
  462. package/dist/cosmos/vesting/v1beta1/tx.registry.d.ts +2 -0
  463. package/dist/cosmos/vesting/v1beta1/tx.registry.js +5 -0
  464. package/dist/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +32 -0
  465. package/dist/cosmos/vesting/v1beta1/tx.rpc.msg.js +41 -0
  466. package/dist/cosmwasm/wasm/v1/authz.d.ts +500 -0
  467. package/dist/cosmwasm/wasm/v1/authz.js +924 -0
  468. package/dist/cosmwasm/wasm/v1/genesis.d.ts +153 -0
  469. package/dist/cosmwasm/wasm/v1/genesis.js +454 -0
  470. package/dist/cosmwasm/wasm/v1/ibc.d.ts +132 -0
  471. package/dist/cosmwasm/wasm/v1/ibc.js +276 -0
  472. package/dist/cosmwasm/wasm/v1/proposal_legacy.d.ts +872 -0
  473. package/dist/cosmwasm/wasm/v1/proposal_legacy.js +1784 -0
  474. package/dist/cosmwasm/wasm/v1/query.d.ts +922 -0
  475. package/dist/cosmwasm/wasm/v1/query.js +2022 -0
  476. package/dist/cosmwasm/wasm/v1/query.lcd.d.ts +19 -0
  477. package/dist/cosmwasm/wasm/v1/query.lcd.js +106 -0
  478. package/dist/cosmwasm/wasm/v1/query.rpc.Query.d.ts +56 -0
  479. package/dist/cosmwasm/wasm/v1/query.rpc.Query.js +123 -0
  480. package/dist/cosmwasm/wasm/v1/query.rpc.func.d.ts +13 -0
  481. package/dist/cosmwasm/wasm/v1/query.rpc.func.js +93 -0
  482. package/dist/cosmwasm/wasm/v1/tx.amino.d.ts +88 -0
  483. package/dist/cosmwasm/wasm/v1/tx.amino.js +91 -0
  484. package/dist/cosmwasm/wasm/v1/tx.d.ts +1534 -0
  485. package/dist/cosmwasm/wasm/v1/tx.js +3236 -0
  486. package/dist/cosmwasm/wasm/v1/tx.registry.d.ts +2 -0
  487. package/dist/cosmwasm/wasm/v1/tx.registry.js +5 -0
  488. package/dist/cosmwasm/wasm/v1/tx.rpc.func.d.ts +19 -0
  489. package/dist/cosmwasm/wasm/v1/tx.rpc.func.js +125 -0
  490. package/dist/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +109 -0
  491. package/dist/cosmwasm/wasm/v1/tx.rpc.msg.js +144 -0
  492. package/dist/cosmwasm/wasm/v1/types.d.ts +374 -0
  493. package/dist/cosmwasm/wasm/v1/types.js +917 -0
  494. package/dist/esm/binary.js +365 -0
  495. package/dist/esm/cosmos/app/runtime/v1alpha1/module.js +290 -0
  496. package/dist/esm/cosmos/app/runtime/v2/module.js +419 -0
  497. package/dist/esm/cosmos/app/v1alpha1/config.js +294 -0
  498. package/dist/esm/cosmos/app/v1alpha1/module.js +278 -0
  499. package/dist/esm/cosmos/app/v1alpha1/query.js +146 -0
  500. package/dist/esm/cosmos/app/v1alpha1/query.rpc.Query.js +24 -0
  501. package/dist/esm/cosmos/app/v1alpha1/query.rpc.func.js +9 -0
  502. package/dist/esm/cosmos/auth/module/v1/module.js +200 -0
  503. package/dist/esm/cosmos/auth/v1beta1/accounts.js +159 -0
  504. package/dist/esm/cosmos/auth/v1beta1/auth.js +442 -0
  505. package/dist/esm/cosmos/auth/v1beta1/genesis.js +97 -0
  506. package/dist/esm/cosmos/auth/v1beta1/query.js +1558 -0
  507. package/dist/esm/cosmos/auth/v1beta1/query.lcd.js +88 -0
  508. package/dist/esm/cosmos/auth/v1beta1/query.rpc.Query.js +124 -0
  509. package/dist/esm/cosmos/auth/v1beta1/query.rpc.func.js +72 -0
  510. package/dist/esm/cosmos/auth/v1beta1/tx.amino.js +8 -0
  511. package/dist/esm/cosmos/auth/v1beta1/tx.js +158 -0
  512. package/dist/esm/cosmos/auth/v1beta1/tx.registry.js +2 -0
  513. package/dist/esm/cosmos/auth/v1beta1/tx.rpc.func.js +9 -0
  514. package/dist/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +20 -0
  515. package/dist/esm/cosmos/authz/module/v1/module.js +67 -0
  516. package/dist/esm/cosmos/authz/v1beta1/authz.js +368 -0
  517. package/dist/esm/cosmos/authz/v1beta1/event.js +206 -0
  518. package/dist/esm/cosmos/authz/v1beta1/genesis.js +84 -0
  519. package/dist/esm/cosmos/authz/v1beta1/query.js +577 -0
  520. package/dist/esm/cosmos/authz/v1beta1/query.lcd.js +53 -0
  521. package/dist/esm/cosmos/authz/v1beta1/query.rpc.Query.js +46 -0
  522. package/dist/esm/cosmos/authz/v1beta1/query.rpc.func.js +23 -0
  523. package/dist/esm/cosmos/authz/v1beta1/tx.amino.js +18 -0
  524. package/dist/esm/cosmos/authz/v1beta1/tx.js +513 -0
  525. package/dist/esm/cosmos/authz/v1beta1/tx.registry.js +2 -0
  526. package/dist/esm/cosmos/authz/v1beta1/tx.rpc.func.js +21 -0
  527. package/dist/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +35 -0
  528. package/dist/esm/cosmos/autocli/v1/options.js +831 -0
  529. package/dist/esm/cosmos/autocli/v1/query.js +234 -0
  530. package/dist/esm/cosmos/autocli/v1/query.rpc.Query.js +24 -0
  531. package/dist/esm/cosmos/autocli/v1/query.rpc.func.js +9 -0
  532. package/dist/esm/cosmos/bank/module/v1/module.js +110 -0
  533. package/dist/esm/cosmos/bank/v1beta1/authz.js +99 -0
  534. package/dist/esm/cosmos/bank/v1beta1/bank.js +723 -0
  535. package/dist/esm/cosmos/bank/v1beta1/genesis.js +235 -0
  536. package/dist/esm/cosmos/bank/v1beta1/query.js +2314 -0
  537. package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +188 -0
  538. package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +173 -0
  539. package/dist/esm/cosmos/bank/v1beta1/query.rpc.func.js +93 -0
  540. package/dist/esm/cosmos/bank/v1beta1/tx.amino.js +23 -0
  541. package/dist/esm/cosmos/bank/v1beta1/tx.js +663 -0
  542. package/dist/esm/cosmos/bank/v1beta1/tx.registry.js +2 -0
  543. package/dist/esm/cosmos/bank/v1beta1/tx.rpc.func.js +27 -0
  544. package/dist/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +43 -0
  545. package/dist/esm/cosmos/base/abci/v1beta1/abci.js +1290 -0
  546. package/dist/esm/cosmos/base/grpc/v2/service.js +395 -0
  547. package/dist/esm/cosmos/base/grpc/v2/service.rpc.Service.js +33 -0
  548. package/dist/esm/cosmos/base/grpc/v2/service.rpc.func.js +16 -0
  549. package/dist/esm/cosmos/base/node/v1beta1/query.js +374 -0
  550. package/dist/esm/cosmos/base/node/v1beta1/query.lcd.js +16 -0
  551. package/dist/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +33 -0
  552. package/dist/esm/cosmos/base/node/v1beta1/query.rpc.func.js +16 -0
  553. package/dist/esm/cosmos/base/query/v1beta1/pagination.js +219 -0
  554. package/dist/esm/cosmos/base/reflection/v1beta1/reflection.js +307 -0
  555. package/dist/esm/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +16 -0
  556. package/dist/esm/cosmos/base/reflection/v2alpha1/reflection.js +2156 -0
  557. package/dist/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +44 -0
  558. package/dist/esm/cosmos/base/tendermint/v1beta1/query.js +1884 -0
  559. package/dist/esm/cosmos/base/tendermint/v1beta1/query.lcd.js +75 -0
  560. package/dist/esm/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +84 -0
  561. package/dist/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +51 -0
  562. package/dist/esm/cosmos/base/tendermint/v1beta1/types.js +355 -0
  563. package/dist/esm/cosmos/base/v1beta1/coin.js +338 -0
  564. package/dist/esm/cosmos/circuit/module/v1/module.js +80 -0
  565. package/dist/esm/cosmos/circuit/v1/query.js +477 -0
  566. package/dist/esm/cosmos/circuit/v1/query.lcd.js +30 -0
  567. package/dist/esm/cosmos/circuit/v1/query.rpc.Query.js +44 -0
  568. package/dist/esm/cosmos/circuit/v1/query.rpc.func.js +23 -0
  569. package/dist/esm/cosmos/circuit/v1/tx.amino.js +18 -0
  570. package/dist/esm/cosmos/circuit/v1/tx.js +525 -0
  571. package/dist/esm/cosmos/circuit/v1/tx.registry.js +2 -0
  572. package/dist/esm/cosmos/circuit/v1/tx.rpc.func.js +21 -0
  573. package/dist/esm/cosmos/circuit/v1/tx.rpc.msg.js +31 -0
  574. package/dist/esm/cosmos/circuit/v1/types.js +345 -0
  575. package/dist/esm/cosmos/consensus/module/v1/module.js +80 -0
  576. package/dist/esm/cosmos/consensus/v1/query.js +146 -0
  577. package/dist/esm/cosmos/consensus/v1/query.lcd.js +11 -0
  578. package/dist/esm/cosmos/consensus/v1/query.rpc.Query.js +24 -0
  579. package/dist/esm/cosmos/consensus/v1/query.rpc.func.js +9 -0
  580. package/dist/esm/cosmos/consensus/v1/tx.amino.js +8 -0
  581. package/dist/esm/cosmos/consensus/v1/tx.js +194 -0
  582. package/dist/esm/cosmos/consensus/v1/tx.registry.js +2 -0
  583. package/dist/esm/cosmos/consensus/v1/tx.rpc.func.js +9 -0
  584. package/dist/esm/cosmos/consensus/v1/tx.rpc.msg.js +20 -0
  585. package/dist/esm/cosmos/crisis/module/v1/module.js +92 -0
  586. package/dist/esm/cosmos/crisis/v1beta1/genesis.js +81 -0
  587. package/dist/esm/cosmos/crisis/v1beta1/tx.amino.js +13 -0
  588. package/dist/esm/cosmos/crisis/v1beta1/tx.js +325 -0
  589. package/dist/esm/cosmos/crisis/v1beta1/tx.registry.js +2 -0
  590. package/dist/esm/cosmos/crisis/v1beta1/tx.rpc.func.js +15 -0
  591. package/dist/esm/cosmos/crisis/v1beta1/tx.rpc.msg.js +26 -0
  592. package/dist/esm/cosmos/crypto/ed25519/keys.js +159 -0
  593. package/dist/esm/cosmos/crypto/hd/v1/hd.js +128 -0
  594. package/dist/esm/cosmos/crypto/keyring/v1/record.js +428 -0
  595. package/dist/esm/cosmos/crypto/multisig/keys.js +96 -0
  596. package/dist/esm/cosmos/crypto/multisig/v1beta1/multisig.js +174 -0
  597. package/dist/esm/cosmos/crypto/secp256k1/keys.js +159 -0
  598. package/dist/esm/cosmos/crypto/secp256r1/keys.js +159 -0
  599. package/dist/esm/cosmos/distribution/module/v1/module.js +92 -0
  600. package/dist/esm/cosmos/distribution/v1beta1/distribution.js +1155 -0
  601. package/dist/esm/cosmos/distribution/v1beta1/genesis.js +892 -0
  602. package/dist/esm/cosmos/distribution/v1beta1/query.js +1659 -0
  603. package/dist/esm/cosmos/distribution/v1beta1/query.lcd.js +70 -0
  604. package/dist/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +106 -0
  605. package/dist/esm/cosmos/distribution/v1beta1/query.rpc.func.js +72 -0
  606. package/dist/esm/cosmos/distribution/v1beta1/tx.amino.js +38 -0
  607. package/dist/esm/cosmos/distribution/v1beta1/tx.js +1142 -0
  608. package/dist/esm/cosmos/distribution/v1beta1/tx.registry.js +2 -0
  609. package/dist/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +45 -0
  610. package/dist/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +68 -0
  611. package/dist/esm/cosmos/evidence/module/v1/module.js +67 -0
  612. package/dist/esm/cosmos/evidence/v1beta1/evidence.js +118 -0
  613. package/dist/esm/cosmos/evidence/v1beta1/genesis.js +84 -0
  614. package/dist/esm/cosmos/evidence/v1beta1/query.js +344 -0
  615. package/dist/esm/cosmos/evidence/v1beta1/query.lcd.js +31 -0
  616. package/dist/esm/cosmos/evidence/v1beta1/query.rpc.Query.js +35 -0
  617. package/dist/esm/cosmos/evidence/v1beta1/query.rpc.func.js +16 -0
  618. package/dist/esm/cosmos/evidence/v1beta1/tx.amino.js +8 -0
  619. package/dist/esm/cosmos/evidence/v1beta1/tx.js +172 -0
  620. package/dist/esm/cosmos/evidence/v1beta1/tx.registry.js +2 -0
  621. package/dist/esm/cosmos/evidence/v1beta1/tx.rpc.func.js +9 -0
  622. package/dist/esm/cosmos/evidence/v1beta1/tx.rpc.msg.js +18 -0
  623. package/dist/esm/cosmos/feegrant/module/v1/module.js +67 -0
  624. package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +427 -0
  625. package/dist/esm/cosmos/feegrant/v1beta1/genesis.js +84 -0
  626. package/dist/esm/cosmos/feegrant/v1beta1/query.js +538 -0
  627. package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +36 -0
  628. package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +44 -0
  629. package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +23 -0
  630. package/dist/esm/cosmos/feegrant/v1beta1/tx.amino.js +18 -0
  631. package/dist/esm/cosmos/feegrant/v1beta1/tx.js +468 -0
  632. package/dist/esm/cosmos/feegrant/v1beta1/tx.registry.js +2 -0
  633. package/dist/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +21 -0
  634. package/dist/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +33 -0
  635. package/dist/esm/cosmos/genutil/module/v1/module.js +67 -0
  636. package/dist/esm/cosmos/genutil/v1beta1/genesis.js +84 -0
  637. package/dist/esm/cosmos/gov/module/v1/module.js +92 -0
  638. package/dist/esm/cosmos/gov/v1/genesis.js +186 -0
  639. package/dist/esm/cosmos/gov/v1/gov.js +1356 -0
  640. package/dist/esm/cosmos/gov/v1/query.js +1561 -0
  641. package/dist/esm/cosmos/gov/v1/query.lcd.js +79 -0
  642. package/dist/esm/cosmos/gov/v1/query.rpc.Query.js +96 -0
  643. package/dist/esm/cosmos/gov/v1/query.rpc.func.js +65 -0
  644. package/dist/esm/cosmos/gov/v1/tx.amino.js +38 -0
  645. package/dist/esm/cosmos/gov/v1/tx.js +1274 -0
  646. package/dist/esm/cosmos/gov/v1/tx.registry.js +2 -0
  647. package/dist/esm/cosmos/gov/v1/tx.rpc.func.js +45 -0
  648. package/dist/esm/cosmos/gov/v1/tx.rpc.msg.js +59 -0
  649. package/dist/esm/cosmos/gov/v1beta1/genesis.js +162 -0
  650. package/dist/esm/cosmos/gov/v1beta1/gov.js +1107 -0
  651. package/dist/esm/cosmos/gov/v1beta1/query.js +1406 -0
  652. package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +74 -0
  653. package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +87 -0
  654. package/dist/esm/cosmos/gov/v1beta1/query.rpc.func.js +58 -0
  655. package/dist/esm/cosmos/gov/v1beta1/tx.amino.js +23 -0
  656. package/dist/esm/cosmos/gov/v1beta1/tx.js +696 -0
  657. package/dist/esm/cosmos/gov/v1beta1/tx.registry.js +2 -0
  658. package/dist/esm/cosmos/gov/v1beta1/tx.rpc.func.js +27 -0
  659. package/dist/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +37 -0
  660. package/dist/esm/cosmos/group/module/v1/module.js +93 -0
  661. package/dist/esm/cosmos/group/v1/events.js +844 -0
  662. package/dist/esm/cosmos/group/v1/genesis.js +180 -0
  663. package/dist/esm/cosmos/group/v1/query.js +2431 -0
  664. package/dist/esm/cosmos/group/v1/query.lcd.js +139 -0
  665. package/dist/esm/cosmos/group/v1/query.rpc.Query.js +149 -0
  666. package/dist/esm/cosmos/group/v1/query.rpc.func.js +100 -0
  667. package/dist/esm/cosmos/group/v1/tx.amino.js +73 -0
  668. package/dist/esm/cosmos/group/v1/tx.js +2562 -0
  669. package/dist/esm/cosmos/group/v1/tx.registry.js +2 -0
  670. package/dist/esm/cosmos/group/v1/tx.rpc.func.js +87 -0
  671. package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +95 -0
  672. package/dist/esm/cosmos/group/v1/types.js +1533 -0
  673. package/dist/esm/cosmos/ics23/v1/proofs.js +1598 -0
  674. package/dist/esm/cosmos/mint/module/v1/module.js +92 -0
  675. package/dist/esm/cosmos/mint/v1beta1/genesis.js +93 -0
  676. package/dist/esm/cosmos/mint/v1beta1/mint.js +230 -0
  677. package/dist/esm/cosmos/mint/v1beta1/query.js +433 -0
  678. package/dist/esm/cosmos/mint/v1beta1/query.lcd.js +21 -0
  679. package/dist/esm/cosmos/mint/v1beta1/query.rpc.Query.js +42 -0
  680. package/dist/esm/cosmos/mint/v1beta1/query.rpc.func.js +23 -0
  681. package/dist/esm/cosmos/mint/v1beta1/tx.amino.js +8 -0
  682. package/dist/esm/cosmos/mint/v1beta1/tx.js +158 -0
  683. package/dist/esm/cosmos/mint/v1beta1/tx.registry.js +2 -0
  684. package/dist/esm/cosmos/mint/v1beta1/tx.rpc.func.js +9 -0
  685. package/dist/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +20 -0
  686. package/dist/esm/cosmos/msg/textual/v1/textual.js +1 -0
  687. package/dist/esm/cosmos/msg/v1/msg.js +1 -0
  688. package/dist/esm/cosmos/nft/module/v1/module.js +67 -0
  689. package/dist/esm/cosmos/nft/v1beta1/event.js +320 -0
  690. package/dist/esm/cosmos/nft/v1beta1/genesis.js +192 -0
  691. package/dist/esm/cosmos/nft/v1beta1/nft.js +279 -0
  692. package/dist/esm/cosmos/nft/v1beta1/query.js +1186 -0
  693. package/dist/esm/cosmos/nft/v1beta1/query.lcd.js +63 -0
  694. package/dist/esm/cosmos/nft/v1beta1/query.rpc.Query.js +81 -0
  695. package/dist/esm/cosmos/nft/v1beta1/query.rpc.func.js +51 -0
  696. package/dist/esm/cosmos/nft/v1beta1/tx.amino.js +8 -0
  697. package/dist/esm/cosmos/nft/v1beta1/tx.js +181 -0
  698. package/dist/esm/cosmos/nft/v1beta1/tx.registry.js +2 -0
  699. package/dist/esm/cosmos/nft/v1beta1/tx.rpc.func.js +9 -0
  700. package/dist/esm/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
  701. package/dist/esm/cosmos/orm/module/v1alpha1/module.js +67 -0
  702. package/dist/esm/cosmos/orm/query/v1alpha1/query.js +748 -0
  703. package/dist/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +33 -0
  704. package/dist/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +16 -0
  705. package/dist/esm/cosmos/orm/v1/orm.js +377 -0
  706. package/dist/esm/cosmos/orm/v1alpha1/schema.js +253 -0
  707. package/dist/esm/cosmos/params/module/v1/module.js +67 -0
  708. package/dist/esm/cosmos/params/v1beta1/params.js +209 -0
  709. package/dist/esm/cosmos/params/v1beta1/query.js +410 -0
  710. package/dist/esm/cosmos/params/v1beta1/query.lcd.js +28 -0
  711. package/dist/esm/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
  712. package/dist/esm/cosmos/params/v1beta1/query.rpc.func.js +16 -0
  713. package/dist/esm/cosmos/query/v1/query.js +1 -0
  714. package/dist/esm/cosmos/reflection/v1/reflection.js +149 -0
  715. package/dist/esm/cosmos/reflection/v1/reflection.rpc.func.js +9 -0
  716. package/dist/esm/cosmos/rpc.query.js +25 -0
  717. package/dist/esm/cosmos/rpc.tx.js +29 -0
  718. package/dist/esm/cosmos/slashing/module/v1/module.js +80 -0
  719. package/dist/esm/cosmos/slashing/v1beta1/genesis.js +384 -0
  720. package/dist/esm/cosmos/slashing/v1beta1/query.js +474 -0
  721. package/dist/esm/cosmos/slashing/v1beta1/query.lcd.js +30 -0
  722. package/dist/esm/cosmos/slashing/v1beta1/query.rpc.Query.js +44 -0
  723. package/dist/esm/cosmos/slashing/v1beta1/query.rpc.func.js +23 -0
  724. package/dist/esm/cosmos/slashing/v1beta1/slashing.js +269 -0
  725. package/dist/esm/cosmos/slashing/v1beta1/tx.amino.js +13 -0
  726. package/dist/esm/cosmos/slashing/v1beta1/tx.js +301 -0
  727. package/dist/esm/cosmos/slashing/v1beta1/tx.registry.js +2 -0
  728. package/dist/esm/cosmos/slashing/v1beta1/tx.rpc.func.js +15 -0
  729. package/dist/esm/cosmos/slashing/v1beta1/tx.rpc.msg.js +28 -0
  730. package/dist/esm/cosmos/staking/module/v1/module.js +119 -0
  731. package/dist/esm/cosmos/staking/v1beta1/authz.js +259 -0
  732. package/dist/esm/cosmos/staking/v1beta1/genesis.js +271 -0
  733. package/dist/esm/cosmos/staking/v1beta1/query.js +2411 -0
  734. package/dist/esm/cosmos/staking/v1beta1/query.lcd.js +153 -0
  735. package/dist/esm/cosmos/staking/v1beta1/query.rpc.Query.js +166 -0
  736. package/dist/esm/cosmos/staking/v1beta1/query.rpc.func.js +100 -0
  737. package/dist/esm/cosmos/staking/v1beta1/staking.js +2364 -0
  738. package/dist/esm/cosmos/staking/v1beta1/tx.amino.js +38 -0
  739. package/dist/esm/cosmos/staking/v1beta1/tx.js +1287 -0
  740. package/dist/esm/cosmos/staking/v1beta1/tx.registry.js +2 -0
  741. package/dist/esm/cosmos/staking/v1beta1/tx.rpc.func.js +45 -0
  742. package/dist/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +61 -0
  743. package/dist/esm/cosmos/store/internal/kv/v1beta1/kv.js +174 -0
  744. package/dist/esm/cosmos/store/snapshots/v1/snapshot.js +684 -0
  745. package/dist/esm/cosmos/store/snapshots/v2/snapshot.js +684 -0
  746. package/dist/esm/cosmos/store/streaming/abci/grpc.js +329 -0
  747. package/dist/esm/cosmos/store/v1beta1/commit_info.js +289 -0
  748. package/dist/esm/cosmos/store/v1beta1/listening.js +220 -0
  749. package/dist/esm/cosmos/streaming/v1/grpc.js +823 -0
  750. package/dist/esm/cosmos/tx/config/v1/config.js +92 -0
  751. package/dist/esm/cosmos/tx/signing/v1beta1/signing.js +565 -0
  752. package/dist/esm/cosmos/tx/v1beta1/service.js +1722 -0
  753. package/dist/esm/cosmos/tx/v1beta1/service.lcd.js +51 -0
  754. package/dist/esm/cosmos/tx/v1beta1/service.rpc.Service.js +106 -0
  755. package/dist/esm/cosmos/tx/v1beta1/service.rpc.func.js +65 -0
  756. package/dist/esm/cosmos/tx/v1beta1/tx.js +1395 -0
  757. package/dist/esm/cosmos/upgrade/module/v1/module.js +80 -0
  758. package/dist/esm/cosmos/upgrade/v1beta1/query.js +761 -0
  759. package/dist/esm/cosmos/upgrade/v1beta1/query.lcd.js +46 -0
  760. package/dist/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +69 -0
  761. package/dist/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +37 -0
  762. package/dist/esm/cosmos/upgrade/v1beta1/tx.amino.js +13 -0
  763. package/dist/esm/cosmos/upgrade/v1beta1/tx.js +301 -0
  764. package/dist/esm/cosmos/upgrade/v1beta1/tx.registry.js +2 -0
  765. package/dist/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +15 -0
  766. package/dist/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +28 -0
  767. package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +413 -0
  768. package/dist/esm/cosmos/validate/module/v1/module.js +67 -0
  769. package/dist/esm/cosmos/vesting/module/v1/module.js +67 -0
  770. package/dist/esm/cosmos/vesting/v1beta1/tx.amino.js +18 -0
  771. package/dist/esm/cosmos/vesting/v1beta1/tx.js +550 -0
  772. package/dist/esm/cosmos/vesting/v1beta1/tx.registry.js +2 -0
  773. package/dist/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +21 -0
  774. package/dist/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +36 -0
  775. package/dist/esm/cosmos/vesting/v1beta1/vesting.js +583 -0
  776. package/dist/esm/cosmos_proto/cosmos.js +229 -0
  777. package/dist/esm/cosmwasm/wasm/v1/authz.js +921 -0
  778. package/dist/esm/cosmwasm/wasm/v1/genesis.js +451 -0
  779. package/dist/esm/cosmwasm/wasm/v1/ibc.js +273 -0
  780. package/dist/esm/cosmwasm/wasm/v1/proposal_legacy.js +1781 -0
  781. package/dist/esm/cosmwasm/wasm/v1/query.js +2019 -0
  782. package/dist/esm/cosmwasm/wasm/v1/query.lcd.js +102 -0
  783. package/dist/esm/cosmwasm/wasm/v1/query.rpc.Query.js +118 -0
  784. package/dist/esm/cosmwasm/wasm/v1/query.rpc.func.js +79 -0
  785. package/dist/esm/cosmwasm/wasm/v1/tx.amino.js +88 -0
  786. package/dist/esm/cosmwasm/wasm/v1/tx.js +3233 -0
  787. package/dist/esm/cosmwasm/wasm/v1/tx.registry.js +2 -0
  788. package/dist/esm/cosmwasm/wasm/v1/tx.rpc.func.js +105 -0
  789. package/dist/esm/cosmwasm/wasm/v1/tx.rpc.msg.js +139 -0
  790. package/dist/esm/cosmwasm/wasm/v1/types.js +910 -0
  791. package/dist/esm/ethermint/crypto/v1/ethsecp256k1/keys.js +143 -0
  792. package/dist/esm/ethermint/evm/v1/events.js +381 -0
  793. package/dist/esm/ethermint/evm/v1/evm.js +1181 -0
  794. package/dist/esm/ethermint/evm/v1/genesis.js +185 -0
  795. package/dist/esm/ethermint/evm/v1/query.js +1970 -0
  796. package/dist/esm/ethermint/evm/v1/query.lcd.js +150 -0
  797. package/dist/esm/ethermint/evm/v1/query.rpc.Query.js +127 -0
  798. package/dist/esm/ethermint/evm/v1/query.rpc.func.js +87 -0
  799. package/dist/esm/ethermint/evm/v1/tx.amino.js +13 -0
  800. package/dist/esm/ethermint/evm/v1/tx.js +1008 -0
  801. package/dist/esm/ethermint/evm/v1/tx.registry.js +2 -0
  802. package/dist/esm/ethermint/evm/v1/tx.rpc.func.js +15 -0
  803. package/dist/esm/ethermint/evm/v1/tx.rpc.msg.js +24 -0
  804. package/dist/esm/ethermint/feemarket/v1/events.js +154 -0
  805. package/dist/esm/ethermint/feemarket/v1/feemarket.js +152 -0
  806. package/dist/esm/ethermint/feemarket/v1/genesis.js +85 -0
  807. package/dist/esm/ethermint/feemarket/v1/query.js +384 -0
  808. package/dist/esm/ethermint/feemarket/v1/query.lcd.js +21 -0
  809. package/dist/esm/ethermint/feemarket/v1/query.rpc.Query.js +42 -0
  810. package/dist/esm/ethermint/feemarket/v1/query.rpc.func.js +23 -0
  811. package/dist/esm/ethermint/feemarket/v1/tx.amino.js +8 -0
  812. package/dist/esm/ethermint/feemarket/v1/tx.js +150 -0
  813. package/dist/esm/ethermint/feemarket/v1/tx.registry.js +2 -0
  814. package/dist/esm/ethermint/feemarket/v1/tx.rpc.func.js +9 -0
  815. package/dist/esm/ethermint/feemarket/v1/tx.rpc.msg.js +18 -0
  816. package/dist/esm/ethermint/types/v1/account.js +85 -0
  817. package/dist/esm/ethermint/types/v1/dynamic_fee.js +72 -0
  818. package/dist/esm/ethermint/types/v1/indexer.js +144 -0
  819. package/dist/esm/ethermint/types/v1/web3.js +97 -0
  820. package/dist/esm/extern.js +30 -0
  821. package/dist/esm/gogoproto/gogo.js +1 -0
  822. package/dist/esm/google/api/annotations.js +1 -0
  823. package/dist/esm/google/api/http.js +350 -0
  824. package/dist/esm/google/protobuf/any.js +78 -0
  825. package/dist/esm/google/protobuf/descriptor.js +5062 -0
  826. package/dist/esm/google/protobuf/duration.js +78 -0
  827. package/dist/esm/google/protobuf/timestamp.js +75 -0
  828. package/dist/esm/helper-func-types.js +50 -0
  829. package/dist/esm/helpers.js +128 -0
  830. package/dist/esm/ibc/applications/fee/v1/ack.js +105 -0
  831. package/dist/esm/ibc/applications/fee/v1/fee.js +394 -0
  832. package/dist/esm/ibc/applications/fee/v1/genesis.js +529 -0
  833. package/dist/esm/ibc/applications/fee/v1/metadata.js +92 -0
  834. package/dist/esm/ibc/applications/fee/v1/query.js +1729 -0
  835. package/dist/esm/ibc/applications/fee/v1/query.lcd.js +111 -0
  836. package/dist/esm/ibc/applications/fee/v1/query.rpc.Query.js +105 -0
  837. package/dist/esm/ibc/applications/fee/v1/query.rpc.func.js +72 -0
  838. package/dist/esm/ibc/applications/fee/v1/tx.amino.js +23 -0
  839. package/dist/esm/ibc/applications/fee/v1/tx.js +711 -0
  840. package/dist/esm/ibc/applications/fee/v1/tx.registry.js +2 -0
  841. package/dist/esm/ibc/applications/fee/v1/tx.rpc.func.js +27 -0
  842. package/dist/esm/ibc/applications/fee/v1/tx.rpc.msg.js +49 -0
  843. package/dist/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +80 -0
  844. package/dist/esm/ibc/applications/interchain_accounts/controller/v1/query.js +314 -0
  845. package/dist/esm/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +16 -0
  846. package/dist/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +33 -0
  847. package/dist/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +16 -0
  848. package/dist/esm/ibc/applications/interchain_accounts/controller/v1/tx.amino.js +18 -0
  849. package/dist/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +556 -0
  850. package/dist/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +2 -0
  851. package/dist/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +21 -0
  852. package/dist/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +29 -0
  853. package/dist/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +553 -0
  854. package/dist/esm/ibc/applications/interchain_accounts/host/v1/host.js +186 -0
  855. package/dist/esm/ibc/applications/interchain_accounts/host/v1/query.js +146 -0
  856. package/dist/esm/ibc/applications/interchain_accounts/host/v1/query.lcd.js +11 -0
  857. package/dist/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +24 -0
  858. package/dist/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +9 -0
  859. package/dist/esm/ibc/applications/interchain_accounts/host/v1/tx.amino.js +13 -0
  860. package/dist/esm/ibc/applications/interchain_accounts/host/v1/tx.js +345 -0
  861. package/dist/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +2 -0
  862. package/dist/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +15 -0
  863. package/dist/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +23 -0
  864. package/dist/esm/ibc/applications/interchain_accounts/v1/account.js +93 -0
  865. package/dist/esm/ibc/applications/interchain_accounts/v1/metadata.js +140 -0
  866. package/dist/esm/ibc/applications/interchain_accounts/v1/packet.js +225 -0
  867. package/dist/esm/ibc/applications/transfer/v1/authz.js +219 -0
  868. package/dist/esm/ibc/applications/transfer/v1/genesis.js +124 -0
  869. package/dist/esm/ibc/applications/transfer/v1/query.js +955 -0
  870. package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +63 -0
  871. package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +71 -0
  872. package/dist/esm/ibc/applications/transfer/v1/query.rpc.func.js +44 -0
  873. package/dist/esm/ibc/applications/transfer/v1/transfer.js +182 -0
  874. package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +13 -0
  875. package/dist/esm/ibc/applications/transfer/v1/tx.js +399 -0
  876. package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +2 -0
  877. package/dist/esm/ibc/applications/transfer/v1/tx.rpc.func.js +15 -0
  878. package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +23 -0
  879. package/dist/esm/ibc/applications/transfer/v2/packet.js +128 -0
  880. package/dist/esm/ibc/core/channel/v1/channel.js +1160 -0
  881. package/dist/esm/ibc/core/channel/v1/genesis.js +300 -0
  882. package/dist/esm/ibc/core/channel/v1/query.js +3396 -0
  883. package/dist/esm/ibc/core/channel/v1/query.lcd.js +129 -0
  884. package/dist/esm/ibc/core/channel/v1/query.rpc.Query.js +178 -0
  885. package/dist/esm/ibc/core/channel/v1/query.rpc.func.js +121 -0
  886. package/dist/esm/ibc/core/channel/v1/tx.amino.js +98 -0
  887. package/dist/esm/ibc/core/channel/v1/tx.js +4022 -0
  888. package/dist/esm/ibc/core/channel/v1/tx.registry.js +2 -0
  889. package/dist/esm/ibc/core/channel/v1/tx.rpc.func.js +117 -0
  890. package/dist/esm/ibc/core/channel/v1/tx.rpc.msg.js +126 -0
  891. package/dist/esm/ibc/core/channel/v1/upgrade.js +301 -0
  892. package/dist/esm/ibc/core/client/v1/client.js +672 -0
  893. package/dist/esm/ibc/core/client/v1/genesis.js +334 -0
  894. package/dist/esm/ibc/core/client/v1/query.js +1753 -0
  895. package/dist/esm/ibc/core/client/v1/query.lcd.js +80 -0
  896. package/dist/esm/ibc/core/client/v1/query.rpc.Query.js +109 -0
  897. package/dist/esm/ibc/core/client/v1/query.rpc.func.js +72 -0
  898. package/dist/esm/ibc/core/client/v1/tx.amino.js +38 -0
  899. package/dist/esm/ibc/core/client/v1/tx.js +1199 -0
  900. package/dist/esm/ibc/core/client/v1/tx.registry.js +2 -0
  901. package/dist/esm/ibc/core/client/v1/tx.rpc.func.js +45 -0
  902. package/dist/esm/ibc/core/client/v1/tx.rpc.msg.js +53 -0
  903. package/dist/esm/ibc/core/commitment/v1/commitment.js +322 -0
  904. package/dist/esm/ibc/core/connection/v1/connection.js +776 -0
  905. package/dist/esm/ibc/core/connection/v1/genesis.js +123 -0
  906. package/dist/esm/ibc/core/connection/v1/query.js +1092 -0
  907. package/dist/esm/ibc/core/connection/v1/query.lcd.js +48 -0
  908. package/dist/esm/ibc/core/connection/v1/query.rpc.Query.js +74 -0
  909. package/dist/esm/ibc/core/connection/v1/query.rpc.func.js +44 -0
  910. package/dist/esm/ibc/core/connection/v1/tx.amino.js +28 -0
  911. package/dist/esm/ibc/core/connection/v1/tx.js +1084 -0
  912. package/dist/esm/ibc/core/connection/v1/tx.registry.js +2 -0
  913. package/dist/esm/ibc/core/connection/v1/tx.rpc.func.js +33 -0
  914. package/dist/esm/ibc/core/connection/v1/tx.rpc.msg.js +43 -0
  915. package/dist/esm/ibc/core/types/v1/genesis.js +107 -0
  916. package/dist/esm/ibc/lightclients/localhost/v2/localhost.js +81 -0
  917. package/dist/esm/ibc/lightclients/solomachine/v2/solomachine.js +1684 -0
  918. package/dist/esm/ibc/lightclients/solomachine/v3/solomachine.js +844 -0
  919. package/dist/esm/ibc/lightclients/tendermint/v1/tendermint.js +622 -0
  920. package/dist/esm/ibc/lightclients/wasm/v1/genesis.js +162 -0
  921. package/dist/esm/ibc/lightclients/wasm/v1/query.js +331 -0
  922. package/dist/esm/ibc/lightclients/wasm/v1/query.lcd.js +25 -0
  923. package/dist/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +35 -0
  924. package/dist/esm/ibc/lightclients/wasm/v1/query.rpc.func.js +16 -0
  925. package/dist/esm/ibc/lightclients/wasm/v1/tx.amino.js +18 -0
  926. package/dist/esm/ibc/lightclients/wasm/v1/tx.js +505 -0
  927. package/dist/esm/ibc/lightclients/wasm/v1/tx.registry.js +2 -0
  928. package/dist/esm/ibc/lightclients/wasm/v1/tx.rpc.func.js +21 -0
  929. package/dist/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +29 -0
  930. package/dist/esm/ibc/lightclients/wasm/v1/wasm.js +343 -0
  931. package/dist/esm/registry.js +154 -0
  932. package/dist/esm/tendermint/abci/types.js +5217 -0
  933. package/dist/esm/tendermint/crypto/keys.js +85 -0
  934. package/dist/esm/tendermint/crypto/proof.js +455 -0
  935. package/dist/esm/tendermint/p2p/types.js +427 -0
  936. package/dist/esm/tendermint/types/block.js +110 -0
  937. package/dist/esm/tendermint/types/evidence.js +400 -0
  938. package/dist/esm/tendermint/types/params.js +592 -0
  939. package/dist/esm/tendermint/types/types.js +1749 -0
  940. package/dist/esm/tendermint/types/validator.js +337 -0
  941. package/dist/esm/tendermint/version/types.js +166 -0
  942. package/dist/esm/types.js +6 -0
  943. package/dist/esm/utf8.js +136 -0
  944. package/dist/esm/varint.js +407 -0
  945. package/dist/esm/xpla/lcd.js +176 -0
  946. package/dist/esm/xpla/reward/v1beta1/genesis.js +73 -0
  947. package/dist/esm/xpla/reward/v1beta1/query.js +261 -0
  948. package/dist/esm/xpla/reward/v1beta1/query.lcd.js +16 -0
  949. package/dist/esm/xpla/reward/v1beta1/query.rpc.Query.js +33 -0
  950. package/dist/esm/xpla/reward/v1beta1/query.rpc.func.js +16 -0
  951. package/dist/esm/xpla/reward/v1beta1/reward.js +128 -0
  952. package/dist/esm/xpla/reward/v1beta1/tx.amino.js +13 -0
  953. package/dist/esm/xpla/reward/v1beta1/tx.js +301 -0
  954. package/dist/esm/xpla/reward/v1beta1/tx.registry.js +2 -0
  955. package/dist/esm/xpla/reward/v1beta1/tx.rpc.func.js +15 -0
  956. package/dist/esm/xpla/reward/v1beta1/tx.rpc.msg.js +26 -0
  957. package/dist/esm/xpla/rpc.query.js +125 -0
  958. package/dist/esm/xpla/rpc.tx.js +1 -0
  959. package/dist/esm/xpla/volunteer/v1beta1/genesis.js +76 -0
  960. package/dist/esm/xpla/volunteer/v1beta1/proposal.js +534 -0
  961. package/dist/esm/xpla/volunteer/v1beta1/query.js +132 -0
  962. package/dist/esm/xpla/volunteer/v1beta1/query.lcd.js +11 -0
  963. package/dist/esm/xpla/volunteer/v1beta1/query.rpc.Query.js +24 -0
  964. package/dist/esm/xpla/volunteer/v1beta1/query.rpc.func.js +9 -0
  965. package/dist/esm/xpla/volunteer/v1beta1/tx.amino.js +13 -0
  966. package/dist/esm/xpla/volunteer/v1beta1/tx.js +348 -0
  967. package/dist/esm/xpla/volunteer/v1beta1/tx.registry.js +2 -0
  968. package/dist/esm/xpla/volunteer/v1beta1/tx.rpc.func.js +15 -0
  969. package/dist/esm/xpla/volunteer/v1beta1/tx.rpc.msg.js +24 -0
  970. package/dist/esm/xpla/volunteer/v1beta1/volunteervalidator.js +84 -0
  971. package/dist/ethermint/evm/v1/query.lcd.d.ts +21 -0
  972. package/dist/ethermint/evm/v1/query.lcd.js +154 -0
  973. package/dist/ethermint/evm/v1/query.rpc.Query.d.ts +70 -0
  974. package/dist/ethermint/evm/v1/query.rpc.Query.js +132 -0
  975. package/dist/ethermint/evm/v1/tx.amino.d.ts +13 -0
  976. package/dist/ethermint/evm/v1/tx.amino.js +16 -0
  977. package/dist/ethermint/evm/v1/tx.registry.d.ts +2 -0
  978. package/dist/ethermint/evm/v1/tx.registry.js +5 -0
  979. package/dist/ethermint/evm/v1/tx.rpc.msg.d.ts +19 -0
  980. package/dist/ethermint/evm/v1/tx.rpc.msg.js +29 -0
  981. package/dist/ethermint/feemarket/v1/query.lcd.d.ts +11 -0
  982. package/dist/ethermint/feemarket/v1/query.lcd.js +25 -0
  983. package/dist/ethermint/feemarket/v1/query.rpc.Query.d.ts +24 -0
  984. package/dist/ethermint/feemarket/v1/query.rpc.Query.js +47 -0
  985. package/dist/ethermint/feemarket/v1/tx.amino.d.ts +8 -0
  986. package/dist/ethermint/feemarket/v1/tx.amino.js +11 -0
  987. package/dist/ethermint/feemarket/v1/tx.registry.d.ts +2 -0
  988. package/dist/ethermint/feemarket/v1/tx.registry.js +5 -0
  989. package/dist/ethermint/feemarket/v1/tx.rpc.func.d.ts +3 -0
  990. package/dist/ethermint/feemarket/v1/tx.rpc.func.js +13 -0
  991. package/dist/ethermint/feemarket/v1/tx.rpc.msg.d.ts +16 -0
  992. package/dist/ethermint/feemarket/v1/tx.rpc.msg.js +23 -0
  993. package/dist/extern.d.ts +10 -0
  994. package/dist/extern.js +36 -0
  995. package/dist/gogoproto/gogo.d.ts +1 -0
  996. package/dist/google/api/annotations.d.ts +1 -0
  997. package/dist/google/api/annotations.js +2 -0
  998. package/dist/helper-func-types.d.ts +117 -0
  999. package/dist/helper-func-types.js +55 -0
  1000. package/dist/helpers.d.ts +82 -0
  1001. package/dist/helpers.js +143 -0
  1002. package/dist/ibc/applications/fee/v1/ack.d.ts +44 -0
  1003. package/dist/ibc/applications/fee/v1/ack.js +108 -0
  1004. package/dist/ibc/applications/fee/v1/fee.d.ts +160 -0
  1005. package/dist/ibc/applications/fee/v1/fee.js +397 -0
  1006. package/dist/ibc/applications/fee/v1/genesis.d.ts +220 -0
  1007. package/dist/ibc/applications/fee/v1/genesis.js +532 -0
  1008. package/dist/ibc/applications/fee/v1/metadata.d.ts +46 -0
  1009. package/dist/ibc/applications/fee/v1/metadata.js +95 -0
  1010. package/dist/ibc/applications/fee/v1/query.d.ts +737 -0
  1011. package/dist/ibc/applications/fee/v1/query.js +1732 -0
  1012. package/dist/ibc/applications/fee/v1/query.lcd.d.ts +18 -0
  1013. package/dist/ibc/applications/fee/v1/query.lcd.js +115 -0
  1014. package/dist/ibc/applications/fee/v1/query.rpc.Query.d.ts +52 -0
  1015. package/dist/ibc/applications/fee/v1/query.rpc.Query.js +110 -0
  1016. package/dist/ibc/applications/fee/v1/query.rpc.func.d.ts +12 -0
  1017. package/dist/ibc/applications/fee/v1/query.rpc.func.js +85 -0
  1018. package/dist/ibc/applications/fee/v1/tx.amino.d.ts +23 -0
  1019. package/dist/ibc/applications/fee/v1/tx.amino.js +26 -0
  1020. package/dist/ibc/applications/fee/v1/tx.d.ts +318 -0
  1021. package/dist/ibc/applications/fee/v1/tx.js +714 -0
  1022. package/dist/ibc/applications/fee/v1/tx.registry.d.ts +2 -0
  1023. package/dist/ibc/applications/fee/v1/tx.registry.js +5 -0
  1024. package/dist/ibc/applications/fee/v1/tx.rpc.func.d.ts +6 -0
  1025. package/dist/ibc/applications/fee/v1/tx.rpc.func.js +34 -0
  1026. package/dist/ibc/applications/fee/v1/tx.rpc.msg.d.ts +44 -0
  1027. package/dist/ibc/applications/fee/v1/tx.rpc.msg.js +54 -0
  1028. package/dist/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +42 -0
  1029. package/dist/ibc/applications/interchain_accounts/controller/v1/controller.js +83 -0
  1030. package/dist/ibc/applications/interchain_accounts/controller/v1/query.d.ts +133 -0
  1031. package/dist/ibc/applications/interchain_accounts/controller/v1/query.js +317 -0
  1032. package/dist/ibc/applications/interchain_accounts/controller/v1/query.lcd.d.ts +10 -0
  1033. package/dist/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +20 -0
  1034. package/dist/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.d.ts +20 -0
  1035. package/dist/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +38 -0
  1036. package/dist/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.d.ts +4 -0
  1037. package/dist/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +21 -0
  1038. package/dist/ibc/applications/interchain_accounts/controller/v1/tx.amino.d.ts +18 -0
  1039. package/dist/ibc/applications/interchain_accounts/controller/v1/tx.amino.js +21 -0
  1040. package/dist/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +231 -0
  1041. package/dist/ibc/applications/interchain_accounts/controller/v1/tx.js +559 -0
  1042. package/dist/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +2 -0
  1043. package/dist/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +5 -0
  1044. package/dist/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +5 -0
  1045. package/dist/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +27 -0
  1046. package/dist/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.d.ts +19 -0
  1047. package/dist/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +34 -0
  1048. package/dist/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +196 -0
  1049. package/dist/ibc/applications/interchain_accounts/genesis/v1/genesis.js +556 -0
  1050. package/dist/ibc/applications/interchain_accounts/host/v1/host.d.ts +102 -0
  1051. package/dist/ibc/applications/interchain_accounts/host/v1/host.js +189 -0
  1052. package/dist/ibc/applications/interchain_accounts/host/v1/query.d.ts +67 -0
  1053. package/dist/ibc/applications/interchain_accounts/host/v1/query.js +149 -0
  1054. package/dist/ibc/applications/interchain_accounts/host/v1/query.lcd.d.ts +9 -0
  1055. package/dist/ibc/applications/interchain_accounts/host/v1/query.lcd.js +15 -0
  1056. package/dist/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.d.ts +16 -0
  1057. package/dist/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +29 -0
  1058. package/dist/ibc/applications/interchain_accounts/host/v1/query.rpc.func.d.ts +3 -0
  1059. package/dist/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +13 -0
  1060. package/dist/ibc/applications/interchain_accounts/host/v1/tx.amino.d.ts +13 -0
  1061. package/dist/ibc/applications/interchain_accounts/host/v1/tx.amino.js +16 -0
  1062. package/dist/ibc/applications/interchain_accounts/host/v1/tx.d.ts +155 -0
  1063. package/dist/ibc/applications/interchain_accounts/host/v1/tx.js +348 -0
  1064. package/dist/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -0
  1065. package/dist/ibc/applications/interchain_accounts/host/v1/tx.registry.js +5 -0
  1066. package/dist/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +4 -0
  1067. package/dist/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +20 -0
  1068. package/dist/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.d.ts +16 -0
  1069. package/dist/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +28 -0
  1070. package/dist/ibc/applications/interchain_accounts/v1/account.d.ts +37 -0
  1071. package/dist/ibc/applications/interchain_accounts/v1/account.js +96 -0
  1072. package/dist/ibc/applications/interchain_accounts/v1/metadata.d.ts +68 -0
  1073. package/dist/ibc/applications/interchain_accounts/v1/metadata.js +143 -0
  1074. package/dist/ibc/applications/interchain_accounts/v1/packet.d.ts +85 -0
  1075. package/dist/ibc/applications/interchain_accounts/v1/packet.js +230 -0
  1076. package/dist/ibc/applications/transfer/v1/authz.d.ts +99 -0
  1077. package/dist/ibc/applications/transfer/v1/authz.js +222 -0
  1078. package/dist/ibc/applications/transfer/v1/genesis.d.ts +50 -0
  1079. package/dist/ibc/applications/transfer/v1/genesis.js +127 -0
  1080. package/dist/ibc/applications/transfer/v1/query.d.ts +449 -0
  1081. package/dist/ibc/applications/transfer/v1/query.js +958 -0
  1082. package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +14 -0
  1083. package/dist/ibc/applications/transfer/v1/query.lcd.js +67 -0
  1084. package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +36 -0
  1085. package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +76 -0
  1086. package/dist/ibc/applications/transfer/v1/query.rpc.func.d.ts +8 -0
  1087. package/dist/ibc/applications/transfer/v1/query.rpc.func.js +53 -0
  1088. package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +13 -0
  1089. package/dist/ibc/applications/transfer/v1/tx.amino.js +16 -0
  1090. package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +2 -0
  1091. package/dist/ibc/applications/transfer/v1/tx.registry.js +5 -0
  1092. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +16 -0
  1093. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +28 -0
  1094. package/dist/ibc/applications/transfer/v2/packet.d.ts +60 -0
  1095. package/dist/ibc/applications/transfer/v2/packet.js +131 -0
  1096. package/dist/ibc/core/channel/v1/genesis.d.ts +95 -0
  1097. package/dist/ibc/core/channel/v1/genesis.js +303 -0
  1098. package/dist/ibc/core/channel/v1/query.d.ts +1525 -0
  1099. package/dist/ibc/core/channel/v1/query.js +3399 -0
  1100. package/dist/ibc/core/channel/v1/query.lcd.d.ts +25 -0
  1101. package/dist/ibc/core/channel/v1/query.lcd.js +133 -0
  1102. package/dist/ibc/core/channel/v1/query.rpc.Query.d.ts +104 -0
  1103. package/dist/ibc/core/channel/v1/query.rpc.Query.js +183 -0
  1104. package/dist/ibc/core/channel/v1/query.rpc.func.d.ts +19 -0
  1105. package/dist/ibc/core/channel/v1/query.rpc.func.js +141 -0
  1106. package/dist/ibc/core/channel/v1/tx.amino.d.ts +98 -0
  1107. package/dist/ibc/core/channel/v1/tx.amino.js +101 -0
  1108. package/dist/ibc/core/channel/v1/tx.registry.d.ts +2 -0
  1109. package/dist/ibc/core/channel/v1/tx.registry.js +5 -0
  1110. package/dist/ibc/core/channel/v1/tx.rpc.msg.d.ts +70 -0
  1111. package/dist/ibc/core/channel/v1/tx.rpc.msg.js +131 -0
  1112. package/dist/ibc/core/client/v1/genesis.d.ts +147 -0
  1113. package/dist/ibc/core/client/v1/genesis.js +337 -0
  1114. package/dist/ibc/core/client/v1/query.d.ts +862 -0
  1115. package/dist/ibc/core/client/v1/query.js +1756 -0
  1116. package/dist/ibc/core/client/v1/query.lcd.d.ts +17 -0
  1117. package/dist/ibc/core/client/v1/query.lcd.js +84 -0
  1118. package/dist/ibc/core/client/v1/query.rpc.Query.d.ts +58 -0
  1119. package/dist/ibc/core/client/v1/query.rpc.Query.js +114 -0
  1120. package/dist/ibc/core/client/v1/query.rpc.func.d.ts +12 -0
  1121. package/dist/ibc/core/client/v1/query.rpc.func.js +85 -0
  1122. package/dist/ibc/core/client/v1/tx.amino.d.ts +38 -0
  1123. package/dist/ibc/core/client/v1/tx.amino.js +41 -0
  1124. package/dist/ibc/core/client/v1/tx.registry.d.ts +2 -0
  1125. package/dist/ibc/core/client/v1/tx.registry.js +5 -0
  1126. package/dist/ibc/core/client/v1/tx.rpc.msg.d.ts +31 -0
  1127. package/dist/ibc/core/client/v1/tx.rpc.msg.js +58 -0
  1128. package/dist/ibc/core/connection/v1/genesis.d.ts +43 -0
  1129. package/dist/ibc/core/connection/v1/genesis.js +126 -0
  1130. package/dist/ibc/core/connection/v1/query.d.ts +518 -0
  1131. package/dist/ibc/core/connection/v1/query.js +1095 -0
  1132. package/dist/ibc/core/connection/v1/query.lcd.d.ts +14 -0
  1133. package/dist/ibc/core/connection/v1/query.lcd.js +52 -0
  1134. package/dist/ibc/core/connection/v1/query.rpc.Query.d.ts +45 -0
  1135. package/dist/ibc/core/connection/v1/query.rpc.Query.js +79 -0
  1136. package/dist/ibc/core/connection/v1/query.rpc.func.d.ts +8 -0
  1137. package/dist/ibc/core/connection/v1/query.rpc.func.js +53 -0
  1138. package/dist/ibc/core/connection/v1/tx.amino.d.ts +28 -0
  1139. package/dist/ibc/core/connection/v1/tx.amino.js +31 -0
  1140. package/dist/ibc/core/connection/v1/tx.registry.d.ts +2 -0
  1141. package/dist/ibc/core/connection/v1/tx.registry.js +5 -0
  1142. package/dist/ibc/core/connection/v1/tx.rpc.msg.d.ts +31 -0
  1143. package/dist/ibc/core/connection/v1/tx.rpc.msg.js +48 -0
  1144. package/dist/ibc/core/types/v1/genesis.d.ts +50 -0
  1145. package/dist/ibc/core/types/v1/genesis.js +110 -0
  1146. package/dist/ibc/lightclients/localhost/v2/localhost.d.ts +37 -0
  1147. package/dist/ibc/lightclients/localhost/v2/localhost.js +84 -0
  1148. package/dist/ibc/lightclients/solomachine/v2/solomachine.d.ts +711 -0
  1149. package/dist/ibc/lightclients/solomachine/v2/solomachine.js +1689 -0
  1150. package/dist/ibc/lightclients/solomachine/v3/solomachine.d.ts +357 -0
  1151. package/dist/ibc/lightclients/solomachine/v3/solomachine.js +847 -0
  1152. package/dist/ibc/lightclients/tendermint/v1/tendermint.d.ts +306 -0
  1153. package/dist/ibc/lightclients/tendermint/v1/tendermint.js +625 -0
  1154. package/dist/ibc/lightclients/wasm/v1/genesis.d.ts +70 -0
  1155. package/dist/ibc/lightclients/wasm/v1/genesis.js +165 -0
  1156. package/dist/ibc/lightclients/wasm/v1/query.d.ts +141 -0
  1157. package/dist/ibc/lightclients/wasm/v1/query.js +334 -0
  1158. package/dist/ibc/lightclients/wasm/v1/query.lcd.d.ts +10 -0
  1159. package/dist/ibc/lightclients/wasm/v1/query.lcd.js +29 -0
  1160. package/dist/ibc/lightclients/wasm/v1/query.rpc.Query.d.ts +20 -0
  1161. package/dist/ibc/lightclients/wasm/v1/query.rpc.Query.js +40 -0
  1162. package/dist/ibc/lightclients/wasm/v1/query.rpc.func.d.ts +4 -0
  1163. package/dist/ibc/lightclients/wasm/v1/query.rpc.func.js +21 -0
  1164. package/dist/ibc/lightclients/wasm/v1/tx.amino.d.ts +18 -0
  1165. package/dist/ibc/lightclients/wasm/v1/tx.amino.js +21 -0
  1166. package/dist/ibc/lightclients/wasm/v1/tx.d.ts +218 -0
  1167. package/dist/ibc/lightclients/wasm/v1/tx.js +508 -0
  1168. package/dist/ibc/lightclients/wasm/v1/tx.registry.d.ts +2 -0
  1169. package/dist/ibc/lightclients/wasm/v1/tx.registry.js +5 -0
  1170. package/dist/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +5 -0
  1171. package/dist/ibc/lightclients/wasm/v1/tx.rpc.func.js +27 -0
  1172. package/dist/ibc/lightclients/wasm/v1/tx.rpc.msg.d.ts +19 -0
  1173. package/dist/ibc/lightclients/wasm/v1/tx.rpc.msg.js +34 -0
  1174. package/dist/ibc/lightclients/wasm/v1/wasm.d.ts +163 -0
  1175. package/dist/ibc/lightclients/wasm/v1/wasm.js +346 -0
  1176. package/dist/registry.d.ts +33 -0
  1177. package/dist/registry.js +158 -0
  1178. package/dist/tendermint/p2p/types.d.ts +138 -0
  1179. package/dist/tendermint/p2p/types.js +430 -0
  1180. package/dist/types.d.ts +124 -0
  1181. package/dist/types.js +7 -0
  1182. package/dist/utf8.d.ts +27 -0
  1183. package/dist/utf8.js +140 -0
  1184. package/dist/varint.d.ts +105 -0
  1185. package/dist/varint.js +425 -0
  1186. package/dist/xpla/lcd.d.ts +112 -0
  1187. package/dist/xpla/lcd.js +213 -0
  1188. package/dist/xpla/reward/v1beta1/query.lcd.d.ts +10 -0
  1189. package/dist/xpla/reward/v1beta1/query.lcd.js +20 -0
  1190. package/dist/xpla/reward/v1beta1/query.rpc.Query.d.ts +20 -0
  1191. package/dist/xpla/reward/v1beta1/query.rpc.Query.js +38 -0
  1192. package/dist/xpla/reward/v1beta1/tx.amino.d.ts +13 -0
  1193. package/dist/xpla/reward/v1beta1/tx.amino.js +16 -0
  1194. package/dist/xpla/reward/v1beta1/tx.registry.d.ts +2 -0
  1195. package/dist/xpla/reward/v1beta1/tx.registry.js +5 -0
  1196. package/dist/xpla/reward/v1beta1/tx.rpc.msg.d.ts +23 -0
  1197. package/dist/xpla/reward/v1beta1/tx.rpc.msg.js +31 -0
  1198. package/dist/xpla/rpc.query.d.ts +346 -0
  1199. package/dist/xpla/rpc.query.js +162 -0
  1200. package/dist/xpla/rpc.tx.d.ts +4 -0
  1201. package/dist/xpla/rpc.tx.js +5 -0
  1202. package/dist/xpla/volunteer/v1beta1/query.lcd.d.ts +9 -0
  1203. package/dist/xpla/volunteer/v1beta1/query.lcd.js +15 -0
  1204. package/dist/xpla/volunteer/v1beta1/query.rpc.Query.d.ts +16 -0
  1205. package/dist/xpla/volunteer/v1beta1/query.rpc.Query.js +29 -0
  1206. package/dist/xpla/volunteer/v1beta1/tx.amino.d.ts +13 -0
  1207. package/dist/xpla/volunteer/v1beta1/tx.amino.js +16 -0
  1208. package/dist/xpla/volunteer/v1beta1/tx.registry.d.ts +2 -0
  1209. package/dist/xpla/volunteer/v1beta1/tx.registry.js +5 -0
  1210. package/dist/xpla/volunteer/v1beta1/tx.rpc.msg.d.ts +19 -0
  1211. package/dist/xpla/volunteer/v1beta1/tx.rpc.msg.js +29 -0
  1212. package/package.json +5 -2
  1213. package/CHANGELOG.md +0 -35
  1214. package/src/amino/amino.ts +0 -1
  1215. package/src/binary.d.ts +0 -130
  1216. package/src/binary.js +0 -370
  1217. package/src/binary.ts +0 -534
  1218. package/src/cosmos/app/runtime/v1alpha1/module.ts +0 -423
  1219. package/src/cosmos/app/runtime/v2/module.ts +0 -589
  1220. package/src/cosmos/app/v1alpha1/config.ts +0 -422
  1221. package/src/cosmos/app/v1alpha1/module.ts +0 -461
  1222. package/src/cosmos/app/v1alpha1/query.rpc.Query.ts +0 -30
  1223. package/src/cosmos/app/v1alpha1/query.rpc.func.ts +0 -9
  1224. package/src/cosmos/app/v1alpha1/query.ts +0 -177
  1225. package/src/cosmos/auth/module/v1/module.ts +0 -253
  1226. package/src/cosmos/auth/v1beta1/accounts.ts +0 -226
  1227. package/src/cosmos/auth/v1beta1/auth.ts +0 -550
  1228. package/src/cosmos/auth/v1beta1/genesis.ts +0 -119
  1229. package/src/cosmos/auth/v1beta1/query.lcd.ts +0 -94
  1230. package/src/cosmos/auth/v1beta1/query.rpc.Query.ts +0 -179
  1231. package/src/cosmos/auth/v1beta1/query.rpc.func.ts +0 -72
  1232. package/src/cosmos/auth/v1beta1/query.ts +0 -2034
  1233. package/src/cosmos/auth/v1beta1/tx.amino.ts +0 -8
  1234. package/src/cosmos/auth/v1beta1/tx.registry.ts +0 -3
  1235. package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +0 -9
  1236. package/src/cosmos/auth/v1beta1/tx.rpc.msg.ts +0 -31
  1237. package/src/cosmos/auth/v1beta1/tx.ts +0 -219
  1238. package/src/cosmos/authz/module/v1/module.ts +0 -80
  1239. package/src/cosmos/authz/v1beta1/authz.d.ts +0 -177
  1240. package/src/cosmos/authz/v1beta1/authz.ts +0 -481
  1241. package/src/cosmos/authz/v1beta1/event.ts +0 -259
  1242. package/src/cosmos/authz/v1beta1/genesis.ts +0 -100
  1243. package/src/cosmos/authz/v1beta1/query.lcd.ts +0 -59
  1244. package/src/cosmos/authz/v1beta1/query.rpc.Query.ts +0 -64
  1245. package/src/cosmos/authz/v1beta1/query.rpc.func.ts +0 -23
  1246. package/src/cosmos/authz/v1beta1/query.ts +0 -707
  1247. package/src/cosmos/authz/v1beta1/tx.amino.ts +0 -18
  1248. package/src/cosmos/authz/v1beta1/tx.registry.ts +0 -3
  1249. package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +0 -21
  1250. package/src/cosmos/authz/v1beta1/tx.rpc.msg.ts +0 -57
  1251. package/src/cosmos/authz/v1beta1/tx.ts +0 -647
  1252. package/src/cosmos/autocli/v1/options.ts +0 -1145
  1253. package/src/cosmos/autocli/v1/query.rpc.Query.ts +0 -31
  1254. package/src/cosmos/autocli/v1/query.rpc.func.ts +0 -9
  1255. package/src/cosmos/autocli/v1/query.ts +0 -288
  1256. package/src/cosmos/bank/module/v1/module.ts +0 -153
  1257. package/src/cosmos/bank/v1beta1/authz.ts +0 -138
  1258. package/src/cosmos/bank/v1beta1/bank.ts +0 -974
  1259. package/src/cosmos/bank/v1beta1/genesis.ts +0 -307
  1260. package/src/cosmos/bank/v1beta1/query.lcd.ts +0 -194
  1261. package/src/cosmos/bank/v1beta1/query.rpc.Query.ts +0 -258
  1262. package/src/cosmos/bank/v1beta1/query.rpc.func.ts +0 -93
  1263. package/src/cosmos/bank/v1beta1/query.ts +0 -3027
  1264. package/src/cosmos/bank/v1beta1/tx.amino.ts +0 -23
  1265. package/src/cosmos/bank/v1beta1/tx.registry.ts +0 -3
  1266. package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +0 -27
  1267. package/src/cosmos/bank/v1beta1/tx.rpc.msg.ts +0 -67
  1268. package/src/cosmos/bank/v1beta1/tx.ts +0 -861
  1269. package/src/cosmos/base/abci/v1beta1/abci.ts +0 -1698
  1270. package/src/cosmos/base/grpc/v2/service.rpc.Service.ts +0 -41
  1271. package/src/cosmos/base/grpc/v2/service.rpc.func.ts +0 -16
  1272. package/src/cosmos/base/grpc/v2/service.ts +0 -473
  1273. package/src/cosmos/base/node/v1beta1/query.lcd.ts +0 -22
  1274. package/src/cosmos/base/node/v1beta1/query.rpc.Service.ts +0 -41
  1275. package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +0 -16
  1276. package/src/cosmos/base/node/v1beta1/query.ts +0 -454
  1277. package/src/cosmos/base/query/v1beta1/pagination.ts +0 -361
  1278. package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +0 -16
  1279. package/src/cosmos/base/reflection/v1beta1/reflection.ts +0 -382
  1280. package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +0 -44
  1281. package/src/cosmos/base/reflection/v2alpha1/reflection.ts +0 -2727
  1282. package/src/cosmos/base/tendermint/v1beta1/query.lcd.ts +0 -81
  1283. package/src/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +0 -108
  1284. package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +0 -51
  1285. package/src/cosmos/base/tendermint/v1beta1/query.ts +0 -2302
  1286. package/src/cosmos/base/tendermint/v1beta1/types.ts +0 -455
  1287. package/src/cosmos/base/v1beta1/coin.ts +0 -439
  1288. package/src/cosmos/circuit/module/v1/module.ts +0 -99
  1289. package/src/cosmos/circuit/v1/query.lcd.ts +0 -36
  1290. package/src/cosmos/circuit/v1/query.rpc.Query.ts +0 -54
  1291. package/src/cosmos/circuit/v1/query.rpc.func.ts +0 -23
  1292. package/src/cosmos/circuit/v1/query.ts +0 -574
  1293. package/src/cosmos/circuit/v1/tx.amino.ts +0 -18
  1294. package/src/cosmos/circuit/v1/tx.registry.ts +0 -3
  1295. package/src/cosmos/circuit/v1/tx.rpc.func.ts +0 -21
  1296. package/src/cosmos/circuit/v1/tx.rpc.msg.ts +0 -47
  1297. package/src/cosmos/circuit/v1/tx.ts +0 -676
  1298. package/src/cosmos/circuit/v1/types.ts +0 -413
  1299. package/src/cosmos/consensus/module/v1/module.ts +0 -99
  1300. package/src/cosmos/consensus/v1/query.lcd.ts +0 -17
  1301. package/src/cosmos/consensus/v1/query.rpc.Query.ts +0 -30
  1302. package/src/cosmos/consensus/v1/query.rpc.func.ts +0 -9
  1303. package/src/cosmos/consensus/v1/query.ts +0 -185
  1304. package/src/cosmos/consensus/v1/tx.amino.ts +0 -8
  1305. package/src/cosmos/consensus/v1/tx.registry.ts +0 -3
  1306. package/src/cosmos/consensus/v1/tx.rpc.func.ts +0 -9
  1307. package/src/cosmos/consensus/v1/tx.rpc.msg.ts +0 -31
  1308. package/src/cosmos/consensus/v1/tx.ts +0 -255
  1309. package/src/cosmos/crisis/module/v1/module.ts +0 -115
  1310. package/src/cosmos/crisis/v1beta1/genesis.ts +0 -106
  1311. package/src/cosmos/crisis/v1beta1/tx.amino.ts +0 -13
  1312. package/src/cosmos/crisis/v1beta1/tx.registry.ts +0 -3
  1313. package/src/cosmos/crisis/v1beta1/tx.rpc.func.ts +0 -15
  1314. package/src/cosmos/crisis/v1beta1/tx.rpc.msg.ts +0 -39
  1315. package/src/cosmos/crisis/v1beta1/tx.ts +0 -416
  1316. package/src/cosmos/crypto/ed25519/keys.ts +0 -209
  1317. package/src/cosmos/crypto/hd/v1/hd.ts +0 -169
  1318. package/src/cosmos/crypto/keyring/v1/record.ts +0 -529
  1319. package/src/cosmos/crypto/multisig/keys.ts +0 -122
  1320. package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -225
  1321. package/src/cosmos/crypto/secp256k1/keys.ts +0 -203
  1322. package/src/cosmos/crypto/secp256r1/keys.ts +0 -201
  1323. package/src/cosmos/distribution/module/v1/module.ts +0 -113
  1324. package/src/cosmos/distribution/v1beta1/distribution.ts +0 -1494
  1325. package/src/cosmos/distribution/v1beta1/genesis.ts +0 -1129
  1326. package/src/cosmos/distribution/v1beta1/query.lcd.ts +0 -76
  1327. package/src/cosmos/distribution/v1beta1/query.rpc.Query.ts +0 -133
  1328. package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +0 -72
  1329. package/src/cosmos/distribution/v1beta1/query.ts +0 -2126
  1330. package/src/cosmos/distribution/v1beta1/tx.amino.ts +0 -38
  1331. package/src/cosmos/distribution/v1beta1/tx.registry.ts +0 -3
  1332. package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +0 -45
  1333. package/src/cosmos/distribution/v1beta1/tx.rpc.msg.ts +0 -115
  1334. package/src/cosmos/distribution/v1beta1/tx.ts +0 -1478
  1335. package/src/cosmos/evidence/module/v1/module.ts +0 -80
  1336. package/src/cosmos/evidence/v1beta1/evidence.ts +0 -154
  1337. package/src/cosmos/evidence/v1beta1/genesis.ts +0 -102
  1338. package/src/cosmos/evidence/v1beta1/query.lcd.ts +0 -37
  1339. package/src/cosmos/evidence/v1beta1/query.rpc.Query.ts +0 -43
  1340. package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +0 -16
  1341. package/src/cosmos/evidence/v1beta1/query.ts +0 -451
  1342. package/src/cosmos/evidence/v1beta1/tx.amino.ts +0 -8
  1343. package/src/cosmos/evidence/v1beta1/tx.registry.ts +0 -3
  1344. package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +0 -9
  1345. package/src/cosmos/evidence/v1beta1/tx.rpc.msg.ts +0 -27
  1346. package/src/cosmos/evidence/v1beta1/tx.ts +0 -221
  1347. package/src/cosmos/feegrant/module/v1/module.ts +0 -80
  1348. package/src/cosmos/feegrant/v1beta1/feegrant.ts +0 -573
  1349. package/src/cosmos/feegrant/v1beta1/genesis.ts +0 -100
  1350. package/src/cosmos/feegrant/v1beta1/query.lcd.ts +0 -42
  1351. package/src/cosmos/feegrant/v1beta1/query.rpc.Query.ts +0 -58
  1352. package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +0 -23
  1353. package/src/cosmos/feegrant/v1beta1/query.ts +0 -677
  1354. package/src/cosmos/feegrant/v1beta1/tx.amino.ts +0 -18
  1355. package/src/cosmos/feegrant/v1beta1/tx.d.ts +0 -232
  1356. package/src/cosmos/feegrant/v1beta1/tx.registry.ts +0 -3
  1357. package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +0 -21
  1358. package/src/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +0 -53
  1359. package/src/cosmos/feegrant/v1beta1/tx.ts +0 -597
  1360. package/src/cosmos/genutil/module/v1/module.ts +0 -80
  1361. package/src/cosmos/genutil/v1beta1/genesis.ts +0 -101
  1362. package/src/cosmos/gov/module/v1/module.ts +0 -121
  1363. package/src/cosmos/gov/v1/genesis.ts +0 -280
  1364. package/src/cosmos/gov/v1/gov.ts +0 -1843
  1365. package/src/cosmos/gov/v1/query.lcd.ts +0 -85
  1366. package/src/cosmos/gov/v1/query.rpc.Query.ts +0 -118
  1367. package/src/cosmos/gov/v1/query.rpc.func.ts +0 -65
  1368. package/src/cosmos/gov/v1/query.ts +0 -1970
  1369. package/src/cosmos/gov/v1/tx.amino.ts +0 -38
  1370. package/src/cosmos/gov/v1/tx.d.ts +0 -624
  1371. package/src/cosmos/gov/v1/tx.registry.ts +0 -3
  1372. package/src/cosmos/gov/v1/tx.rpc.func.ts +0 -45
  1373. package/src/cosmos/gov/v1/tx.rpc.msg.ts +0 -89
  1374. package/src/cosmos/gov/v1/tx.ts +0 -1657
  1375. package/src/cosmos/gov/v1beta1/genesis.ts +0 -202
  1376. package/src/cosmos/gov/v1beta1/gov.d.ts +0 -522
  1377. package/src/cosmos/gov/v1beta1/gov.ts +0 -1425
  1378. package/src/cosmos/gov/v1beta1/query.lcd.ts +0 -80
  1379. package/src/cosmos/gov/v1beta1/query.rpc.Query.ts +0 -107
  1380. package/src/cosmos/gov/v1beta1/query.rpc.func.ts +0 -58
  1381. package/src/cosmos/gov/v1beta1/query.ts +0 -1749
  1382. package/src/cosmos/gov/v1beta1/tx.amino.ts +0 -23
  1383. package/src/cosmos/gov/v1beta1/tx.d.ts +0 -325
  1384. package/src/cosmos/gov/v1beta1/tx.registry.ts +0 -3
  1385. package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +0 -27
  1386. package/src/cosmos/gov/v1beta1/tx.rpc.msg.ts +0 -53
  1387. package/src/cosmos/gov/v1beta1/tx.ts +0 -881
  1388. package/src/cosmos/group/module/v1/module.ts +0 -128
  1389. package/src/cosmos/group/v1/events.ts +0 -1044
  1390. package/src/cosmos/group/v1/genesis.ts +0 -240
  1391. package/src/cosmos/group/v1/query.lcd.ts +0 -145
  1392. package/src/cosmos/group/v1/query.rpc.Query.ts +0 -191
  1393. package/src/cosmos/group/v1/query.rpc.func.ts +0 -100
  1394. package/src/cosmos/group/v1/query.ts +0 -3015
  1395. package/src/cosmos/group/v1/tx.amino.ts +0 -73
  1396. package/src/cosmos/group/v1/tx.registry.ts +0 -3
  1397. package/src/cosmos/group/v1/tx.rpc.func.ts +0 -87
  1398. package/src/cosmos/group/v1/tx.rpc.msg.ts +0 -127
  1399. package/src/cosmos/group/v1/tx.ts +0 -3207
  1400. package/src/cosmos/group/v1/types.ts +0 -2081
  1401. package/src/cosmos/ics23/v1/proofs.ts +0 -2060
  1402. package/src/cosmos/mint/module/v1/module.ts +0 -113
  1403. package/src/cosmos/mint/v1beta1/genesis.ts +0 -116
  1404. package/src/cosmos/mint/v1beta1/mint.ts +0 -291
  1405. package/src/cosmos/mint/v1beta1/query.lcd.ts +0 -27
  1406. package/src/cosmos/mint/v1beta1/query.rpc.Query.ts +0 -52
  1407. package/src/cosmos/mint/v1beta1/query.rpc.func.ts +0 -23
  1408. package/src/cosmos/mint/v1beta1/query.ts +0 -541
  1409. package/src/cosmos/mint/v1beta1/tx.amino.ts +0 -8
  1410. package/src/cosmos/mint/v1beta1/tx.registry.ts +0 -3
  1411. package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +0 -9
  1412. package/src/cosmos/mint/v1beta1/tx.rpc.msg.ts +0 -31
  1413. package/src/cosmos/mint/v1beta1/tx.ts +0 -219
  1414. package/src/cosmos/msg/textual/v1/textual.ts +0 -1
  1415. package/src/cosmos/msg/v1/msg.ts +0 -1
  1416. package/src/cosmos/nft/module/v1/module.ts +0 -80
  1417. package/src/cosmos/nft/v1beta1/event.ts +0 -403
  1418. package/src/cosmos/nft/v1beta1/genesis.ts +0 -234
  1419. package/src/cosmos/nft/v1beta1/nft.ts +0 -356
  1420. package/src/cosmos/nft/v1beta1/query.lcd.ts +0 -69
  1421. package/src/cosmos/nft/v1beta1/query.rpc.Query.ts +0 -102
  1422. package/src/cosmos/nft/v1beta1/query.rpc.func.ts +0 -51
  1423. package/src/cosmos/nft/v1beta1/query.ts +0 -1465
  1424. package/src/cosmos/nft/v1beta1/tx.amino.ts +0 -8
  1425. package/src/cosmos/nft/v1beta1/tx.registry.ts +0 -3
  1426. package/src/cosmos/nft/v1beta1/tx.rpc.func.ts +0 -9
  1427. package/src/cosmos/nft/v1beta1/tx.rpc.msg.ts +0 -23
  1428. package/src/cosmos/nft/v1beta1/tx.ts +0 -224
  1429. package/src/cosmos/orm/module/v1alpha1/module.ts +0 -88
  1430. package/src/cosmos/orm/query/v1alpha1/query.rpc.Query.ts +0 -41
  1431. package/src/cosmos/orm/query/v1alpha1/query.rpc.func.ts +0 -16
  1432. package/src/cosmos/orm/query/v1alpha1/query.ts +0 -993
  1433. package/src/cosmos/orm/v1/orm.ts +0 -589
  1434. package/src/cosmos/orm/v1alpha1/schema.ts +0 -325
  1435. package/src/cosmos/params/module/v1/module.ts +0 -80
  1436. package/src/cosmos/params/v1beta1/params.ts +0 -255
  1437. package/src/cosmos/params/v1beta1/query.lcd.ts +0 -34
  1438. package/src/cosmos/params/v1beta1/query.rpc.Query.ts +0 -51
  1439. package/src/cosmos/params/v1beta1/query.rpc.func.ts +0 -16
  1440. package/src/cosmos/params/v1beta1/query.ts +0 -525
  1441. package/src/cosmos/query/v1/query.ts +0 -1
  1442. package/src/cosmos/reflection/v1/reflection.rpc.func.ts +0 -9
  1443. package/src/cosmos/reflection/v1/reflection.ts +0 -179
  1444. package/src/cosmos/rpc.query.ts +0 -29
  1445. package/src/cosmos/rpc.tx.ts +0 -34
  1446. package/src/cosmos/slashing/module/v1/module.ts +0 -99
  1447. package/src/cosmos/slashing/v1beta1/genesis.ts +0 -492
  1448. package/src/cosmos/slashing/v1beta1/query.lcd.ts +0 -36
  1449. package/src/cosmos/slashing/v1beta1/query.rpc.Query.ts +0 -54
  1450. package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +0 -23
  1451. package/src/cosmos/slashing/v1beta1/query.ts +0 -598
  1452. package/src/cosmos/slashing/v1beta1/slashing.ts +0 -357
  1453. package/src/cosmos/slashing/v1beta1/tx.amino.ts +0 -13
  1454. package/src/cosmos/slashing/v1beta1/tx.registry.ts +0 -3
  1455. package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +0 -15
  1456. package/src/cosmos/slashing/v1beta1/tx.rpc.msg.ts +0 -45
  1457. package/src/cosmos/slashing/v1beta1/tx.ts +0 -390
  1458. package/src/cosmos/staking/module/v1/module.ts +0 -157
  1459. package/src/cosmos/staking/v1beta1/authz.ts +0 -323
  1460. package/src/cosmos/staking/v1beta1/genesis.ts +0 -346
  1461. package/src/cosmos/staking/v1beta1/query.lcd.ts +0 -159
  1462. package/src/cosmos/staking/v1beta1/query.rpc.Query.ts +0 -241
  1463. package/src/cosmos/staking/v1beta1/query.rpc.func.ts +0 -100
  1464. package/src/cosmos/staking/v1beta1/query.ts +0 -3073
  1465. package/src/cosmos/staking/v1beta1/staking.ts +0 -3005
  1466. package/src/cosmos/staking/v1beta1/tx.amino.ts +0 -38
  1467. package/src/cosmos/staking/v1beta1/tx.registry.ts +0 -3
  1468. package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +0 -45
  1469. package/src/cosmos/staking/v1beta1/tx.rpc.msg.ts +0 -97
  1470. package/src/cosmos/staking/v1beta1/tx.ts +0 -1638
  1471. package/src/cosmos/store/internal/kv/v1beta1/kv.ts +0 -207
  1472. package/src/cosmos/store/snapshots/v1/snapshot.ts +0 -863
  1473. package/src/cosmos/store/snapshots/v2/snapshot.ts +0 -823
  1474. package/src/cosmos/store/streaming/abci/grpc.ts +0 -393
  1475. package/src/cosmos/store/v1beta1/commit_info.ts +0 -362
  1476. package/src/cosmos/store/v1beta1/listening.ts +0 -286
  1477. package/src/cosmos/streaming/v1/grpc.ts +0 -985
  1478. package/src/cosmos/tx/config/v1/config.ts +0 -127
  1479. package/src/cosmos/tx/signing/v1beta1/signing.ts +0 -688
  1480. package/src/cosmos/tx/v1beta1/service.lcd.ts +0 -57
  1481. package/src/cosmos/tx/v1beta1/service.rpc.Service.ts +0 -148
  1482. package/src/cosmos/tx/v1beta1/service.rpc.func.ts +0 -65
  1483. package/src/cosmos/tx/v1beta1/service.ts +0 -2294
  1484. package/src/cosmos/tx/v1beta1/tx.ts +0 -2029
  1485. package/src/cosmos/upgrade/module/v1/module.ts +0 -99
  1486. package/src/cosmos/upgrade/v1beta1/query.lcd.ts +0 -52
  1487. package/src/cosmos/upgrade/v1beta1/query.rpc.Query.ts +0 -98
  1488. package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +0 -37
  1489. package/src/cosmos/upgrade/v1beta1/query.ts +0 -1016
  1490. package/src/cosmos/upgrade/v1beta1/tx.amino.ts +0 -13
  1491. package/src/cosmos/upgrade/v1beta1/tx.registry.ts +0 -3
  1492. package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +0 -15
  1493. package/src/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +0 -45
  1494. package/src/cosmos/upgrade/v1beta1/tx.ts +0 -398
  1495. package/src/cosmos/upgrade/v1beta1/upgrade.ts +0 -591
  1496. package/src/cosmos/validate/module/v1/module.ts +0 -80
  1497. package/src/cosmos/vesting/module/v1/module.ts +0 -80
  1498. package/src/cosmos/vesting/v1beta1/tx.amino.ts +0 -18
  1499. package/src/cosmos/vesting/v1beta1/tx.registry.ts +0 -3
  1500. package/src/cosmos/vesting/v1beta1/tx.rpc.func.ts +0 -21
  1501. package/src/cosmos/vesting/v1beta1/tx.rpc.msg.ts +0 -59
  1502. package/src/cosmos/vesting/v1beta1/tx.ts +0 -698
  1503. package/src/cosmos/vesting/v1beta1/vesting.ts +0 -735
  1504. package/src/cosmos_proto/cosmos.ts +0 -341
  1505. package/src/cosmwasm/wasm/v1/authz.ts +0 -1231
  1506. package/src/cosmwasm/wasm/v1/genesis.ts +0 -532
  1507. package/src/cosmwasm/wasm/v1/ibc.ts +0 -355
  1508. package/src/cosmwasm/wasm/v1/proposal_legacy.ts +0 -2432
  1509. package/src/cosmwasm/wasm/v1/query.lcd.ts +0 -108
  1510. package/src/cosmwasm/wasm/v1/query.rpc.Query.ts +0 -144
  1511. package/src/cosmwasm/wasm/v1/query.rpc.func.ts +0 -79
  1512. package/src/cosmwasm/wasm/v1/query.ts +0 -2560
  1513. package/src/cosmwasm/wasm/v1/tx.amino.ts +0 -88
  1514. package/src/cosmwasm/wasm/v1/tx.registry.ts +0 -3
  1515. package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +0 -105
  1516. package/src/cosmwasm/wasm/v1/tx.rpc.msg.ts +0 -225
  1517. package/src/cosmwasm/wasm/v1/tx.ts +0 -4191
  1518. package/src/cosmwasm/wasm/v1/types.ts +0 -1120
  1519. package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +0 -193
  1520. package/src/ethermint/evm/v1/events.ts +0 -485
  1521. package/src/ethermint/evm/v1/evm.ts +0 -1590
  1522. package/src/ethermint/evm/v1/genesis.ts +0 -240
  1523. package/src/ethermint/evm/v1/query.lcd.ts +0 -157
  1524. package/src/ethermint/evm/v1/query.rpc.Query.ts +0 -164
  1525. package/src/ethermint/evm/v1/query.rpc.func.ts +0 -87
  1526. package/src/ethermint/evm/v1/query.ts +0 -2535
  1527. package/src/ethermint/evm/v1/tx.amino.ts +0 -13
  1528. package/src/ethermint/evm/v1/tx.registry.ts +0 -3
  1529. package/src/ethermint/evm/v1/tx.rpc.func.ts +0 -15
  1530. package/src/ethermint/evm/v1/tx.rpc.msg.ts +0 -35
  1531. package/src/ethermint/evm/v1/tx.ts +0 -1333
  1532. package/src/ethermint/feemarket/v1/events.ts +0 -195
  1533. package/src/ethermint/feemarket/v1/feemarket.ts +0 -213
  1534. package/src/ethermint/feemarket/v1/genesis.ts +0 -114
  1535. package/src/ethermint/feemarket/v1/query.lcd.ts +0 -27
  1536. package/src/ethermint/feemarket/v1/query.rpc.Query.ts +0 -52
  1537. package/src/ethermint/feemarket/v1/query.rpc.func.ts +0 -23
  1538. package/src/ethermint/feemarket/v1/query.ts +0 -487
  1539. package/src/ethermint/feemarket/v1/tx.amino.ts +0 -8
  1540. package/src/ethermint/feemarket/v1/tx.registry.ts +0 -3
  1541. package/src/ethermint/feemarket/v1/tx.rpc.func.ts +0 -9
  1542. package/src/ethermint/feemarket/v1/tx.rpc.msg.ts +0 -27
  1543. package/src/ethermint/feemarket/v1/tx.ts +0 -197
  1544. package/src/ethermint/types/v1/account.ts +0 -114
  1545. package/src/ethermint/types/v1/dynamic_fee.ts +0 -91
  1546. package/src/ethermint/types/v1/indexer.ts +0 -205
  1547. package/src/ethermint/types/v1/web3.ts +0 -147
  1548. package/src/extern.d.ts +0 -10
  1549. package/src/extern.js +0 -36
  1550. package/src/extern.ts +0 -38
  1551. package/src/gogoproto/gogo.ts +0 -1
  1552. package/src/google/api/annotations.ts +0 -1
  1553. package/src/google/api/http.ts +0 -1069
  1554. package/src/google/protobuf/any.ts +0 -331
  1555. package/src/google/protobuf/descriptor.ts +0 -7177
  1556. package/src/google/protobuf/duration.ts +0 -225
  1557. package/src/google/protobuf/timestamp.ts +0 -281
  1558. package/src/helper-func-types.d.ts +0 -117
  1559. package/src/helper-func-types.js +0 -55
  1560. package/src/helper-func-types.ts +0 -191
  1561. package/src/helpers.d.ts +0 -82
  1562. package/src/helpers.js +0 -143
  1563. package/src/helpers.ts +0 -259
  1564. package/src/ibc/applications/fee/v1/ack.ts +0 -131
  1565. package/src/ibc/applications/fee/v1/fee.ts +0 -481
  1566. package/src/ibc/applications/fee/v1/genesis.ts +0 -661
  1567. package/src/ibc/applications/fee/v1/metadata.ts +0 -121
  1568. package/src/ibc/applications/fee/v1/query.lcd.ts +0 -117
  1569. package/src/ibc/applications/fee/v1/query.rpc.Query.ts +0 -129
  1570. package/src/ibc/applications/fee/v1/query.rpc.func.ts +0 -72
  1571. package/src/ibc/applications/fee/v1/query.ts +0 -2134
  1572. package/src/ibc/applications/fee/v1/tx.amino.ts +0 -23
  1573. package/src/ibc/applications/fee/v1/tx.registry.ts +0 -3
  1574. package/src/ibc/applications/fee/v1/tx.rpc.func.ts +0 -27
  1575. package/src/ibc/applications/fee/v1/tx.rpc.msg.ts +0 -83
  1576. package/src/ibc/applications/fee/v1/tx.ts +0 -889
  1577. package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -105
  1578. package/src/ibc/applications/interchain_accounts/controller/v1/query.lcd.ts +0 -22
  1579. package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.ts +0 -41
  1580. package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +0 -16
  1581. package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -379
  1582. package/src/ibc/applications/interchain_accounts/controller/v1/tx.amino.ts +0 -18
  1583. package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +0 -3
  1584. package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +0 -21
  1585. package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.ts +0 -39
  1586. package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +0 -685
  1587. package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +0 -661
  1588. package/src/ibc/applications/interchain_accounts/host/v1/host.ts +0 -253
  1589. package/src/ibc/applications/interchain_accounts/host/v1/query.lcd.ts +0 -17
  1590. package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.ts +0 -30
  1591. package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +0 -9
  1592. package/src/ibc/applications/interchain_accounts/host/v1/query.ts +0 -177
  1593. package/src/ibc/applications/interchain_accounts/host/v1/tx.amino.ts +0 -13
  1594. package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +0 -3
  1595. package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +0 -15
  1596. package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.ts +0 -31
  1597. package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +0 -429
  1598. package/src/ibc/applications/interchain_accounts/v1/account.ts +0 -112
  1599. package/src/ibc/applications/interchain_accounts/v1/metadata.ts +0 -191
  1600. package/src/ibc/applications/interchain_accounts/v1/packet.ts +0 -259
  1601. package/src/ibc/applications/transfer/v1/authz.ts +0 -280
  1602. package/src/ibc/applications/transfer/v1/genesis.ts +0 -153
  1603. package/src/ibc/applications/transfer/v1/query.lcd.ts +0 -69
  1604. package/src/ibc/applications/transfer/v1/query.rpc.Query.ts +0 -87
  1605. package/src/ibc/applications/transfer/v1/query.rpc.func.ts +0 -44
  1606. package/src/ibc/applications/transfer/v1/query.ts +0 -1205
  1607. package/src/ibc/applications/transfer/v1/transfer.ts +0 -261
  1608. package/src/ibc/applications/transfer/v1/tx.amino.ts +0 -13
  1609. package/src/ibc/applications/transfer/v1/tx.registry.ts +0 -3
  1610. package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +0 -15
  1611. package/src/ibc/applications/transfer/v1/tx.rpc.msg.ts +0 -31
  1612. package/src/ibc/applications/transfer/v1/tx.ts +0 -532
  1613. package/src/ibc/applications/transfer/v2/packet.ts +0 -171
  1614. package/src/ibc/core/channel/v1/channel.ts +0 -1510
  1615. package/src/ibc/core/channel/v1/genesis.ts +0 -354
  1616. package/src/ibc/core/channel/v1/query.lcd.ts +0 -135
  1617. package/src/ibc/core/channel/v1/query.rpc.Query.ts +0 -240
  1618. package/src/ibc/core/channel/v1/query.rpc.func.ts +0 -121
  1619. package/src/ibc/core/channel/v1/query.ts +0 -4354
  1620. package/src/ibc/core/channel/v1/tx.amino.ts +0 -98
  1621. package/src/ibc/core/channel/v1/tx.registry.ts +0 -3
  1622. package/src/ibc/core/channel/v1/tx.rpc.func.ts +0 -117
  1623. package/src/ibc/core/channel/v1/tx.rpc.msg.ts +0 -171
  1624. package/src/ibc/core/channel/v1/tx.ts +0 -4866
  1625. package/src/ibc/core/channel/v1/upgrade.ts +0 -388
  1626. package/src/ibc/core/client/v1/client.ts +0 -927
  1627. package/src/ibc/core/client/v1/genesis.ts +0 -426
  1628. package/src/ibc/core/client/v1/query.lcd.ts +0 -86
  1629. package/src/ibc/core/client/v1/query.rpc.Query.ts +0 -139
  1630. package/src/ibc/core/client/v1/query.rpc.func.ts +0 -72
  1631. package/src/ibc/core/client/v1/query.ts +0 -2280
  1632. package/src/ibc/core/client/v1/tx.amino.ts +0 -38
  1633. package/src/ibc/core/client/v1/tx.registry.ts +0 -3
  1634. package/src/ibc/core/client/v1/tx.rpc.func.ts +0 -45
  1635. package/src/ibc/core/client/v1/tx.rpc.msg.ts +0 -71
  1636. package/src/ibc/core/client/v1/tx.ts +0 -1543
  1637. package/src/ibc/core/commitment/v1/commitment.ts +0 -418
  1638. package/src/ibc/core/connection/v1/connection.ts +0 -1010
  1639. package/src/ibc/core/connection/v1/genesis.ts +0 -146
  1640. package/src/ibc/core/connection/v1/query.lcd.ts +0 -54
  1641. package/src/ibc/core/connection/v1/query.rpc.Query.ts +0 -99
  1642. package/src/ibc/core/connection/v1/query.rpc.func.ts +0 -44
  1643. package/src/ibc/core/connection/v1/query.ts +0 -1408
  1644. package/src/ibc/core/connection/v1/tx.amino.ts +0 -28
  1645. package/src/ibc/core/connection/v1/tx.registry.ts +0 -3
  1646. package/src/ibc/core/connection/v1/tx.rpc.func.ts +0 -33
  1647. package/src/ibc/core/connection/v1/tx.rpc.msg.ts +0 -63
  1648. package/src/ibc/core/connection/v1/tx.ts +0 -1365
  1649. package/src/ibc/core/types/v1/genesis.ts +0 -137
  1650. package/src/ibc/lightclients/localhost/v2/localhost.ts +0 -100
  1651. package/src/ibc/lightclients/solomachine/v2/solomachine.ts +0 -2103
  1652. package/src/ibc/lightclients/solomachine/v3/solomachine.ts +0 -1070
  1653. package/src/ibc/lightclients/tendermint/v1/tendermint.ts +0 -838
  1654. package/src/ibc/lightclients/wasm/v1/genesis.ts +0 -197
  1655. package/src/ibc/lightclients/wasm/v1/query.lcd.ts +0 -31
  1656. package/src/ibc/lightclients/wasm/v1/query.rpc.Query.ts +0 -43
  1657. package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +0 -16
  1658. package/src/ibc/lightclients/wasm/v1/query.ts +0 -404
  1659. package/src/ibc/lightclients/wasm/v1/tx.amino.ts +0 -18
  1660. package/src/ibc/lightclients/wasm/v1/tx.registry.ts +0 -3
  1661. package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +0 -21
  1662. package/src/ibc/lightclients/wasm/v1/tx.rpc.msg.ts +0 -39
  1663. package/src/ibc/lightclients/wasm/v1/tx.ts +0 -621
  1664. package/src/ibc/lightclients/wasm/v1/wasm.ts +0 -438
  1665. package/src/registry.d.ts +0 -33
  1666. package/src/registry.js +0 -158
  1667. package/src/registry.ts +0 -218
  1668. package/src/tendermint/abci/types.ts +0 -6283
  1669. package/src/tendermint/crypto/keys.ts +0 -103
  1670. package/src/tendermint/crypto/proof.ts +0 -555
  1671. package/src/tendermint/p2p/types.ts +0 -507
  1672. package/src/tendermint/types/block.ts +0 -131
  1673. package/src/tendermint/types/evidence.ts +0 -476
  1674. package/src/tendermint/types/params.ts +0 -814
  1675. package/src/tendermint/types/types.ts +0 -2157
  1676. package/src/tendermint/types/validator.ts +0 -389
  1677. package/src/tendermint/version/types.ts +0 -219
  1678. package/src/types.d.ts +0 -124
  1679. package/src/types.js +0 -7
  1680. package/src/types.ts +0 -155
  1681. package/src/utf8.d.ts +0 -27
  1682. package/src/utf8.js +0 -140
  1683. package/src/utf8.ts +0 -148
  1684. package/src/varint.d.ts +0 -105
  1685. package/src/varint.js +0 -425
  1686. package/src/varint.ts +0 -488
  1687. package/src/xpla/lcd.ts +0 -180
  1688. package/src/xpla/reward/v1beta1/genesis.ts +0 -92
  1689. package/src/xpla/reward/v1beta1/query.lcd.ts +0 -22
  1690. package/src/xpla/reward/v1beta1/query.rpc.Query.ts +0 -41
  1691. package/src/xpla/reward/v1beta1/query.rpc.func.ts +0 -16
  1692. package/src/xpla/reward/v1beta1/query.ts +0 -333
  1693. package/src/xpla/reward/v1beta1/reward.ts +0 -153
  1694. package/src/xpla/reward/v1beta1/tx.amino.ts +0 -13
  1695. package/src/xpla/reward/v1beta1/tx.registry.ts +0 -3
  1696. package/src/xpla/reward/v1beta1/tx.rpc.func.ts +0 -15
  1697. package/src/xpla/reward/v1beta1/tx.rpc.msg.ts +0 -41
  1698. package/src/xpla/reward/v1beta1/tx.ts +0 -391
  1699. package/src/xpla/rpc.query.ts +0 -129
  1700. package/src/xpla/rpc.tx.ts +0 -6
  1701. package/src/xpla/volunteer/v1beta1/genesis.ts +0 -92
  1702. package/src/xpla/volunteer/v1beta1/proposal.ts +0 -649
  1703. package/src/xpla/volunteer/v1beta1/query.lcd.ts +0 -17
  1704. package/src/xpla/volunteer/v1beta1/query.rpc.Query.ts +0 -30
  1705. package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +0 -9
  1706. package/src/xpla/volunteer/v1beta1/query.ts +0 -160
  1707. package/src/xpla/volunteer/v1beta1/tx.amino.ts +0 -13
  1708. package/src/xpla/volunteer/v1beta1/tx.registry.ts +0 -3
  1709. package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +0 -15
  1710. package/src/xpla/volunteer/v1beta1/tx.rpc.msg.ts +0 -35
  1711. package/src/xpla/volunteer/v1beta1/tx.ts +0 -448
  1712. package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +0 -107
  1713. package/tsconfig.esm.json +0 -10
  1714. package/tsconfig.json +0 -10
  1715. /package/{src → dist}/amino/amino.d.ts +0 -0
  1716. /package/{src → dist}/amino/amino.js +0 -0
  1717. /package/{src → dist}/cosmos/auth/v1beta1/auth.d.ts +0 -0
  1718. /package/{src → dist}/cosmos/auth/v1beta1/auth.js +0 -0
  1719. /package/{src → dist}/cosmos/auth/v1beta1/query.d.ts +0 -0
  1720. /package/{src → dist}/cosmos/auth/v1beta1/query.js +0 -0
  1721. /package/{src → dist}/cosmos/auth/v1beta1/query.rpc.func.d.ts +0 -0
  1722. /package/{src → dist}/cosmos/auth/v1beta1/query.rpc.func.js +0 -0
  1723. /package/{src/ethermint/feemarket/v1 → dist/cosmos/auth/v1beta1}/tx.rpc.func.d.ts +0 -0
  1724. /package/{src/ethermint/feemarket/v1 → dist/cosmos/auth/v1beta1}/tx.rpc.func.js +0 -0
  1725. /package/{src → dist}/cosmos/authz/v1beta1/authz.js +0 -0
  1726. /package/{src → dist}/cosmos/authz/v1beta1/tx.d.ts +0 -0
  1727. /package/{src → dist}/cosmos/authz/v1beta1/tx.js +0 -0
  1728. /package/{src → dist}/cosmos/authz/v1beta1/tx.rpc.func.d.ts +0 -0
  1729. /package/{src → dist}/cosmos/authz/v1beta1/tx.rpc.func.js +0 -0
  1730. /package/{src → dist}/cosmos/bank/v1beta1/bank.d.ts +0 -0
  1731. /package/{src → dist}/cosmos/bank/v1beta1/bank.js +0 -0
  1732. /package/{src → dist}/cosmos/bank/v1beta1/query.d.ts +0 -0
  1733. /package/{src → dist}/cosmos/bank/v1beta1/query.js +0 -0
  1734. /package/{src → dist}/cosmos/bank/v1beta1/query.rpc.func.d.ts +0 -0
  1735. /package/{src → dist}/cosmos/bank/v1beta1/query.rpc.func.js +0 -0
  1736. /package/{src → dist}/cosmos/bank/v1beta1/tx.d.ts +0 -0
  1737. /package/{src → dist}/cosmos/bank/v1beta1/tx.js +0 -0
  1738. /package/{src → dist}/cosmos/bank/v1beta1/tx.rpc.func.d.ts +0 -0
  1739. /package/{src → dist}/cosmos/bank/v1beta1/tx.rpc.func.js +0 -0
  1740. /package/{src → dist}/cosmos/base/abci/v1beta1/abci.d.ts +0 -0
  1741. /package/{src → dist}/cosmos/base/abci/v1beta1/abci.js +0 -0
  1742. /package/{src → dist}/cosmos/base/query/v1beta1/pagination.d.ts +0 -0
  1743. /package/{src → dist}/cosmos/base/query/v1beta1/pagination.js +0 -0
  1744. /package/{src → dist}/cosmos/base/v1beta1/coin.d.ts +0 -0
  1745. /package/{src → dist}/cosmos/base/v1beta1/coin.js +0 -0
  1746. /package/{src → dist}/cosmos/crypto/ed25519/keys.d.ts +0 -0
  1747. /package/{src → dist}/cosmos/crypto/ed25519/keys.js +0 -0
  1748. /package/{src → dist}/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -0
  1749. /package/{src → dist}/cosmos/crypto/multisig/v1beta1/multisig.js +0 -0
  1750. /package/{src → dist}/cosmos/crypto/secp256k1/keys.d.ts +0 -0
  1751. /package/{src → dist}/cosmos/crypto/secp256k1/keys.js +0 -0
  1752. /package/{src → dist}/cosmos/crypto/secp256r1/keys.d.ts +0 -0
  1753. /package/{src → dist}/cosmos/crypto/secp256r1/keys.js +0 -0
  1754. /package/{src → dist}/cosmos/distribution/v1beta1/distribution.d.ts +0 -0
  1755. /package/{src → dist}/cosmos/distribution/v1beta1/distribution.js +0 -0
  1756. /package/{src → dist}/cosmos/distribution/v1beta1/tx.d.ts +0 -0
  1757. /package/{src → dist}/cosmos/distribution/v1beta1/tx.js +0 -0
  1758. /package/{src → dist}/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +0 -0
  1759. /package/{src → dist}/cosmos/distribution/v1beta1/tx.rpc.func.js +0 -0
  1760. /package/{src → dist}/cosmos/feegrant/v1beta1/tx.js +0 -0
  1761. /package/{src → dist}/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +0 -0
  1762. /package/{src → dist}/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -0
  1763. /package/{src → dist}/cosmos/gov/v1/gov.d.ts +0 -0
  1764. /package/{src → dist}/cosmos/gov/v1/gov.js +0 -0
  1765. /package/{src → dist}/cosmos/gov/v1/tx.js +0 -0
  1766. /package/{src → dist}/cosmos/gov/v1/tx.rpc.func.d.ts +0 -0
  1767. /package/{src → dist}/cosmos/gov/v1/tx.rpc.func.js +0 -0
  1768. /package/{src → dist}/cosmos/gov/v1beta1/gov.js +0 -0
  1769. /package/{src → dist}/cosmos/gov/v1beta1/query.d.ts +0 -0
  1770. /package/{src → dist}/cosmos/gov/v1beta1/query.js +0 -0
  1771. /package/{src → dist}/cosmos/gov/v1beta1/query.rpc.func.d.ts +0 -0
  1772. /package/{src → dist}/cosmos/gov/v1beta1/query.rpc.func.js +0 -0
  1773. /package/{src → dist}/cosmos/gov/v1beta1/tx.js +0 -0
  1774. /package/{src → dist}/cosmos/gov/v1beta1/tx.rpc.func.d.ts +0 -0
  1775. /package/{src → dist}/cosmos/gov/v1beta1/tx.rpc.func.js +0 -0
  1776. /package/{src → dist}/cosmos/group/v1/tx.d.ts +0 -0
  1777. /package/{src → dist}/cosmos/group/v1/tx.js +0 -0
  1778. /package/{src → dist}/cosmos/group/v1/tx.rpc.func.d.ts +0 -0
  1779. /package/{src → dist}/cosmos/group/v1/tx.rpc.func.js +0 -0
  1780. /package/{src → dist}/cosmos/group/v1/types.d.ts +0 -0
  1781. /package/{src → dist}/cosmos/group/v1/types.js +0 -0
  1782. /package/{src → dist}/cosmos/ics23/v1/proofs.d.ts +0 -0
  1783. /package/{src → dist}/cosmos/ics23/v1/proofs.js +0 -0
  1784. /package/{src/cosmos/msg/v1/msg.d.ts → dist/cosmos/msg/textual/v1/textual.d.ts} +0 -0
  1785. /package/{src/cosmos/msg/v1/msg.js → dist/cosmos/msg/textual/v1/textual.js} +0 -0
  1786. /package/{src/cosmos/query/v1/query.d.ts → dist/cosmos/msg/v1/msg.d.ts} +0 -0
  1787. /package/{src/cosmos/query/v1/query.js → dist/cosmos/msg/v1/msg.js} +0 -0
  1788. /package/{src/gogoproto/gogo.d.ts → dist/cosmos/query/v1/query.d.ts} +0 -0
  1789. /package/{src/gogoproto/gogo.js → dist/cosmos/query/v1/query.js} +0 -0
  1790. /package/{src → dist}/cosmos/staking/v1beta1/query.d.ts +0 -0
  1791. /package/{src → dist}/cosmos/staking/v1beta1/query.js +0 -0
  1792. /package/{src → dist}/cosmos/staking/v1beta1/query.rpc.func.d.ts +0 -0
  1793. /package/{src → dist}/cosmos/staking/v1beta1/query.rpc.func.js +0 -0
  1794. /package/{src → dist}/cosmos/staking/v1beta1/staking.d.ts +0 -0
  1795. /package/{src → dist}/cosmos/staking/v1beta1/staking.js +0 -0
  1796. /package/{src → dist}/cosmos/staking/v1beta1/tx.d.ts +0 -0
  1797. /package/{src → dist}/cosmos/staking/v1beta1/tx.js +0 -0
  1798. /package/{src → dist}/cosmos/staking/v1beta1/tx.rpc.func.d.ts +0 -0
  1799. /package/{src → dist}/cosmos/staking/v1beta1/tx.rpc.func.js +0 -0
  1800. /package/{src → dist}/cosmos/tx/signing/v1beta1/signing.d.ts +0 -0
  1801. /package/{src → dist}/cosmos/tx/signing/v1beta1/signing.js +0 -0
  1802. /package/{src → dist}/cosmos/tx/v1beta1/service.d.ts +0 -0
  1803. /package/{src → dist}/cosmos/tx/v1beta1/service.js +0 -0
  1804. /package/{src → dist}/cosmos/tx/v1beta1/service.rpc.func.d.ts +0 -0
  1805. /package/{src → dist}/cosmos/tx/v1beta1/service.rpc.func.js +0 -0
  1806. /package/{src → dist}/cosmos/tx/v1beta1/tx.d.ts +0 -0
  1807. /package/{src → dist}/cosmos/tx/v1beta1/tx.js +0 -0
  1808. /package/{src → dist}/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -0
  1809. /package/{src → dist}/cosmos/upgrade/v1beta1/upgrade.js +0 -0
  1810. /package/{src → dist}/cosmos/vesting/v1beta1/tx.d.ts +0 -0
  1811. /package/{src → dist}/cosmos/vesting/v1beta1/tx.js +0 -0
  1812. /package/{src → dist}/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +0 -0
  1813. /package/{src → dist}/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -0
  1814. /package/{src → dist}/cosmos/vesting/v1beta1/vesting.d.ts +0 -0
  1815. /package/{src → dist}/cosmos/vesting/v1beta1/vesting.js +0 -0
  1816. /package/{src → dist}/cosmos_proto/cosmos.d.ts +0 -0
  1817. /package/{src → dist}/cosmos_proto/cosmos.js +0 -0
  1818. /package/{src/google/api/annotations.d.ts → dist/esm/amino/amino.js} +0 -0
  1819. /package/{src → dist}/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +0 -0
  1820. /package/{src → dist}/ethermint/crypto/v1/ethsecp256k1/keys.js +0 -0
  1821. /package/{src → dist}/ethermint/evm/v1/events.d.ts +0 -0
  1822. /package/{src → dist}/ethermint/evm/v1/events.js +0 -0
  1823. /package/{src → dist}/ethermint/evm/v1/evm.d.ts +0 -0
  1824. /package/{src → dist}/ethermint/evm/v1/evm.js +0 -0
  1825. /package/{src → dist}/ethermint/evm/v1/genesis.d.ts +0 -0
  1826. /package/{src → dist}/ethermint/evm/v1/genesis.js +0 -0
  1827. /package/{src → dist}/ethermint/evm/v1/query.d.ts +0 -0
  1828. /package/{src → dist}/ethermint/evm/v1/query.js +0 -0
  1829. /package/{src → dist}/ethermint/evm/v1/query.rpc.func.d.ts +0 -0
  1830. /package/{src → dist}/ethermint/evm/v1/query.rpc.func.js +0 -0
  1831. /package/{src → dist}/ethermint/evm/v1/tx.d.ts +0 -0
  1832. /package/{src → dist}/ethermint/evm/v1/tx.js +0 -0
  1833. /package/{src → dist}/ethermint/evm/v1/tx.rpc.func.d.ts +0 -0
  1834. /package/{src → dist}/ethermint/evm/v1/tx.rpc.func.js +0 -0
  1835. /package/{src → dist}/ethermint/feemarket/v1/events.d.ts +0 -0
  1836. /package/{src → dist}/ethermint/feemarket/v1/events.js +0 -0
  1837. /package/{src → dist}/ethermint/feemarket/v1/feemarket.d.ts +0 -0
  1838. /package/{src → dist}/ethermint/feemarket/v1/feemarket.js +0 -0
  1839. /package/{src → dist}/ethermint/feemarket/v1/genesis.d.ts +0 -0
  1840. /package/{src → dist}/ethermint/feemarket/v1/genesis.js +0 -0
  1841. /package/{src → dist}/ethermint/feemarket/v1/query.d.ts +0 -0
  1842. /package/{src → dist}/ethermint/feemarket/v1/query.js +0 -0
  1843. /package/{src → dist}/ethermint/feemarket/v1/query.rpc.func.d.ts +0 -0
  1844. /package/{src → dist}/ethermint/feemarket/v1/query.rpc.func.js +0 -0
  1845. /package/{src → dist}/ethermint/feemarket/v1/tx.d.ts +0 -0
  1846. /package/{src → dist}/ethermint/feemarket/v1/tx.js +0 -0
  1847. /package/{src → dist}/ethermint/types/v1/account.d.ts +0 -0
  1848. /package/{src → dist}/ethermint/types/v1/account.js +0 -0
  1849. /package/{src → dist}/ethermint/types/v1/dynamic_fee.d.ts +0 -0
  1850. /package/{src → dist}/ethermint/types/v1/dynamic_fee.js +0 -0
  1851. /package/{src → dist}/ethermint/types/v1/indexer.d.ts +0 -0
  1852. /package/{src → dist}/ethermint/types/v1/indexer.js +0 -0
  1853. /package/{src → dist}/ethermint/types/v1/web3.d.ts +0 -0
  1854. /package/{src → dist}/ethermint/types/v1/web3.js +0 -0
  1855. /package/{src/google/api/annotations.js → dist/gogoproto/gogo.js} +0 -0
  1856. /package/{src → dist}/google/api/http.d.ts +0 -0
  1857. /package/{src → dist}/google/api/http.js +0 -0
  1858. /package/{src → dist}/google/protobuf/any.d.ts +0 -0
  1859. /package/{src → dist}/google/protobuf/any.js +0 -0
  1860. /package/{src → dist}/google/protobuf/descriptor.d.ts +0 -0
  1861. /package/{src → dist}/google/protobuf/descriptor.js +0 -0
  1862. /package/{src → dist}/google/protobuf/duration.d.ts +0 -0
  1863. /package/{src → dist}/google/protobuf/duration.js +0 -0
  1864. /package/{src → dist}/google/protobuf/timestamp.d.ts +0 -0
  1865. /package/{src → dist}/google/protobuf/timestamp.js +0 -0
  1866. /package/{src → dist}/ibc/applications/transfer/v1/transfer.d.ts +0 -0
  1867. /package/{src → dist}/ibc/applications/transfer/v1/transfer.js +0 -0
  1868. /package/{src → dist}/ibc/applications/transfer/v1/tx.d.ts +0 -0
  1869. /package/{src → dist}/ibc/applications/transfer/v1/tx.js +0 -0
  1870. /package/{src → dist}/ibc/applications/transfer/v1/tx.rpc.func.d.ts +0 -0
  1871. /package/{src → dist}/ibc/applications/transfer/v1/tx.rpc.func.js +0 -0
  1872. /package/{src → dist}/ibc/core/channel/v1/channel.d.ts +0 -0
  1873. /package/{src → dist}/ibc/core/channel/v1/channel.js +0 -0
  1874. /package/{src → dist}/ibc/core/channel/v1/tx.d.ts +0 -0
  1875. /package/{src → dist}/ibc/core/channel/v1/tx.js +0 -0
  1876. /package/{src → dist}/ibc/core/channel/v1/tx.rpc.func.d.ts +0 -0
  1877. /package/{src → dist}/ibc/core/channel/v1/tx.rpc.func.js +0 -0
  1878. /package/{src → dist}/ibc/core/channel/v1/upgrade.d.ts +0 -0
  1879. /package/{src → dist}/ibc/core/channel/v1/upgrade.js +0 -0
  1880. /package/{src → dist}/ibc/core/client/v1/client.d.ts +0 -0
  1881. /package/{src → dist}/ibc/core/client/v1/client.js +0 -0
  1882. /package/{src → dist}/ibc/core/client/v1/tx.d.ts +0 -0
  1883. /package/{src → dist}/ibc/core/client/v1/tx.js +0 -0
  1884. /package/{src → dist}/ibc/core/client/v1/tx.rpc.func.d.ts +0 -0
  1885. /package/{src → dist}/ibc/core/client/v1/tx.rpc.func.js +0 -0
  1886. /package/{src → dist}/ibc/core/commitment/v1/commitment.d.ts +0 -0
  1887. /package/{src → dist}/ibc/core/commitment/v1/commitment.js +0 -0
  1888. /package/{src → dist}/ibc/core/connection/v1/connection.d.ts +0 -0
  1889. /package/{src → dist}/ibc/core/connection/v1/connection.js +0 -0
  1890. /package/{src → dist}/ibc/core/connection/v1/tx.d.ts +0 -0
  1891. /package/{src → dist}/ibc/core/connection/v1/tx.js +0 -0
  1892. /package/{src → dist}/ibc/core/connection/v1/tx.rpc.func.d.ts +0 -0
  1893. /package/{src → dist}/ibc/core/connection/v1/tx.rpc.func.js +0 -0
  1894. /package/{src → dist}/tendermint/abci/types.d.ts +0 -0
  1895. /package/{src → dist}/tendermint/abci/types.js +0 -0
  1896. /package/{src → dist}/tendermint/crypto/keys.d.ts +0 -0
  1897. /package/{src → dist}/tendermint/crypto/keys.js +0 -0
  1898. /package/{src → dist}/tendermint/crypto/proof.d.ts +0 -0
  1899. /package/{src → dist}/tendermint/crypto/proof.js +0 -0
  1900. /package/{src → dist}/tendermint/types/block.d.ts +0 -0
  1901. /package/{src → dist}/tendermint/types/block.js +0 -0
  1902. /package/{src → dist}/tendermint/types/evidence.d.ts +0 -0
  1903. /package/{src → dist}/tendermint/types/evidence.js +0 -0
  1904. /package/{src → dist}/tendermint/types/params.d.ts +0 -0
  1905. /package/{src → dist}/tendermint/types/params.js +0 -0
  1906. /package/{src → dist}/tendermint/types/types.d.ts +0 -0
  1907. /package/{src → dist}/tendermint/types/types.js +0 -0
  1908. /package/{src → dist}/tendermint/types/validator.d.ts +0 -0
  1909. /package/{src → dist}/tendermint/types/validator.js +0 -0
  1910. /package/{src → dist}/tendermint/version/types.d.ts +0 -0
  1911. /package/{src → dist}/tendermint/version/types.js +0 -0
  1912. /package/{src → dist}/xpla/reward/v1beta1/genesis.d.ts +0 -0
  1913. /package/{src → dist}/xpla/reward/v1beta1/genesis.js +0 -0
  1914. /package/{src → dist}/xpla/reward/v1beta1/query.d.ts +0 -0
  1915. /package/{src → dist}/xpla/reward/v1beta1/query.js +0 -0
  1916. /package/{src → dist}/xpla/reward/v1beta1/query.rpc.func.d.ts +0 -0
  1917. /package/{src → dist}/xpla/reward/v1beta1/query.rpc.func.js +0 -0
  1918. /package/{src → dist}/xpla/reward/v1beta1/reward.d.ts +0 -0
  1919. /package/{src → dist}/xpla/reward/v1beta1/reward.js +0 -0
  1920. /package/{src → dist}/xpla/reward/v1beta1/tx.d.ts +0 -0
  1921. /package/{src → dist}/xpla/reward/v1beta1/tx.js +0 -0
  1922. /package/{src → dist}/xpla/reward/v1beta1/tx.rpc.func.d.ts +0 -0
  1923. /package/{src → dist}/xpla/reward/v1beta1/tx.rpc.func.js +0 -0
  1924. /package/{src → dist}/xpla/volunteer/v1beta1/genesis.d.ts +0 -0
  1925. /package/{src → dist}/xpla/volunteer/v1beta1/genesis.js +0 -0
  1926. /package/{src → dist}/xpla/volunteer/v1beta1/proposal.d.ts +0 -0
  1927. /package/{src → dist}/xpla/volunteer/v1beta1/proposal.js +0 -0
  1928. /package/{src → dist}/xpla/volunteer/v1beta1/query.d.ts +0 -0
  1929. /package/{src → dist}/xpla/volunteer/v1beta1/query.js +0 -0
  1930. /package/{src → dist}/xpla/volunteer/v1beta1/query.rpc.func.d.ts +0 -0
  1931. /package/{src → dist}/xpla/volunteer/v1beta1/query.rpc.func.js +0 -0
  1932. /package/{src → dist}/xpla/volunteer/v1beta1/tx.d.ts +0 -0
  1933. /package/{src → dist}/xpla/volunteer/v1beta1/tx.js +0 -0
  1934. /package/{src → dist}/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +0 -0
  1935. /package/{src → dist}/xpla/volunteer/v1beta1/tx.rpc.func.js +0 -0
  1936. /package/{src → dist}/xpla/volunteer/v1beta1/volunteervalidator.d.ts +0 -0
  1937. /package/{src → dist}/xpla/volunteer/v1beta1/volunteervalidator.js +0 -0
@@ -1,3005 +0,0 @@
1
- import { Header, HeaderAmino } from "../../../tendermint/types/types";
2
- import { Timestamp } from "../../../google/protobuf/timestamp";
3
- import { Any, AnyProtoMsg, AnyAmino } from "../../../google/protobuf/any";
4
- import { Duration, DurationAmino } from "../../../google/protobuf/duration";
5
- import { Coin, CoinAmino } from "../../base/v1beta1/coin";
6
- import { ValidatorUpdate, ValidatorUpdateAmino } from "../../../tendermint/abci/types";
7
- import { BinaryReader, BinaryWriter } from "../../../binary";
8
- import { DeepPartial, toTimestamp, fromTimestamp, isSet } from "../../../helpers";
9
- import { GlobalDecoderRegistry } from "../../../registry";
10
- import { encodePubkey, decodePubkey } from "@cosmjs/proto-signing";
11
- /** BondStatus is the status of a validator. */
12
- export enum BondStatus {
13
- /** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */
14
- BOND_STATUS_UNSPECIFIED = 0,
15
- /** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */
16
- BOND_STATUS_UNBONDED = 1,
17
- /** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */
18
- BOND_STATUS_UNBONDING = 2,
19
- /** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */
20
- BOND_STATUS_BONDED = 3,
21
- UNRECOGNIZED = -1,
22
- }
23
- export const BondStatusAmino = BondStatus;
24
- export function bondStatusFromJSON(object: any): BondStatus {
25
- switch (object) {
26
- case 0:
27
- case "BOND_STATUS_UNSPECIFIED":
28
- return BondStatus.BOND_STATUS_UNSPECIFIED;
29
- case 1:
30
- case "BOND_STATUS_UNBONDED":
31
- return BondStatus.BOND_STATUS_UNBONDED;
32
- case 2:
33
- case "BOND_STATUS_UNBONDING":
34
- return BondStatus.BOND_STATUS_UNBONDING;
35
- case 3:
36
- case "BOND_STATUS_BONDED":
37
- return BondStatus.BOND_STATUS_BONDED;
38
- case -1:
39
- case "UNRECOGNIZED":
40
- default:
41
- return BondStatus.UNRECOGNIZED;
42
- }
43
- }
44
- export function bondStatusToJSON(object: BondStatus): string {
45
- switch (object) {
46
- case BondStatus.BOND_STATUS_UNSPECIFIED:
47
- return "BOND_STATUS_UNSPECIFIED";
48
- case BondStatus.BOND_STATUS_UNBONDED:
49
- return "BOND_STATUS_UNBONDED";
50
- case BondStatus.BOND_STATUS_UNBONDING:
51
- return "BOND_STATUS_UNBONDING";
52
- case BondStatus.BOND_STATUS_BONDED:
53
- return "BOND_STATUS_BONDED";
54
- case BondStatus.UNRECOGNIZED:
55
- default:
56
- return "UNRECOGNIZED";
57
- }
58
- }
59
- /** Infraction indicates the infraction a validator commited. */
60
- export enum Infraction {
61
- /** INFRACTION_UNSPECIFIED - UNSPECIFIED defines an empty infraction. */
62
- INFRACTION_UNSPECIFIED = 0,
63
- /** INFRACTION_DOUBLE_SIGN - DOUBLE_SIGN defines a validator that double-signs a block. */
64
- INFRACTION_DOUBLE_SIGN = 1,
65
- /** INFRACTION_DOWNTIME - DOWNTIME defines a validator that missed signing too many blocks. */
66
- INFRACTION_DOWNTIME = 2,
67
- UNRECOGNIZED = -1,
68
- }
69
- export const InfractionAmino = Infraction;
70
- export function infractionFromJSON(object: any): Infraction {
71
- switch (object) {
72
- case 0:
73
- case "INFRACTION_UNSPECIFIED":
74
- return Infraction.INFRACTION_UNSPECIFIED;
75
- case 1:
76
- case "INFRACTION_DOUBLE_SIGN":
77
- return Infraction.INFRACTION_DOUBLE_SIGN;
78
- case 2:
79
- case "INFRACTION_DOWNTIME":
80
- return Infraction.INFRACTION_DOWNTIME;
81
- case -1:
82
- case "UNRECOGNIZED":
83
- default:
84
- return Infraction.UNRECOGNIZED;
85
- }
86
- }
87
- export function infractionToJSON(object: Infraction): string {
88
- switch (object) {
89
- case Infraction.INFRACTION_UNSPECIFIED:
90
- return "INFRACTION_UNSPECIFIED";
91
- case Infraction.INFRACTION_DOUBLE_SIGN:
92
- return "INFRACTION_DOUBLE_SIGN";
93
- case Infraction.INFRACTION_DOWNTIME:
94
- return "INFRACTION_DOWNTIME";
95
- case Infraction.UNRECOGNIZED:
96
- default:
97
- return "UNRECOGNIZED";
98
- }
99
- }
100
- /**
101
- * HistoricalInfo contains header and validator information for a given block.
102
- * It is stored as part of staking module's state, which persists the `n` most
103
- * recent HistoricalInfo
104
- * (`n` is set by the staking module's `historical_entries` parameter).
105
- */
106
- export interface HistoricalInfo {
107
- header: Header;
108
- valset: Validator[];
109
- }
110
- export interface HistoricalInfoProtoMsg {
111
- typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo";
112
- value: Uint8Array;
113
- }
114
- /**
115
- * HistoricalInfo contains header and validator information for a given block.
116
- * It is stored as part of staking module's state, which persists the `n` most
117
- * recent HistoricalInfo
118
- * (`n` is set by the staking module's `historical_entries` parameter).
119
- */
120
- export interface HistoricalInfoAmino {
121
- header: HeaderAmino;
122
- valset: ValidatorAmino[];
123
- }
124
- export interface HistoricalInfoAminoMsg {
125
- type: "cosmos-sdk/HistoricalInfo";
126
- value: HistoricalInfoAmino;
127
- }
128
- /**
129
- * CommissionRates defines the initial commission rates to be used for creating
130
- * a validator.
131
- */
132
- export interface CommissionRates {
133
- /** rate is the commission rate charged to delegators, as a fraction. */
134
- rate: string;
135
- /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */
136
- maxRate: string;
137
- /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */
138
- maxChangeRate: string;
139
- }
140
- export interface CommissionRatesProtoMsg {
141
- typeUrl: "/cosmos.staking.v1beta1.CommissionRates";
142
- value: Uint8Array;
143
- }
144
- /**
145
- * CommissionRates defines the initial commission rates to be used for creating
146
- * a validator.
147
- */
148
- export interface CommissionRatesAmino {
149
- /** rate is the commission rate charged to delegators, as a fraction. */
150
- rate: string;
151
- /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */
152
- max_rate: string;
153
- /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */
154
- max_change_rate: string;
155
- }
156
- export interface CommissionRatesAminoMsg {
157
- type: "cosmos-sdk/CommissionRates";
158
- value: CommissionRatesAmino;
159
- }
160
- /** Commission defines commission parameters for a given validator. */
161
- export interface Commission {
162
- /** commission_rates defines the initial commission rates to be used for creating a validator. */
163
- commissionRates: CommissionRates;
164
- /** update_time is the last time the commission rate was changed. */
165
- updateTime: Date;
166
- }
167
- export interface CommissionProtoMsg {
168
- typeUrl: "/cosmos.staking.v1beta1.Commission";
169
- value: Uint8Array;
170
- }
171
- /** Commission defines commission parameters for a given validator. */
172
- export interface CommissionAmino {
173
- /** commission_rates defines the initial commission rates to be used for creating a validator. */
174
- commission_rates: CommissionRatesAmino;
175
- /** update_time is the last time the commission rate was changed. */
176
- update_time: string;
177
- }
178
- export interface CommissionAminoMsg {
179
- type: "cosmos-sdk/Commission";
180
- value: CommissionAmino;
181
- }
182
- /** Description defines a validator description. */
183
- export interface Description {
184
- /** moniker defines a human-readable name for the validator. */
185
- moniker: string;
186
- /** identity defines an optional identity signature (ex. UPort or Keybase). */
187
- identity: string;
188
- /** website defines an optional website link. */
189
- website: string;
190
- /** security_contact defines an optional email for security contact. */
191
- securityContact: string;
192
- /** details define other optional details. */
193
- details: string;
194
- }
195
- export interface DescriptionProtoMsg {
196
- typeUrl: "/cosmos.staking.v1beta1.Description";
197
- value: Uint8Array;
198
- }
199
- /** Description defines a validator description. */
200
- export interface DescriptionAmino {
201
- /** moniker defines a human-readable name for the validator. */
202
- moniker: string;
203
- /** identity defines an optional identity signature (ex. UPort or Keybase). */
204
- identity: string;
205
- /** website defines an optional website link. */
206
- website: string;
207
- /** security_contact defines an optional email for security contact. */
208
- security_contact: string;
209
- /** details define other optional details. */
210
- details: string;
211
- }
212
- export interface DescriptionAminoMsg {
213
- type: "cosmos-sdk/Description";
214
- value: DescriptionAmino;
215
- }
216
- /**
217
- * Validator defines a validator, together with the total amount of the
218
- * Validator's bond shares and their exchange rate to coins. Slashing results in
219
- * a decrease in the exchange rate, allowing correct calculation of future
220
- * undelegations without iterating over delegators. When coins are delegated to
221
- * this validator, the validator is credited with a delegation whose number of
222
- * bond shares is based on the amount of coins delegated divided by the current
223
- * exchange rate. Voting power can be calculated as total bonded shares
224
- * multiplied by exchange rate.
225
- */
226
- export interface Validator {
227
- /** operator_address defines the address of the validator's operator; bech encoded in JSON. */
228
- operatorAddress: string;
229
- /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */
230
- consensusPubkey?: Any | undefined;
231
- /** jailed defined whether the validator has been jailed from bonded status or not. */
232
- jailed: boolean;
233
- /** status is the validator status (bonded/unbonding/unbonded). */
234
- status: BondStatus;
235
- /** tokens define the delegated tokens (incl. self-delegation). */
236
- tokens: string;
237
- /** delegator_shares defines total shares issued to a validator's delegators. */
238
- delegatorShares: string;
239
- /** description defines the description terms for the validator. */
240
- description: Description;
241
- /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */
242
- unbondingHeight: bigint;
243
- /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */
244
- unbondingTime: Date;
245
- /** commission defines the commission parameters. */
246
- commission: Commission;
247
- /**
248
- * min_self_delegation is the validator's self declared minimum self delegation.
249
- *
250
- * Since: cosmos-sdk 0.46
251
- */
252
- minSelfDelegation: string;
253
- /** strictly positive if this validator's unbonding has been stopped by external modules */
254
- unbondingOnHoldRefCount: bigint;
255
- /** list of unbonding ids, each uniquely identifing an unbonding of this validator */
256
- unbondingIds: bigint[];
257
- }
258
- export interface ValidatorProtoMsg {
259
- typeUrl: "/cosmos.staking.v1beta1.Validator";
260
- value: Uint8Array;
261
- }
262
- export type ValidatorEncoded = Omit<Validator, "consensusPubkey"> & {
263
- /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */consensusPubkey?: AnyProtoMsg | undefined;
264
- };
265
- /**
266
- * Validator defines a validator, together with the total amount of the
267
- * Validator's bond shares and their exchange rate to coins. Slashing results in
268
- * a decrease in the exchange rate, allowing correct calculation of future
269
- * undelegations without iterating over delegators. When coins are delegated to
270
- * this validator, the validator is credited with a delegation whose number of
271
- * bond shares is based on the amount of coins delegated divided by the current
272
- * exchange rate. Voting power can be calculated as total bonded shares
273
- * multiplied by exchange rate.
274
- */
275
- export interface ValidatorAmino {
276
- /** operator_address defines the address of the validator's operator; bech encoded in JSON. */
277
- operator_address: string;
278
- /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */
279
- consensus_pubkey?: AnyAmino;
280
- /** jailed defined whether the validator has been jailed from bonded status or not. */
281
- jailed: boolean;
282
- /** status is the validator status (bonded/unbonding/unbonded). */
283
- status: BondStatus;
284
- /** tokens define the delegated tokens (incl. self-delegation). */
285
- tokens: string;
286
- /** delegator_shares defines total shares issued to a validator's delegators. */
287
- delegator_shares: string;
288
- /** description defines the description terms for the validator. */
289
- description: DescriptionAmino;
290
- /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */
291
- unbonding_height: string;
292
- /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */
293
- unbonding_time: string;
294
- /** commission defines the commission parameters. */
295
- commission: CommissionAmino;
296
- /**
297
- * min_self_delegation is the validator's self declared minimum self delegation.
298
- *
299
- * Since: cosmos-sdk 0.46
300
- */
301
- min_self_delegation: string;
302
- /** strictly positive if this validator's unbonding has been stopped by external modules */
303
- unbonding_on_hold_ref_count: string;
304
- /** list of unbonding ids, each uniquely identifing an unbonding of this validator */
305
- unbonding_ids: string[];
306
- }
307
- export interface ValidatorAminoMsg {
308
- type: "cosmos-sdk/Validator";
309
- value: ValidatorAmino;
310
- }
311
- /** ValAddresses defines a repeated set of validator addresses. */
312
- export interface ValAddresses {
313
- addresses: string[];
314
- }
315
- export interface ValAddressesProtoMsg {
316
- typeUrl: "/cosmos.staking.v1beta1.ValAddresses";
317
- value: Uint8Array;
318
- }
319
- /** ValAddresses defines a repeated set of validator addresses. */
320
- export interface ValAddressesAmino {
321
- addresses: string[];
322
- }
323
- export interface ValAddressesAminoMsg {
324
- type: "cosmos-sdk/ValAddresses";
325
- value: ValAddressesAmino;
326
- }
327
- /**
328
- * DVPair is struct that just has a delegator-validator pair with no other data.
329
- * It is intended to be used as a marshalable pointer. For example, a DVPair can
330
- * be used to construct the key to getting an UnbondingDelegation from state.
331
- */
332
- export interface DVPair {
333
- delegatorAddress: string;
334
- validatorAddress: string;
335
- }
336
- export interface DVPairProtoMsg {
337
- typeUrl: "/cosmos.staking.v1beta1.DVPair";
338
- value: Uint8Array;
339
- }
340
- /**
341
- * DVPair is struct that just has a delegator-validator pair with no other data.
342
- * It is intended to be used as a marshalable pointer. For example, a DVPair can
343
- * be used to construct the key to getting an UnbondingDelegation from state.
344
- */
345
- export interface DVPairAmino {
346
- delegator_address: string;
347
- validator_address: string;
348
- }
349
- export interface DVPairAminoMsg {
350
- type: "cosmos-sdk/DVPair";
351
- value: DVPairAmino;
352
- }
353
- /** DVPairs defines an array of DVPair objects. */
354
- export interface DVPairs {
355
- pairs: DVPair[];
356
- }
357
- export interface DVPairsProtoMsg {
358
- typeUrl: "/cosmos.staking.v1beta1.DVPairs";
359
- value: Uint8Array;
360
- }
361
- /** DVPairs defines an array of DVPair objects. */
362
- export interface DVPairsAmino {
363
- pairs: DVPairAmino[];
364
- }
365
- export interface DVPairsAminoMsg {
366
- type: "cosmos-sdk/DVPairs";
367
- value: DVPairsAmino;
368
- }
369
- /**
370
- * DVVTriplet is struct that just has a delegator-validator-validator triplet
371
- * with no other data. It is intended to be used as a marshalable pointer. For
372
- * example, a DVVTriplet can be used to construct the key to getting a
373
- * Redelegation from state.
374
- */
375
- export interface DVVTriplet {
376
- delegatorAddress: string;
377
- validatorSrcAddress: string;
378
- validatorDstAddress: string;
379
- }
380
- export interface DVVTripletProtoMsg {
381
- typeUrl: "/cosmos.staking.v1beta1.DVVTriplet";
382
- value: Uint8Array;
383
- }
384
- /**
385
- * DVVTriplet is struct that just has a delegator-validator-validator triplet
386
- * with no other data. It is intended to be used as a marshalable pointer. For
387
- * example, a DVVTriplet can be used to construct the key to getting a
388
- * Redelegation from state.
389
- */
390
- export interface DVVTripletAmino {
391
- delegator_address: string;
392
- validator_src_address: string;
393
- validator_dst_address: string;
394
- }
395
- export interface DVVTripletAminoMsg {
396
- type: "cosmos-sdk/DVVTriplet";
397
- value: DVVTripletAmino;
398
- }
399
- /** DVVTriplets defines an array of DVVTriplet objects. */
400
- export interface DVVTriplets {
401
- triplets: DVVTriplet[];
402
- }
403
- export interface DVVTripletsProtoMsg {
404
- typeUrl: "/cosmos.staking.v1beta1.DVVTriplets";
405
- value: Uint8Array;
406
- }
407
- /** DVVTriplets defines an array of DVVTriplet objects. */
408
- export interface DVVTripletsAmino {
409
- triplets: DVVTripletAmino[];
410
- }
411
- export interface DVVTripletsAminoMsg {
412
- type: "cosmos-sdk/DVVTriplets";
413
- value: DVVTripletsAmino;
414
- }
415
- /**
416
- * Delegation represents the bond with tokens held by an account. It is
417
- * owned by one delegator, and is associated with the voting power of one
418
- * validator.
419
- */
420
- export interface Delegation {
421
- /** delegator_address is the encoded address of the delegator. */
422
- delegatorAddress: string;
423
- /** validator_address is the encoded address of the validator. */
424
- validatorAddress: string;
425
- /** shares define the delegation shares received. */
426
- shares: string;
427
- }
428
- export interface DelegationProtoMsg {
429
- typeUrl: "/cosmos.staking.v1beta1.Delegation";
430
- value: Uint8Array;
431
- }
432
- /**
433
- * Delegation represents the bond with tokens held by an account. It is
434
- * owned by one delegator, and is associated with the voting power of one
435
- * validator.
436
- */
437
- export interface DelegationAmino {
438
- /** delegator_address is the encoded address of the delegator. */
439
- delegator_address: string;
440
- /** validator_address is the encoded address of the validator. */
441
- validator_address: string;
442
- /** shares define the delegation shares received. */
443
- shares: string;
444
- }
445
- export interface DelegationAminoMsg {
446
- type: "cosmos-sdk/Delegation";
447
- value: DelegationAmino;
448
- }
449
- /**
450
- * UnbondingDelegation stores all of a single delegator's unbonding bonds
451
- * for a single validator in an time-ordered list.
452
- */
453
- export interface UnbondingDelegation {
454
- /** delegator_address is the encoded address of the delegator. */
455
- delegatorAddress: string;
456
- /** validator_address is the encoded address of the validator. */
457
- validatorAddress: string;
458
- /** entries are the unbonding delegation entries. */
459
- entries: UnbondingDelegationEntry[];
460
- }
461
- export interface UnbondingDelegationProtoMsg {
462
- typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation";
463
- value: Uint8Array;
464
- }
465
- /**
466
- * UnbondingDelegation stores all of a single delegator's unbonding bonds
467
- * for a single validator in an time-ordered list.
468
- */
469
- export interface UnbondingDelegationAmino {
470
- /** delegator_address is the encoded address of the delegator. */
471
- delegator_address: string;
472
- /** validator_address is the encoded address of the validator. */
473
- validator_address: string;
474
- /** entries are the unbonding delegation entries. */
475
- entries: UnbondingDelegationEntryAmino[];
476
- }
477
- export interface UnbondingDelegationAminoMsg {
478
- type: "cosmos-sdk/UnbondingDelegation";
479
- value: UnbondingDelegationAmino;
480
- }
481
- /** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
482
- export interface UnbondingDelegationEntry {
483
- /** creation_height is the height which the unbonding took place. */
484
- creationHeight: bigint;
485
- /** completion_time is the unix time for unbonding completion. */
486
- completionTime: Date;
487
- /** initial_balance defines the tokens initially scheduled to receive at completion. */
488
- initialBalance: string;
489
- /** balance defines the tokens to receive at completion. */
490
- balance: string;
491
- /** Incrementing id that uniquely identifies this entry */
492
- unbondingId: bigint;
493
- /** Strictly positive if this entry's unbonding has been stopped by external modules */
494
- unbondingOnHoldRefCount: bigint;
495
- }
496
- export interface UnbondingDelegationEntryProtoMsg {
497
- typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry";
498
- value: Uint8Array;
499
- }
500
- /** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
501
- export interface UnbondingDelegationEntryAmino {
502
- /** creation_height is the height which the unbonding took place. */
503
- creation_height: string;
504
- /** completion_time is the unix time for unbonding completion. */
505
- completion_time: string;
506
- /** initial_balance defines the tokens initially scheduled to receive at completion. */
507
- initial_balance: string;
508
- /** balance defines the tokens to receive at completion. */
509
- balance: string;
510
- /** Incrementing id that uniquely identifies this entry */
511
- unbonding_id: string;
512
- /** Strictly positive if this entry's unbonding has been stopped by external modules */
513
- unbonding_on_hold_ref_count: string;
514
- }
515
- export interface UnbondingDelegationEntryAminoMsg {
516
- type: "cosmos-sdk/UnbondingDelegationEntry";
517
- value: UnbondingDelegationEntryAmino;
518
- }
519
- /** RedelegationEntry defines a redelegation object with relevant metadata. */
520
- export interface RedelegationEntry {
521
- /** creation_height defines the height which the redelegation took place. */
522
- creationHeight: bigint;
523
- /** completion_time defines the unix time for redelegation completion. */
524
- completionTime: Date;
525
- /** initial_balance defines the initial balance when redelegation started. */
526
- initialBalance: string;
527
- /** shares_dst is the amount of destination-validator shares created by redelegation. */
528
- sharesDst: string;
529
- /** Incrementing id that uniquely identifies this entry */
530
- unbondingId: bigint;
531
- /** Strictly positive if this entry's unbonding has been stopped by external modules */
532
- unbondingOnHoldRefCount: bigint;
533
- }
534
- export interface RedelegationEntryProtoMsg {
535
- typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry";
536
- value: Uint8Array;
537
- }
538
- /** RedelegationEntry defines a redelegation object with relevant metadata. */
539
- export interface RedelegationEntryAmino {
540
- /** creation_height defines the height which the redelegation took place. */
541
- creation_height: string;
542
- /** completion_time defines the unix time for redelegation completion. */
543
- completion_time: string;
544
- /** initial_balance defines the initial balance when redelegation started. */
545
- initial_balance: string;
546
- /** shares_dst is the amount of destination-validator shares created by redelegation. */
547
- shares_dst: string;
548
- /** Incrementing id that uniquely identifies this entry */
549
- unbonding_id: string;
550
- /** Strictly positive if this entry's unbonding has been stopped by external modules */
551
- unbonding_on_hold_ref_count: string;
552
- }
553
- export interface RedelegationEntryAminoMsg {
554
- type: "cosmos-sdk/RedelegationEntry";
555
- value: RedelegationEntryAmino;
556
- }
557
- /**
558
- * Redelegation contains the list of a particular delegator's redelegating bonds
559
- * from a particular source validator to a particular destination validator.
560
- */
561
- export interface Redelegation {
562
- /** delegator_address is the bech32-encoded address of the delegator. */
563
- delegatorAddress: string;
564
- /** validator_src_address is the validator redelegation source operator address. */
565
- validatorSrcAddress: string;
566
- /** validator_dst_address is the validator redelegation destination operator address. */
567
- validatorDstAddress: string;
568
- /** entries are the redelegation entries. */
569
- entries: RedelegationEntry[];
570
- }
571
- export interface RedelegationProtoMsg {
572
- typeUrl: "/cosmos.staking.v1beta1.Redelegation";
573
- value: Uint8Array;
574
- }
575
- /**
576
- * Redelegation contains the list of a particular delegator's redelegating bonds
577
- * from a particular source validator to a particular destination validator.
578
- */
579
- export interface RedelegationAmino {
580
- /** delegator_address is the bech32-encoded address of the delegator. */
581
- delegator_address: string;
582
- /** validator_src_address is the validator redelegation source operator address. */
583
- validator_src_address: string;
584
- /** validator_dst_address is the validator redelegation destination operator address. */
585
- validator_dst_address: string;
586
- /** entries are the redelegation entries. */
587
- entries: RedelegationEntryAmino[];
588
- }
589
- export interface RedelegationAminoMsg {
590
- type: "cosmos-sdk/Redelegation";
591
- value: RedelegationAmino;
592
- }
593
- /** Params defines the parameters for the x/staking module. */
594
- export interface Params {
595
- /** unbonding_time is the time duration of unbonding. */
596
- unbondingTime: Duration;
597
- /** max_validators is the maximum number of validators. */
598
- maxValidators: number;
599
- /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */
600
- maxEntries: number;
601
- /** historical_entries is the number of historical entries to persist. */
602
- historicalEntries: number;
603
- /** bond_denom defines the bondable coin denomination. */
604
- bondDenom: string;
605
- /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */
606
- minCommissionRate: string;
607
- }
608
- export interface ParamsProtoMsg {
609
- typeUrl: "/cosmos.staking.v1beta1.Params";
610
- value: Uint8Array;
611
- }
612
- /** Params defines the parameters for the x/staking module. */
613
- export interface ParamsAmino {
614
- /** unbonding_time is the time duration of unbonding. */
615
- unbonding_time: DurationAmino;
616
- /** max_validators is the maximum number of validators. */
617
- max_validators: number;
618
- /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */
619
- max_entries: number;
620
- /** historical_entries is the number of historical entries to persist. */
621
- historical_entries: number;
622
- /** bond_denom defines the bondable coin denomination. */
623
- bond_denom: string;
624
- /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */
625
- min_commission_rate: string;
626
- }
627
- export interface ParamsAminoMsg {
628
- type: "cosmos-sdk/x/staking/Params";
629
- value: ParamsAmino;
630
- }
631
- /**
632
- * DelegationResponse is equivalent to Delegation except that it contains a
633
- * balance in addition to shares which is more suitable for client responses.
634
- */
635
- export interface DelegationResponse {
636
- delegation: Delegation;
637
- balance: Coin;
638
- }
639
- export interface DelegationResponseProtoMsg {
640
- typeUrl: "/cosmos.staking.v1beta1.DelegationResponse";
641
- value: Uint8Array;
642
- }
643
- /**
644
- * DelegationResponse is equivalent to Delegation except that it contains a
645
- * balance in addition to shares which is more suitable for client responses.
646
- */
647
- export interface DelegationResponseAmino {
648
- delegation: DelegationAmino;
649
- balance: CoinAmino;
650
- }
651
- export interface DelegationResponseAminoMsg {
652
- type: "cosmos-sdk/DelegationResponse";
653
- value: DelegationResponseAmino;
654
- }
655
- /**
656
- * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it
657
- * contains a balance in addition to shares which is more suitable for client
658
- * responses.
659
- */
660
- export interface RedelegationEntryResponse {
661
- redelegationEntry: RedelegationEntry;
662
- balance: string;
663
- }
664
- export interface RedelegationEntryResponseProtoMsg {
665
- typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse";
666
- value: Uint8Array;
667
- }
668
- /**
669
- * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it
670
- * contains a balance in addition to shares which is more suitable for client
671
- * responses.
672
- */
673
- export interface RedelegationEntryResponseAmino {
674
- redelegation_entry: RedelegationEntryAmino;
675
- balance: string;
676
- }
677
- export interface RedelegationEntryResponseAminoMsg {
678
- type: "cosmos-sdk/RedelegationEntryResponse";
679
- value: RedelegationEntryResponseAmino;
680
- }
681
- /**
682
- * RedelegationResponse is equivalent to a Redelegation except that its entries
683
- * contain a balance in addition to shares which is more suitable for client
684
- * responses.
685
- */
686
- export interface RedelegationResponse {
687
- redelegation: Redelegation;
688
- entries: RedelegationEntryResponse[];
689
- }
690
- export interface RedelegationResponseProtoMsg {
691
- typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse";
692
- value: Uint8Array;
693
- }
694
- /**
695
- * RedelegationResponse is equivalent to a Redelegation except that its entries
696
- * contain a balance in addition to shares which is more suitable for client
697
- * responses.
698
- */
699
- export interface RedelegationResponseAmino {
700
- redelegation: RedelegationAmino;
701
- entries: RedelegationEntryResponseAmino[];
702
- }
703
- export interface RedelegationResponseAminoMsg {
704
- type: "cosmos-sdk/RedelegationResponse";
705
- value: RedelegationResponseAmino;
706
- }
707
- /**
708
- * Pool is used for tracking bonded and not-bonded token supply of the bond
709
- * denomination.
710
- */
711
- export interface Pool {
712
- notBondedTokens: string;
713
- bondedTokens: string;
714
- }
715
- export interface PoolProtoMsg {
716
- typeUrl: "/cosmos.staking.v1beta1.Pool";
717
- value: Uint8Array;
718
- }
719
- /**
720
- * Pool is used for tracking bonded and not-bonded token supply of the bond
721
- * denomination.
722
- */
723
- export interface PoolAmino {
724
- not_bonded_tokens: string;
725
- bonded_tokens: string;
726
- }
727
- export interface PoolAminoMsg {
728
- type: "cosmos-sdk/Pool";
729
- value: PoolAmino;
730
- }
731
- /**
732
- * ValidatorUpdates defines an array of abci.ValidatorUpdate objects.
733
- * TODO: explore moving this to proto/cosmos/base to separate modules from tendermint dependence
734
- */
735
- export interface ValidatorUpdates {
736
- updates: ValidatorUpdate[];
737
- }
738
- export interface ValidatorUpdatesProtoMsg {
739
- typeUrl: "/cosmos.staking.v1beta1.ValidatorUpdates";
740
- value: Uint8Array;
741
- }
742
- /**
743
- * ValidatorUpdates defines an array of abci.ValidatorUpdate objects.
744
- * TODO: explore moving this to proto/cosmos/base to separate modules from tendermint dependence
745
- */
746
- export interface ValidatorUpdatesAmino {
747
- updates: ValidatorUpdateAmino[];
748
- }
749
- export interface ValidatorUpdatesAminoMsg {
750
- type: "cosmos-sdk/ValidatorUpdates";
751
- value: ValidatorUpdatesAmino;
752
- }
753
- function createBaseHistoricalInfo(): HistoricalInfo {
754
- return {
755
- header: Header.fromPartial({}),
756
- valset: []
757
- };
758
- }
759
- export const HistoricalInfo = {
760
- typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo",
761
- aminoType: "cosmos-sdk/HistoricalInfo",
762
- is(o: any): o is HistoricalInfo {
763
- return o && (o.$typeUrl === HistoricalInfo.typeUrl || Header.is(o.header) && Array.isArray(o.valset) && (!o.valset.length || Validator.is(o.valset[0])));
764
- },
765
- isAmino(o: any): o is HistoricalInfoAmino {
766
- return o && (o.$typeUrl === HistoricalInfo.typeUrl || Header.isAmino(o.header) && Array.isArray(o.valset) && (!o.valset.length || Validator.isAmino(o.valset[0])));
767
- },
768
- encode(message: HistoricalInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
769
- if (message.header !== undefined) {
770
- Header.encode(message.header, writer.uint32(10).fork()).ldelim();
771
- }
772
- for (const v of message.valset) {
773
- Validator.encode(v!, writer.uint32(18).fork()).ldelim();
774
- }
775
- return writer;
776
- },
777
- decode(input: BinaryReader | Uint8Array, length?: number): HistoricalInfo {
778
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
779
- let end = length === undefined ? reader.len : reader.pos + length;
780
- const message = createBaseHistoricalInfo();
781
- while (reader.pos < end) {
782
- const tag = reader.uint32();
783
- switch (tag >>> 3) {
784
- case 1:
785
- message.header = Header.decode(reader, reader.uint32());
786
- break;
787
- case 2:
788
- message.valset.push(Validator.decode(reader, reader.uint32()));
789
- break;
790
- default:
791
- reader.skipType(tag & 7);
792
- break;
793
- }
794
- }
795
- return message;
796
- },
797
- fromPartial(object: DeepPartial<HistoricalInfo>): HistoricalInfo {
798
- const message = createBaseHistoricalInfo();
799
- message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined;
800
- message.valset = object.valset?.map(e => Validator.fromPartial(e)) || [];
801
- return message;
802
- },
803
- fromAmino(object: HistoricalInfoAmino): HistoricalInfo {
804
- const message = createBaseHistoricalInfo();
805
- if (object.header !== undefined && object.header !== null) {
806
- message.header = Header.fromAmino(object.header);
807
- }
808
- message.valset = object.valset?.map(e => Validator.fromAmino(e)) || [];
809
- return message;
810
- },
811
- toAmino(message: HistoricalInfo): HistoricalInfoAmino {
812
- const obj: any = {};
813
- obj.header = message.header ? Header.toAmino(message.header) : Header.toAmino(Header.fromPartial({}));
814
- if (message.valset) {
815
- obj.valset = message.valset.map(e => e ? Validator.toAmino(e) : undefined);
816
- } else {
817
- obj.valset = message.valset;
818
- }
819
- return obj;
820
- },
821
- fromAminoMsg(object: HistoricalInfoAminoMsg): HistoricalInfo {
822
- return HistoricalInfo.fromAmino(object.value);
823
- },
824
- toAminoMsg(message: HistoricalInfo): HistoricalInfoAminoMsg {
825
- return {
826
- type: "cosmos-sdk/HistoricalInfo",
827
- value: HistoricalInfo.toAmino(message)
828
- };
829
- },
830
- fromProtoMsg(message: HistoricalInfoProtoMsg): HistoricalInfo {
831
- return HistoricalInfo.decode(message.value);
832
- },
833
- toProto(message: HistoricalInfo): Uint8Array {
834
- return HistoricalInfo.encode(message).finish();
835
- },
836
- toProtoMsg(message: HistoricalInfo): HistoricalInfoProtoMsg {
837
- return {
838
- typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo",
839
- value: HistoricalInfo.encode(message).finish()
840
- };
841
- }
842
- };
843
- GlobalDecoderRegistry.register(HistoricalInfo.typeUrl, HistoricalInfo);
844
- GlobalDecoderRegistry.registerAminoProtoMapping(HistoricalInfo.aminoType, HistoricalInfo.typeUrl);
845
- function createBaseCommissionRates(): CommissionRates {
846
- return {
847
- rate: "",
848
- maxRate: "",
849
- maxChangeRate: ""
850
- };
851
- }
852
- export const CommissionRates = {
853
- typeUrl: "/cosmos.staking.v1beta1.CommissionRates",
854
- aminoType: "cosmos-sdk/CommissionRates",
855
- is(o: any): o is CommissionRates {
856
- return o && (o.$typeUrl === CommissionRates.typeUrl || typeof o.rate === "string" && typeof o.maxRate === "string" && typeof o.maxChangeRate === "string");
857
- },
858
- isAmino(o: any): o is CommissionRatesAmino {
859
- return o && (o.$typeUrl === CommissionRates.typeUrl || typeof o.rate === "string" && typeof o.max_rate === "string" && typeof o.max_change_rate === "string");
860
- },
861
- encode(message: CommissionRates, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
862
- if (message.rate !== "") {
863
- writer.uint32(10).string(message.rate);
864
- }
865
- if (message.maxRate !== "") {
866
- writer.uint32(18).string(message.maxRate);
867
- }
868
- if (message.maxChangeRate !== "") {
869
- writer.uint32(26).string(message.maxChangeRate);
870
- }
871
- return writer;
872
- },
873
- decode(input: BinaryReader | Uint8Array, length?: number): CommissionRates {
874
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
875
- let end = length === undefined ? reader.len : reader.pos + length;
876
- const message = createBaseCommissionRates();
877
- while (reader.pos < end) {
878
- const tag = reader.uint32();
879
- switch (tag >>> 3) {
880
- case 1:
881
- message.rate = reader.string();
882
- break;
883
- case 2:
884
- message.maxRate = reader.string();
885
- break;
886
- case 3:
887
- message.maxChangeRate = reader.string();
888
- break;
889
- default:
890
- reader.skipType(tag & 7);
891
- break;
892
- }
893
- }
894
- return message;
895
- },
896
- fromPartial(object: DeepPartial<CommissionRates>): CommissionRates {
897
- const message = createBaseCommissionRates();
898
- message.rate = object.rate ?? "";
899
- message.maxRate = object.maxRate ?? "";
900
- message.maxChangeRate = object.maxChangeRate ?? "";
901
- return message;
902
- },
903
- fromAmino(object: CommissionRatesAmino): CommissionRates {
904
- const message = createBaseCommissionRates();
905
- if (object.rate !== undefined && object.rate !== null) {
906
- message.rate = object.rate;
907
- }
908
- if (object.max_rate !== undefined && object.max_rate !== null) {
909
- message.maxRate = object.max_rate;
910
- }
911
- if (object.max_change_rate !== undefined && object.max_change_rate !== null) {
912
- message.maxChangeRate = object.max_change_rate;
913
- }
914
- return message;
915
- },
916
- toAmino(message: CommissionRates): CommissionRatesAmino {
917
- const obj: any = {};
918
- obj.rate = message.rate ?? "";
919
- obj.max_rate = message.maxRate ?? "";
920
- obj.max_change_rate = message.maxChangeRate ?? "";
921
- return obj;
922
- },
923
- fromAminoMsg(object: CommissionRatesAminoMsg): CommissionRates {
924
- return CommissionRates.fromAmino(object.value);
925
- },
926
- toAminoMsg(message: CommissionRates): CommissionRatesAminoMsg {
927
- return {
928
- type: "cosmos-sdk/CommissionRates",
929
- value: CommissionRates.toAmino(message)
930
- };
931
- },
932
- fromProtoMsg(message: CommissionRatesProtoMsg): CommissionRates {
933
- return CommissionRates.decode(message.value);
934
- },
935
- toProto(message: CommissionRates): Uint8Array {
936
- return CommissionRates.encode(message).finish();
937
- },
938
- toProtoMsg(message: CommissionRates): CommissionRatesProtoMsg {
939
- return {
940
- typeUrl: "/cosmos.staking.v1beta1.CommissionRates",
941
- value: CommissionRates.encode(message).finish()
942
- };
943
- }
944
- };
945
- GlobalDecoderRegistry.register(CommissionRates.typeUrl, CommissionRates);
946
- GlobalDecoderRegistry.registerAminoProtoMapping(CommissionRates.aminoType, CommissionRates.typeUrl);
947
- function createBaseCommission(): Commission {
948
- return {
949
- commissionRates: CommissionRates.fromPartial({}),
950
- updateTime: new Date()
951
- };
952
- }
953
- export const Commission = {
954
- typeUrl: "/cosmos.staking.v1beta1.Commission",
955
- aminoType: "cosmos-sdk/Commission",
956
- is(o: any): o is Commission {
957
- return o && (o.$typeUrl === Commission.typeUrl || CommissionRates.is(o.commissionRates) && Timestamp.is(o.updateTime));
958
- },
959
- isAmino(o: any): o is CommissionAmino {
960
- return o && (o.$typeUrl === Commission.typeUrl || CommissionRates.isAmino(o.commission_rates) && Timestamp.isAmino(o.update_time));
961
- },
962
- encode(message: Commission, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
963
- if (message.commissionRates !== undefined) {
964
- CommissionRates.encode(message.commissionRates, writer.uint32(10).fork()).ldelim();
965
- }
966
- if (message.updateTime !== undefined) {
967
- Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(18).fork()).ldelim();
968
- }
969
- return writer;
970
- },
971
- decode(input: BinaryReader | Uint8Array, length?: number): Commission {
972
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
973
- let end = length === undefined ? reader.len : reader.pos + length;
974
- const message = createBaseCommission();
975
- while (reader.pos < end) {
976
- const tag = reader.uint32();
977
- switch (tag >>> 3) {
978
- case 1:
979
- message.commissionRates = CommissionRates.decode(reader, reader.uint32());
980
- break;
981
- case 2:
982
- message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
983
- break;
984
- default:
985
- reader.skipType(tag & 7);
986
- break;
987
- }
988
- }
989
- return message;
990
- },
991
- fromPartial(object: DeepPartial<Commission>): Commission {
992
- const message = createBaseCommission();
993
- message.commissionRates = object.commissionRates !== undefined && object.commissionRates !== null ? CommissionRates.fromPartial(object.commissionRates) : undefined;
994
- message.updateTime = object.updateTime ?? undefined;
995
- return message;
996
- },
997
- fromAmino(object: CommissionAmino): Commission {
998
- const message = createBaseCommission();
999
- if (object.commission_rates !== undefined && object.commission_rates !== null) {
1000
- message.commissionRates = CommissionRates.fromAmino(object.commission_rates);
1001
- }
1002
- if (object.update_time !== undefined && object.update_time !== null) {
1003
- message.updateTime = fromTimestamp(Timestamp.fromAmino(object.update_time));
1004
- }
1005
- return message;
1006
- },
1007
- toAmino(message: Commission): CommissionAmino {
1008
- const obj: any = {};
1009
- obj.commission_rates = message.commissionRates ? CommissionRates.toAmino(message.commissionRates) : CommissionRates.toAmino(CommissionRates.fromPartial({}));
1010
- obj.update_time = message.updateTime ? Timestamp.toAmino(toTimestamp(message.updateTime)) : new Date();
1011
- return obj;
1012
- },
1013
- fromAminoMsg(object: CommissionAminoMsg): Commission {
1014
- return Commission.fromAmino(object.value);
1015
- },
1016
- toAminoMsg(message: Commission): CommissionAminoMsg {
1017
- return {
1018
- type: "cosmos-sdk/Commission",
1019
- value: Commission.toAmino(message)
1020
- };
1021
- },
1022
- fromProtoMsg(message: CommissionProtoMsg): Commission {
1023
- return Commission.decode(message.value);
1024
- },
1025
- toProto(message: Commission): Uint8Array {
1026
- return Commission.encode(message).finish();
1027
- },
1028
- toProtoMsg(message: Commission): CommissionProtoMsg {
1029
- return {
1030
- typeUrl: "/cosmos.staking.v1beta1.Commission",
1031
- value: Commission.encode(message).finish()
1032
- };
1033
- }
1034
- };
1035
- GlobalDecoderRegistry.register(Commission.typeUrl, Commission);
1036
- GlobalDecoderRegistry.registerAminoProtoMapping(Commission.aminoType, Commission.typeUrl);
1037
- function createBaseDescription(): Description {
1038
- return {
1039
- moniker: "",
1040
- identity: "",
1041
- website: "",
1042
- securityContact: "",
1043
- details: ""
1044
- };
1045
- }
1046
- export const Description = {
1047
- typeUrl: "/cosmos.staking.v1beta1.Description",
1048
- aminoType: "cosmos-sdk/Description",
1049
- is(o: any): o is Description {
1050
- return o && (o.$typeUrl === Description.typeUrl || typeof o.moniker === "string" && typeof o.identity === "string" && typeof o.website === "string" && typeof o.securityContact === "string" && typeof o.details === "string");
1051
- },
1052
- isAmino(o: any): o is DescriptionAmino {
1053
- return o && (o.$typeUrl === Description.typeUrl || typeof o.moniker === "string" && typeof o.identity === "string" && typeof o.website === "string" && typeof o.security_contact === "string" && typeof o.details === "string");
1054
- },
1055
- encode(message: Description, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1056
- if (message.moniker !== "") {
1057
- writer.uint32(10).string(message.moniker);
1058
- }
1059
- if (message.identity !== "") {
1060
- writer.uint32(18).string(message.identity);
1061
- }
1062
- if (message.website !== "") {
1063
- writer.uint32(26).string(message.website);
1064
- }
1065
- if (message.securityContact !== "") {
1066
- writer.uint32(34).string(message.securityContact);
1067
- }
1068
- if (message.details !== "") {
1069
- writer.uint32(42).string(message.details);
1070
- }
1071
- return writer;
1072
- },
1073
- decode(input: BinaryReader | Uint8Array, length?: number): Description {
1074
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1075
- let end = length === undefined ? reader.len : reader.pos + length;
1076
- const message = createBaseDescription();
1077
- while (reader.pos < end) {
1078
- const tag = reader.uint32();
1079
- switch (tag >>> 3) {
1080
- case 1:
1081
- message.moniker = reader.string();
1082
- break;
1083
- case 2:
1084
- message.identity = reader.string();
1085
- break;
1086
- case 3:
1087
- message.website = reader.string();
1088
- break;
1089
- case 4:
1090
- message.securityContact = reader.string();
1091
- break;
1092
- case 5:
1093
- message.details = reader.string();
1094
- break;
1095
- default:
1096
- reader.skipType(tag & 7);
1097
- break;
1098
- }
1099
- }
1100
- return message;
1101
- },
1102
- fromPartial(object: DeepPartial<Description>): Description {
1103
- const message = createBaseDescription();
1104
- message.moniker = object.moniker ?? "";
1105
- message.identity = object.identity ?? "";
1106
- message.website = object.website ?? "";
1107
- message.securityContact = object.securityContact ?? "";
1108
- message.details = object.details ?? "";
1109
- return message;
1110
- },
1111
- fromAmino(object: DescriptionAmino): Description {
1112
- const message = createBaseDescription();
1113
- if (object.moniker !== undefined && object.moniker !== null) {
1114
- message.moniker = object.moniker;
1115
- }
1116
- if (object.identity !== undefined && object.identity !== null) {
1117
- message.identity = object.identity;
1118
- }
1119
- if (object.website !== undefined && object.website !== null) {
1120
- message.website = object.website;
1121
- }
1122
- if (object.security_contact !== undefined && object.security_contact !== null) {
1123
- message.securityContact = object.security_contact;
1124
- }
1125
- if (object.details !== undefined && object.details !== null) {
1126
- message.details = object.details;
1127
- }
1128
- return message;
1129
- },
1130
- toAmino(message: Description): DescriptionAmino {
1131
- const obj: any = {};
1132
- obj.moniker = message.moniker === "" ? undefined : message.moniker;
1133
- obj.identity = message.identity === "" ? undefined : message.identity;
1134
- obj.website = message.website === "" ? undefined : message.website;
1135
- obj.security_contact = message.securityContact === "" ? undefined : message.securityContact;
1136
- obj.details = message.details === "" ? undefined : message.details;
1137
- return obj;
1138
- },
1139
- fromAminoMsg(object: DescriptionAminoMsg): Description {
1140
- return Description.fromAmino(object.value);
1141
- },
1142
- toAminoMsg(message: Description): DescriptionAminoMsg {
1143
- return {
1144
- type: "cosmos-sdk/Description",
1145
- value: Description.toAmino(message)
1146
- };
1147
- },
1148
- fromProtoMsg(message: DescriptionProtoMsg): Description {
1149
- return Description.decode(message.value);
1150
- },
1151
- toProto(message: Description): Uint8Array {
1152
- return Description.encode(message).finish();
1153
- },
1154
- toProtoMsg(message: Description): DescriptionProtoMsg {
1155
- return {
1156
- typeUrl: "/cosmos.staking.v1beta1.Description",
1157
- value: Description.encode(message).finish()
1158
- };
1159
- }
1160
- };
1161
- GlobalDecoderRegistry.register(Description.typeUrl, Description);
1162
- GlobalDecoderRegistry.registerAminoProtoMapping(Description.aminoType, Description.typeUrl);
1163
- function createBaseValidator(): Validator {
1164
- return {
1165
- operatorAddress: "",
1166
- consensusPubkey: undefined,
1167
- jailed: false,
1168
- status: 0,
1169
- tokens: "",
1170
- delegatorShares: "",
1171
- description: Description.fromPartial({}),
1172
- unbondingHeight: BigInt(0),
1173
- unbondingTime: new Date(),
1174
- commission: Commission.fromPartial({}),
1175
- minSelfDelegation: "",
1176
- unbondingOnHoldRefCount: BigInt(0),
1177
- unbondingIds: []
1178
- };
1179
- }
1180
- export const Validator = {
1181
- typeUrl: "/cosmos.staking.v1beta1.Validator",
1182
- aminoType: "cosmos-sdk/Validator",
1183
- is(o: any): o is Validator {
1184
- return o && (o.$typeUrl === Validator.typeUrl || typeof o.operatorAddress === "string" && typeof o.jailed === "boolean" && isSet(o.status) && typeof o.tokens === "string" && typeof o.delegatorShares === "string" && Description.is(o.description) && typeof o.unbondingHeight === "bigint" && Timestamp.is(o.unbondingTime) && Commission.is(o.commission) && typeof o.minSelfDelegation === "string" && typeof o.unbondingOnHoldRefCount === "bigint" && Array.isArray(o.unbondingIds) && (!o.unbondingIds.length || typeof o.unbondingIds[0] === "bigint"));
1185
- },
1186
- isAmino(o: any): o is ValidatorAmino {
1187
- return o && (o.$typeUrl === Validator.typeUrl || typeof o.operator_address === "string" && typeof o.jailed === "boolean" && isSet(o.status) && typeof o.tokens === "string" && typeof o.delegator_shares === "string" && Description.isAmino(o.description) && typeof o.unbonding_height === "bigint" && Timestamp.isAmino(o.unbonding_time) && Commission.isAmino(o.commission) && typeof o.min_self_delegation === "string" && typeof o.unbonding_on_hold_ref_count === "bigint" && Array.isArray(o.unbonding_ids) && (!o.unbonding_ids.length || typeof o.unbonding_ids[0] === "bigint"));
1188
- },
1189
- encode(message: Validator, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1190
- if (message.operatorAddress !== "") {
1191
- writer.uint32(10).string(message.operatorAddress);
1192
- }
1193
- if (message.consensusPubkey !== undefined) {
1194
- Any.encode(GlobalDecoderRegistry.wrapAny(message.consensusPubkey), writer.uint32(18).fork()).ldelim();
1195
- }
1196
- if (message.jailed === true) {
1197
- writer.uint32(24).bool(message.jailed);
1198
- }
1199
- if (message.status !== 0) {
1200
- writer.uint32(32).int32(message.status);
1201
- }
1202
- if (message.tokens !== "") {
1203
- writer.uint32(42).string(message.tokens);
1204
- }
1205
- if (message.delegatorShares !== "") {
1206
- writer.uint32(50).string(message.delegatorShares);
1207
- }
1208
- if (message.description !== undefined) {
1209
- Description.encode(message.description, writer.uint32(58).fork()).ldelim();
1210
- }
1211
- if (message.unbondingHeight !== BigInt(0)) {
1212
- writer.uint32(64).int64(message.unbondingHeight);
1213
- }
1214
- if (message.unbondingTime !== undefined) {
1215
- Timestamp.encode(toTimestamp(message.unbondingTime), writer.uint32(74).fork()).ldelim();
1216
- }
1217
- if (message.commission !== undefined) {
1218
- Commission.encode(message.commission, writer.uint32(82).fork()).ldelim();
1219
- }
1220
- if (message.minSelfDelegation !== "") {
1221
- writer.uint32(90).string(message.minSelfDelegation);
1222
- }
1223
- if (message.unbondingOnHoldRefCount !== BigInt(0)) {
1224
- writer.uint32(96).int64(message.unbondingOnHoldRefCount);
1225
- }
1226
- writer.uint32(106).fork();
1227
- for (const v of message.unbondingIds) {
1228
- writer.uint64(v);
1229
- }
1230
- writer.ldelim();
1231
- return writer;
1232
- },
1233
- decode(input: BinaryReader | Uint8Array, length?: number): Validator {
1234
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1235
- let end = length === undefined ? reader.len : reader.pos + length;
1236
- const message = createBaseValidator();
1237
- while (reader.pos < end) {
1238
- const tag = reader.uint32();
1239
- switch (tag >>> 3) {
1240
- case 1:
1241
- message.operatorAddress = reader.string();
1242
- break;
1243
- case 2:
1244
- message.consensusPubkey = GlobalDecoderRegistry.unwrapAny(reader);
1245
- break;
1246
- case 3:
1247
- message.jailed = reader.bool();
1248
- break;
1249
- case 4:
1250
- message.status = reader.int32() as any;
1251
- break;
1252
- case 5:
1253
- message.tokens = reader.string();
1254
- break;
1255
- case 6:
1256
- message.delegatorShares = reader.string();
1257
- break;
1258
- case 7:
1259
- message.description = Description.decode(reader, reader.uint32());
1260
- break;
1261
- case 8:
1262
- message.unbondingHeight = reader.int64();
1263
- break;
1264
- case 9:
1265
- message.unbondingTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
1266
- break;
1267
- case 10:
1268
- message.commission = Commission.decode(reader, reader.uint32());
1269
- break;
1270
- case 11:
1271
- message.minSelfDelegation = reader.string();
1272
- break;
1273
- case 12:
1274
- message.unbondingOnHoldRefCount = reader.int64();
1275
- break;
1276
- case 13:
1277
- if ((tag & 7) === 2) {
1278
- const end2 = reader.uint32() + reader.pos;
1279
- while (reader.pos < end2) {
1280
- message.unbondingIds.push(reader.uint64());
1281
- }
1282
- } else {
1283
- message.unbondingIds.push(reader.uint64());
1284
- }
1285
- break;
1286
- default:
1287
- reader.skipType(tag & 7);
1288
- break;
1289
- }
1290
- }
1291
- return message;
1292
- },
1293
- fromPartial(object: DeepPartial<Validator>): Validator {
1294
- const message = createBaseValidator();
1295
- message.operatorAddress = object.operatorAddress ?? "";
1296
- message.consensusPubkey = object.consensusPubkey !== undefined && object.consensusPubkey !== null ? GlobalDecoderRegistry.fromPartial(object.consensusPubkey) : undefined;
1297
- message.jailed = object.jailed ?? false;
1298
- message.status = object.status ?? 0;
1299
- message.tokens = object.tokens ?? "";
1300
- message.delegatorShares = object.delegatorShares ?? "";
1301
- message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined;
1302
- message.unbondingHeight = object.unbondingHeight !== undefined && object.unbondingHeight !== null ? BigInt(object.unbondingHeight.toString()) : BigInt(0);
1303
- message.unbondingTime = object.unbondingTime ?? undefined;
1304
- message.commission = object.commission !== undefined && object.commission !== null ? Commission.fromPartial(object.commission) : undefined;
1305
- message.minSelfDelegation = object.minSelfDelegation ?? "";
1306
- message.unbondingOnHoldRefCount = object.unbondingOnHoldRefCount !== undefined && object.unbondingOnHoldRefCount !== null ? BigInt(object.unbondingOnHoldRefCount.toString()) : BigInt(0);
1307
- message.unbondingIds = object.unbondingIds?.map(e => BigInt(e.toString())) || [];
1308
- return message;
1309
- },
1310
- fromAmino(object: ValidatorAmino): Validator {
1311
- const message = createBaseValidator();
1312
- if (object.operator_address !== undefined && object.operator_address !== null) {
1313
- message.operatorAddress = object.operator_address;
1314
- }
1315
- if (object.consensus_pubkey !== undefined && object.consensus_pubkey !== null) {
1316
- message.consensusPubkey = encodePubkey(object.consensus_pubkey);
1317
- }
1318
- if (object.jailed !== undefined && object.jailed !== null) {
1319
- message.jailed = object.jailed;
1320
- }
1321
- if (object.status !== undefined && object.status !== null) {
1322
- message.status = object.status;
1323
- }
1324
- if (object.tokens !== undefined && object.tokens !== null) {
1325
- message.tokens = object.tokens;
1326
- }
1327
- if (object.delegator_shares !== undefined && object.delegator_shares !== null) {
1328
- message.delegatorShares = object.delegator_shares;
1329
- }
1330
- if (object.description !== undefined && object.description !== null) {
1331
- message.description = Description.fromAmino(object.description);
1332
- }
1333
- if (object.unbonding_height !== undefined && object.unbonding_height !== null) {
1334
- message.unbondingHeight = BigInt(object.unbonding_height);
1335
- }
1336
- if (object.unbonding_time !== undefined && object.unbonding_time !== null) {
1337
- message.unbondingTime = fromTimestamp(Timestamp.fromAmino(object.unbonding_time));
1338
- }
1339
- if (object.commission !== undefined && object.commission !== null) {
1340
- message.commission = Commission.fromAmino(object.commission);
1341
- }
1342
- if (object.min_self_delegation !== undefined && object.min_self_delegation !== null) {
1343
- message.minSelfDelegation = object.min_self_delegation;
1344
- }
1345
- if (object.unbonding_on_hold_ref_count !== undefined && object.unbonding_on_hold_ref_count !== null) {
1346
- message.unbondingOnHoldRefCount = BigInt(object.unbonding_on_hold_ref_count);
1347
- }
1348
- message.unbondingIds = object.unbonding_ids?.map(e => BigInt(e)) || [];
1349
- return message;
1350
- },
1351
- toAmino(message: Validator): ValidatorAmino {
1352
- const obj: any = {};
1353
- obj.operator_address = message.operatorAddress === "" ? undefined : message.operatorAddress;
1354
- obj.consensus_pubkey = message.consensusPubkey ? decodePubkey(message.consensusPubkey) : undefined;
1355
- obj.jailed = message.jailed === false ? undefined : message.jailed;
1356
- obj.status = message.status === 0 ? undefined : message.status;
1357
- obj.tokens = message.tokens === "" ? undefined : message.tokens;
1358
- obj.delegator_shares = message.delegatorShares === "" ? undefined : message.delegatorShares;
1359
- obj.description = message.description ? Description.toAmino(message.description) : Description.toAmino(Description.fromPartial({}));
1360
- obj.unbonding_height = message.unbondingHeight !== BigInt(0) ? message.unbondingHeight?.toString() : undefined;
1361
- obj.unbonding_time = message.unbondingTime ? Timestamp.toAmino(toTimestamp(message.unbondingTime)) : new Date();
1362
- obj.commission = message.commission ? Commission.toAmino(message.commission) : Commission.toAmino(Commission.fromPartial({}));
1363
- obj.min_self_delegation = message.minSelfDelegation === "" ? undefined : message.minSelfDelegation;
1364
- obj.unbonding_on_hold_ref_count = message.unbondingOnHoldRefCount !== BigInt(0) ? message.unbondingOnHoldRefCount?.toString() : undefined;
1365
- if (message.unbondingIds) {
1366
- obj.unbonding_ids = message.unbondingIds.map(e => e.toString());
1367
- } else {
1368
- obj.unbonding_ids = message.unbondingIds;
1369
- }
1370
- return obj;
1371
- },
1372
- fromAminoMsg(object: ValidatorAminoMsg): Validator {
1373
- return Validator.fromAmino(object.value);
1374
- },
1375
- toAminoMsg(message: Validator): ValidatorAminoMsg {
1376
- return {
1377
- type: "cosmos-sdk/Validator",
1378
- value: Validator.toAmino(message)
1379
- };
1380
- },
1381
- fromProtoMsg(message: ValidatorProtoMsg): Validator {
1382
- return Validator.decode(message.value);
1383
- },
1384
- toProto(message: Validator): Uint8Array {
1385
- return Validator.encode(message).finish();
1386
- },
1387
- toProtoMsg(message: Validator): ValidatorProtoMsg {
1388
- return {
1389
- typeUrl: "/cosmos.staking.v1beta1.Validator",
1390
- value: Validator.encode(message).finish()
1391
- };
1392
- }
1393
- };
1394
- GlobalDecoderRegistry.register(Validator.typeUrl, Validator);
1395
- GlobalDecoderRegistry.registerAminoProtoMapping(Validator.aminoType, Validator.typeUrl);
1396
- function createBaseValAddresses(): ValAddresses {
1397
- return {
1398
- addresses: []
1399
- };
1400
- }
1401
- export const ValAddresses = {
1402
- typeUrl: "/cosmos.staking.v1beta1.ValAddresses",
1403
- aminoType: "cosmos-sdk/ValAddresses",
1404
- is(o: any): o is ValAddresses {
1405
- return o && (o.$typeUrl === ValAddresses.typeUrl || Array.isArray(o.addresses) && (!o.addresses.length || typeof o.addresses[0] === "string"));
1406
- },
1407
- isAmino(o: any): o is ValAddressesAmino {
1408
- return o && (o.$typeUrl === ValAddresses.typeUrl || Array.isArray(o.addresses) && (!o.addresses.length || typeof o.addresses[0] === "string"));
1409
- },
1410
- encode(message: ValAddresses, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1411
- for (const v of message.addresses) {
1412
- writer.uint32(10).string(v!);
1413
- }
1414
- return writer;
1415
- },
1416
- decode(input: BinaryReader | Uint8Array, length?: number): ValAddresses {
1417
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1418
- let end = length === undefined ? reader.len : reader.pos + length;
1419
- const message = createBaseValAddresses();
1420
- while (reader.pos < end) {
1421
- const tag = reader.uint32();
1422
- switch (tag >>> 3) {
1423
- case 1:
1424
- message.addresses.push(reader.string());
1425
- break;
1426
- default:
1427
- reader.skipType(tag & 7);
1428
- break;
1429
- }
1430
- }
1431
- return message;
1432
- },
1433
- fromPartial(object: DeepPartial<ValAddresses>): ValAddresses {
1434
- const message = createBaseValAddresses();
1435
- message.addresses = object.addresses?.map(e => e) || [];
1436
- return message;
1437
- },
1438
- fromAmino(object: ValAddressesAmino): ValAddresses {
1439
- const message = createBaseValAddresses();
1440
- message.addresses = object.addresses?.map(e => e) || [];
1441
- return message;
1442
- },
1443
- toAmino(message: ValAddresses): ValAddressesAmino {
1444
- const obj: any = {};
1445
- if (message.addresses) {
1446
- obj.addresses = message.addresses.map(e => e);
1447
- } else {
1448
- obj.addresses = message.addresses;
1449
- }
1450
- return obj;
1451
- },
1452
- fromAminoMsg(object: ValAddressesAminoMsg): ValAddresses {
1453
- return ValAddresses.fromAmino(object.value);
1454
- },
1455
- toAminoMsg(message: ValAddresses): ValAddressesAminoMsg {
1456
- return {
1457
- type: "cosmos-sdk/ValAddresses",
1458
- value: ValAddresses.toAmino(message)
1459
- };
1460
- },
1461
- fromProtoMsg(message: ValAddressesProtoMsg): ValAddresses {
1462
- return ValAddresses.decode(message.value);
1463
- },
1464
- toProto(message: ValAddresses): Uint8Array {
1465
- return ValAddresses.encode(message).finish();
1466
- },
1467
- toProtoMsg(message: ValAddresses): ValAddressesProtoMsg {
1468
- return {
1469
- typeUrl: "/cosmos.staking.v1beta1.ValAddresses",
1470
- value: ValAddresses.encode(message).finish()
1471
- };
1472
- }
1473
- };
1474
- GlobalDecoderRegistry.register(ValAddresses.typeUrl, ValAddresses);
1475
- GlobalDecoderRegistry.registerAminoProtoMapping(ValAddresses.aminoType, ValAddresses.typeUrl);
1476
- function createBaseDVPair(): DVPair {
1477
- return {
1478
- delegatorAddress: "",
1479
- validatorAddress: ""
1480
- };
1481
- }
1482
- export const DVPair = {
1483
- typeUrl: "/cosmos.staking.v1beta1.DVPair",
1484
- aminoType: "cosmos-sdk/DVPair",
1485
- is(o: any): o is DVPair {
1486
- return o && (o.$typeUrl === DVPair.typeUrl || typeof o.delegatorAddress === "string" && typeof o.validatorAddress === "string");
1487
- },
1488
- isAmino(o: any): o is DVPairAmino {
1489
- return o && (o.$typeUrl === DVPair.typeUrl || typeof o.delegator_address === "string" && typeof o.validator_address === "string");
1490
- },
1491
- encode(message: DVPair, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1492
- if (message.delegatorAddress !== "") {
1493
- writer.uint32(10).string(message.delegatorAddress);
1494
- }
1495
- if (message.validatorAddress !== "") {
1496
- writer.uint32(18).string(message.validatorAddress);
1497
- }
1498
- return writer;
1499
- },
1500
- decode(input: BinaryReader | Uint8Array, length?: number): DVPair {
1501
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1502
- let end = length === undefined ? reader.len : reader.pos + length;
1503
- const message = createBaseDVPair();
1504
- while (reader.pos < end) {
1505
- const tag = reader.uint32();
1506
- switch (tag >>> 3) {
1507
- case 1:
1508
- message.delegatorAddress = reader.string();
1509
- break;
1510
- case 2:
1511
- message.validatorAddress = reader.string();
1512
- break;
1513
- default:
1514
- reader.skipType(tag & 7);
1515
- break;
1516
- }
1517
- }
1518
- return message;
1519
- },
1520
- fromPartial(object: DeepPartial<DVPair>): DVPair {
1521
- const message = createBaseDVPair();
1522
- message.delegatorAddress = object.delegatorAddress ?? "";
1523
- message.validatorAddress = object.validatorAddress ?? "";
1524
- return message;
1525
- },
1526
- fromAmino(object: DVPairAmino): DVPair {
1527
- const message = createBaseDVPair();
1528
- if (object.delegator_address !== undefined && object.delegator_address !== null) {
1529
- message.delegatorAddress = object.delegator_address;
1530
- }
1531
- if (object.validator_address !== undefined && object.validator_address !== null) {
1532
- message.validatorAddress = object.validator_address;
1533
- }
1534
- return message;
1535
- },
1536
- toAmino(message: DVPair): DVPairAmino {
1537
- const obj: any = {};
1538
- obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
1539
- obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
1540
- return obj;
1541
- },
1542
- fromAminoMsg(object: DVPairAminoMsg): DVPair {
1543
- return DVPair.fromAmino(object.value);
1544
- },
1545
- toAminoMsg(message: DVPair): DVPairAminoMsg {
1546
- return {
1547
- type: "cosmos-sdk/DVPair",
1548
- value: DVPair.toAmino(message)
1549
- };
1550
- },
1551
- fromProtoMsg(message: DVPairProtoMsg): DVPair {
1552
- return DVPair.decode(message.value);
1553
- },
1554
- toProto(message: DVPair): Uint8Array {
1555
- return DVPair.encode(message).finish();
1556
- },
1557
- toProtoMsg(message: DVPair): DVPairProtoMsg {
1558
- return {
1559
- typeUrl: "/cosmos.staking.v1beta1.DVPair",
1560
- value: DVPair.encode(message).finish()
1561
- };
1562
- }
1563
- };
1564
- GlobalDecoderRegistry.register(DVPair.typeUrl, DVPair);
1565
- GlobalDecoderRegistry.registerAminoProtoMapping(DVPair.aminoType, DVPair.typeUrl);
1566
- function createBaseDVPairs(): DVPairs {
1567
- return {
1568
- pairs: []
1569
- };
1570
- }
1571
- export const DVPairs = {
1572
- typeUrl: "/cosmos.staking.v1beta1.DVPairs",
1573
- aminoType: "cosmos-sdk/DVPairs",
1574
- is(o: any): o is DVPairs {
1575
- return o && (o.$typeUrl === DVPairs.typeUrl || Array.isArray(o.pairs) && (!o.pairs.length || DVPair.is(o.pairs[0])));
1576
- },
1577
- isAmino(o: any): o is DVPairsAmino {
1578
- return o && (o.$typeUrl === DVPairs.typeUrl || Array.isArray(o.pairs) && (!o.pairs.length || DVPair.isAmino(o.pairs[0])));
1579
- },
1580
- encode(message: DVPairs, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1581
- for (const v of message.pairs) {
1582
- DVPair.encode(v!, writer.uint32(10).fork()).ldelim();
1583
- }
1584
- return writer;
1585
- },
1586
- decode(input: BinaryReader | Uint8Array, length?: number): DVPairs {
1587
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1588
- let end = length === undefined ? reader.len : reader.pos + length;
1589
- const message = createBaseDVPairs();
1590
- while (reader.pos < end) {
1591
- const tag = reader.uint32();
1592
- switch (tag >>> 3) {
1593
- case 1:
1594
- message.pairs.push(DVPair.decode(reader, reader.uint32()));
1595
- break;
1596
- default:
1597
- reader.skipType(tag & 7);
1598
- break;
1599
- }
1600
- }
1601
- return message;
1602
- },
1603
- fromPartial(object: DeepPartial<DVPairs>): DVPairs {
1604
- const message = createBaseDVPairs();
1605
- message.pairs = object.pairs?.map(e => DVPair.fromPartial(e)) || [];
1606
- return message;
1607
- },
1608
- fromAmino(object: DVPairsAmino): DVPairs {
1609
- const message = createBaseDVPairs();
1610
- message.pairs = object.pairs?.map(e => DVPair.fromAmino(e)) || [];
1611
- return message;
1612
- },
1613
- toAmino(message: DVPairs): DVPairsAmino {
1614
- const obj: any = {};
1615
- if (message.pairs) {
1616
- obj.pairs = message.pairs.map(e => e ? DVPair.toAmino(e) : undefined);
1617
- } else {
1618
- obj.pairs = message.pairs;
1619
- }
1620
- return obj;
1621
- },
1622
- fromAminoMsg(object: DVPairsAminoMsg): DVPairs {
1623
- return DVPairs.fromAmino(object.value);
1624
- },
1625
- toAminoMsg(message: DVPairs): DVPairsAminoMsg {
1626
- return {
1627
- type: "cosmos-sdk/DVPairs",
1628
- value: DVPairs.toAmino(message)
1629
- };
1630
- },
1631
- fromProtoMsg(message: DVPairsProtoMsg): DVPairs {
1632
- return DVPairs.decode(message.value);
1633
- },
1634
- toProto(message: DVPairs): Uint8Array {
1635
- return DVPairs.encode(message).finish();
1636
- },
1637
- toProtoMsg(message: DVPairs): DVPairsProtoMsg {
1638
- return {
1639
- typeUrl: "/cosmos.staking.v1beta1.DVPairs",
1640
- value: DVPairs.encode(message).finish()
1641
- };
1642
- }
1643
- };
1644
- GlobalDecoderRegistry.register(DVPairs.typeUrl, DVPairs);
1645
- GlobalDecoderRegistry.registerAminoProtoMapping(DVPairs.aminoType, DVPairs.typeUrl);
1646
- function createBaseDVVTriplet(): DVVTriplet {
1647
- return {
1648
- delegatorAddress: "",
1649
- validatorSrcAddress: "",
1650
- validatorDstAddress: ""
1651
- };
1652
- }
1653
- export const DVVTriplet = {
1654
- typeUrl: "/cosmos.staking.v1beta1.DVVTriplet",
1655
- aminoType: "cosmos-sdk/DVVTriplet",
1656
- is(o: any): o is DVVTriplet {
1657
- return o && (o.$typeUrl === DVVTriplet.typeUrl || typeof o.delegatorAddress === "string" && typeof o.validatorSrcAddress === "string" && typeof o.validatorDstAddress === "string");
1658
- },
1659
- isAmino(o: any): o is DVVTripletAmino {
1660
- return o && (o.$typeUrl === DVVTriplet.typeUrl || typeof o.delegator_address === "string" && typeof o.validator_src_address === "string" && typeof o.validator_dst_address === "string");
1661
- },
1662
- encode(message: DVVTriplet, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1663
- if (message.delegatorAddress !== "") {
1664
- writer.uint32(10).string(message.delegatorAddress);
1665
- }
1666
- if (message.validatorSrcAddress !== "") {
1667
- writer.uint32(18).string(message.validatorSrcAddress);
1668
- }
1669
- if (message.validatorDstAddress !== "") {
1670
- writer.uint32(26).string(message.validatorDstAddress);
1671
- }
1672
- return writer;
1673
- },
1674
- decode(input: BinaryReader | Uint8Array, length?: number): DVVTriplet {
1675
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1676
- let end = length === undefined ? reader.len : reader.pos + length;
1677
- const message = createBaseDVVTriplet();
1678
- while (reader.pos < end) {
1679
- const tag = reader.uint32();
1680
- switch (tag >>> 3) {
1681
- case 1:
1682
- message.delegatorAddress = reader.string();
1683
- break;
1684
- case 2:
1685
- message.validatorSrcAddress = reader.string();
1686
- break;
1687
- case 3:
1688
- message.validatorDstAddress = reader.string();
1689
- break;
1690
- default:
1691
- reader.skipType(tag & 7);
1692
- break;
1693
- }
1694
- }
1695
- return message;
1696
- },
1697
- fromPartial(object: DeepPartial<DVVTriplet>): DVVTriplet {
1698
- const message = createBaseDVVTriplet();
1699
- message.delegatorAddress = object.delegatorAddress ?? "";
1700
- message.validatorSrcAddress = object.validatorSrcAddress ?? "";
1701
- message.validatorDstAddress = object.validatorDstAddress ?? "";
1702
- return message;
1703
- },
1704
- fromAmino(object: DVVTripletAmino): DVVTriplet {
1705
- const message = createBaseDVVTriplet();
1706
- if (object.delegator_address !== undefined && object.delegator_address !== null) {
1707
- message.delegatorAddress = object.delegator_address;
1708
- }
1709
- if (object.validator_src_address !== undefined && object.validator_src_address !== null) {
1710
- message.validatorSrcAddress = object.validator_src_address;
1711
- }
1712
- if (object.validator_dst_address !== undefined && object.validator_dst_address !== null) {
1713
- message.validatorDstAddress = object.validator_dst_address;
1714
- }
1715
- return message;
1716
- },
1717
- toAmino(message: DVVTriplet): DVVTripletAmino {
1718
- const obj: any = {};
1719
- obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
1720
- obj.validator_src_address = message.validatorSrcAddress === "" ? undefined : message.validatorSrcAddress;
1721
- obj.validator_dst_address = message.validatorDstAddress === "" ? undefined : message.validatorDstAddress;
1722
- return obj;
1723
- },
1724
- fromAminoMsg(object: DVVTripletAminoMsg): DVVTriplet {
1725
- return DVVTriplet.fromAmino(object.value);
1726
- },
1727
- toAminoMsg(message: DVVTriplet): DVVTripletAminoMsg {
1728
- return {
1729
- type: "cosmos-sdk/DVVTriplet",
1730
- value: DVVTriplet.toAmino(message)
1731
- };
1732
- },
1733
- fromProtoMsg(message: DVVTripletProtoMsg): DVVTriplet {
1734
- return DVVTriplet.decode(message.value);
1735
- },
1736
- toProto(message: DVVTriplet): Uint8Array {
1737
- return DVVTriplet.encode(message).finish();
1738
- },
1739
- toProtoMsg(message: DVVTriplet): DVVTripletProtoMsg {
1740
- return {
1741
- typeUrl: "/cosmos.staking.v1beta1.DVVTriplet",
1742
- value: DVVTriplet.encode(message).finish()
1743
- };
1744
- }
1745
- };
1746
- GlobalDecoderRegistry.register(DVVTriplet.typeUrl, DVVTriplet);
1747
- GlobalDecoderRegistry.registerAminoProtoMapping(DVVTriplet.aminoType, DVVTriplet.typeUrl);
1748
- function createBaseDVVTriplets(): DVVTriplets {
1749
- return {
1750
- triplets: []
1751
- };
1752
- }
1753
- export const DVVTriplets = {
1754
- typeUrl: "/cosmos.staking.v1beta1.DVVTriplets",
1755
- aminoType: "cosmos-sdk/DVVTriplets",
1756
- is(o: any): o is DVVTriplets {
1757
- return o && (o.$typeUrl === DVVTriplets.typeUrl || Array.isArray(o.triplets) && (!o.triplets.length || DVVTriplet.is(o.triplets[0])));
1758
- },
1759
- isAmino(o: any): o is DVVTripletsAmino {
1760
- return o && (o.$typeUrl === DVVTriplets.typeUrl || Array.isArray(o.triplets) && (!o.triplets.length || DVVTriplet.isAmino(o.triplets[0])));
1761
- },
1762
- encode(message: DVVTriplets, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1763
- for (const v of message.triplets) {
1764
- DVVTriplet.encode(v!, writer.uint32(10).fork()).ldelim();
1765
- }
1766
- return writer;
1767
- },
1768
- decode(input: BinaryReader | Uint8Array, length?: number): DVVTriplets {
1769
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1770
- let end = length === undefined ? reader.len : reader.pos + length;
1771
- const message = createBaseDVVTriplets();
1772
- while (reader.pos < end) {
1773
- const tag = reader.uint32();
1774
- switch (tag >>> 3) {
1775
- case 1:
1776
- message.triplets.push(DVVTriplet.decode(reader, reader.uint32()));
1777
- break;
1778
- default:
1779
- reader.skipType(tag & 7);
1780
- break;
1781
- }
1782
- }
1783
- return message;
1784
- },
1785
- fromPartial(object: DeepPartial<DVVTriplets>): DVVTriplets {
1786
- const message = createBaseDVVTriplets();
1787
- message.triplets = object.triplets?.map(e => DVVTriplet.fromPartial(e)) || [];
1788
- return message;
1789
- },
1790
- fromAmino(object: DVVTripletsAmino): DVVTriplets {
1791
- const message = createBaseDVVTriplets();
1792
- message.triplets = object.triplets?.map(e => DVVTriplet.fromAmino(e)) || [];
1793
- return message;
1794
- },
1795
- toAmino(message: DVVTriplets): DVVTripletsAmino {
1796
- const obj: any = {};
1797
- if (message.triplets) {
1798
- obj.triplets = message.triplets.map(e => e ? DVVTriplet.toAmino(e) : undefined);
1799
- } else {
1800
- obj.triplets = message.triplets;
1801
- }
1802
- return obj;
1803
- },
1804
- fromAminoMsg(object: DVVTripletsAminoMsg): DVVTriplets {
1805
- return DVVTriplets.fromAmino(object.value);
1806
- },
1807
- toAminoMsg(message: DVVTriplets): DVVTripletsAminoMsg {
1808
- return {
1809
- type: "cosmos-sdk/DVVTriplets",
1810
- value: DVVTriplets.toAmino(message)
1811
- };
1812
- },
1813
- fromProtoMsg(message: DVVTripletsProtoMsg): DVVTriplets {
1814
- return DVVTriplets.decode(message.value);
1815
- },
1816
- toProto(message: DVVTriplets): Uint8Array {
1817
- return DVVTriplets.encode(message).finish();
1818
- },
1819
- toProtoMsg(message: DVVTriplets): DVVTripletsProtoMsg {
1820
- return {
1821
- typeUrl: "/cosmos.staking.v1beta1.DVVTriplets",
1822
- value: DVVTriplets.encode(message).finish()
1823
- };
1824
- }
1825
- };
1826
- GlobalDecoderRegistry.register(DVVTriplets.typeUrl, DVVTriplets);
1827
- GlobalDecoderRegistry.registerAminoProtoMapping(DVVTriplets.aminoType, DVVTriplets.typeUrl);
1828
- function createBaseDelegation(): Delegation {
1829
- return {
1830
- delegatorAddress: "",
1831
- validatorAddress: "",
1832
- shares: ""
1833
- };
1834
- }
1835
- export const Delegation = {
1836
- typeUrl: "/cosmos.staking.v1beta1.Delegation",
1837
- aminoType: "cosmos-sdk/Delegation",
1838
- is(o: any): o is Delegation {
1839
- return o && (o.$typeUrl === Delegation.typeUrl || typeof o.delegatorAddress === "string" && typeof o.validatorAddress === "string" && typeof o.shares === "string");
1840
- },
1841
- isAmino(o: any): o is DelegationAmino {
1842
- return o && (o.$typeUrl === Delegation.typeUrl || typeof o.delegator_address === "string" && typeof o.validator_address === "string" && typeof o.shares === "string");
1843
- },
1844
- encode(message: Delegation, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1845
- if (message.delegatorAddress !== "") {
1846
- writer.uint32(10).string(message.delegatorAddress);
1847
- }
1848
- if (message.validatorAddress !== "") {
1849
- writer.uint32(18).string(message.validatorAddress);
1850
- }
1851
- if (message.shares !== "") {
1852
- writer.uint32(26).string(message.shares);
1853
- }
1854
- return writer;
1855
- },
1856
- decode(input: BinaryReader | Uint8Array, length?: number): Delegation {
1857
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1858
- let end = length === undefined ? reader.len : reader.pos + length;
1859
- const message = createBaseDelegation();
1860
- while (reader.pos < end) {
1861
- const tag = reader.uint32();
1862
- switch (tag >>> 3) {
1863
- case 1:
1864
- message.delegatorAddress = reader.string();
1865
- break;
1866
- case 2:
1867
- message.validatorAddress = reader.string();
1868
- break;
1869
- case 3:
1870
- message.shares = reader.string();
1871
- break;
1872
- default:
1873
- reader.skipType(tag & 7);
1874
- break;
1875
- }
1876
- }
1877
- return message;
1878
- },
1879
- fromPartial(object: DeepPartial<Delegation>): Delegation {
1880
- const message = createBaseDelegation();
1881
- message.delegatorAddress = object.delegatorAddress ?? "";
1882
- message.validatorAddress = object.validatorAddress ?? "";
1883
- message.shares = object.shares ?? "";
1884
- return message;
1885
- },
1886
- fromAmino(object: DelegationAmino): Delegation {
1887
- const message = createBaseDelegation();
1888
- if (object.delegator_address !== undefined && object.delegator_address !== null) {
1889
- message.delegatorAddress = object.delegator_address;
1890
- }
1891
- if (object.validator_address !== undefined && object.validator_address !== null) {
1892
- message.validatorAddress = object.validator_address;
1893
- }
1894
- if (object.shares !== undefined && object.shares !== null) {
1895
- message.shares = object.shares;
1896
- }
1897
- return message;
1898
- },
1899
- toAmino(message: Delegation): DelegationAmino {
1900
- const obj: any = {};
1901
- obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
1902
- obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
1903
- obj.shares = message.shares === "" ? undefined : message.shares;
1904
- return obj;
1905
- },
1906
- fromAminoMsg(object: DelegationAminoMsg): Delegation {
1907
- return Delegation.fromAmino(object.value);
1908
- },
1909
- toAminoMsg(message: Delegation): DelegationAminoMsg {
1910
- return {
1911
- type: "cosmos-sdk/Delegation",
1912
- value: Delegation.toAmino(message)
1913
- };
1914
- },
1915
- fromProtoMsg(message: DelegationProtoMsg): Delegation {
1916
- return Delegation.decode(message.value);
1917
- },
1918
- toProto(message: Delegation): Uint8Array {
1919
- return Delegation.encode(message).finish();
1920
- },
1921
- toProtoMsg(message: Delegation): DelegationProtoMsg {
1922
- return {
1923
- typeUrl: "/cosmos.staking.v1beta1.Delegation",
1924
- value: Delegation.encode(message).finish()
1925
- };
1926
- }
1927
- };
1928
- GlobalDecoderRegistry.register(Delegation.typeUrl, Delegation);
1929
- GlobalDecoderRegistry.registerAminoProtoMapping(Delegation.aminoType, Delegation.typeUrl);
1930
- function createBaseUnbondingDelegation(): UnbondingDelegation {
1931
- return {
1932
- delegatorAddress: "",
1933
- validatorAddress: "",
1934
- entries: []
1935
- };
1936
- }
1937
- export const UnbondingDelegation = {
1938
- typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation",
1939
- aminoType: "cosmos-sdk/UnbondingDelegation",
1940
- is(o: any): o is UnbondingDelegation {
1941
- return o && (o.$typeUrl === UnbondingDelegation.typeUrl || typeof o.delegatorAddress === "string" && typeof o.validatorAddress === "string" && Array.isArray(o.entries) && (!o.entries.length || UnbondingDelegationEntry.is(o.entries[0])));
1942
- },
1943
- isAmino(o: any): o is UnbondingDelegationAmino {
1944
- return o && (o.$typeUrl === UnbondingDelegation.typeUrl || typeof o.delegator_address === "string" && typeof o.validator_address === "string" && Array.isArray(o.entries) && (!o.entries.length || UnbondingDelegationEntry.isAmino(o.entries[0])));
1945
- },
1946
- encode(message: UnbondingDelegation, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1947
- if (message.delegatorAddress !== "") {
1948
- writer.uint32(10).string(message.delegatorAddress);
1949
- }
1950
- if (message.validatorAddress !== "") {
1951
- writer.uint32(18).string(message.validatorAddress);
1952
- }
1953
- for (const v of message.entries) {
1954
- UnbondingDelegationEntry.encode(v!, writer.uint32(26).fork()).ldelim();
1955
- }
1956
- return writer;
1957
- },
1958
- decode(input: BinaryReader | Uint8Array, length?: number): UnbondingDelegation {
1959
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1960
- let end = length === undefined ? reader.len : reader.pos + length;
1961
- const message = createBaseUnbondingDelegation();
1962
- while (reader.pos < end) {
1963
- const tag = reader.uint32();
1964
- switch (tag >>> 3) {
1965
- case 1:
1966
- message.delegatorAddress = reader.string();
1967
- break;
1968
- case 2:
1969
- message.validatorAddress = reader.string();
1970
- break;
1971
- case 3:
1972
- message.entries.push(UnbondingDelegationEntry.decode(reader, reader.uint32()));
1973
- break;
1974
- default:
1975
- reader.skipType(tag & 7);
1976
- break;
1977
- }
1978
- }
1979
- return message;
1980
- },
1981
- fromPartial(object: DeepPartial<UnbondingDelegation>): UnbondingDelegation {
1982
- const message = createBaseUnbondingDelegation();
1983
- message.delegatorAddress = object.delegatorAddress ?? "";
1984
- message.validatorAddress = object.validatorAddress ?? "";
1985
- message.entries = object.entries?.map(e => UnbondingDelegationEntry.fromPartial(e)) || [];
1986
- return message;
1987
- },
1988
- fromAmino(object: UnbondingDelegationAmino): UnbondingDelegation {
1989
- const message = createBaseUnbondingDelegation();
1990
- if (object.delegator_address !== undefined && object.delegator_address !== null) {
1991
- message.delegatorAddress = object.delegator_address;
1992
- }
1993
- if (object.validator_address !== undefined && object.validator_address !== null) {
1994
- message.validatorAddress = object.validator_address;
1995
- }
1996
- message.entries = object.entries?.map(e => UnbondingDelegationEntry.fromAmino(e)) || [];
1997
- return message;
1998
- },
1999
- toAmino(message: UnbondingDelegation): UnbondingDelegationAmino {
2000
- const obj: any = {};
2001
- obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
2002
- obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
2003
- if (message.entries) {
2004
- obj.entries = message.entries.map(e => e ? UnbondingDelegationEntry.toAmino(e) : undefined);
2005
- } else {
2006
- obj.entries = message.entries;
2007
- }
2008
- return obj;
2009
- },
2010
- fromAminoMsg(object: UnbondingDelegationAminoMsg): UnbondingDelegation {
2011
- return UnbondingDelegation.fromAmino(object.value);
2012
- },
2013
- toAminoMsg(message: UnbondingDelegation): UnbondingDelegationAminoMsg {
2014
- return {
2015
- type: "cosmos-sdk/UnbondingDelegation",
2016
- value: UnbondingDelegation.toAmino(message)
2017
- };
2018
- },
2019
- fromProtoMsg(message: UnbondingDelegationProtoMsg): UnbondingDelegation {
2020
- return UnbondingDelegation.decode(message.value);
2021
- },
2022
- toProto(message: UnbondingDelegation): Uint8Array {
2023
- return UnbondingDelegation.encode(message).finish();
2024
- },
2025
- toProtoMsg(message: UnbondingDelegation): UnbondingDelegationProtoMsg {
2026
- return {
2027
- typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation",
2028
- value: UnbondingDelegation.encode(message).finish()
2029
- };
2030
- }
2031
- };
2032
- GlobalDecoderRegistry.register(UnbondingDelegation.typeUrl, UnbondingDelegation);
2033
- GlobalDecoderRegistry.registerAminoProtoMapping(UnbondingDelegation.aminoType, UnbondingDelegation.typeUrl);
2034
- function createBaseUnbondingDelegationEntry(): UnbondingDelegationEntry {
2035
- return {
2036
- creationHeight: BigInt(0),
2037
- completionTime: new Date(),
2038
- initialBalance: "",
2039
- balance: "",
2040
- unbondingId: BigInt(0),
2041
- unbondingOnHoldRefCount: BigInt(0)
2042
- };
2043
- }
2044
- export const UnbondingDelegationEntry = {
2045
- typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry",
2046
- aminoType: "cosmos-sdk/UnbondingDelegationEntry",
2047
- is(o: any): o is UnbondingDelegationEntry {
2048
- return o && (o.$typeUrl === UnbondingDelegationEntry.typeUrl || typeof o.creationHeight === "bigint" && Timestamp.is(o.completionTime) && typeof o.initialBalance === "string" && typeof o.balance === "string" && typeof o.unbondingId === "bigint" && typeof o.unbondingOnHoldRefCount === "bigint");
2049
- },
2050
- isAmino(o: any): o is UnbondingDelegationEntryAmino {
2051
- return o && (o.$typeUrl === UnbondingDelegationEntry.typeUrl || typeof o.creation_height === "bigint" && Timestamp.isAmino(o.completion_time) && typeof o.initial_balance === "string" && typeof o.balance === "string" && typeof o.unbonding_id === "bigint" && typeof o.unbonding_on_hold_ref_count === "bigint");
2052
- },
2053
- encode(message: UnbondingDelegationEntry, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
2054
- if (message.creationHeight !== BigInt(0)) {
2055
- writer.uint32(8).int64(message.creationHeight);
2056
- }
2057
- if (message.completionTime !== undefined) {
2058
- Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim();
2059
- }
2060
- if (message.initialBalance !== "") {
2061
- writer.uint32(26).string(message.initialBalance);
2062
- }
2063
- if (message.balance !== "") {
2064
- writer.uint32(34).string(message.balance);
2065
- }
2066
- if (message.unbondingId !== BigInt(0)) {
2067
- writer.uint32(40).uint64(message.unbondingId);
2068
- }
2069
- if (message.unbondingOnHoldRefCount !== BigInt(0)) {
2070
- writer.uint32(48).int64(message.unbondingOnHoldRefCount);
2071
- }
2072
- return writer;
2073
- },
2074
- decode(input: BinaryReader | Uint8Array, length?: number): UnbondingDelegationEntry {
2075
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2076
- let end = length === undefined ? reader.len : reader.pos + length;
2077
- const message = createBaseUnbondingDelegationEntry();
2078
- while (reader.pos < end) {
2079
- const tag = reader.uint32();
2080
- switch (tag >>> 3) {
2081
- case 1:
2082
- message.creationHeight = reader.int64();
2083
- break;
2084
- case 2:
2085
- message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
2086
- break;
2087
- case 3:
2088
- message.initialBalance = reader.string();
2089
- break;
2090
- case 4:
2091
- message.balance = reader.string();
2092
- break;
2093
- case 5:
2094
- message.unbondingId = reader.uint64();
2095
- break;
2096
- case 6:
2097
- message.unbondingOnHoldRefCount = reader.int64();
2098
- break;
2099
- default:
2100
- reader.skipType(tag & 7);
2101
- break;
2102
- }
2103
- }
2104
- return message;
2105
- },
2106
- fromPartial(object: DeepPartial<UnbondingDelegationEntry>): UnbondingDelegationEntry {
2107
- const message = createBaseUnbondingDelegationEntry();
2108
- message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? BigInt(object.creationHeight.toString()) : BigInt(0);
2109
- message.completionTime = object.completionTime ?? undefined;
2110
- message.initialBalance = object.initialBalance ?? "";
2111
- message.balance = object.balance ?? "";
2112
- message.unbondingId = object.unbondingId !== undefined && object.unbondingId !== null ? BigInt(object.unbondingId.toString()) : BigInt(0);
2113
- message.unbondingOnHoldRefCount = object.unbondingOnHoldRefCount !== undefined && object.unbondingOnHoldRefCount !== null ? BigInt(object.unbondingOnHoldRefCount.toString()) : BigInt(0);
2114
- return message;
2115
- },
2116
- fromAmino(object: UnbondingDelegationEntryAmino): UnbondingDelegationEntry {
2117
- const message = createBaseUnbondingDelegationEntry();
2118
- if (object.creation_height !== undefined && object.creation_height !== null) {
2119
- message.creationHeight = BigInt(object.creation_height);
2120
- }
2121
- if (object.completion_time !== undefined && object.completion_time !== null) {
2122
- message.completionTime = fromTimestamp(Timestamp.fromAmino(object.completion_time));
2123
- }
2124
- if (object.initial_balance !== undefined && object.initial_balance !== null) {
2125
- message.initialBalance = object.initial_balance;
2126
- }
2127
- if (object.balance !== undefined && object.balance !== null) {
2128
- message.balance = object.balance;
2129
- }
2130
- if (object.unbonding_id !== undefined && object.unbonding_id !== null) {
2131
- message.unbondingId = BigInt(object.unbonding_id);
2132
- }
2133
- if (object.unbonding_on_hold_ref_count !== undefined && object.unbonding_on_hold_ref_count !== null) {
2134
- message.unbondingOnHoldRefCount = BigInt(object.unbonding_on_hold_ref_count);
2135
- }
2136
- return message;
2137
- },
2138
- toAmino(message: UnbondingDelegationEntry): UnbondingDelegationEntryAmino {
2139
- const obj: any = {};
2140
- obj.creation_height = message.creationHeight !== BigInt(0) ? message.creationHeight?.toString() : undefined;
2141
- obj.completion_time = message.completionTime ? Timestamp.toAmino(toTimestamp(message.completionTime)) : new Date();
2142
- obj.initial_balance = message.initialBalance === "" ? undefined : message.initialBalance;
2143
- obj.balance = message.balance === "" ? undefined : message.balance;
2144
- obj.unbonding_id = message.unbondingId !== BigInt(0) ? message.unbondingId?.toString() : undefined;
2145
- obj.unbonding_on_hold_ref_count = message.unbondingOnHoldRefCount !== BigInt(0) ? message.unbondingOnHoldRefCount?.toString() : undefined;
2146
- return obj;
2147
- },
2148
- fromAminoMsg(object: UnbondingDelegationEntryAminoMsg): UnbondingDelegationEntry {
2149
- return UnbondingDelegationEntry.fromAmino(object.value);
2150
- },
2151
- toAminoMsg(message: UnbondingDelegationEntry): UnbondingDelegationEntryAminoMsg {
2152
- return {
2153
- type: "cosmos-sdk/UnbondingDelegationEntry",
2154
- value: UnbondingDelegationEntry.toAmino(message)
2155
- };
2156
- },
2157
- fromProtoMsg(message: UnbondingDelegationEntryProtoMsg): UnbondingDelegationEntry {
2158
- return UnbondingDelegationEntry.decode(message.value);
2159
- },
2160
- toProto(message: UnbondingDelegationEntry): Uint8Array {
2161
- return UnbondingDelegationEntry.encode(message).finish();
2162
- },
2163
- toProtoMsg(message: UnbondingDelegationEntry): UnbondingDelegationEntryProtoMsg {
2164
- return {
2165
- typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry",
2166
- value: UnbondingDelegationEntry.encode(message).finish()
2167
- };
2168
- }
2169
- };
2170
- GlobalDecoderRegistry.register(UnbondingDelegationEntry.typeUrl, UnbondingDelegationEntry);
2171
- GlobalDecoderRegistry.registerAminoProtoMapping(UnbondingDelegationEntry.aminoType, UnbondingDelegationEntry.typeUrl);
2172
- function createBaseRedelegationEntry(): RedelegationEntry {
2173
- return {
2174
- creationHeight: BigInt(0),
2175
- completionTime: new Date(),
2176
- initialBalance: "",
2177
- sharesDst: "",
2178
- unbondingId: BigInt(0),
2179
- unbondingOnHoldRefCount: BigInt(0)
2180
- };
2181
- }
2182
- export const RedelegationEntry = {
2183
- typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry",
2184
- aminoType: "cosmos-sdk/RedelegationEntry",
2185
- is(o: any): o is RedelegationEntry {
2186
- return o && (o.$typeUrl === RedelegationEntry.typeUrl || typeof o.creationHeight === "bigint" && Timestamp.is(o.completionTime) && typeof o.initialBalance === "string" && typeof o.sharesDst === "string" && typeof o.unbondingId === "bigint" && typeof o.unbondingOnHoldRefCount === "bigint");
2187
- },
2188
- isAmino(o: any): o is RedelegationEntryAmino {
2189
- return o && (o.$typeUrl === RedelegationEntry.typeUrl || typeof o.creation_height === "bigint" && Timestamp.isAmino(o.completion_time) && typeof o.initial_balance === "string" && typeof o.shares_dst === "string" && typeof o.unbonding_id === "bigint" && typeof o.unbonding_on_hold_ref_count === "bigint");
2190
- },
2191
- encode(message: RedelegationEntry, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
2192
- if (message.creationHeight !== BigInt(0)) {
2193
- writer.uint32(8).int64(message.creationHeight);
2194
- }
2195
- if (message.completionTime !== undefined) {
2196
- Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim();
2197
- }
2198
- if (message.initialBalance !== "") {
2199
- writer.uint32(26).string(message.initialBalance);
2200
- }
2201
- if (message.sharesDst !== "") {
2202
- writer.uint32(34).string(message.sharesDst);
2203
- }
2204
- if (message.unbondingId !== BigInt(0)) {
2205
- writer.uint32(40).uint64(message.unbondingId);
2206
- }
2207
- if (message.unbondingOnHoldRefCount !== BigInt(0)) {
2208
- writer.uint32(48).int64(message.unbondingOnHoldRefCount);
2209
- }
2210
- return writer;
2211
- },
2212
- decode(input: BinaryReader | Uint8Array, length?: number): RedelegationEntry {
2213
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2214
- let end = length === undefined ? reader.len : reader.pos + length;
2215
- const message = createBaseRedelegationEntry();
2216
- while (reader.pos < end) {
2217
- const tag = reader.uint32();
2218
- switch (tag >>> 3) {
2219
- case 1:
2220
- message.creationHeight = reader.int64();
2221
- break;
2222
- case 2:
2223
- message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
2224
- break;
2225
- case 3:
2226
- message.initialBalance = reader.string();
2227
- break;
2228
- case 4:
2229
- message.sharesDst = reader.string();
2230
- break;
2231
- case 5:
2232
- message.unbondingId = reader.uint64();
2233
- break;
2234
- case 6:
2235
- message.unbondingOnHoldRefCount = reader.int64();
2236
- break;
2237
- default:
2238
- reader.skipType(tag & 7);
2239
- break;
2240
- }
2241
- }
2242
- return message;
2243
- },
2244
- fromPartial(object: DeepPartial<RedelegationEntry>): RedelegationEntry {
2245
- const message = createBaseRedelegationEntry();
2246
- message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? BigInt(object.creationHeight.toString()) : BigInt(0);
2247
- message.completionTime = object.completionTime ?? undefined;
2248
- message.initialBalance = object.initialBalance ?? "";
2249
- message.sharesDst = object.sharesDst ?? "";
2250
- message.unbondingId = object.unbondingId !== undefined && object.unbondingId !== null ? BigInt(object.unbondingId.toString()) : BigInt(0);
2251
- message.unbondingOnHoldRefCount = object.unbondingOnHoldRefCount !== undefined && object.unbondingOnHoldRefCount !== null ? BigInt(object.unbondingOnHoldRefCount.toString()) : BigInt(0);
2252
- return message;
2253
- },
2254
- fromAmino(object: RedelegationEntryAmino): RedelegationEntry {
2255
- const message = createBaseRedelegationEntry();
2256
- if (object.creation_height !== undefined && object.creation_height !== null) {
2257
- message.creationHeight = BigInt(object.creation_height);
2258
- }
2259
- if (object.completion_time !== undefined && object.completion_time !== null) {
2260
- message.completionTime = fromTimestamp(Timestamp.fromAmino(object.completion_time));
2261
- }
2262
- if (object.initial_balance !== undefined && object.initial_balance !== null) {
2263
- message.initialBalance = object.initial_balance;
2264
- }
2265
- if (object.shares_dst !== undefined && object.shares_dst !== null) {
2266
- message.sharesDst = object.shares_dst;
2267
- }
2268
- if (object.unbonding_id !== undefined && object.unbonding_id !== null) {
2269
- message.unbondingId = BigInt(object.unbonding_id);
2270
- }
2271
- if (object.unbonding_on_hold_ref_count !== undefined && object.unbonding_on_hold_ref_count !== null) {
2272
- message.unbondingOnHoldRefCount = BigInt(object.unbonding_on_hold_ref_count);
2273
- }
2274
- return message;
2275
- },
2276
- toAmino(message: RedelegationEntry): RedelegationEntryAmino {
2277
- const obj: any = {};
2278
- obj.creation_height = message.creationHeight !== BigInt(0) ? message.creationHeight?.toString() : undefined;
2279
- obj.completion_time = message.completionTime ? Timestamp.toAmino(toTimestamp(message.completionTime)) : new Date();
2280
- obj.initial_balance = message.initialBalance === "" ? undefined : message.initialBalance;
2281
- obj.shares_dst = message.sharesDst === "" ? undefined : message.sharesDst;
2282
- obj.unbonding_id = message.unbondingId !== BigInt(0) ? message.unbondingId?.toString() : undefined;
2283
- obj.unbonding_on_hold_ref_count = message.unbondingOnHoldRefCount !== BigInt(0) ? message.unbondingOnHoldRefCount?.toString() : undefined;
2284
- return obj;
2285
- },
2286
- fromAminoMsg(object: RedelegationEntryAminoMsg): RedelegationEntry {
2287
- return RedelegationEntry.fromAmino(object.value);
2288
- },
2289
- toAminoMsg(message: RedelegationEntry): RedelegationEntryAminoMsg {
2290
- return {
2291
- type: "cosmos-sdk/RedelegationEntry",
2292
- value: RedelegationEntry.toAmino(message)
2293
- };
2294
- },
2295
- fromProtoMsg(message: RedelegationEntryProtoMsg): RedelegationEntry {
2296
- return RedelegationEntry.decode(message.value);
2297
- },
2298
- toProto(message: RedelegationEntry): Uint8Array {
2299
- return RedelegationEntry.encode(message).finish();
2300
- },
2301
- toProtoMsg(message: RedelegationEntry): RedelegationEntryProtoMsg {
2302
- return {
2303
- typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry",
2304
- value: RedelegationEntry.encode(message).finish()
2305
- };
2306
- }
2307
- };
2308
- GlobalDecoderRegistry.register(RedelegationEntry.typeUrl, RedelegationEntry);
2309
- GlobalDecoderRegistry.registerAminoProtoMapping(RedelegationEntry.aminoType, RedelegationEntry.typeUrl);
2310
- function createBaseRedelegation(): Redelegation {
2311
- return {
2312
- delegatorAddress: "",
2313
- validatorSrcAddress: "",
2314
- validatorDstAddress: "",
2315
- entries: []
2316
- };
2317
- }
2318
- export const Redelegation = {
2319
- typeUrl: "/cosmos.staking.v1beta1.Redelegation",
2320
- aminoType: "cosmos-sdk/Redelegation",
2321
- is(o: any): o is Redelegation {
2322
- return o && (o.$typeUrl === Redelegation.typeUrl || typeof o.delegatorAddress === "string" && typeof o.validatorSrcAddress === "string" && typeof o.validatorDstAddress === "string" && Array.isArray(o.entries) && (!o.entries.length || RedelegationEntry.is(o.entries[0])));
2323
- },
2324
- isAmino(o: any): o is RedelegationAmino {
2325
- return o && (o.$typeUrl === Redelegation.typeUrl || typeof o.delegator_address === "string" && typeof o.validator_src_address === "string" && typeof o.validator_dst_address === "string" && Array.isArray(o.entries) && (!o.entries.length || RedelegationEntry.isAmino(o.entries[0])));
2326
- },
2327
- encode(message: Redelegation, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
2328
- if (message.delegatorAddress !== "") {
2329
- writer.uint32(10).string(message.delegatorAddress);
2330
- }
2331
- if (message.validatorSrcAddress !== "") {
2332
- writer.uint32(18).string(message.validatorSrcAddress);
2333
- }
2334
- if (message.validatorDstAddress !== "") {
2335
- writer.uint32(26).string(message.validatorDstAddress);
2336
- }
2337
- for (const v of message.entries) {
2338
- RedelegationEntry.encode(v!, writer.uint32(34).fork()).ldelim();
2339
- }
2340
- return writer;
2341
- },
2342
- decode(input: BinaryReader | Uint8Array, length?: number): Redelegation {
2343
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2344
- let end = length === undefined ? reader.len : reader.pos + length;
2345
- const message = createBaseRedelegation();
2346
- while (reader.pos < end) {
2347
- const tag = reader.uint32();
2348
- switch (tag >>> 3) {
2349
- case 1:
2350
- message.delegatorAddress = reader.string();
2351
- break;
2352
- case 2:
2353
- message.validatorSrcAddress = reader.string();
2354
- break;
2355
- case 3:
2356
- message.validatorDstAddress = reader.string();
2357
- break;
2358
- case 4:
2359
- message.entries.push(RedelegationEntry.decode(reader, reader.uint32()));
2360
- break;
2361
- default:
2362
- reader.skipType(tag & 7);
2363
- break;
2364
- }
2365
- }
2366
- return message;
2367
- },
2368
- fromPartial(object: DeepPartial<Redelegation>): Redelegation {
2369
- const message = createBaseRedelegation();
2370
- message.delegatorAddress = object.delegatorAddress ?? "";
2371
- message.validatorSrcAddress = object.validatorSrcAddress ?? "";
2372
- message.validatorDstAddress = object.validatorDstAddress ?? "";
2373
- message.entries = object.entries?.map(e => RedelegationEntry.fromPartial(e)) || [];
2374
- return message;
2375
- },
2376
- fromAmino(object: RedelegationAmino): Redelegation {
2377
- const message = createBaseRedelegation();
2378
- if (object.delegator_address !== undefined && object.delegator_address !== null) {
2379
- message.delegatorAddress = object.delegator_address;
2380
- }
2381
- if (object.validator_src_address !== undefined && object.validator_src_address !== null) {
2382
- message.validatorSrcAddress = object.validator_src_address;
2383
- }
2384
- if (object.validator_dst_address !== undefined && object.validator_dst_address !== null) {
2385
- message.validatorDstAddress = object.validator_dst_address;
2386
- }
2387
- message.entries = object.entries?.map(e => RedelegationEntry.fromAmino(e)) || [];
2388
- return message;
2389
- },
2390
- toAmino(message: Redelegation): RedelegationAmino {
2391
- const obj: any = {};
2392
- obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
2393
- obj.validator_src_address = message.validatorSrcAddress === "" ? undefined : message.validatorSrcAddress;
2394
- obj.validator_dst_address = message.validatorDstAddress === "" ? undefined : message.validatorDstAddress;
2395
- if (message.entries) {
2396
- obj.entries = message.entries.map(e => e ? RedelegationEntry.toAmino(e) : undefined);
2397
- } else {
2398
- obj.entries = message.entries;
2399
- }
2400
- return obj;
2401
- },
2402
- fromAminoMsg(object: RedelegationAminoMsg): Redelegation {
2403
- return Redelegation.fromAmino(object.value);
2404
- },
2405
- toAminoMsg(message: Redelegation): RedelegationAminoMsg {
2406
- return {
2407
- type: "cosmos-sdk/Redelegation",
2408
- value: Redelegation.toAmino(message)
2409
- };
2410
- },
2411
- fromProtoMsg(message: RedelegationProtoMsg): Redelegation {
2412
- return Redelegation.decode(message.value);
2413
- },
2414
- toProto(message: Redelegation): Uint8Array {
2415
- return Redelegation.encode(message).finish();
2416
- },
2417
- toProtoMsg(message: Redelegation): RedelegationProtoMsg {
2418
- return {
2419
- typeUrl: "/cosmos.staking.v1beta1.Redelegation",
2420
- value: Redelegation.encode(message).finish()
2421
- };
2422
- }
2423
- };
2424
- GlobalDecoderRegistry.register(Redelegation.typeUrl, Redelegation);
2425
- GlobalDecoderRegistry.registerAminoProtoMapping(Redelegation.aminoType, Redelegation.typeUrl);
2426
- function createBaseParams(): Params {
2427
- return {
2428
- unbondingTime: Duration.fromPartial({}),
2429
- maxValidators: 0,
2430
- maxEntries: 0,
2431
- historicalEntries: 0,
2432
- bondDenom: "",
2433
- minCommissionRate: ""
2434
- };
2435
- }
2436
- export const Params = {
2437
- typeUrl: "/cosmos.staking.v1beta1.Params",
2438
- aminoType: "cosmos-sdk/x/staking/Params",
2439
- is(o: any): o is Params {
2440
- return o && (o.$typeUrl === Params.typeUrl || Duration.is(o.unbondingTime) && typeof o.maxValidators === "number" && typeof o.maxEntries === "number" && typeof o.historicalEntries === "number" && typeof o.bondDenom === "string" && typeof o.minCommissionRate === "string");
2441
- },
2442
- isAmino(o: any): o is ParamsAmino {
2443
- return o && (o.$typeUrl === Params.typeUrl || Duration.isAmino(o.unbonding_time) && typeof o.max_validators === "number" && typeof o.max_entries === "number" && typeof o.historical_entries === "number" && typeof o.bond_denom === "string" && typeof o.min_commission_rate === "string");
2444
- },
2445
- encode(message: Params, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
2446
- if (message.unbondingTime !== undefined) {
2447
- Duration.encode(message.unbondingTime, writer.uint32(10).fork()).ldelim();
2448
- }
2449
- if (message.maxValidators !== 0) {
2450
- writer.uint32(16).uint32(message.maxValidators);
2451
- }
2452
- if (message.maxEntries !== 0) {
2453
- writer.uint32(24).uint32(message.maxEntries);
2454
- }
2455
- if (message.historicalEntries !== 0) {
2456
- writer.uint32(32).uint32(message.historicalEntries);
2457
- }
2458
- if (message.bondDenom !== "") {
2459
- writer.uint32(42).string(message.bondDenom);
2460
- }
2461
- if (message.minCommissionRate !== "") {
2462
- writer.uint32(50).string(message.minCommissionRate);
2463
- }
2464
- return writer;
2465
- },
2466
- decode(input: BinaryReader | Uint8Array, length?: number): Params {
2467
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2468
- let end = length === undefined ? reader.len : reader.pos + length;
2469
- const message = createBaseParams();
2470
- while (reader.pos < end) {
2471
- const tag = reader.uint32();
2472
- switch (tag >>> 3) {
2473
- case 1:
2474
- message.unbondingTime = Duration.decode(reader, reader.uint32());
2475
- break;
2476
- case 2:
2477
- message.maxValidators = reader.uint32();
2478
- break;
2479
- case 3:
2480
- message.maxEntries = reader.uint32();
2481
- break;
2482
- case 4:
2483
- message.historicalEntries = reader.uint32();
2484
- break;
2485
- case 5:
2486
- message.bondDenom = reader.string();
2487
- break;
2488
- case 6:
2489
- message.minCommissionRate = reader.string();
2490
- break;
2491
- default:
2492
- reader.skipType(tag & 7);
2493
- break;
2494
- }
2495
- }
2496
- return message;
2497
- },
2498
- fromPartial(object: DeepPartial<Params>): Params {
2499
- const message = createBaseParams();
2500
- message.unbondingTime = object.unbondingTime !== undefined && object.unbondingTime !== null ? Duration.fromPartial(object.unbondingTime) : undefined;
2501
- message.maxValidators = object.maxValidators ?? 0;
2502
- message.maxEntries = object.maxEntries ?? 0;
2503
- message.historicalEntries = object.historicalEntries ?? 0;
2504
- message.bondDenom = object.bondDenom ?? "";
2505
- message.minCommissionRate = object.minCommissionRate ?? "";
2506
- return message;
2507
- },
2508
- fromAmino(object: ParamsAmino): Params {
2509
- const message = createBaseParams();
2510
- if (object.unbonding_time !== undefined && object.unbonding_time !== null) {
2511
- message.unbondingTime = Duration.fromAmino(object.unbonding_time);
2512
- }
2513
- if (object.max_validators !== undefined && object.max_validators !== null) {
2514
- message.maxValidators = object.max_validators;
2515
- }
2516
- if (object.max_entries !== undefined && object.max_entries !== null) {
2517
- message.maxEntries = object.max_entries;
2518
- }
2519
- if (object.historical_entries !== undefined && object.historical_entries !== null) {
2520
- message.historicalEntries = object.historical_entries;
2521
- }
2522
- if (object.bond_denom !== undefined && object.bond_denom !== null) {
2523
- message.bondDenom = object.bond_denom;
2524
- }
2525
- if (object.min_commission_rate !== undefined && object.min_commission_rate !== null) {
2526
- message.minCommissionRate = object.min_commission_rate;
2527
- }
2528
- return message;
2529
- },
2530
- toAmino(message: Params): ParamsAmino {
2531
- const obj: any = {};
2532
- obj.unbonding_time = message.unbondingTime ? Duration.toAmino(message.unbondingTime) : Duration.toAmino(Duration.fromPartial({}));
2533
- obj.max_validators = message.maxValidators === 0 ? undefined : message.maxValidators;
2534
- obj.max_entries = message.maxEntries === 0 ? undefined : message.maxEntries;
2535
- obj.historical_entries = message.historicalEntries === 0 ? undefined : message.historicalEntries;
2536
- obj.bond_denom = message.bondDenom === "" ? undefined : message.bondDenom;
2537
- obj.min_commission_rate = message.minCommissionRate ?? "";
2538
- return obj;
2539
- },
2540
- fromAminoMsg(object: ParamsAminoMsg): Params {
2541
- return Params.fromAmino(object.value);
2542
- },
2543
- toAminoMsg(message: Params): ParamsAminoMsg {
2544
- return {
2545
- type: "cosmos-sdk/x/staking/Params",
2546
- value: Params.toAmino(message)
2547
- };
2548
- },
2549
- fromProtoMsg(message: ParamsProtoMsg): Params {
2550
- return Params.decode(message.value);
2551
- },
2552
- toProto(message: Params): Uint8Array {
2553
- return Params.encode(message).finish();
2554
- },
2555
- toProtoMsg(message: Params): ParamsProtoMsg {
2556
- return {
2557
- typeUrl: "/cosmos.staking.v1beta1.Params",
2558
- value: Params.encode(message).finish()
2559
- };
2560
- }
2561
- };
2562
- GlobalDecoderRegistry.register(Params.typeUrl, Params);
2563
- GlobalDecoderRegistry.registerAminoProtoMapping(Params.aminoType, Params.typeUrl);
2564
- function createBaseDelegationResponse(): DelegationResponse {
2565
- return {
2566
- delegation: Delegation.fromPartial({}),
2567
- balance: Coin.fromPartial({})
2568
- };
2569
- }
2570
- export const DelegationResponse = {
2571
- typeUrl: "/cosmos.staking.v1beta1.DelegationResponse",
2572
- aminoType: "cosmos-sdk/DelegationResponse",
2573
- is(o: any): o is DelegationResponse {
2574
- return o && (o.$typeUrl === DelegationResponse.typeUrl || Delegation.is(o.delegation) && Coin.is(o.balance));
2575
- },
2576
- isAmino(o: any): o is DelegationResponseAmino {
2577
- return o && (o.$typeUrl === DelegationResponse.typeUrl || Delegation.isAmino(o.delegation) && Coin.isAmino(o.balance));
2578
- },
2579
- encode(message: DelegationResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
2580
- if (message.delegation !== undefined) {
2581
- Delegation.encode(message.delegation, writer.uint32(10).fork()).ldelim();
2582
- }
2583
- if (message.balance !== undefined) {
2584
- Coin.encode(message.balance, writer.uint32(18).fork()).ldelim();
2585
- }
2586
- return writer;
2587
- },
2588
- decode(input: BinaryReader | Uint8Array, length?: number): DelegationResponse {
2589
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2590
- let end = length === undefined ? reader.len : reader.pos + length;
2591
- const message = createBaseDelegationResponse();
2592
- while (reader.pos < end) {
2593
- const tag = reader.uint32();
2594
- switch (tag >>> 3) {
2595
- case 1:
2596
- message.delegation = Delegation.decode(reader, reader.uint32());
2597
- break;
2598
- case 2:
2599
- message.balance = Coin.decode(reader, reader.uint32());
2600
- break;
2601
- default:
2602
- reader.skipType(tag & 7);
2603
- break;
2604
- }
2605
- }
2606
- return message;
2607
- },
2608
- fromPartial(object: DeepPartial<DelegationResponse>): DelegationResponse {
2609
- const message = createBaseDelegationResponse();
2610
- message.delegation = object.delegation !== undefined && object.delegation !== null ? Delegation.fromPartial(object.delegation) : undefined;
2611
- message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined;
2612
- return message;
2613
- },
2614
- fromAmino(object: DelegationResponseAmino): DelegationResponse {
2615
- const message = createBaseDelegationResponse();
2616
- if (object.delegation !== undefined && object.delegation !== null) {
2617
- message.delegation = Delegation.fromAmino(object.delegation);
2618
- }
2619
- if (object.balance !== undefined && object.balance !== null) {
2620
- message.balance = Coin.fromAmino(object.balance);
2621
- }
2622
- return message;
2623
- },
2624
- toAmino(message: DelegationResponse): DelegationResponseAmino {
2625
- const obj: any = {};
2626
- obj.delegation = message.delegation ? Delegation.toAmino(message.delegation) : Delegation.toAmino(Delegation.fromPartial({}));
2627
- obj.balance = message.balance ? Coin.toAmino(message.balance) : Coin.toAmino(Coin.fromPartial({}));
2628
- return obj;
2629
- },
2630
- fromAminoMsg(object: DelegationResponseAminoMsg): DelegationResponse {
2631
- return DelegationResponse.fromAmino(object.value);
2632
- },
2633
- toAminoMsg(message: DelegationResponse): DelegationResponseAminoMsg {
2634
- return {
2635
- type: "cosmos-sdk/DelegationResponse",
2636
- value: DelegationResponse.toAmino(message)
2637
- };
2638
- },
2639
- fromProtoMsg(message: DelegationResponseProtoMsg): DelegationResponse {
2640
- return DelegationResponse.decode(message.value);
2641
- },
2642
- toProto(message: DelegationResponse): Uint8Array {
2643
- return DelegationResponse.encode(message).finish();
2644
- },
2645
- toProtoMsg(message: DelegationResponse): DelegationResponseProtoMsg {
2646
- return {
2647
- typeUrl: "/cosmos.staking.v1beta1.DelegationResponse",
2648
- value: DelegationResponse.encode(message).finish()
2649
- };
2650
- }
2651
- };
2652
- GlobalDecoderRegistry.register(DelegationResponse.typeUrl, DelegationResponse);
2653
- GlobalDecoderRegistry.registerAminoProtoMapping(DelegationResponse.aminoType, DelegationResponse.typeUrl);
2654
- function createBaseRedelegationEntryResponse(): RedelegationEntryResponse {
2655
- return {
2656
- redelegationEntry: RedelegationEntry.fromPartial({}),
2657
- balance: ""
2658
- };
2659
- }
2660
- export const RedelegationEntryResponse = {
2661
- typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse",
2662
- aminoType: "cosmos-sdk/RedelegationEntryResponse",
2663
- is(o: any): o is RedelegationEntryResponse {
2664
- return o && (o.$typeUrl === RedelegationEntryResponse.typeUrl || RedelegationEntry.is(o.redelegationEntry) && typeof o.balance === "string");
2665
- },
2666
- isAmino(o: any): o is RedelegationEntryResponseAmino {
2667
- return o && (o.$typeUrl === RedelegationEntryResponse.typeUrl || RedelegationEntry.isAmino(o.redelegation_entry) && typeof o.balance === "string");
2668
- },
2669
- encode(message: RedelegationEntryResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
2670
- if (message.redelegationEntry !== undefined) {
2671
- RedelegationEntry.encode(message.redelegationEntry, writer.uint32(10).fork()).ldelim();
2672
- }
2673
- if (message.balance !== "") {
2674
- writer.uint32(34).string(message.balance);
2675
- }
2676
- return writer;
2677
- },
2678
- decode(input: BinaryReader | Uint8Array, length?: number): RedelegationEntryResponse {
2679
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2680
- let end = length === undefined ? reader.len : reader.pos + length;
2681
- const message = createBaseRedelegationEntryResponse();
2682
- while (reader.pos < end) {
2683
- const tag = reader.uint32();
2684
- switch (tag >>> 3) {
2685
- case 1:
2686
- message.redelegationEntry = RedelegationEntry.decode(reader, reader.uint32());
2687
- break;
2688
- case 4:
2689
- message.balance = reader.string();
2690
- break;
2691
- default:
2692
- reader.skipType(tag & 7);
2693
- break;
2694
- }
2695
- }
2696
- return message;
2697
- },
2698
- fromPartial(object: DeepPartial<RedelegationEntryResponse>): RedelegationEntryResponse {
2699
- const message = createBaseRedelegationEntryResponse();
2700
- message.redelegationEntry = object.redelegationEntry !== undefined && object.redelegationEntry !== null ? RedelegationEntry.fromPartial(object.redelegationEntry) : undefined;
2701
- message.balance = object.balance ?? "";
2702
- return message;
2703
- },
2704
- fromAmino(object: RedelegationEntryResponseAmino): RedelegationEntryResponse {
2705
- const message = createBaseRedelegationEntryResponse();
2706
- if (object.redelegation_entry !== undefined && object.redelegation_entry !== null) {
2707
- message.redelegationEntry = RedelegationEntry.fromAmino(object.redelegation_entry);
2708
- }
2709
- if (object.balance !== undefined && object.balance !== null) {
2710
- message.balance = object.balance;
2711
- }
2712
- return message;
2713
- },
2714
- toAmino(message: RedelegationEntryResponse): RedelegationEntryResponseAmino {
2715
- const obj: any = {};
2716
- obj.redelegation_entry = message.redelegationEntry ? RedelegationEntry.toAmino(message.redelegationEntry) : RedelegationEntry.toAmino(RedelegationEntry.fromPartial({}));
2717
- obj.balance = message.balance === "" ? undefined : message.balance;
2718
- return obj;
2719
- },
2720
- fromAminoMsg(object: RedelegationEntryResponseAminoMsg): RedelegationEntryResponse {
2721
- return RedelegationEntryResponse.fromAmino(object.value);
2722
- },
2723
- toAminoMsg(message: RedelegationEntryResponse): RedelegationEntryResponseAminoMsg {
2724
- return {
2725
- type: "cosmos-sdk/RedelegationEntryResponse",
2726
- value: RedelegationEntryResponse.toAmino(message)
2727
- };
2728
- },
2729
- fromProtoMsg(message: RedelegationEntryResponseProtoMsg): RedelegationEntryResponse {
2730
- return RedelegationEntryResponse.decode(message.value);
2731
- },
2732
- toProto(message: RedelegationEntryResponse): Uint8Array {
2733
- return RedelegationEntryResponse.encode(message).finish();
2734
- },
2735
- toProtoMsg(message: RedelegationEntryResponse): RedelegationEntryResponseProtoMsg {
2736
- return {
2737
- typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse",
2738
- value: RedelegationEntryResponse.encode(message).finish()
2739
- };
2740
- }
2741
- };
2742
- GlobalDecoderRegistry.register(RedelegationEntryResponse.typeUrl, RedelegationEntryResponse);
2743
- GlobalDecoderRegistry.registerAminoProtoMapping(RedelegationEntryResponse.aminoType, RedelegationEntryResponse.typeUrl);
2744
- function createBaseRedelegationResponse(): RedelegationResponse {
2745
- return {
2746
- redelegation: Redelegation.fromPartial({}),
2747
- entries: []
2748
- };
2749
- }
2750
- export const RedelegationResponse = {
2751
- typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse",
2752
- aminoType: "cosmos-sdk/RedelegationResponse",
2753
- is(o: any): o is RedelegationResponse {
2754
- return o && (o.$typeUrl === RedelegationResponse.typeUrl || Redelegation.is(o.redelegation) && Array.isArray(o.entries) && (!o.entries.length || RedelegationEntryResponse.is(o.entries[0])));
2755
- },
2756
- isAmino(o: any): o is RedelegationResponseAmino {
2757
- return o && (o.$typeUrl === RedelegationResponse.typeUrl || Redelegation.isAmino(o.redelegation) && Array.isArray(o.entries) && (!o.entries.length || RedelegationEntryResponse.isAmino(o.entries[0])));
2758
- },
2759
- encode(message: RedelegationResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
2760
- if (message.redelegation !== undefined) {
2761
- Redelegation.encode(message.redelegation, writer.uint32(10).fork()).ldelim();
2762
- }
2763
- for (const v of message.entries) {
2764
- RedelegationEntryResponse.encode(v!, writer.uint32(18).fork()).ldelim();
2765
- }
2766
- return writer;
2767
- },
2768
- decode(input: BinaryReader | Uint8Array, length?: number): RedelegationResponse {
2769
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2770
- let end = length === undefined ? reader.len : reader.pos + length;
2771
- const message = createBaseRedelegationResponse();
2772
- while (reader.pos < end) {
2773
- const tag = reader.uint32();
2774
- switch (tag >>> 3) {
2775
- case 1:
2776
- message.redelegation = Redelegation.decode(reader, reader.uint32());
2777
- break;
2778
- case 2:
2779
- message.entries.push(RedelegationEntryResponse.decode(reader, reader.uint32()));
2780
- break;
2781
- default:
2782
- reader.skipType(tag & 7);
2783
- break;
2784
- }
2785
- }
2786
- return message;
2787
- },
2788
- fromPartial(object: DeepPartial<RedelegationResponse>): RedelegationResponse {
2789
- const message = createBaseRedelegationResponse();
2790
- message.redelegation = object.redelegation !== undefined && object.redelegation !== null ? Redelegation.fromPartial(object.redelegation) : undefined;
2791
- message.entries = object.entries?.map(e => RedelegationEntryResponse.fromPartial(e)) || [];
2792
- return message;
2793
- },
2794
- fromAmino(object: RedelegationResponseAmino): RedelegationResponse {
2795
- const message = createBaseRedelegationResponse();
2796
- if (object.redelegation !== undefined && object.redelegation !== null) {
2797
- message.redelegation = Redelegation.fromAmino(object.redelegation);
2798
- }
2799
- message.entries = object.entries?.map(e => RedelegationEntryResponse.fromAmino(e)) || [];
2800
- return message;
2801
- },
2802
- toAmino(message: RedelegationResponse): RedelegationResponseAmino {
2803
- const obj: any = {};
2804
- obj.redelegation = message.redelegation ? Redelegation.toAmino(message.redelegation) : Redelegation.toAmino(Redelegation.fromPartial({}));
2805
- if (message.entries) {
2806
- obj.entries = message.entries.map(e => e ? RedelegationEntryResponse.toAmino(e) : undefined);
2807
- } else {
2808
- obj.entries = message.entries;
2809
- }
2810
- return obj;
2811
- },
2812
- fromAminoMsg(object: RedelegationResponseAminoMsg): RedelegationResponse {
2813
- return RedelegationResponse.fromAmino(object.value);
2814
- },
2815
- toAminoMsg(message: RedelegationResponse): RedelegationResponseAminoMsg {
2816
- return {
2817
- type: "cosmos-sdk/RedelegationResponse",
2818
- value: RedelegationResponse.toAmino(message)
2819
- };
2820
- },
2821
- fromProtoMsg(message: RedelegationResponseProtoMsg): RedelegationResponse {
2822
- return RedelegationResponse.decode(message.value);
2823
- },
2824
- toProto(message: RedelegationResponse): Uint8Array {
2825
- return RedelegationResponse.encode(message).finish();
2826
- },
2827
- toProtoMsg(message: RedelegationResponse): RedelegationResponseProtoMsg {
2828
- return {
2829
- typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse",
2830
- value: RedelegationResponse.encode(message).finish()
2831
- };
2832
- }
2833
- };
2834
- GlobalDecoderRegistry.register(RedelegationResponse.typeUrl, RedelegationResponse);
2835
- GlobalDecoderRegistry.registerAminoProtoMapping(RedelegationResponse.aminoType, RedelegationResponse.typeUrl);
2836
- function createBasePool(): Pool {
2837
- return {
2838
- notBondedTokens: "",
2839
- bondedTokens: ""
2840
- };
2841
- }
2842
- export const Pool = {
2843
- typeUrl: "/cosmos.staking.v1beta1.Pool",
2844
- aminoType: "cosmos-sdk/Pool",
2845
- is(o: any): o is Pool {
2846
- return o && (o.$typeUrl === Pool.typeUrl || typeof o.notBondedTokens === "string" && typeof o.bondedTokens === "string");
2847
- },
2848
- isAmino(o: any): o is PoolAmino {
2849
- return o && (o.$typeUrl === Pool.typeUrl || typeof o.not_bonded_tokens === "string" && typeof o.bonded_tokens === "string");
2850
- },
2851
- encode(message: Pool, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
2852
- if (message.notBondedTokens !== "") {
2853
- writer.uint32(10).string(message.notBondedTokens);
2854
- }
2855
- if (message.bondedTokens !== "") {
2856
- writer.uint32(18).string(message.bondedTokens);
2857
- }
2858
- return writer;
2859
- },
2860
- decode(input: BinaryReader | Uint8Array, length?: number): Pool {
2861
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2862
- let end = length === undefined ? reader.len : reader.pos + length;
2863
- const message = createBasePool();
2864
- while (reader.pos < end) {
2865
- const tag = reader.uint32();
2866
- switch (tag >>> 3) {
2867
- case 1:
2868
- message.notBondedTokens = reader.string();
2869
- break;
2870
- case 2:
2871
- message.bondedTokens = reader.string();
2872
- break;
2873
- default:
2874
- reader.skipType(tag & 7);
2875
- break;
2876
- }
2877
- }
2878
- return message;
2879
- },
2880
- fromPartial(object: DeepPartial<Pool>): Pool {
2881
- const message = createBasePool();
2882
- message.notBondedTokens = object.notBondedTokens ?? "";
2883
- message.bondedTokens = object.bondedTokens ?? "";
2884
- return message;
2885
- },
2886
- fromAmino(object: PoolAmino): Pool {
2887
- const message = createBasePool();
2888
- if (object.not_bonded_tokens !== undefined && object.not_bonded_tokens !== null) {
2889
- message.notBondedTokens = object.not_bonded_tokens;
2890
- }
2891
- if (object.bonded_tokens !== undefined && object.bonded_tokens !== null) {
2892
- message.bondedTokens = object.bonded_tokens;
2893
- }
2894
- return message;
2895
- },
2896
- toAmino(message: Pool): PoolAmino {
2897
- const obj: any = {};
2898
- obj.not_bonded_tokens = message.notBondedTokens ?? "";
2899
- obj.bonded_tokens = message.bondedTokens ?? "";
2900
- return obj;
2901
- },
2902
- fromAminoMsg(object: PoolAminoMsg): Pool {
2903
- return Pool.fromAmino(object.value);
2904
- },
2905
- toAminoMsg(message: Pool): PoolAminoMsg {
2906
- return {
2907
- type: "cosmos-sdk/Pool",
2908
- value: Pool.toAmino(message)
2909
- };
2910
- },
2911
- fromProtoMsg(message: PoolProtoMsg): Pool {
2912
- return Pool.decode(message.value);
2913
- },
2914
- toProto(message: Pool): Uint8Array {
2915
- return Pool.encode(message).finish();
2916
- },
2917
- toProtoMsg(message: Pool): PoolProtoMsg {
2918
- return {
2919
- typeUrl: "/cosmos.staking.v1beta1.Pool",
2920
- value: Pool.encode(message).finish()
2921
- };
2922
- }
2923
- };
2924
- GlobalDecoderRegistry.register(Pool.typeUrl, Pool);
2925
- GlobalDecoderRegistry.registerAminoProtoMapping(Pool.aminoType, Pool.typeUrl);
2926
- function createBaseValidatorUpdates(): ValidatorUpdates {
2927
- return {
2928
- updates: []
2929
- };
2930
- }
2931
- export const ValidatorUpdates = {
2932
- typeUrl: "/cosmos.staking.v1beta1.ValidatorUpdates",
2933
- aminoType: "cosmos-sdk/ValidatorUpdates",
2934
- is(o: any): o is ValidatorUpdates {
2935
- return o && (o.$typeUrl === ValidatorUpdates.typeUrl || Array.isArray(o.updates) && (!o.updates.length || ValidatorUpdate.is(o.updates[0])));
2936
- },
2937
- isAmino(o: any): o is ValidatorUpdatesAmino {
2938
- return o && (o.$typeUrl === ValidatorUpdates.typeUrl || Array.isArray(o.updates) && (!o.updates.length || ValidatorUpdate.isAmino(o.updates[0])));
2939
- },
2940
- encode(message: ValidatorUpdates, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
2941
- for (const v of message.updates) {
2942
- ValidatorUpdate.encode(v!, writer.uint32(10).fork()).ldelim();
2943
- }
2944
- return writer;
2945
- },
2946
- decode(input: BinaryReader | Uint8Array, length?: number): ValidatorUpdates {
2947
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
2948
- let end = length === undefined ? reader.len : reader.pos + length;
2949
- const message = createBaseValidatorUpdates();
2950
- while (reader.pos < end) {
2951
- const tag = reader.uint32();
2952
- switch (tag >>> 3) {
2953
- case 1:
2954
- message.updates.push(ValidatorUpdate.decode(reader, reader.uint32()));
2955
- break;
2956
- default:
2957
- reader.skipType(tag & 7);
2958
- break;
2959
- }
2960
- }
2961
- return message;
2962
- },
2963
- fromPartial(object: DeepPartial<ValidatorUpdates>): ValidatorUpdates {
2964
- const message = createBaseValidatorUpdates();
2965
- message.updates = object.updates?.map(e => ValidatorUpdate.fromPartial(e)) || [];
2966
- return message;
2967
- },
2968
- fromAmino(object: ValidatorUpdatesAmino): ValidatorUpdates {
2969
- const message = createBaseValidatorUpdates();
2970
- message.updates = object.updates?.map(e => ValidatorUpdate.fromAmino(e)) || [];
2971
- return message;
2972
- },
2973
- toAmino(message: ValidatorUpdates): ValidatorUpdatesAmino {
2974
- const obj: any = {};
2975
- if (message.updates) {
2976
- obj.updates = message.updates.map(e => e ? ValidatorUpdate.toAmino(e) : undefined);
2977
- } else {
2978
- obj.updates = message.updates;
2979
- }
2980
- return obj;
2981
- },
2982
- fromAminoMsg(object: ValidatorUpdatesAminoMsg): ValidatorUpdates {
2983
- return ValidatorUpdates.fromAmino(object.value);
2984
- },
2985
- toAminoMsg(message: ValidatorUpdates): ValidatorUpdatesAminoMsg {
2986
- return {
2987
- type: "cosmos-sdk/ValidatorUpdates",
2988
- value: ValidatorUpdates.toAmino(message)
2989
- };
2990
- },
2991
- fromProtoMsg(message: ValidatorUpdatesProtoMsg): ValidatorUpdates {
2992
- return ValidatorUpdates.decode(message.value);
2993
- },
2994
- toProto(message: ValidatorUpdates): Uint8Array {
2995
- return ValidatorUpdates.encode(message).finish();
2996
- },
2997
- toProtoMsg(message: ValidatorUpdates): ValidatorUpdatesProtoMsg {
2998
- return {
2999
- typeUrl: "/cosmos.staking.v1beta1.ValidatorUpdates",
3000
- value: ValidatorUpdates.encode(message).finish()
3001
- };
3002
- }
3003
- };
3004
- GlobalDecoderRegistry.register(ValidatorUpdates.typeUrl, ValidatorUpdates);
3005
- GlobalDecoderRegistry.registerAminoProtoMapping(ValidatorUpdates.aminoType, ValidatorUpdates.typeUrl);