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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1555) hide show
  1. package/amino/amino.d.ts +1 -0
  2. package/amino/amino.js +2 -0
  3. package/binary.d.ts +130 -0
  4. package/binary.js +370 -0
  5. package/cosmos/app/runtime/v1alpha1/module.d.ts +176 -0
  6. package/cosmos/app/runtime/v1alpha1/module.js +292 -0
  7. package/cosmos/app/runtime/v2/module.d.ts +231 -0
  8. package/cosmos/app/runtime/v2/module.js +421 -0
  9. package/cosmos/app/v1alpha1/config.d.ts +184 -0
  10. package/cosmos/app/v1alpha1/config.js +298 -0
  11. package/cosmos/app/v1alpha1/module.d.ts +237 -0
  12. package/cosmos/app/v1alpha1/module.js +280 -0
  13. package/cosmos/app/v1alpha1/query.d.ts +69 -0
  14. package/cosmos/app/v1alpha1/query.js +148 -0
  15. package/cosmos/app/v1alpha1/query.rpc.func.d.ts +3 -0
  16. package/cosmos/app/v1alpha1/query.rpc.func.js +14 -0
  17. package/cosmos/app/v1alpha1/query.rpc.react.d.ts +2 -0
  18. package/cosmos/app/v1alpha1/query.rpc.react.js +9 -0
  19. package/cosmos/auth/module/v1/module.d.ts +90 -0
  20. package/cosmos/auth/module/v1/module.js +202 -0
  21. package/cosmos/auth/v1beta1/accounts.d.ts +106 -0
  22. package/cosmos/auth/v1beta1/accounts.js +161 -0
  23. package/cosmos/auth/v1beta1/auth.d.ts +181 -0
  24. package/cosmos/auth/v1beta1/auth.js +448 -0
  25. package/cosmos/auth/v1beta1/genesis.d.ts +43 -0
  26. package/cosmos/auth/v1beta1/genesis.js +98 -0
  27. package/cosmos/auth/v1beta1/query.d.ts +830 -0
  28. package/cosmos/auth/v1beta1/query.js +1558 -0
  29. package/cosmos/auth/v1beta1/query.rpc.func.d.ts +12 -0
  30. package/cosmos/auth/v1beta1/query.rpc.func.js +95 -0
  31. package/cosmos/auth/v1beta1/query.rpc.react.d.ts +11 -0
  32. package/cosmos/auth/v1beta1/query.rpc.react.js +45 -0
  33. package/cosmos/auth/v1beta1/tx.d.ts +99 -0
  34. package/cosmos/auth/v1beta1/tx.js +160 -0
  35. package/cosmos/auth/v1beta1/tx.registry.d.ts +2 -0
  36. package/cosmos/auth/v1beta1/tx.registry.js +5 -0
  37. package/cosmos/auth/v1beta1/tx.rpc.func.d.ts +3 -0
  38. package/cosmos/auth/v1beta1/tx.rpc.func.js +14 -0
  39. package/cosmos/auth/v1beta1/tx.rpc.react.d.ts +2 -0
  40. package/cosmos/auth/v1beta1/tx.rpc.react.js +8 -0
  41. package/cosmos/authz/module/v1/module.d.ts +33 -0
  42. package/cosmos/authz/module/v1/module.js +68 -0
  43. package/cosmos/authz/v1beta1/authz.d.ts +185 -0
  44. package/cosmos/authz/v1beta1/authz.js +390 -0
  45. package/cosmos/authz/v1beta1/event.d.ts +88 -0
  46. package/cosmos/authz/v1beta1/event.js +206 -0
  47. package/cosmos/authz/v1beta1/genesis.d.ts +36 -0
  48. package/cosmos/authz/v1beta1/genesis.js +87 -0
  49. package/cosmos/authz/v1beta1/query.d.ts +238 -0
  50. package/cosmos/authz/v1beta1/query.js +588 -0
  51. package/cosmos/authz/v1beta1/query.rpc.func.d.ts +5 -0
  52. package/cosmos/authz/v1beta1/query.rpc.func.js +32 -0
  53. package/cosmos/authz/v1beta1/query.rpc.react.d.ts +4 -0
  54. package/cosmos/authz/v1beta1/query.rpc.react.js +17 -0
  55. package/cosmos/authz/v1beta1/tx.d.ts +246 -0
  56. package/cosmos/authz/v1beta1/tx.js +512 -0
  57. package/cosmos/authz/v1beta1/tx.registry.d.ts +2 -0
  58. package/cosmos/authz/v1beta1/tx.registry.js +5 -0
  59. package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +5 -0
  60. package/cosmos/authz/v1beta1/tx.rpc.func.js +30 -0
  61. package/cosmos/authz/v1beta1/tx.rpc.react.d.ts +4 -0
  62. package/cosmos/authz/v1beta1/tx.rpc.react.js +14 -0
  63. package/cosmos/autocli/v1/options.d.ts +419 -0
  64. package/cosmos/autocli/v1/options.js +842 -0
  65. package/cosmos/autocli/v1/query.d.ts +100 -0
  66. package/cosmos/autocli/v1/query.js +239 -0
  67. package/cosmos/autocli/v1/query.rpc.func.d.ts +3 -0
  68. package/cosmos/autocli/v1/query.rpc.func.js +14 -0
  69. package/cosmos/autocli/v1/query.rpc.react.d.ts +2 -0
  70. package/cosmos/autocli/v1/query.rpc.react.js +9 -0
  71. package/cosmos/bank/module/v1/module.d.ts +63 -0
  72. package/cosmos/bank/module/v1/module.js +111 -0
  73. package/cosmos/bank/v1beta1/authz.d.ts +60 -0
  74. package/cosmos/bank/v1beta1/authz.js +105 -0
  75. package/cosmos/bank/v1beta1/bank.d.ts +378 -0
  76. package/cosmos/bank/v1beta1/bank.js +731 -0
  77. package/cosmos/bank/v1beta1/genesis.d.ts +114 -0
  78. package/cosmos/bank/v1beta1/genesis.js +243 -0
  79. package/cosmos/bank/v1beta1/query.d.ts +1186 -0
  80. package/cosmos/bank/v1beta1/query.js +2338 -0
  81. package/cosmos/bank/v1beta1/query.rpc.func.d.ts +15 -0
  82. package/cosmos/bank/v1beta1/query.rpc.func.js +122 -0
  83. package/cosmos/bank/v1beta1/query.rpc.react.d.ts +14 -0
  84. package/cosmos/bank/v1beta1/query.rpc.react.js +57 -0
  85. package/cosmos/bank/v1beta1/tx.d.ts +350 -0
  86. package/cosmos/bank/v1beta1/tx.js +666 -0
  87. package/cosmos/bank/v1beta1/tx.registry.d.ts +2 -0
  88. package/cosmos/bank/v1beta1/tx.registry.js +5 -0
  89. package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +6 -0
  90. package/cosmos/bank/v1beta1/tx.rpc.func.js +38 -0
  91. package/cosmos/bank/v1beta1/tx.rpc.react.d.ts +5 -0
  92. package/cosmos/bank/v1beta1/tx.rpc.react.js +17 -0
  93. package/cosmos/base/abci/v1beta1/abci.d.ts +610 -0
  94. package/cosmos/base/abci/v1beta1/abci.js +1294 -0
  95. package/cosmos/base/grpc/v2/service.d.ts +168 -0
  96. package/cosmos/base/grpc/v2/service.js +394 -0
  97. package/cosmos/base/grpc/v2/service.rpc.func.d.ts +4 -0
  98. package/cosmos/base/grpc/v2/service.rpc.func.js +23 -0
  99. package/cosmos/base/grpc/v2/service.rpc.react.d.ts +3 -0
  100. package/cosmos/base/grpc/v2/service.rpc.react.js +13 -0
  101. package/cosmos/base/node/v1beta1/query.d.ts +154 -0
  102. package/cosmos/base/node/v1beta1/query.js +372 -0
  103. package/cosmos/base/node/v1beta1/query.rpc.func.d.ts +4 -0
  104. package/cosmos/base/node/v1beta1/query.rpc.func.js +23 -0
  105. package/cosmos/base/node/v1beta1/query.rpc.react.d.ts +3 -0
  106. package/cosmos/base/node/v1beta1/query.rpc.react.js +13 -0
  107. package/cosmos/base/query/v1beta1/pagination.d.ts +178 -0
  108. package/cosmos/base/query/v1beta1/pagination.js +219 -0
  109. package/cosmos/base/reflection/v1beta1/reflection.d.ts +148 -0
  110. package/cosmos/base/reflection/v1beta1/reflection.js +305 -0
  111. package/cosmos/base/reflection/v1beta1/reflection.rpc.func.d.ts +4 -0
  112. package/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +23 -0
  113. package/cosmos/base/reflection/v1beta1/reflection.rpc.react.d.ts +3 -0
  114. package/cosmos/base/reflection/v1beta1/reflection.rpc.react.js +13 -0
  115. package/cosmos/base/reflection/v2alpha1/reflection.d.ts +1034 -0
  116. package/cosmos/base/reflection/v2alpha1/reflection.js +2164 -0
  117. package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.d.ts +8 -0
  118. package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +59 -0
  119. package/cosmos/base/reflection/v2alpha1/reflection.rpc.react.d.ts +7 -0
  120. package/cosmos/base/reflection/v2alpha1/reflection.rpc.react.js +29 -0
  121. package/cosmos/base/tendermint/v1beta1/query.d.ts +759 -0
  122. package/cosmos/base/tendermint/v1beta1/query.js +1894 -0
  123. package/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +9 -0
  124. package/cosmos/base/tendermint/v1beta1/query.rpc.func.js +68 -0
  125. package/cosmos/base/tendermint/v1beta1/query.rpc.react.d.ts +8 -0
  126. package/cosmos/base/tendermint/v1beta1/query.rpc.react.js +33 -0
  127. package/cosmos/base/tendermint/v1beta1/types.d.ts +139 -0
  128. package/cosmos/base/tendermint/v1beta1/types.js +363 -0
  129. package/cosmos/base/v1beta1/coin.d.ts +170 -0
  130. package/cosmos/base/v1beta1/coin.js +337 -0
  131. package/cosmos/circuit/module/v1/module.d.ts +36 -0
  132. package/cosmos/circuit/module/v1/module.js +83 -0
  133. package/cosmos/circuit/v1/query.d.ts +200 -0
  134. package/cosmos/circuit/v1/query.js +480 -0
  135. package/cosmos/circuit/v1/query.rpc.func.d.ts +8 -0
  136. package/cosmos/circuit/v1/query.rpc.func.js +42 -0
  137. package/cosmos/circuit/v1/tx.d.ts +251 -0
  138. package/cosmos/circuit/v1/tx.js +528 -0
  139. package/cosmos/circuit/v1/tx.registry.d.ts +47 -0
  140. package/cosmos/circuit/v1/tx.registry.js +67 -0
  141. package/cosmos/circuit/v1/tx.rpc.func.d.ts +8 -0
  142. package/cosmos/circuit/v1/tx.rpc.func.js +37 -0
  143. package/cosmos/circuit/v1/types.d.ts +151 -0
  144. package/cosmos/circuit/v1/types.js +350 -0
  145. package/cosmos/consensus/module/v1/module.d.ts +37 -0
  146. package/cosmos/consensus/module/v1/module.js +81 -0
  147. package/cosmos/consensus/v1/query.d.ts +77 -0
  148. package/cosmos/consensus/v1/query.js +148 -0
  149. package/cosmos/consensus/v1/query.rpc.func.d.ts +3 -0
  150. package/cosmos/consensus/v1/query.rpc.func.js +14 -0
  151. package/cosmos/consensus/v1/query.rpc.react.d.ts +2 -0
  152. package/cosmos/consensus/v1/query.rpc.react.js +9 -0
  153. package/cosmos/consensus/v1/tx.d.ts +99 -0
  154. package/cosmos/consensus/v1/tx.js +199 -0
  155. package/cosmos/consensus/v1/tx.registry.d.ts +2 -0
  156. package/cosmos/consensus/v1/tx.registry.js +5 -0
  157. package/cosmos/consensus/v1/tx.rpc.func.d.ts +3 -0
  158. package/cosmos/consensus/v1/tx.rpc.func.js +14 -0
  159. package/cosmos/consensus/v1/tx.rpc.react.d.ts +2 -0
  160. package/cosmos/consensus/v1/tx.rpc.react.js +8 -0
  161. package/cosmos/crisis/module/v1/module.d.ts +40 -0
  162. package/cosmos/crisis/module/v1/module.js +95 -0
  163. package/cosmos/crisis/v1beta1/genesis.d.ts +43 -0
  164. package/cosmos/crisis/v1beta1/genesis.js +84 -0
  165. package/cosmos/crisis/v1beta1/tx.d.ts +161 -0
  166. package/cosmos/crisis/v1beta1/tx.js +328 -0
  167. package/cosmos/crisis/v1beta1/tx.registry.d.ts +35 -0
  168. package/cosmos/crisis/v1beta1/tx.registry.js +49 -0
  169. package/cosmos/crisis/v1beta1/tx.rpc.func.d.ts +6 -0
  170. package/cosmos/crisis/v1beta1/tx.rpc.func.js +27 -0
  171. package/cosmos/crypto/ed25519/keys.d.ts +84 -0
  172. package/cosmos/crypto/ed25519/keys.js +162 -0
  173. package/cosmos/crypto/hd/v1/hd.d.ts +58 -0
  174. package/cosmos/crypto/hd/v1/hd.js +131 -0
  175. package/cosmos/crypto/keyring/v1/record.d.ts +188 -0
  176. package/cosmos/crypto/keyring/v1/record.js +431 -0
  177. package/cosmos/crypto/multisig/keys.d.ts +45 -0
  178. package/cosmos/crypto/multisig/keys.js +99 -0
  179. package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +88 -0
  180. package/cosmos/crypto/multisig/v1beta1/multisig.js +174 -0
  181. package/cosmos/crypto/secp256k1/keys.d.ts +78 -0
  182. package/cosmos/crypto/secp256k1/keys.js +162 -0
  183. package/cosmos/crypto/secp256r1/keys.d.ts +76 -0
  184. package/cosmos/crypto/secp256r1/keys.js +162 -0
  185. package/cosmos/distribution/module/v1/module.d.ts +39 -0
  186. package/cosmos/distribution/module/v1/module.js +93 -0
  187. package/cosmos/distribution/v1beta1/distribution.d.ts +553 -0
  188. package/cosmos/distribution/v1beta1/distribution.js +1168 -0
  189. package/cosmos/distribution/v1beta1/genesis.d.ts +384 -0
  190. package/cosmos/distribution/v1beta1/genesis.js +908 -0
  191. package/cosmos/distribution/v1beta1/query.d.ts +823 -0
  192. package/cosmos/distribution/v1beta1/query.js +1661 -0
  193. package/cosmos/distribution/v1beta1/query.rpc.func.d.ts +12 -0
  194. package/cosmos/distribution/v1beta1/query.rpc.func.js +95 -0
  195. package/cosmos/distribution/v1beta1/query.rpc.react.d.ts +11 -0
  196. package/cosmos/distribution/v1beta1/query.rpc.react.js +45 -0
  197. package/cosmos/distribution/v1beta1/tx.d.ts +592 -0
  198. package/cosmos/distribution/v1beta1/tx.js +1142 -0
  199. package/cosmos/distribution/v1beta1/tx.registry.d.ts +2 -0
  200. package/cosmos/distribution/v1beta1/tx.registry.js +5 -0
  201. package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +9 -0
  202. package/cosmos/distribution/v1beta1/tx.rpc.func.js +62 -0
  203. package/cosmos/distribution/v1beta1/tx.rpc.react.d.ts +8 -0
  204. package/cosmos/distribution/v1beta1/tx.rpc.react.js +26 -0
  205. package/cosmos/evidence/module/v1/module.d.ts +33 -0
  206. package/cosmos/evidence/module/v1/module.js +68 -0
  207. package/cosmos/evidence/v1beta1/evidence.d.ts +55 -0
  208. package/cosmos/evidence/v1beta1/evidence.js +119 -0
  209. package/cosmos/evidence/v1beta1/genesis.d.ts +38 -0
  210. package/cosmos/evidence/v1beta1/genesis.js +85 -0
  211. package/cosmos/evidence/v1beta1/query.d.ts +180 -0
  212. package/cosmos/evidence/v1beta1/query.js +346 -0
  213. package/cosmos/evidence/v1beta1/query.rpc.func.d.ts +4 -0
  214. package/cosmos/evidence/v1beta1/query.rpc.func.js +23 -0
  215. package/cosmos/evidence/v1beta1/query.rpc.react.d.ts +3 -0
  216. package/cosmos/evidence/v1beta1/query.rpc.react.js +13 -0
  217. package/cosmos/evidence/v1beta1/tx.d.ts +86 -0
  218. package/cosmos/evidence/v1beta1/tx.js +173 -0
  219. package/cosmos/evidence/v1beta1/tx.registry.d.ts +2 -0
  220. package/cosmos/evidence/v1beta1/tx.registry.js +5 -0
  221. package/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +3 -0
  222. package/cosmos/evidence/v1beta1/tx.rpc.func.js +14 -0
  223. package/cosmos/evidence/v1beta1/tx.rpc.react.d.ts +2 -0
  224. package/cosmos/evidence/v1beta1/tx.rpc.react.js +8 -0
  225. package/cosmos/feegrant/module/v1/module.d.ts +33 -0
  226. package/cosmos/feegrant/module/v1/module.js +68 -0
  227. package/cosmos/feegrant/v1beta1/feegrant.d.ts +223 -0
  228. package/cosmos/feegrant/v1beta1/feegrant.js +445 -0
  229. package/cosmos/feegrant/v1beta1/genesis.d.ts +36 -0
  230. package/cosmos/feegrant/v1beta1/genesis.js +87 -0
  231. package/cosmos/feegrant/v1beta1/query.d.ts +246 -0
  232. package/cosmos/feegrant/v1beta1/query.js +546 -0
  233. package/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +5 -0
  234. package/cosmos/feegrant/v1beta1/query.rpc.func.js +32 -0
  235. package/cosmos/feegrant/v1beta1/query.rpc.react.d.ts +4 -0
  236. package/cosmos/feegrant/v1beta1/query.rpc.react.js +17 -0
  237. package/cosmos/feegrant/v1beta1/tx.d.ts +239 -0
  238. package/cosmos/feegrant/v1beta1/tx.js +470 -0
  239. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +2 -0
  240. package/cosmos/feegrant/v1beta1/tx.registry.js +5 -0
  241. package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +5 -0
  242. package/cosmos/feegrant/v1beta1/tx.rpc.func.js +30 -0
  243. package/cosmos/feegrant/v1beta1/tx.rpc.react.d.ts +4 -0
  244. package/cosmos/feegrant/v1beta1/tx.rpc.react.js +14 -0
  245. package/cosmos/genutil/module/v1/module.d.ts +32 -0
  246. package/cosmos/genutil/module/v1/module.js +70 -0
  247. package/cosmos/genutil/v1beta1/genesis.d.ts +36 -0
  248. package/cosmos/genutil/v1beta1/genesis.js +87 -0
  249. package/cosmos/gov/module/v1/module.d.ts +47 -0
  250. package/cosmos/gov/module/v1/module.js +93 -0
  251. package/cosmos/gov/v1/genesis.d.ts +116 -0
  252. package/cosmos/gov/v1/genesis.js +195 -0
  253. package/cosmos/gov/v1/gov.d.ts +705 -0
  254. package/cosmos/gov/v1/gov.js +1364 -0
  255. package/cosmos/gov/v1/query.d.ts +724 -0
  256. package/cosmos/gov/v1/query.js +1573 -0
  257. package/cosmos/gov/v1/query.rpc.func.d.ts +11 -0
  258. package/cosmos/gov/v1/query.rpc.func.js +86 -0
  259. package/cosmos/gov/v1/query.rpc.react.d.ts +10 -0
  260. package/cosmos/gov/v1/query.rpc.react.js +41 -0
  261. package/cosmos/gov/v1/tx.d.ts +640 -0
  262. package/cosmos/gov/v1/tx.js +1298 -0
  263. package/cosmos/gov/v1/tx.registry.d.ts +2 -0
  264. package/cosmos/gov/v1/tx.registry.js +5 -0
  265. package/cosmos/gov/v1/tx.rpc.func.d.ts +9 -0
  266. package/cosmos/gov/v1/tx.rpc.func.js +62 -0
  267. package/cosmos/gov/v1/tx.rpc.react.d.ts +8 -0
  268. package/cosmos/gov/v1/tx.rpc.react.js +26 -0
  269. package/cosmos/gov/v1beta1/genesis.d.ts +62 -0
  270. package/cosmos/gov/v1beta1/genesis.js +170 -0
  271. package/cosmos/gov/v1beta1/gov.d.ts +533 -0
  272. package/cosmos/gov/v1beta1/gov.js +1143 -0
  273. package/cosmos/gov/v1beta1/query.d.ts +622 -0
  274. package/cosmos/gov/v1beta1/query.js +1419 -0
  275. package/cosmos/gov/v1beta1/query.rpc.func.d.ts +10 -0
  276. package/cosmos/gov/v1beta1/query.rpc.func.js +77 -0
  277. package/cosmos/gov/v1beta1/query.rpc.react.d.ts +9 -0
  278. package/cosmos/gov/v1beta1/query.rpc.react.js +37 -0
  279. package/cosmos/gov/v1beta1/tx.d.ts +335 -0
  280. package/cosmos/gov/v1beta1/tx.js +722 -0
  281. package/cosmos/gov/v1beta1/tx.registry.d.ts +2 -0
  282. package/cosmos/gov/v1beta1/tx.registry.js +5 -0
  283. package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +6 -0
  284. package/cosmos/gov/v1beta1/tx.rpc.func.js +38 -0
  285. package/cosmos/gov/v1beta1/tx.rpc.react.d.ts +5 -0
  286. package/cosmos/gov/v1beta1/tx.rpc.react.js +17 -0
  287. package/cosmos/group/module/v1/module.d.ts +53 -0
  288. package/cosmos/group/module/v1/module.js +96 -0
  289. package/cosmos/group/v1/events.d.ts +363 -0
  290. package/cosmos/group/v1/events.js +847 -0
  291. package/cosmos/group/v1/genesis.d.ts +83 -0
  292. package/cosmos/group/v1/genesis.js +183 -0
  293. package/cosmos/group/v1/query.d.ts +1044 -0
  294. package/cosmos/group/v1/query.js +2434 -0
  295. package/cosmos/group/v1/query.rpc.func.d.ts +30 -0
  296. package/cosmos/group/v1/query.rpc.func.js +174 -0
  297. package/cosmos/group/v1/tx.d.ts +1140 -0
  298. package/cosmos/group/v1/tx.js +2567 -0
  299. package/cosmos/group/v1/tx.registry.d.ts +179 -0
  300. package/cosmos/group/v1/tx.registry.js +265 -0
  301. package/cosmos/group/v1/tx.rpc.func.d.ts +30 -0
  302. package/cosmos/group/v1/tx.rpc.func.js +147 -0
  303. package/cosmos/group/v1/types.d.ts +799 -0
  304. package/cosmos/group/v1/types.js +1542 -0
  305. package/cosmos/ics23/v1/proofs.d.ts +743 -0
  306. package/cosmos/ics23/v1/proofs.js +1619 -0
  307. package/cosmos/mint/module/v1/module.d.ts +39 -0
  308. package/cosmos/mint/module/v1/module.js +93 -0
  309. package/cosmos/mint/v1beta1/genesis.d.ts +42 -0
  310. package/cosmos/mint/v1beta1/genesis.js +97 -0
  311. package/cosmos/mint/v1beta1/mint.d.ts +96 -0
  312. package/cosmos/mint/v1beta1/mint.js +231 -0
  313. package/cosmos/mint/v1beta1/query.d.ts +219 -0
  314. package/cosmos/mint/v1beta1/query.js +431 -0
  315. package/cosmos/mint/v1beta1/query.rpc.func.d.ts +5 -0
  316. package/cosmos/mint/v1beta1/query.rpc.func.js +32 -0
  317. package/cosmos/mint/v1beta1/query.rpc.react.d.ts +4 -0
  318. package/cosmos/mint/v1beta1/query.rpc.react.js +17 -0
  319. package/cosmos/mint/v1beta1/tx.d.ts +99 -0
  320. package/cosmos/mint/v1beta1/tx.js +160 -0
  321. package/cosmos/mint/v1beta1/tx.registry.d.ts +2 -0
  322. package/cosmos/mint/v1beta1/tx.registry.js +5 -0
  323. package/cosmos/mint/v1beta1/tx.rpc.func.d.ts +3 -0
  324. package/cosmos/mint/v1beta1/tx.rpc.func.js +14 -0
  325. package/cosmos/mint/v1beta1/tx.rpc.react.d.ts +2 -0
  326. package/cosmos/mint/v1beta1/tx.rpc.react.js +8 -0
  327. package/cosmos/msg/textual/v1/textual.d.ts +1 -0
  328. package/cosmos/msg/textual/v1/textual.js +2 -0
  329. package/cosmos/msg/v1/msg.d.ts +1 -0
  330. package/cosmos/msg/v1/msg.js +2 -0
  331. package/cosmos/nft/module/v1/module.d.ts +32 -0
  332. package/cosmos/nft/module/v1/module.js +70 -0
  333. package/cosmos/nft/v1beta1/event.d.ts +132 -0
  334. package/cosmos/nft/v1beta1/event.js +323 -0
  335. package/cosmos/nft/v1beta1/genesis.d.ts +79 -0
  336. package/cosmos/nft/v1beta1/genesis.js +195 -0
  337. package/cosmos/nft/v1beta1/nft.d.ts +111 -0
  338. package/cosmos/nft/v1beta1/nft.js +282 -0
  339. package/cosmos/nft/v1beta1/query.d.ts +508 -0
  340. package/cosmos/nft/v1beta1/query.js +1189 -0
  341. package/cosmos/nft/v1beta1/query.rpc.func.d.ts +16 -0
  342. package/cosmos/nft/v1beta1/query.rpc.func.js +90 -0
  343. package/cosmos/nft/v1beta1/tx.d.ts +78 -0
  344. package/cosmos/nft/v1beta1/tx.js +184 -0
  345. package/cosmos/nft/v1beta1/tx.registry.d.ts +23 -0
  346. package/cosmos/nft/v1beta1/tx.registry.js +31 -0
  347. package/cosmos/nft/v1beta1/tx.rpc.func.d.ts +4 -0
  348. package/cosmos/nft/v1beta1/tx.rpc.func.js +17 -0
  349. package/cosmos/orm/module/v1alpha1/module.d.ts +40 -0
  350. package/cosmos/orm/module/v1alpha1/module.js +70 -0
  351. package/cosmos/orm/query/v1alpha1/query.d.ts +367 -0
  352. package/cosmos/orm/query/v1alpha1/query.js +751 -0
  353. package/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +6 -0
  354. package/cosmos/orm/query/v1alpha1/query.rpc.func.js +30 -0
  355. package/cosmos/orm/v1/orm.d.ts +278 -0
  356. package/cosmos/orm/v1/orm.js +380 -0
  357. package/cosmos/orm/v1alpha1/schema.d.ts +134 -0
  358. package/cosmos/orm/v1alpha1/schema.js +258 -0
  359. package/cosmos/params/module/v1/module.d.ts +33 -0
  360. package/cosmos/params/module/v1/module.js +68 -0
  361. package/cosmos/params/v1beta1/params.d.ts +82 -0
  362. package/cosmos/params/v1beta1/params.js +214 -0
  363. package/cosmos/params/v1beta1/query.d.ts +206 -0
  364. package/cosmos/params/v1beta1/query.js +411 -0
  365. package/cosmos/params/v1beta1/query.rpc.func.d.ts +4 -0
  366. package/cosmos/params/v1beta1/query.rpc.func.js +23 -0
  367. package/cosmos/params/v1beta1/query.rpc.react.d.ts +3 -0
  368. package/cosmos/params/v1beta1/query.rpc.react.js +13 -0
  369. package/cosmos/query/v1/query.d.ts +1 -0
  370. package/cosmos/query/v1/query.js +2 -0
  371. package/cosmos/reflection/v1/reflection.d.ts +67 -0
  372. package/cosmos/reflection/v1/reflection.js +152 -0
  373. package/cosmos/reflection/v1/reflection.rpc.func.d.ts +4 -0
  374. package/cosmos/reflection/v1/reflection.rpc.func.js +18 -0
  375. package/cosmos/slashing/module/v1/module.d.ts +37 -0
  376. package/cosmos/slashing/module/v1/module.js +81 -0
  377. package/cosmos/slashing/v1beta1/genesis.d.ts +181 -0
  378. package/cosmos/slashing/v1beta1/genesis.js +390 -0
  379. package/cosmos/slashing/v1beta1/query.d.ts +232 -0
  380. package/cosmos/slashing/v1beta1/query.js +479 -0
  381. package/cosmos/slashing/v1beta1/query.rpc.func.d.ts +5 -0
  382. package/cosmos/slashing/v1beta1/query.rpc.func.js +32 -0
  383. package/cosmos/slashing/v1beta1/query.rpc.react.d.ts +4 -0
  384. package/cosmos/slashing/v1beta1/query.rpc.react.js +17 -0
  385. package/cosmos/slashing/v1beta1/slashing.d.ts +125 -0
  386. package/cosmos/slashing/v1beta1/slashing.js +269 -0
  387. package/cosmos/slashing/v1beta1/tx.d.ts +163 -0
  388. package/cosmos/slashing/v1beta1/tx.js +301 -0
  389. package/cosmos/slashing/v1beta1/tx.registry.d.ts +2 -0
  390. package/cosmos/slashing/v1beta1/tx.registry.js +5 -0
  391. package/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +4 -0
  392. package/cosmos/slashing/v1beta1/tx.rpc.func.js +22 -0
  393. package/cosmos/slashing/v1beta1/tx.rpc.react.d.ts +3 -0
  394. package/cosmos/slashing/v1beta1/tx.rpc.react.js +11 -0
  395. package/cosmos/staking/module/v1/module.d.ts +57 -0
  396. package/cosmos/staking/module/v1/module.js +120 -0
  397. package/cosmos/staking/v1beta1/authz.d.ts +124 -0
  398. package/cosmos/staking/v1beta1/authz.js +267 -0
  399. package/cosmos/staking/v1beta1/genesis.d.ts +117 -0
  400. package/cosmos/staking/v1beta1/genesis.js +278 -0
  401. package/cosmos/staking/v1beta1/query.d.ts +1152 -0
  402. package/cosmos/staking/v1beta1/query.js +2434 -0
  403. package/cosmos/staking/v1beta1/query.rpc.func.d.ts +16 -0
  404. package/cosmos/staking/v1beta1/query.rpc.func.js +131 -0
  405. package/cosmos/staking/v1beta1/query.rpc.react.d.ts +15 -0
  406. package/cosmos/staking/v1beta1/query.rpc.react.js +61 -0
  407. package/cosmos/staking/v1beta1/staking.d.ts +1045 -0
  408. package/cosmos/staking/v1beta1/staking.js +2377 -0
  409. package/cosmos/staking/v1beta1/tx.d.ts +604 -0
  410. package/cosmos/staking/v1beta1/tx.js +1293 -0
  411. package/cosmos/staking/v1beta1/tx.registry.d.ts +2 -0
  412. package/cosmos/staking/v1beta1/tx.registry.js +5 -0
  413. package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +9 -0
  414. package/cosmos/staking/v1beta1/tx.rpc.func.js +62 -0
  415. package/cosmos/staking/v1beta1/tx.rpc.react.d.ts +8 -0
  416. package/cosmos/staking/v1beta1/tx.rpc.react.js +26 -0
  417. package/cosmos/store/internal/kv/v1beta1/kv.d.ts +68 -0
  418. package/cosmos/store/internal/kv/v1beta1/kv.js +177 -0
  419. package/cosmos/store/snapshots/v1/snapshot.d.ts +294 -0
  420. package/cosmos/store/snapshots/v1/snapshot.js +687 -0
  421. package/cosmos/store/snapshots/v2/snapshot.d.ts +254 -0
  422. package/cosmos/store/snapshots/v2/snapshot.js +687 -0
  423. package/cosmos/store/streaming/abci/grpc.d.ts +136 -0
  424. package/cosmos/store/streaming/abci/grpc.js +332 -0
  425. package/cosmos/store/v1beta1/commit_info.d.ts +124 -0
  426. package/cosmos/store/v1beta1/commit_info.js +292 -0
  427. package/cosmos/store/v1beta1/listening.d.ts +101 -0
  428. package/cosmos/store/v1beta1/listening.js +223 -0
  429. package/cosmos/streaming/v1/grpc.d.ts +302 -0
  430. package/cosmos/streaming/v1/grpc.js +826 -0
  431. package/cosmos/tx/config/v1/config.d.ts +53 -0
  432. package/cosmos/tx/config/v1/config.js +93 -0
  433. package/cosmos/tx/signing/v1beta1/signing.d.ts +275 -0
  434. package/cosmos/tx/signing/v1beta1/signing.js +574 -0
  435. package/cosmos/tx/v1beta1/service.d.ts +934 -0
  436. package/cosmos/tx/v1beta1/service.js +1737 -0
  437. package/cosmos/tx/v1beta1/service.rpc.func.d.ts +11 -0
  438. package/cosmos/tx/v1beta1/service.rpc.func.js +86 -0
  439. package/cosmos/tx/v1beta1/service.rpc.react.d.ts +10 -0
  440. package/cosmos/tx/v1beta1/service.rpc.react.js +41 -0
  441. package/cosmos/tx/v1beta1/tx.d.ts +869 -0
  442. package/cosmos/tx/v1beta1/tx.js +1407 -0
  443. package/cosmos/upgrade/module/v1/module.d.ts +37 -0
  444. package/cosmos/upgrade/module/v1/module.js +81 -0
  445. package/cosmos/upgrade/v1beta1/query.d.ts +433 -0
  446. package/cosmos/upgrade/v1beta1/query.js +757 -0
  447. package/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +7 -0
  448. package/cosmos/upgrade/v1beta1/query.rpc.func.js +50 -0
  449. package/cosmos/upgrade/v1beta1/query.rpc.react.d.ts +6 -0
  450. package/cosmos/upgrade/v1beta1/query.rpc.react.js +25 -0
  451. package/cosmos/upgrade/v1beta1/tx.d.ts +171 -0
  452. package/cosmos/upgrade/v1beta1/tx.js +301 -0
  453. package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -0
  454. package/cosmos/upgrade/v1beta1/tx.registry.js +5 -0
  455. package/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +4 -0
  456. package/cosmos/upgrade/v1beta1/tx.rpc.func.js +22 -0
  457. package/cosmos/upgrade/v1beta1/tx.rpc.react.d.ts +3 -0
  458. package/cosmos/upgrade/v1beta1/tx.rpc.react.js +11 -0
  459. package/cosmos/upgrade/v1beta1/upgrade.d.ts +249 -0
  460. package/cosmos/upgrade/v1beta1/upgrade.js +419 -0
  461. package/cosmos/validate/module/v1/module.d.ts +32 -0
  462. package/cosmos/validate/module/v1/module.js +70 -0
  463. package/cosmos/vesting/module/v1/module.d.ts +32 -0
  464. package/cosmos/vesting/module/v1/module.js +70 -0
  465. package/cosmos/vesting/v1beta1/tx.d.ts +256 -0
  466. package/cosmos/vesting/v1beta1/tx.js +553 -0
  467. package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
  468. package/cosmos/vesting/v1beta1/tx.registry.js +67 -0
  469. package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +8 -0
  470. package/cosmos/vesting/v1beta1/tx.rpc.func.js +37 -0
  471. package/cosmos/vesting/v1beta1/vesting.d.ts +256 -0
  472. package/cosmos/vesting/v1beta1/vesting.js +586 -0
  473. package/cosmos_proto/cosmos.d.ts +155 -0
  474. package/cosmos_proto/cosmos.js +233 -0
  475. package/cosmwasm/wasm/v1/authz.d.ts +511 -0
  476. package/cosmwasm/wasm/v1/authz.js +951 -0
  477. package/cosmwasm/wasm/v1/genesis.d.ts +157 -0
  478. package/cosmwasm/wasm/v1/genesis.js +460 -0
  479. package/cosmwasm/wasm/v1/ibc.d.ts +166 -0
  480. package/cosmwasm/wasm/v1/ibc.js +336 -0
  481. package/cosmwasm/wasm/v1/proposal_legacy.d.ts +885 -0
  482. package/cosmwasm/wasm/v1/proposal_legacy.js +1816 -0
  483. package/cosmwasm/wasm/v1/query.d.ts +1045 -0
  484. package/cosmwasm/wasm/v1/query.js +2223 -0
  485. package/cosmwasm/wasm/v1/query.rpc.func.d.ts +14 -0
  486. package/cosmwasm/wasm/v1/query.rpc.func.js +113 -0
  487. package/cosmwasm/wasm/v1/query.rpc.react.d.ts +13 -0
  488. package/cosmwasm/wasm/v1/query.rpc.react.js +53 -0
  489. package/cosmwasm/wasm/v1/tx.d.ts +1568 -0
  490. package/cosmwasm/wasm/v1/tx.js +3218 -0
  491. package/cosmwasm/wasm/v1/tx.registry.d.ts +2 -0
  492. package/cosmwasm/wasm/v1/tx.registry.js +5 -0
  493. package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +19 -0
  494. package/cosmwasm/wasm/v1/tx.rpc.func.js +142 -0
  495. package/cosmwasm/wasm/v1/tx.rpc.react.d.ts +18 -0
  496. package/cosmwasm/wasm/v1/tx.rpc.react.js +56 -0
  497. package/cosmwasm/wasm/v1/types.d.ts +382 -0
  498. package/cosmwasm/wasm/v1/types.js +915 -0
  499. package/esm/amino/amino.js +1 -0
  500. package/esm/binary.js +365 -0
  501. package/esm/cosmos/app/runtime/v1alpha1/module.js +289 -0
  502. package/esm/cosmos/app/runtime/v2/module.js +418 -0
  503. package/esm/cosmos/app/v1alpha1/config.js +295 -0
  504. package/esm/cosmos/app/v1alpha1/module.js +277 -0
  505. package/esm/cosmos/app/v1alpha1/query.js +145 -0
  506. package/esm/cosmos/app/v1alpha1/query.rpc.func.js +10 -0
  507. package/esm/cosmos/app/v1alpha1/query.rpc.react.js +6 -0
  508. package/esm/cosmos/auth/module/v1/module.js +199 -0
  509. package/esm/cosmos/auth/v1beta1/accounts.js +158 -0
  510. package/esm/cosmos/auth/v1beta1/auth.js +445 -0
  511. package/esm/cosmos/auth/v1beta1/genesis.js +95 -0
  512. package/esm/cosmos/auth/v1beta1/query.js +1555 -0
  513. package/esm/cosmos/auth/v1beta1/query.rpc.func.js +82 -0
  514. package/esm/cosmos/auth/v1beta1/query.rpc.react.js +42 -0
  515. package/esm/cosmos/auth/v1beta1/tx.js +157 -0
  516. package/esm/cosmos/auth/v1beta1/tx.registry.js +2 -0
  517. package/esm/cosmos/auth/v1beta1/tx.rpc.func.js +10 -0
  518. package/esm/cosmos/auth/v1beta1/tx.rpc.react.js +5 -0
  519. package/esm/cosmos/authz/module/v1/module.js +65 -0
  520. package/esm/cosmos/authz/v1beta1/authz.js +387 -0
  521. package/esm/cosmos/authz/v1beta1/event.js +203 -0
  522. package/esm/cosmos/authz/v1beta1/genesis.js +84 -0
  523. package/esm/cosmos/authz/v1beta1/query.js +585 -0
  524. package/esm/cosmos/authz/v1beta1/query.rpc.func.js +26 -0
  525. package/esm/cosmos/authz/v1beta1/query.rpc.react.js +14 -0
  526. package/esm/cosmos/authz/v1beta1/tx.js +509 -0
  527. package/esm/cosmos/authz/v1beta1/tx.registry.js +2 -0
  528. package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +24 -0
  529. package/esm/cosmos/authz/v1beta1/tx.rpc.react.js +11 -0
  530. package/esm/cosmos/autocli/v1/options.js +839 -0
  531. package/esm/cosmos/autocli/v1/query.js +236 -0
  532. package/esm/cosmos/autocli/v1/query.rpc.func.js +10 -0
  533. package/esm/cosmos/autocli/v1/query.rpc.react.js +6 -0
  534. package/esm/cosmos/bank/module/v1/module.js +108 -0
  535. package/esm/cosmos/bank/v1beta1/authz.js +102 -0
  536. package/esm/cosmos/bank/v1beta1/bank.js +728 -0
  537. package/esm/cosmos/bank/v1beta1/genesis.js +240 -0
  538. package/esm/cosmos/bank/v1beta1/query.js +2335 -0
  539. package/esm/cosmos/bank/v1beta1/query.rpc.func.js +106 -0
  540. package/esm/cosmos/bank/v1beta1/query.rpc.react.js +54 -0
  541. package/esm/cosmos/bank/v1beta1/tx.js +663 -0
  542. package/esm/cosmos/bank/v1beta1/tx.registry.js +2 -0
  543. package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +31 -0
  544. package/esm/cosmos/bank/v1beta1/tx.rpc.react.js +14 -0
  545. package/esm/cosmos/base/abci/v1beta1/abci.js +1291 -0
  546. package/esm/cosmos/base/grpc/v2/service.js +391 -0
  547. package/esm/cosmos/base/grpc/v2/service.rpc.func.js +18 -0
  548. package/esm/cosmos/base/grpc/v2/service.rpc.react.js +10 -0
  549. package/esm/cosmos/base/node/v1beta1/query.js +369 -0
  550. package/esm/cosmos/base/node/v1beta1/query.rpc.func.js +18 -0
  551. package/esm/cosmos/base/node/v1beta1/query.rpc.react.js +10 -0
  552. package/esm/cosmos/base/query/v1beta1/pagination.js +216 -0
  553. package/esm/cosmos/base/reflection/v1beta1/reflection.js +302 -0
  554. package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +18 -0
  555. package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.react.js +10 -0
  556. package/esm/cosmos/base/reflection/v2alpha1/reflection.js +2161 -0
  557. package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +50 -0
  558. package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.react.js +26 -0
  559. package/esm/cosmos/base/tendermint/v1beta1/query.js +1891 -0
  560. package/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +58 -0
  561. package/esm/cosmos/base/tendermint/v1beta1/query.rpc.react.js +30 -0
  562. package/esm/cosmos/base/tendermint/v1beta1/types.js +360 -0
  563. package/esm/cosmos/base/v1beta1/coin.js +334 -0
  564. package/esm/cosmos/circuit/module/v1/module.js +80 -0
  565. package/esm/cosmos/circuit/v1/query.js +477 -0
  566. package/esm/cosmos/circuit/v1/query.rpc.func.js +36 -0
  567. package/esm/cosmos/circuit/v1/tx.js +525 -0
  568. package/esm/cosmos/circuit/v1/tx.registry.js +64 -0
  569. package/esm/cosmos/circuit/v1/tx.rpc.func.js +31 -0
  570. package/esm/cosmos/circuit/v1/types.js +345 -0
  571. package/esm/cosmos/consensus/module/v1/module.js +78 -0
  572. package/esm/cosmos/consensus/v1/query.js +145 -0
  573. package/esm/cosmos/consensus/v1/query.rpc.func.js +10 -0
  574. package/esm/cosmos/consensus/v1/query.rpc.react.js +6 -0
  575. package/esm/cosmos/consensus/v1/tx.js +196 -0
  576. package/esm/cosmos/consensus/v1/tx.registry.js +2 -0
  577. package/esm/cosmos/consensus/v1/tx.rpc.func.js +10 -0
  578. package/esm/cosmos/consensus/v1/tx.rpc.react.js +5 -0
  579. package/esm/cosmos/crisis/module/v1/module.js +92 -0
  580. package/esm/cosmos/crisis/v1beta1/genesis.js +81 -0
  581. package/esm/cosmos/crisis/v1beta1/tx.js +325 -0
  582. package/esm/cosmos/crisis/v1beta1/tx.registry.js +46 -0
  583. package/esm/cosmos/crisis/v1beta1/tx.rpc.func.js +22 -0
  584. package/esm/cosmos/crypto/ed25519/keys.js +159 -0
  585. package/esm/cosmos/crypto/hd/v1/hd.js +128 -0
  586. package/esm/cosmos/crypto/keyring/v1/record.js +428 -0
  587. package/esm/cosmos/crypto/multisig/keys.js +96 -0
  588. package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +171 -0
  589. package/esm/cosmos/crypto/secp256k1/keys.js +159 -0
  590. package/esm/cosmos/crypto/secp256r1/keys.js +159 -0
  591. package/esm/cosmos/distribution/module/v1/module.js +90 -0
  592. package/esm/cosmos/distribution/v1beta1/distribution.js +1165 -0
  593. package/esm/cosmos/distribution/v1beta1/genesis.js +905 -0
  594. package/esm/cosmos/distribution/v1beta1/query.js +1658 -0
  595. package/esm/cosmos/distribution/v1beta1/query.rpc.func.js +82 -0
  596. package/esm/cosmos/distribution/v1beta1/query.rpc.react.js +42 -0
  597. package/esm/cosmos/distribution/v1beta1/tx.js +1139 -0
  598. package/esm/cosmos/distribution/v1beta1/tx.registry.js +2 -0
  599. package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +52 -0
  600. package/esm/cosmos/distribution/v1beta1/tx.rpc.react.js +23 -0
  601. package/esm/cosmos/evidence/module/v1/module.js +65 -0
  602. package/esm/cosmos/evidence/v1beta1/evidence.js +116 -0
  603. package/esm/cosmos/evidence/v1beta1/genesis.js +82 -0
  604. package/esm/cosmos/evidence/v1beta1/query.js +343 -0
  605. package/esm/cosmos/evidence/v1beta1/query.rpc.func.js +18 -0
  606. package/esm/cosmos/evidence/v1beta1/query.rpc.react.js +10 -0
  607. package/esm/cosmos/evidence/v1beta1/tx.js +170 -0
  608. package/esm/cosmos/evidence/v1beta1/tx.registry.js +2 -0
  609. package/esm/cosmos/evidence/v1beta1/tx.rpc.func.js +10 -0
  610. package/esm/cosmos/evidence/v1beta1/tx.rpc.react.js +5 -0
  611. package/esm/cosmos/feegrant/module/v1/module.js +65 -0
  612. package/esm/cosmos/feegrant/v1beta1/feegrant.js +442 -0
  613. package/esm/cosmos/feegrant/v1beta1/genesis.js +84 -0
  614. package/esm/cosmos/feegrant/v1beta1/query.js +543 -0
  615. package/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +26 -0
  616. package/esm/cosmos/feegrant/v1beta1/query.rpc.react.js +14 -0
  617. package/esm/cosmos/feegrant/v1beta1/tx.js +467 -0
  618. package/esm/cosmos/feegrant/v1beta1/tx.registry.js +2 -0
  619. package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +24 -0
  620. package/esm/cosmos/feegrant/v1beta1/tx.rpc.react.js +11 -0
  621. package/esm/cosmos/genutil/module/v1/module.js +67 -0
  622. package/esm/cosmos/genutil/v1beta1/genesis.js +84 -0
  623. package/esm/cosmos/gov/module/v1/module.js +90 -0
  624. package/esm/cosmos/gov/v1/genesis.js +192 -0
  625. package/esm/cosmos/gov/v1/gov.js +1357 -0
  626. package/esm/cosmos/gov/v1/query.js +1570 -0
  627. package/esm/cosmos/gov/v1/query.rpc.func.js +74 -0
  628. package/esm/cosmos/gov/v1/query.rpc.react.js +38 -0
  629. package/esm/cosmos/gov/v1/tx.js +1295 -0
  630. package/esm/cosmos/gov/v1/tx.registry.js +2 -0
  631. package/esm/cosmos/gov/v1/tx.rpc.func.js +52 -0
  632. package/esm/cosmos/gov/v1/tx.rpc.react.js +23 -0
  633. package/esm/cosmos/gov/v1beta1/genesis.js +167 -0
  634. package/esm/cosmos/gov/v1beta1/gov.js +1136 -0
  635. package/esm/cosmos/gov/v1beta1/query.js +1416 -0
  636. package/esm/cosmos/gov/v1beta1/query.rpc.func.js +66 -0
  637. package/esm/cosmos/gov/v1beta1/query.rpc.react.js +34 -0
  638. package/esm/cosmos/gov/v1beta1/tx.js +719 -0
  639. package/esm/cosmos/gov/v1beta1/tx.registry.js +2 -0
  640. package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +31 -0
  641. package/esm/cosmos/gov/v1beta1/tx.rpc.react.js +14 -0
  642. package/esm/cosmos/group/module/v1/module.js +93 -0
  643. package/esm/cosmos/group/v1/events.js +844 -0
  644. package/esm/cosmos/group/v1/genesis.js +180 -0
  645. package/esm/cosmos/group/v1/query.js +2431 -0
  646. package/esm/cosmos/group/v1/query.rpc.func.js +157 -0
  647. package/esm/cosmos/group/v1/tx.js +2562 -0
  648. package/esm/cosmos/group/v1/tx.registry.js +262 -0
  649. package/esm/cosmos/group/v1/tx.rpc.func.js +130 -0
  650. package/esm/cosmos/group/v1/types.js +1533 -0
  651. package/esm/cosmos/ics23/v1/proofs.js +1612 -0
  652. package/esm/cosmos/mint/module/v1/module.js +90 -0
  653. package/esm/cosmos/mint/v1beta1/genesis.js +94 -0
  654. package/esm/cosmos/mint/v1beta1/mint.js +228 -0
  655. package/esm/cosmos/mint/v1beta1/query.js +428 -0
  656. package/esm/cosmos/mint/v1beta1/query.rpc.func.js +26 -0
  657. package/esm/cosmos/mint/v1beta1/query.rpc.react.js +14 -0
  658. package/esm/cosmos/mint/v1beta1/tx.js +157 -0
  659. package/esm/cosmos/mint/v1beta1/tx.registry.js +2 -0
  660. package/esm/cosmos/mint/v1beta1/tx.rpc.func.js +10 -0
  661. package/esm/cosmos/mint/v1beta1/tx.rpc.react.js +5 -0
  662. package/esm/cosmos/msg/textual/v1/textual.js +1 -0
  663. package/esm/cosmos/msg/v1/msg.js +1 -0
  664. package/esm/cosmos/nft/module/v1/module.js +67 -0
  665. package/esm/cosmos/nft/v1beta1/event.js +320 -0
  666. package/esm/cosmos/nft/v1beta1/genesis.js +192 -0
  667. package/esm/cosmos/nft/v1beta1/nft.js +279 -0
  668. package/esm/cosmos/nft/v1beta1/query.js +1186 -0
  669. package/esm/cosmos/nft/v1beta1/query.rpc.func.js +80 -0
  670. package/esm/cosmos/nft/v1beta1/tx.js +181 -0
  671. package/esm/cosmos/nft/v1beta1/tx.registry.js +28 -0
  672. package/esm/cosmos/nft/v1beta1/tx.rpc.func.js +13 -0
  673. package/esm/cosmos/orm/module/v1alpha1/module.js +67 -0
  674. package/esm/cosmos/orm/query/v1alpha1/query.js +748 -0
  675. package/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +25 -0
  676. package/esm/cosmos/orm/v1/orm.js +377 -0
  677. package/esm/cosmos/orm/v1alpha1/schema.js +253 -0
  678. package/esm/cosmos/params/module/v1/module.js +65 -0
  679. package/esm/cosmos/params/v1beta1/params.js +211 -0
  680. package/esm/cosmos/params/v1beta1/query.js +408 -0
  681. package/esm/cosmos/params/v1beta1/query.rpc.func.js +18 -0
  682. package/esm/cosmos/params/v1beta1/query.rpc.react.js +10 -0
  683. package/esm/cosmos/query/v1/query.js +1 -0
  684. package/esm/cosmos/reflection/v1/reflection.js +149 -0
  685. package/esm/cosmos/reflection/v1/reflection.rpc.func.js +14 -0
  686. package/esm/cosmos/slashing/module/v1/module.js +78 -0
  687. package/esm/cosmos/slashing/v1beta1/genesis.js +387 -0
  688. package/esm/cosmos/slashing/v1beta1/query.js +476 -0
  689. package/esm/cosmos/slashing/v1beta1/query.rpc.func.js +26 -0
  690. package/esm/cosmos/slashing/v1beta1/query.rpc.react.js +14 -0
  691. package/esm/cosmos/slashing/v1beta1/slashing.js +266 -0
  692. package/esm/cosmos/slashing/v1beta1/tx.js +298 -0
  693. package/esm/cosmos/slashing/v1beta1/tx.registry.js +2 -0
  694. package/esm/cosmos/slashing/v1beta1/tx.rpc.func.js +17 -0
  695. package/esm/cosmos/slashing/v1beta1/tx.rpc.react.js +8 -0
  696. package/esm/cosmos/staking/module/v1/module.js +117 -0
  697. package/esm/cosmos/staking/v1beta1/authz.js +262 -0
  698. package/esm/cosmos/staking/v1beta1/genesis.js +275 -0
  699. package/esm/cosmos/staking/v1beta1/query.js +2431 -0
  700. package/esm/cosmos/staking/v1beta1/query.rpc.func.js +114 -0
  701. package/esm/cosmos/staking/v1beta1/query.rpc.react.js +58 -0
  702. package/esm/cosmos/staking/v1beta1/staking.js +2370 -0
  703. package/esm/cosmos/staking/v1beta1/tx.js +1290 -0
  704. package/esm/cosmos/staking/v1beta1/tx.registry.js +2 -0
  705. package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +52 -0
  706. package/esm/cosmos/staking/v1beta1/tx.rpc.react.js +23 -0
  707. package/esm/cosmos/store/internal/kv/v1beta1/kv.js +174 -0
  708. package/esm/cosmos/store/snapshots/v1/snapshot.js +684 -0
  709. package/esm/cosmos/store/snapshots/v2/snapshot.js +684 -0
  710. package/esm/cosmos/store/streaming/abci/grpc.js +329 -0
  711. package/esm/cosmos/store/v1beta1/commit_info.js +289 -0
  712. package/esm/cosmos/store/v1beta1/listening.js +220 -0
  713. package/esm/cosmos/streaming/v1/grpc.js +823 -0
  714. package/esm/cosmos/tx/config/v1/config.js +90 -0
  715. package/esm/cosmos/tx/signing/v1beta1/signing.js +569 -0
  716. package/esm/cosmos/tx/v1beta1/service.js +1730 -0
  717. package/esm/cosmos/tx/v1beta1/service.rpc.func.js +74 -0
  718. package/esm/cosmos/tx/v1beta1/service.rpc.react.js +38 -0
  719. package/esm/cosmos/tx/v1beta1/tx.js +1404 -0
  720. package/esm/cosmos/upgrade/module/v1/module.js +78 -0
  721. package/esm/cosmos/upgrade/v1beta1/query.js +754 -0
  722. package/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +42 -0
  723. package/esm/cosmos/upgrade/v1beta1/query.rpc.react.js +22 -0
  724. package/esm/cosmos/upgrade/v1beta1/tx.js +298 -0
  725. package/esm/cosmos/upgrade/v1beta1/tx.registry.js +2 -0
  726. package/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +17 -0
  727. package/esm/cosmos/upgrade/v1beta1/tx.rpc.react.js +8 -0
  728. package/esm/cosmos/upgrade/v1beta1/upgrade.js +416 -0
  729. package/esm/cosmos/validate/module/v1/module.js +67 -0
  730. package/esm/cosmos/vesting/module/v1/module.js +67 -0
  731. package/esm/cosmos/vesting/v1beta1/tx.js +550 -0
  732. package/esm/cosmos/vesting/v1beta1/tx.registry.js +64 -0
  733. package/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +31 -0
  734. package/esm/cosmos/vesting/v1beta1/vesting.js +583 -0
  735. package/esm/cosmos_proto/cosmos.js +228 -0
  736. package/esm/cosmwasm/wasm/v1/authz.js +948 -0
  737. package/esm/cosmwasm/wasm/v1/genesis.js +457 -0
  738. package/esm/cosmwasm/wasm/v1/ibc.js +333 -0
  739. package/esm/cosmwasm/wasm/v1/proposal_legacy.js +1813 -0
  740. package/esm/cosmwasm/wasm/v1/query.js +2220 -0
  741. package/esm/cosmwasm/wasm/v1/query.rpc.func.js +98 -0
  742. package/esm/cosmwasm/wasm/v1/query.rpc.react.js +50 -0
  743. package/esm/cosmwasm/wasm/v1/tx.js +3215 -0
  744. package/esm/cosmwasm/wasm/v1/tx.registry.js +2 -0
  745. package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +122 -0
  746. package/esm/cosmwasm/wasm/v1/tx.rpc.react.js +53 -0
  747. package/esm/cosmwasm/wasm/v1/types.js +908 -0
  748. package/esm/ethermint/crypto/v1/ethsecp256k1/keys.js +142 -0
  749. package/esm/ethermint/evm/v1/events.js +380 -0
  750. package/esm/ethermint/evm/v1/evm.js +1187 -0
  751. package/esm/ethermint/evm/v1/genesis.js +189 -0
  752. package/esm/ethermint/evm/v1/query.js +1982 -0
  753. package/esm/ethermint/evm/v1/query.rpc.func.js +99 -0
  754. package/esm/ethermint/evm/v1/query.rpc.react.js +50 -0
  755. package/esm/ethermint/evm/v1/tx.js +1018 -0
  756. package/esm/ethermint/evm/v1/tx.registry.js +2 -0
  757. package/esm/ethermint/evm/v1/tx.rpc.func.js +17 -0
  758. package/esm/ethermint/evm/v1/tx.rpc.react.js +8 -0
  759. package/esm/ethermint/feemarket/v1/events.js +153 -0
  760. package/esm/ethermint/feemarket/v1/feemarket.js +151 -0
  761. package/esm/ethermint/feemarket/v1/genesis.js +86 -0
  762. package/esm/ethermint/feemarket/v1/query.js +385 -0
  763. package/esm/ethermint/feemarket/v1/query.rpc.func.js +26 -0
  764. package/esm/ethermint/feemarket/v1/query.rpc.react.js +14 -0
  765. package/esm/ethermint/feemarket/v1/tx.js +150 -0
  766. package/esm/ethermint/feemarket/v1/tx.registry.js +2 -0
  767. package/esm/ethermint/feemarket/v1/tx.rpc.func.js +10 -0
  768. package/esm/ethermint/feemarket/v1/tx.rpc.react.js +5 -0
  769. package/esm/ethermint/types/v1/account.js +88 -0
  770. package/esm/ethermint/types/v1/dynamic_fee.js +71 -0
  771. package/esm/ethermint/types/v1/indexer.js +143 -0
  772. package/esm/ethermint/types/v1/web3.js +96 -0
  773. package/esm/extern.js +30 -0
  774. package/esm/gogoproto/gogo.js +1 -0
  775. package/esm/google/api/annotations.js +1 -0
  776. package/esm/google/api/http.js +354 -0
  777. package/esm/google/protobuf/any.js +79 -0
  778. package/esm/google/protobuf/descriptor.js +5136 -0
  779. package/esm/google/protobuf/duration.js +77 -0
  780. package/esm/google/protobuf/timestamp.js +74 -0
  781. package/esm/helper-func-types.js +60 -0
  782. package/esm/helpers.js +128 -0
  783. package/esm/ibc/applications/fee/v1/ack.js +103 -0
  784. package/esm/ibc/applications/fee/v1/fee.js +398 -0
  785. package/esm/ibc/applications/fee/v1/genesis.js +531 -0
  786. package/esm/ibc/applications/fee/v1/metadata.js +90 -0
  787. package/esm/ibc/applications/fee/v1/query.js +1739 -0
  788. package/esm/ibc/applications/fee/v1/query.rpc.func.js +82 -0
  789. package/esm/ibc/applications/fee/v1/query.rpc.react.js +42 -0
  790. package/esm/ibc/applications/fee/v1/tx.js +707 -0
  791. package/esm/ibc/applications/fee/v1/tx.registry.js +2 -0
  792. package/esm/ibc/applications/fee/v1/tx.rpc.func.js +31 -0
  793. package/esm/ibc/applications/fee/v1/tx.rpc.react.js +14 -0
  794. package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +78 -0
  795. package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +311 -0
  796. package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +18 -0
  797. package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.js +10 -0
  798. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +553 -0
  799. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +2 -0
  800. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +24 -0
  801. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.js +11 -0
  802. package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +558 -0
  803. package/esm/ibc/applications/interchain_accounts/host/v1/host.js +183 -0
  804. package/esm/ibc/applications/interchain_accounts/host/v1/query.js +145 -0
  805. package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +10 -0
  806. package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.react.js +6 -0
  807. package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +344 -0
  808. package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +2 -0
  809. package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +17 -0
  810. package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.js +8 -0
  811. package/esm/ibc/applications/interchain_accounts/v1/account.js +96 -0
  812. package/esm/ibc/applications/interchain_accounts/v1/metadata.js +138 -0
  813. package/esm/ibc/applications/interchain_accounts/v1/packet.js +222 -0
  814. package/esm/ibc/applications/transfer/v1/authz.js +223 -0
  815. package/esm/ibc/applications/transfer/v1/genesis.js +126 -0
  816. package/esm/ibc/applications/transfer/v1/query.js +953 -0
  817. package/esm/ibc/applications/transfer/v1/query.rpc.func.js +50 -0
  818. package/esm/ibc/applications/transfer/v1/query.rpc.react.js +26 -0
  819. package/esm/ibc/applications/transfer/v1/transfer.js +179 -0
  820. package/esm/ibc/applications/transfer/v1/tx.js +399 -0
  821. package/esm/ibc/applications/transfer/v1/tx.registry.js +2 -0
  822. package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +17 -0
  823. package/esm/ibc/applications/transfer/v1/tx.rpc.react.js +8 -0
  824. package/esm/ibc/applications/transfer/v2/packet.js +126 -0
  825. package/esm/ibc/core/channel/v1/channel.js +1160 -0
  826. package/esm/ibc/core/channel/v1/genesis.js +302 -0
  827. package/esm/ibc/core/channel/v1/query.js +3415 -0
  828. package/esm/ibc/core/channel/v1/query.rpc.func.js +138 -0
  829. package/esm/ibc/core/channel/v1/query.rpc.react.js +70 -0
  830. package/esm/ibc/core/channel/v1/tx.js +4031 -0
  831. package/esm/ibc/core/channel/v1/tx.registry.js +2 -0
  832. package/esm/ibc/core/channel/v1/tx.rpc.func.js +136 -0
  833. package/esm/ibc/core/channel/v1/tx.rpc.react.js +59 -0
  834. package/esm/ibc/core/channel/v1/upgrade.js +300 -0
  835. package/esm/ibc/core/client/v1/client.js +673 -0
  836. package/esm/ibc/core/client/v1/genesis.js +337 -0
  837. package/esm/ibc/core/client/v1/query.js +1756 -0
  838. package/esm/ibc/core/client/v1/query.rpc.func.js +82 -0
  839. package/esm/ibc/core/client/v1/query.rpc.react.js +42 -0
  840. package/esm/ibc/core/client/v1/tx.js +1186 -0
  841. package/esm/ibc/core/client/v1/tx.registry.js +2 -0
  842. package/esm/ibc/core/client/v1/tx.rpc.func.js +52 -0
  843. package/esm/ibc/core/client/v1/tx.rpc.react.js +23 -0
  844. package/esm/ibc/core/commitment/v1/commitment.js +319 -0
  845. package/esm/ibc/core/connection/v1/connection.js +776 -0
  846. package/esm/ibc/core/connection/v1/genesis.js +125 -0
  847. package/esm/ibc/core/connection/v1/query.js +1097 -0
  848. package/esm/ibc/core/connection/v1/query.rpc.func.js +50 -0
  849. package/esm/ibc/core/connection/v1/query.rpc.react.js +26 -0
  850. package/esm/ibc/core/connection/v1/tx.js +1086 -0
  851. package/esm/ibc/core/connection/v1/tx.registry.js +2 -0
  852. package/esm/ibc/core/connection/v1/tx.rpc.func.js +38 -0
  853. package/esm/ibc/core/connection/v1/tx.rpc.react.js +17 -0
  854. package/esm/ibc/core/types/v1/genesis.js +109 -0
  855. package/esm/ibc/lightclients/localhost/v2/localhost.js +81 -0
  856. package/esm/ibc/lightclients/solomachine/v2/solomachine.js +1675 -0
  857. package/esm/ibc/lightclients/solomachine/v3/solomachine.js +839 -0
  858. package/esm/ibc/lightclients/tendermint/v1/tendermint.js +628 -0
  859. package/esm/ibc/lightclients/wasm/v1/genesis.js +161 -0
  860. package/esm/ibc/lightclients/wasm/v1/query.js +330 -0
  861. package/esm/ibc/lightclients/wasm/v1/query.rpc.func.js +18 -0
  862. package/esm/ibc/lightclients/wasm/v1/query.rpc.react.js +10 -0
  863. package/esm/ibc/lightclients/wasm/v1/tx.js +498 -0
  864. package/esm/ibc/lightclients/wasm/v1/tx.registry.js +2 -0
  865. package/esm/ibc/lightclients/wasm/v1/tx.rpc.func.js +24 -0
  866. package/esm/ibc/lightclients/wasm/v1/tx.rpc.react.js +11 -0
  867. package/esm/ibc/lightclients/wasm/v1/wasm.js +340 -0
  868. package/esm/react-query.js +92 -0
  869. package/esm/registry.js +154 -0
  870. package/esm/tendermint/abci/types.js +5300 -0
  871. package/esm/tendermint/crypto/keys.js +84 -0
  872. package/esm/tendermint/crypto/proof.js +458 -0
  873. package/esm/tendermint/p2p/types.js +429 -0
  874. package/esm/tendermint/types/block.js +114 -0
  875. package/esm/tendermint/types/evidence.js +409 -0
  876. package/esm/tendermint/types/params.js +597 -0
  877. package/esm/tendermint/types/types.js +1776 -0
  878. package/esm/tendermint/types/validator.js +342 -0
  879. package/esm/tendermint/version/types.js +165 -0
  880. package/esm/types.js +6 -0
  881. package/esm/utf8.js +136 -0
  882. package/esm/varint.js +407 -0
  883. package/esm/xpla/reward/v1beta1/genesis.js +74 -0
  884. package/esm/xpla/reward/v1beta1/query.js +264 -0
  885. package/esm/xpla/reward/v1beta1/query.rpc.func.js +18 -0
  886. package/esm/xpla/reward/v1beta1/query.rpc.react.js +10 -0
  887. package/esm/xpla/reward/v1beta1/reward.js +127 -0
  888. package/esm/xpla/reward/v1beta1/tx.js +302 -0
  889. package/esm/xpla/reward/v1beta1/tx.registry.js +2 -0
  890. package/esm/xpla/reward/v1beta1/tx.rpc.func.js +17 -0
  891. package/esm/xpla/reward/v1beta1/tx.rpc.react.js +8 -0
  892. package/esm/xpla/volunteer/v1beta1/genesis.js +77 -0
  893. package/esm/xpla/volunteer/v1beta1/proposal.js +534 -0
  894. package/esm/xpla/volunteer/v1beta1/query.js +131 -0
  895. package/esm/xpla/volunteer/v1beta1/query.rpc.func.js +10 -0
  896. package/esm/xpla/volunteer/v1beta1/query.rpc.react.js +6 -0
  897. package/esm/xpla/volunteer/v1beta1/tx.js +348 -0
  898. package/esm/xpla/volunteer/v1beta1/tx.registry.js +2 -0
  899. package/esm/xpla/volunteer/v1beta1/tx.rpc.func.js +17 -0
  900. package/esm/xpla/volunteer/v1beta1/tx.rpc.react.js +8 -0
  901. package/esm/xpla/volunteer/v1beta1/volunteervalidator.js +83 -0
  902. package/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +82 -0
  903. package/ethermint/crypto/v1/ethsecp256k1/keys.js +145 -0
  904. package/ethermint/evm/v1/events.d.ts +166 -0
  905. package/ethermint/evm/v1/events.js +383 -0
  906. package/ethermint/evm/v1/evm.d.ts +538 -0
  907. package/ethermint/evm/v1/evm.js +1190 -0
  908. package/ethermint/evm/v1/genesis.d.ts +89 -0
  909. package/ethermint/evm/v1/genesis.js +192 -0
  910. package/ethermint/evm/v1/query.d.ts +937 -0
  911. package/ethermint/evm/v1/query.js +1985 -0
  912. package/ethermint/evm/v1/query.rpc.func.d.ts +15 -0
  913. package/ethermint/evm/v1/query.rpc.func.js +114 -0
  914. package/ethermint/evm/v1/query.rpc.react.d.ts +14 -0
  915. package/ethermint/evm/v1/query.rpc.react.js +53 -0
  916. package/ethermint/evm/v1/tx.d.ts +460 -0
  917. package/ethermint/evm/v1/tx.js +1021 -0
  918. package/ethermint/evm/v1/tx.registry.d.ts +2 -0
  919. package/ethermint/evm/v1/tx.registry.js +5 -0
  920. package/ethermint/evm/v1/tx.rpc.func.d.ts +4 -0
  921. package/ethermint/evm/v1/tx.rpc.func.js +22 -0
  922. package/ethermint/evm/v1/tx.rpc.react.d.ts +3 -0
  923. package/ethermint/evm/v1/tx.rpc.react.js +11 -0
  924. package/ethermint/feemarket/v1/events.d.ts +72 -0
  925. package/ethermint/feemarket/v1/events.js +156 -0
  926. package/ethermint/feemarket/v1/feemarket.d.ts +79 -0
  927. package/ethermint/feemarket/v1/feemarket.js +154 -0
  928. package/ethermint/feemarket/v1/genesis.d.ts +46 -0
  929. package/ethermint/feemarket/v1/genesis.js +89 -0
  930. package/ethermint/feemarket/v1/query.d.ts +201 -0
  931. package/ethermint/feemarket/v1/query.js +388 -0
  932. package/ethermint/feemarket/v1/query.rpc.func.d.ts +5 -0
  933. package/ethermint/feemarket/v1/query.rpc.func.js +32 -0
  934. package/ethermint/feemarket/v1/query.rpc.react.d.ts +4 -0
  935. package/ethermint/feemarket/v1/query.rpc.react.js +17 -0
  936. package/ethermint/feemarket/v1/tx.d.ts +83 -0
  937. package/ethermint/feemarket/v1/tx.js +153 -0
  938. package/ethermint/feemarket/v1/tx.registry.d.ts +2 -0
  939. package/ethermint/feemarket/v1/tx.registry.js +5 -0
  940. package/ethermint/feemarket/v1/tx.rpc.func.d.ts +3 -0
  941. package/ethermint/feemarket/v1/tx.rpc.func.js +14 -0
  942. package/ethermint/feemarket/v1/tx.rpc.react.d.ts +2 -0
  943. package/ethermint/feemarket/v1/tx.rpc.react.js +8 -0
  944. package/ethermint/types/v1/account.d.ts +46 -0
  945. package/ethermint/types/v1/account.js +91 -0
  946. package/ethermint/types/v1/dynamic_fee.d.ts +35 -0
  947. package/ethermint/types/v1/dynamic_fee.js +74 -0
  948. package/ethermint/types/v1/indexer.d.ts +77 -0
  949. package/ethermint/types/v1/indexer.js +146 -0
  950. package/ethermint/types/v1/web3.d.ts +67 -0
  951. package/ethermint/types/v1/web3.js +99 -0
  952. package/extern.d.ts +10 -0
  953. package/extern.js +36 -0
  954. package/gogoproto/gogo.d.ts +1 -0
  955. package/gogoproto/gogo.js +2 -0
  956. package/google/api/annotations.d.ts +1 -0
  957. package/google/api/annotations.js +2 -0
  958. package/google/api/http.d.ts +767 -0
  959. package/google/api/http.js +357 -0
  960. package/google/protobuf/any.d.ts +269 -0
  961. package/google/protobuf/any.js +82 -0
  962. package/google/protobuf/descriptor.d.ts +2952 -0
  963. package/google/protobuf/descriptor.js +5175 -0
  964. package/google/protobuf/duration.d.ts +163 -0
  965. package/google/protobuf/duration.js +80 -0
  966. package/google/protobuf/timestamp.d.ts +223 -0
  967. package/google/protobuf/timestamp.js +77 -0
  968. package/helper-func-types.d.ts +120 -0
  969. package/helper-func-types.js +66 -0
  970. package/helpers.d.ts +82 -0
  971. package/helpers.js +143 -0
  972. package/ibc/applications/fee/v1/ack.d.ts +45 -0
  973. package/ibc/applications/fee/v1/ack.js +106 -0
  974. package/ibc/applications/fee/v1/fee.d.ts +164 -0
  975. package/ibc/applications/fee/v1/fee.js +401 -0
  976. package/ibc/applications/fee/v1/genesis.d.ts +225 -0
  977. package/ibc/applications/fee/v1/genesis.js +534 -0
  978. package/ibc/applications/fee/v1/metadata.d.ts +47 -0
  979. package/ibc/applications/fee/v1/metadata.js +93 -0
  980. package/ibc/applications/fee/v1/query.d.ts +757 -0
  981. package/ibc/applications/fee/v1/query.js +1742 -0
  982. package/ibc/applications/fee/v1/query.rpc.func.d.ts +12 -0
  983. package/ibc/applications/fee/v1/query.rpc.func.js +95 -0
  984. package/ibc/applications/fee/v1/query.rpc.react.d.ts +11 -0
  985. package/ibc/applications/fee/v1/query.rpc.react.js +45 -0
  986. package/ibc/applications/fee/v1/tx.d.ts +326 -0
  987. package/ibc/applications/fee/v1/tx.js +710 -0
  988. package/ibc/applications/fee/v1/tx.registry.d.ts +2 -0
  989. package/ibc/applications/fee/v1/tx.registry.js +5 -0
  990. package/ibc/applications/fee/v1/tx.rpc.func.d.ts +6 -0
  991. package/ibc/applications/fee/v1/tx.rpc.func.js +38 -0
  992. package/ibc/applications/fee/v1/tx.rpc.react.d.ts +5 -0
  993. package/ibc/applications/fee/v1/tx.rpc.react.js +17 -0
  994. package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +43 -0
  995. package/ibc/applications/interchain_accounts/controller/v1/controller.js +81 -0
  996. package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +137 -0
  997. package/ibc/applications/interchain_accounts/controller/v1/query.js +314 -0
  998. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.d.ts +4 -0
  999. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +23 -0
  1000. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.d.ts +3 -0
  1001. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.js +13 -0
  1002. package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +237 -0
  1003. package/ibc/applications/interchain_accounts/controller/v1/tx.js +556 -0
  1004. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +2 -0
  1005. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +5 -0
  1006. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +5 -0
  1007. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +30 -0
  1008. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.d.ts +4 -0
  1009. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.js +14 -0
  1010. package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +201 -0
  1011. package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +561 -0
  1012. package/ibc/applications/interchain_accounts/host/v1/host.d.ts +104 -0
  1013. package/ibc/applications/interchain_accounts/host/v1/host.js +186 -0
  1014. package/ibc/applications/interchain_accounts/host/v1/query.d.ts +69 -0
  1015. package/ibc/applications/interchain_accounts/host/v1/query.js +148 -0
  1016. package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.d.ts +3 -0
  1017. package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +14 -0
  1018. package/ibc/applications/interchain_accounts/host/v1/query.rpc.react.d.ts +2 -0
  1019. package/ibc/applications/interchain_accounts/host/v1/query.rpc.react.js +9 -0
  1020. package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +159 -0
  1021. package/ibc/applications/interchain_accounts/host/v1/tx.js +347 -0
  1022. package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -0
  1023. package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +5 -0
  1024. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +4 -0
  1025. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +22 -0
  1026. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.d.ts +3 -0
  1027. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.js +11 -0
  1028. package/ibc/applications/interchain_accounts/v1/account.d.ts +38 -0
  1029. package/ibc/applications/interchain_accounts/v1/account.js +99 -0
  1030. package/ibc/applications/interchain_accounts/v1/metadata.d.ts +69 -0
  1031. package/ibc/applications/interchain_accounts/v1/metadata.js +141 -0
  1032. package/ibc/applications/interchain_accounts/v1/packet.d.ts +87 -0
  1033. package/ibc/applications/interchain_accounts/v1/packet.js +227 -0
  1034. package/ibc/applications/transfer/v1/authz.d.ts +101 -0
  1035. package/ibc/applications/transfer/v1/authz.js +226 -0
  1036. package/ibc/applications/transfer/v1/genesis.d.ts +51 -0
  1037. package/ibc/applications/transfer/v1/genesis.js +129 -0
  1038. package/ibc/applications/transfer/v1/query.d.ts +461 -0
  1039. package/ibc/applications/transfer/v1/query.js +956 -0
  1040. package/ibc/applications/transfer/v1/query.rpc.func.d.ts +8 -0
  1041. package/ibc/applications/transfer/v1/query.rpc.func.js +59 -0
  1042. package/ibc/applications/transfer/v1/query.rpc.react.d.ts +7 -0
  1043. package/ibc/applications/transfer/v1/query.rpc.react.js +29 -0
  1044. package/ibc/applications/transfer/v1/transfer.d.ts +114 -0
  1045. package/ibc/applications/transfer/v1/transfer.js +182 -0
  1046. package/ibc/applications/transfer/v1/tx.d.ts +206 -0
  1047. package/ibc/applications/transfer/v1/tx.js +402 -0
  1048. package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -0
  1049. package/ibc/applications/transfer/v1/tx.registry.js +5 -0
  1050. package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +4 -0
  1051. package/ibc/applications/transfer/v1/tx.rpc.func.js +22 -0
  1052. package/ibc/applications/transfer/v1/tx.rpc.react.d.ts +3 -0
  1053. package/ibc/applications/transfer/v1/tx.rpc.react.js +11 -0
  1054. package/ibc/applications/transfer/v2/packet.d.ts +61 -0
  1055. package/ibc/applications/transfer/v2/packet.js +129 -0
  1056. package/ibc/core/channel/v1/channel.d.ts +556 -0
  1057. package/ibc/core/channel/v1/channel.js +1167 -0
  1058. package/ibc/core/channel/v1/genesis.d.ts +97 -0
  1059. package/ibc/core/channel/v1/genesis.js +305 -0
  1060. package/ibc/core/channel/v1/query.d.ts +1559 -0
  1061. package/ibc/core/channel/v1/query.js +3418 -0
  1062. package/ibc/core/channel/v1/query.rpc.func.d.ts +19 -0
  1063. package/ibc/core/channel/v1/query.rpc.func.js +158 -0
  1064. package/ibc/core/channel/v1/query.rpc.react.d.ts +18 -0
  1065. package/ibc/core/channel/v1/query.rpc.react.js +73 -0
  1066. package/ibc/core/channel/v1/tx.d.ts +1528 -0
  1067. package/ibc/core/channel/v1/tx.js +4036 -0
  1068. package/ibc/core/channel/v1/tx.registry.d.ts +2 -0
  1069. package/ibc/core/channel/v1/tx.registry.js +5 -0
  1070. package/ibc/core/channel/v1/tx.rpc.func.d.ts +21 -0
  1071. package/ibc/core/channel/v1/tx.rpc.func.js +158 -0
  1072. package/ibc/core/channel/v1/tx.rpc.react.d.ts +20 -0
  1073. package/ibc/core/channel/v1/tx.rpc.react.js +62 -0
  1074. package/ibc/core/channel/v1/upgrade.d.ts +142 -0
  1075. package/ibc/core/channel/v1/upgrade.js +303 -0
  1076. package/ibc/core/client/v1/client.d.ts +379 -0
  1077. package/ibc/core/client/v1/client.js +676 -0
  1078. package/ibc/core/client/v1/genesis.d.ts +150 -0
  1079. package/ibc/core/client/v1/genesis.js +340 -0
  1080. package/ibc/core/client/v1/query.d.ts +882 -0
  1081. package/ibc/core/client/v1/query.js +1759 -0
  1082. package/ibc/core/client/v1/query.rpc.func.d.ts +12 -0
  1083. package/ibc/core/client/v1/query.rpc.func.js +95 -0
  1084. package/ibc/core/client/v1/query.rpc.react.d.ts +11 -0
  1085. package/ibc/core/client/v1/query.rpc.react.js +45 -0
  1086. package/ibc/core/client/v1/tx.d.ts +601 -0
  1087. package/ibc/core/client/v1/tx.js +1189 -0
  1088. package/ibc/core/client/v1/tx.registry.d.ts +2 -0
  1089. package/ibc/core/client/v1/tx.registry.js +5 -0
  1090. package/ibc/core/client/v1/tx.rpc.func.d.ts +9 -0
  1091. package/ibc/core/client/v1/tx.rpc.func.js +62 -0
  1092. package/ibc/core/client/v1/tx.rpc.react.d.ts +8 -0
  1093. package/ibc/core/client/v1/tx.rpc.react.js +26 -0
  1094. package/ibc/core/commitment/v1/commitment.d.ts +169 -0
  1095. package/ibc/core/commitment/v1/commitment.js +322 -0
  1096. package/ibc/core/connection/v1/connection.d.ts +383 -0
  1097. package/ibc/core/connection/v1/connection.js +781 -0
  1098. package/ibc/core/connection/v1/genesis.d.ts +44 -0
  1099. package/ibc/core/connection/v1/genesis.js +128 -0
  1100. package/ibc/core/connection/v1/query.d.ts +530 -0
  1101. package/ibc/core/connection/v1/query.js +1100 -0
  1102. package/ibc/core/connection/v1/query.rpc.func.d.ts +8 -0
  1103. package/ibc/core/connection/v1/query.rpc.func.js +59 -0
  1104. package/ibc/core/connection/v1/query.rpc.react.d.ts +7 -0
  1105. package/ibc/core/connection/v1/query.rpc.react.js +29 -0
  1106. package/ibc/core/connection/v1/tx.d.ts +467 -0
  1107. package/ibc/core/connection/v1/tx.js +1089 -0
  1108. package/ibc/core/connection/v1/tx.registry.d.ts +2 -0
  1109. package/ibc/core/connection/v1/tx.registry.js +5 -0
  1110. package/ibc/core/connection/v1/tx.rpc.func.d.ts +7 -0
  1111. package/ibc/core/connection/v1/tx.rpc.func.js +46 -0
  1112. package/ibc/core/connection/v1/tx.rpc.react.d.ts +6 -0
  1113. package/ibc/core/connection/v1/tx.rpc.react.js +20 -0
  1114. package/ibc/core/types/v1/genesis.d.ts +51 -0
  1115. package/ibc/core/types/v1/genesis.js +112 -0
  1116. package/ibc/lightclients/localhost/v2/localhost.d.ts +38 -0
  1117. package/ibc/lightclients/localhost/v2/localhost.js +84 -0
  1118. package/ibc/lightclients/solomachine/v2/solomachine.d.ts +727 -0
  1119. package/ibc/lightclients/solomachine/v2/solomachine.js +1680 -0
  1120. package/ibc/lightclients/solomachine/v3/solomachine.d.ts +365 -0
  1121. package/ibc/lightclients/solomachine/v3/solomachine.js +842 -0
  1122. package/ibc/lightclients/tendermint/v1/tendermint.d.ts +311 -0
  1123. package/ibc/lightclients/tendermint/v1/tendermint.js +631 -0
  1124. package/ibc/lightclients/wasm/v1/genesis.d.ts +72 -0
  1125. package/ibc/lightclients/wasm/v1/genesis.js +164 -0
  1126. package/ibc/lightclients/wasm/v1/query.d.ts +145 -0
  1127. package/ibc/lightclients/wasm/v1/query.js +333 -0
  1128. package/ibc/lightclients/wasm/v1/query.rpc.func.d.ts +4 -0
  1129. package/ibc/lightclients/wasm/v1/query.rpc.func.js +23 -0
  1130. package/ibc/lightclients/wasm/v1/query.rpc.react.d.ts +3 -0
  1131. package/ibc/lightclients/wasm/v1/query.rpc.react.js +13 -0
  1132. package/ibc/lightclients/wasm/v1/tx.d.ts +224 -0
  1133. package/ibc/lightclients/wasm/v1/tx.js +501 -0
  1134. package/ibc/lightclients/wasm/v1/tx.registry.d.ts +2 -0
  1135. package/ibc/lightclients/wasm/v1/tx.registry.js +5 -0
  1136. package/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +5 -0
  1137. package/ibc/lightclients/wasm/v1/tx.rpc.func.js +30 -0
  1138. package/ibc/lightclients/wasm/v1/tx.rpc.react.d.ts +4 -0
  1139. package/ibc/lightclients/wasm/v1/tx.rpc.react.js +14 -0
  1140. package/ibc/lightclients/wasm/v1/wasm.d.ts +167 -0
  1141. package/ibc/lightclients/wasm/v1/wasm.js +343 -0
  1142. package/package.json +11 -7
  1143. package/react-query.d.ts +48 -0
  1144. package/react-query.js +100 -0
  1145. package/registry.d.ts +33 -0
  1146. package/registry.js +158 -0
  1147. package/tendermint/abci/types.d.ts +1890 -0
  1148. package/tendermint/abci/types.js +5316 -0
  1149. package/tendermint/crypto/keys.d.ts +35 -0
  1150. package/tendermint/crypto/keys.js +87 -0
  1151. package/tendermint/crypto/proof.d.ts +179 -0
  1152. package/tendermint/crypto/proof.js +461 -0
  1153. package/tendermint/p2p/types.d.ts +142 -0
  1154. package/tendermint/p2p/types.js +432 -0
  1155. package/tendermint/types/block.d.ts +39 -0
  1156. package/tendermint/types/block.js +117 -0
  1157. package/tendermint/types/evidence.d.ts +142 -0
  1158. package/tendermint/types/evidence.js +412 -0
  1159. package/tendermint/types/params.d.ts +330 -0
  1160. package/tendermint/types/params.js +600 -0
  1161. package/tendermint/types/types.d.ts +655 -0
  1162. package/tendermint/types/types.js +1781 -0
  1163. package/tendermint/types/validator.d.ts +116 -0
  1164. package/tendermint/types/validator.js +347 -0
  1165. package/tendermint/version/types.d.ts +84 -0
  1166. package/tendermint/version/types.js +168 -0
  1167. package/types.d.ts +119 -0
  1168. package/types.js +7 -0
  1169. package/utf8.d.ts +27 -0
  1170. package/utf8.js +141 -0
  1171. package/varint.d.ts +105 -0
  1172. package/varint.js +426 -0
  1173. package/xpla/reward/v1beta1/genesis.d.ts +36 -0
  1174. package/xpla/reward/v1beta1/genesis.js +77 -0
  1175. package/xpla/reward/v1beta1/query.d.ts +140 -0
  1176. package/xpla/reward/v1beta1/query.js +267 -0
  1177. package/xpla/reward/v1beta1/query.rpc.func.d.ts +4 -0
  1178. package/xpla/reward/v1beta1/query.rpc.func.js +23 -0
  1179. package/xpla/reward/v1beta1/query.rpc.react.d.ts +3 -0
  1180. package/xpla/reward/v1beta1/query.rpc.react.js +13 -0
  1181. package/xpla/reward/v1beta1/reward.d.ts +43 -0
  1182. package/xpla/reward/v1beta1/reward.js +130 -0
  1183. package/xpla/reward/v1beta1/tx.d.ts +162 -0
  1184. package/xpla/reward/v1beta1/tx.js +305 -0
  1185. package/xpla/reward/v1beta1/tx.registry.d.ts +2 -0
  1186. package/xpla/reward/v1beta1/tx.registry.js +5 -0
  1187. package/xpla/reward/v1beta1/tx.rpc.func.d.ts +4 -0
  1188. package/xpla/reward/v1beta1/tx.rpc.func.js +22 -0
  1189. package/xpla/reward/v1beta1/tx.rpc.react.d.ts +3 -0
  1190. package/xpla/reward/v1beta1/tx.rpc.react.js +11 -0
  1191. package/xpla/volunteer/v1beta1/genesis.d.ts +34 -0
  1192. package/xpla/volunteer/v1beta1/genesis.js +80 -0
  1193. package/xpla/volunteer/v1beta1/proposal.d.ts +187 -0
  1194. package/xpla/volunteer/v1beta1/proposal.js +537 -0
  1195. package/xpla/volunteer/v1beta1/query.d.ts +62 -0
  1196. package/xpla/volunteer/v1beta1/query.js +134 -0
  1197. package/xpla/volunteer/v1beta1/query.rpc.func.d.ts +3 -0
  1198. package/xpla/volunteer/v1beta1/query.rpc.func.js +14 -0
  1199. package/xpla/volunteer/v1beta1/query.rpc.react.d.ts +2 -0
  1200. package/xpla/volunteer/v1beta1/query.rpc.react.js +9 -0
  1201. package/xpla/volunteer/v1beta1/tx.d.ts +172 -0
  1202. package/xpla/volunteer/v1beta1/tx.js +351 -0
  1203. package/xpla/volunteer/v1beta1/tx.registry.d.ts +2 -0
  1204. package/xpla/volunteer/v1beta1/tx.registry.js +5 -0
  1205. package/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +4 -0
  1206. package/xpla/volunteer/v1beta1/tx.rpc.func.js +22 -0
  1207. package/xpla/volunteer/v1beta1/tx.rpc.react.d.ts +3 -0
  1208. package/xpla/volunteer/v1beta1/tx.rpc.react.js +11 -0
  1209. package/xpla/volunteer/v1beta1/volunteervalidator.d.ts +39 -0
  1210. package/xpla/volunteer/v1beta1/volunteervalidator.js +86 -0
  1211. package/CHANGELOG.md +0 -8
  1212. package/src/amino/amino.ts +0 -1
  1213. package/src/binary.ts +0 -534
  1214. package/src/cosmos/app/runtime/v1alpha1/module.ts +0 -423
  1215. package/src/cosmos/app/runtime/v2/module.ts +0 -589
  1216. package/src/cosmos/app/v1alpha1/config.ts +0 -422
  1217. package/src/cosmos/app/v1alpha1/module.ts +0 -461
  1218. package/src/cosmos/app/v1alpha1/query.rpc.func.ts +0 -14
  1219. package/src/cosmos/app/v1alpha1/query.ts +0 -177
  1220. package/src/cosmos/auth/module/v1/module.ts +0 -253
  1221. package/src/cosmos/auth/v1beta1/accounts.ts +0 -226
  1222. package/src/cosmos/auth/v1beta1/auth.ts +0 -550
  1223. package/src/cosmos/auth/v1beta1/genesis.ts +0 -119
  1224. package/src/cosmos/auth/v1beta1/query.rpc.func.ts +0 -113
  1225. package/src/cosmos/auth/v1beta1/query.ts +0 -2034
  1226. package/src/cosmos/auth/v1beta1/tx.registry.ts +0 -29
  1227. package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +0 -13
  1228. package/src/cosmos/auth/v1beta1/tx.ts +0 -219
  1229. package/src/cosmos/authz/module/v1/module.ts +0 -80
  1230. package/src/cosmos/authz/v1beta1/authz.ts +0 -481
  1231. package/src/cosmos/authz/v1beta1/event.ts +0 -259
  1232. package/src/cosmos/authz/v1beta1/genesis.ts +0 -100
  1233. package/src/cosmos/authz/v1beta1/query.rpc.func.ts +0 -36
  1234. package/src/cosmos/authz/v1beta1/query.ts +0 -707
  1235. package/src/cosmos/authz/v1beta1/tx.registry.ts +0 -65
  1236. package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +0 -31
  1237. package/src/cosmos/authz/v1beta1/tx.ts +0 -647
  1238. package/src/cosmos/autocli/v1/options.ts +0 -1145
  1239. package/src/cosmos/autocli/v1/query.rpc.func.ts +0 -14
  1240. package/src/cosmos/autocli/v1/query.ts +0 -288
  1241. package/src/cosmos/bank/module/v1/module.ts +0 -153
  1242. package/src/cosmos/bank/v1beta1/authz.ts +0 -138
  1243. package/src/cosmos/bank/v1beta1/bank.ts +0 -974
  1244. package/src/cosmos/bank/v1beta1/genesis.ts +0 -307
  1245. package/src/cosmos/bank/v1beta1/query.rpc.func.ts +0 -146
  1246. package/src/cosmos/bank/v1beta1/query.ts +0 -3027
  1247. package/src/cosmos/bank/v1beta1/tx.registry.ts +0 -83
  1248. package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +0 -40
  1249. package/src/cosmos/bank/v1beta1/tx.ts +0 -861
  1250. package/src/cosmos/base/abci/v1beta1/abci.ts +0 -1698
  1251. package/src/cosmos/base/grpc/v2/service.rpc.func.ts +0 -25
  1252. package/src/cosmos/base/grpc/v2/service.ts +0 -473
  1253. package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +0 -25
  1254. package/src/cosmos/base/node/v1beta1/query.ts +0 -454
  1255. package/src/cosmos/base/query/v1beta1/pagination.ts +0 -361
  1256. package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +0 -25
  1257. package/src/cosmos/base/reflection/v1beta1/reflection.ts +0 -382
  1258. package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +0 -69
  1259. package/src/cosmos/base/reflection/v2alpha1/reflection.ts +0 -2727
  1260. package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +0 -80
  1261. package/src/cosmos/base/tendermint/v1beta1/query.ts +0 -2302
  1262. package/src/cosmos/base/tendermint/v1beta1/types.ts +0 -455
  1263. package/src/cosmos/base/v1beta1/coin.ts +0 -439
  1264. package/src/cosmos/circuit/module/v1/module.ts +0 -99
  1265. package/src/cosmos/circuit/v1/query.rpc.func.ts +0 -36
  1266. package/src/cosmos/circuit/v1/query.ts +0 -574
  1267. package/src/cosmos/circuit/v1/tx.registry.ts +0 -65
  1268. package/src/cosmos/circuit/v1/tx.rpc.func.ts +0 -31
  1269. package/src/cosmos/circuit/v1/tx.ts +0 -676
  1270. package/src/cosmos/circuit/v1/types.ts +0 -413
  1271. package/src/cosmos/consensus/module/v1/module.ts +0 -99
  1272. package/src/cosmos/consensus/v1/query.rpc.func.ts +0 -14
  1273. package/src/cosmos/consensus/v1/query.ts +0 -185
  1274. package/src/cosmos/consensus/v1/tx.registry.ts +0 -29
  1275. package/src/cosmos/consensus/v1/tx.rpc.func.ts +0 -13
  1276. package/src/cosmos/consensus/v1/tx.ts +0 -255
  1277. package/src/cosmos/crisis/module/v1/module.ts +0 -115
  1278. package/src/cosmos/crisis/v1beta1/genesis.ts +0 -106
  1279. package/src/cosmos/crisis/v1beta1/tx.registry.ts +0 -47
  1280. package/src/cosmos/crisis/v1beta1/tx.rpc.func.ts +0 -22
  1281. package/src/cosmos/crisis/v1beta1/tx.ts +0 -416
  1282. package/src/cosmos/crypto/ed25519/keys.ts +0 -209
  1283. package/src/cosmos/crypto/hd/v1/hd.ts +0 -169
  1284. package/src/cosmos/crypto/keyring/v1/record.ts +0 -529
  1285. package/src/cosmos/crypto/multisig/keys.ts +0 -122
  1286. package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -225
  1287. package/src/cosmos/crypto/secp256k1/keys.ts +0 -203
  1288. package/src/cosmos/crypto/secp256r1/keys.ts +0 -201
  1289. package/src/cosmos/distribution/module/v1/module.ts +0 -113
  1290. package/src/cosmos/distribution/v1beta1/distribution.ts +0 -1494
  1291. package/src/cosmos/distribution/v1beta1/genesis.ts +0 -1129
  1292. package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +0 -113
  1293. package/src/cosmos/distribution/v1beta1/query.ts +0 -2126
  1294. package/src/cosmos/distribution/v1beta1/tx.registry.ts +0 -137
  1295. package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +0 -67
  1296. package/src/cosmos/distribution/v1beta1/tx.ts +0 -1478
  1297. package/src/cosmos/evidence/module/v1/module.ts +0 -80
  1298. package/src/cosmos/evidence/v1beta1/evidence.ts +0 -154
  1299. package/src/cosmos/evidence/v1beta1/genesis.ts +0 -102
  1300. package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +0 -25
  1301. package/src/cosmos/evidence/v1beta1/query.ts +0 -451
  1302. package/src/cosmos/evidence/v1beta1/tx.registry.ts +0 -29
  1303. package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +0 -13
  1304. package/src/cosmos/evidence/v1beta1/tx.ts +0 -221
  1305. package/src/cosmos/feegrant/module/v1/module.ts +0 -80
  1306. package/src/cosmos/feegrant/v1beta1/feegrant.ts +0 -573
  1307. package/src/cosmos/feegrant/v1beta1/genesis.ts +0 -100
  1308. package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +0 -36
  1309. package/src/cosmos/feegrant/v1beta1/query.ts +0 -677
  1310. package/src/cosmos/feegrant/v1beta1/tx.registry.ts +0 -65
  1311. package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +0 -31
  1312. package/src/cosmos/feegrant/v1beta1/tx.ts +0 -597
  1313. package/src/cosmos/genutil/module/v1/module.ts +0 -80
  1314. package/src/cosmos/genutil/v1beta1/genesis.ts +0 -101
  1315. package/src/cosmos/gov/module/v1/module.ts +0 -121
  1316. package/src/cosmos/gov/v1/genesis.ts +0 -280
  1317. package/src/cosmos/gov/v1/gov.ts +0 -1843
  1318. package/src/cosmos/gov/v1/query.rpc.func.ts +0 -102
  1319. package/src/cosmos/gov/v1/query.ts +0 -1970
  1320. package/src/cosmos/gov/v1/tx.registry.ts +0 -137
  1321. package/src/cosmos/gov/v1/tx.rpc.func.ts +0 -67
  1322. package/src/cosmos/gov/v1/tx.ts +0 -1657
  1323. package/src/cosmos/gov/v1beta1/genesis.ts +0 -202
  1324. package/src/cosmos/gov/v1beta1/gov.ts +0 -1425
  1325. package/src/cosmos/gov/v1beta1/query.rpc.func.ts +0 -91
  1326. package/src/cosmos/gov/v1beta1/query.ts +0 -1749
  1327. package/src/cosmos/gov/v1beta1/tx.registry.ts +0 -83
  1328. package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +0 -40
  1329. package/src/cosmos/gov/v1beta1/tx.ts +0 -881
  1330. package/src/cosmos/group/module/v1/module.ts +0 -128
  1331. package/src/cosmos/group/v1/events.ts +0 -1044
  1332. package/src/cosmos/group/v1/genesis.ts +0 -240
  1333. package/src/cosmos/group/v1/query.rpc.func.ts +0 -157
  1334. package/src/cosmos/group/v1/query.ts +0 -3015
  1335. package/src/cosmos/group/v1/tx.registry.ts +0 -263
  1336. package/src/cosmos/group/v1/tx.rpc.func.ts +0 -130
  1337. package/src/cosmos/group/v1/tx.ts +0 -3207
  1338. package/src/cosmos/group/v1/types.ts +0 -2081
  1339. package/src/cosmos/ics23/v1/proofs.ts +0 -2060
  1340. package/src/cosmos/mint/module/v1/module.ts +0 -113
  1341. package/src/cosmos/mint/v1beta1/genesis.ts +0 -116
  1342. package/src/cosmos/mint/v1beta1/mint.ts +0 -291
  1343. package/src/cosmos/mint/v1beta1/query.rpc.func.ts +0 -36
  1344. package/src/cosmos/mint/v1beta1/query.ts +0 -541
  1345. package/src/cosmos/mint/v1beta1/tx.registry.ts +0 -29
  1346. package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +0 -13
  1347. package/src/cosmos/mint/v1beta1/tx.ts +0 -219
  1348. package/src/cosmos/msg/textual/v1/textual.ts +0 -1
  1349. package/src/cosmos/msg/v1/msg.ts +0 -1
  1350. package/src/cosmos/nft/module/v1/module.ts +0 -80
  1351. package/src/cosmos/nft/v1beta1/event.ts +0 -403
  1352. package/src/cosmos/nft/v1beta1/genesis.ts +0 -234
  1353. package/src/cosmos/nft/v1beta1/nft.ts +0 -356
  1354. package/src/cosmos/nft/v1beta1/query.rpc.func.ts +0 -80
  1355. package/src/cosmos/nft/v1beta1/query.ts +0 -1465
  1356. package/src/cosmos/nft/v1beta1/tx.registry.ts +0 -29
  1357. package/src/cosmos/nft/v1beta1/tx.rpc.func.ts +0 -13
  1358. package/src/cosmos/nft/v1beta1/tx.ts +0 -224
  1359. package/src/cosmos/orm/module/v1alpha1/module.ts +0 -88
  1360. package/src/cosmos/orm/query/v1alpha1/query.rpc.func.ts +0 -25
  1361. package/src/cosmos/orm/query/v1alpha1/query.ts +0 -993
  1362. package/src/cosmos/orm/v1/orm.ts +0 -589
  1363. package/src/cosmos/orm/v1alpha1/schema.ts +0 -325
  1364. package/src/cosmos/params/module/v1/module.ts +0 -80
  1365. package/src/cosmos/params/v1beta1/params.ts +0 -255
  1366. package/src/cosmos/params/v1beta1/query.rpc.func.ts +0 -25
  1367. package/src/cosmos/params/v1beta1/query.ts +0 -525
  1368. package/src/cosmos/query/v1/query.ts +0 -1
  1369. package/src/cosmos/reflection/v1/reflection.rpc.func.ts +0 -14
  1370. package/src/cosmos/reflection/v1/reflection.ts +0 -179
  1371. package/src/cosmos/slashing/module/v1/module.ts +0 -99
  1372. package/src/cosmos/slashing/v1beta1/genesis.ts +0 -492
  1373. package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +0 -36
  1374. package/src/cosmos/slashing/v1beta1/query.ts +0 -598
  1375. package/src/cosmos/slashing/v1beta1/slashing.ts +0 -357
  1376. package/src/cosmos/slashing/v1beta1/tx.registry.ts +0 -47
  1377. package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +0 -22
  1378. package/src/cosmos/slashing/v1beta1/tx.ts +0 -390
  1379. package/src/cosmos/staking/module/v1/module.ts +0 -157
  1380. package/src/cosmos/staking/v1beta1/authz.ts +0 -323
  1381. package/src/cosmos/staking/v1beta1/genesis.ts +0 -346
  1382. package/src/cosmos/staking/v1beta1/query.rpc.func.ts +0 -157
  1383. package/src/cosmos/staking/v1beta1/query.ts +0 -3073
  1384. package/src/cosmos/staking/v1beta1/staking.ts +0 -3005
  1385. package/src/cosmos/staking/v1beta1/tx.registry.ts +0 -137
  1386. package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +0 -67
  1387. package/src/cosmos/staking/v1beta1/tx.ts +0 -1638
  1388. package/src/cosmos/store/internal/kv/v1beta1/kv.ts +0 -207
  1389. package/src/cosmos/store/snapshots/v1/snapshot.ts +0 -863
  1390. package/src/cosmos/store/snapshots/v2/snapshot.ts +0 -823
  1391. package/src/cosmos/store/streaming/abci/grpc.ts +0 -393
  1392. package/src/cosmos/store/v1beta1/commit_info.ts +0 -362
  1393. package/src/cosmos/store/v1beta1/listening.ts +0 -286
  1394. package/src/cosmos/streaming/v1/grpc.ts +0 -985
  1395. package/src/cosmos/tx/config/v1/config.ts +0 -127
  1396. package/src/cosmos/tx/signing/v1beta1/signing.ts +0 -688
  1397. package/src/cosmos/tx/v1beta1/service.rpc.func.ts +0 -102
  1398. package/src/cosmos/tx/v1beta1/service.ts +0 -2294
  1399. package/src/cosmos/tx/v1beta1/tx.ts +0 -2029
  1400. package/src/cosmos/upgrade/module/v1/module.ts +0 -99
  1401. package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +0 -58
  1402. package/src/cosmos/upgrade/v1beta1/query.ts +0 -1016
  1403. package/src/cosmos/upgrade/v1beta1/tx.registry.ts +0 -47
  1404. package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +0 -22
  1405. package/src/cosmos/upgrade/v1beta1/tx.ts +0 -398
  1406. package/src/cosmos/upgrade/v1beta1/upgrade.ts +0 -591
  1407. package/src/cosmos/validate/module/v1/module.ts +0 -80
  1408. package/src/cosmos/vesting/module/v1/module.ts +0 -80
  1409. package/src/cosmos/vesting/v1beta1/tx.registry.ts +0 -65
  1410. package/src/cosmos/vesting/v1beta1/tx.rpc.func.ts +0 -31
  1411. package/src/cosmos/vesting/v1beta1/tx.ts +0 -698
  1412. package/src/cosmos/vesting/v1beta1/vesting.ts +0 -735
  1413. package/src/cosmos_proto/cosmos.ts +0 -341
  1414. package/src/cosmwasm/wasm/v1/authz.ts +0 -1231
  1415. package/src/cosmwasm/wasm/v1/genesis.ts +0 -532
  1416. package/src/cosmwasm/wasm/v1/ibc.ts +0 -355
  1417. package/src/cosmwasm/wasm/v1/proposal_legacy.ts +0 -2432
  1418. package/src/cosmwasm/wasm/v1/query.rpc.func.ts +0 -124
  1419. package/src/cosmwasm/wasm/v1/query.ts +0 -2560
  1420. package/src/cosmwasm/wasm/v1/tx.registry.ts +0 -317
  1421. package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +0 -157
  1422. package/src/cosmwasm/wasm/v1/tx.ts +0 -4191
  1423. package/src/cosmwasm/wasm/v1/types.ts +0 -1120
  1424. package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +0 -193
  1425. package/src/ethermint/evm/v1/events.ts +0 -485
  1426. package/src/ethermint/evm/v1/evm.ts +0 -1590
  1427. package/src/ethermint/evm/v1/genesis.ts +0 -240
  1428. package/src/ethermint/evm/v1/query.rpc.func.ts +0 -136
  1429. package/src/ethermint/evm/v1/query.ts +0 -2535
  1430. package/src/ethermint/evm/v1/tx.registry.ts +0 -47
  1431. package/src/ethermint/evm/v1/tx.rpc.func.ts +0 -22
  1432. package/src/ethermint/evm/v1/tx.ts +0 -1333
  1433. package/src/ethermint/feemarket/v1/events.ts +0 -195
  1434. package/src/ethermint/feemarket/v1/feemarket.ts +0 -213
  1435. package/src/ethermint/feemarket/v1/genesis.ts +0 -114
  1436. package/src/ethermint/feemarket/v1/query.rpc.func.ts +0 -36
  1437. package/src/ethermint/feemarket/v1/query.ts +0 -487
  1438. package/src/ethermint/feemarket/v1/tx.registry.ts +0 -29
  1439. package/src/ethermint/feemarket/v1/tx.rpc.func.ts +0 -13
  1440. package/src/ethermint/feemarket/v1/tx.ts +0 -197
  1441. package/src/ethermint/types/v1/account.ts +0 -114
  1442. package/src/ethermint/types/v1/dynamic_fee.ts +0 -91
  1443. package/src/ethermint/types/v1/indexer.ts +0 -205
  1444. package/src/ethermint/types/v1/web3.ts +0 -147
  1445. package/src/extern.ts +0 -38
  1446. package/src/gogoproto/gogo.ts +0 -1
  1447. package/src/google/api/annotations.ts +0 -1
  1448. package/src/google/api/http.ts +0 -1069
  1449. package/src/google/protobuf/any.ts +0 -331
  1450. package/src/google/protobuf/descriptor.ts +0 -7177
  1451. package/src/google/protobuf/duration.ts +0 -225
  1452. package/src/google/protobuf/timestamp.ts +0 -281
  1453. package/src/helper-func-types.ts +0 -191
  1454. package/src/helpers.ts +0 -259
  1455. package/src/ibc/applications/fee/v1/ack.ts +0 -131
  1456. package/src/ibc/applications/fee/v1/fee.ts +0 -481
  1457. package/src/ibc/applications/fee/v1/genesis.ts +0 -661
  1458. package/src/ibc/applications/fee/v1/metadata.ts +0 -121
  1459. package/src/ibc/applications/fee/v1/query.rpc.func.ts +0 -113
  1460. package/src/ibc/applications/fee/v1/query.ts +0 -2134
  1461. package/src/ibc/applications/fee/v1/tx.registry.ts +0 -83
  1462. package/src/ibc/applications/fee/v1/tx.rpc.func.ts +0 -40
  1463. package/src/ibc/applications/fee/v1/tx.ts +0 -889
  1464. package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -105
  1465. package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +0 -25
  1466. package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -379
  1467. package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +0 -65
  1468. package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +0 -31
  1469. package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +0 -685
  1470. package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +0 -661
  1471. package/src/ibc/applications/interchain_accounts/host/v1/host.ts +0 -253
  1472. package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +0 -14
  1473. package/src/ibc/applications/interchain_accounts/host/v1/query.ts +0 -177
  1474. package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +0 -47
  1475. package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +0 -22
  1476. package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +0 -429
  1477. package/src/ibc/applications/interchain_accounts/v1/account.ts +0 -112
  1478. package/src/ibc/applications/interchain_accounts/v1/metadata.ts +0 -191
  1479. package/src/ibc/applications/interchain_accounts/v1/packet.ts +0 -259
  1480. package/src/ibc/applications/transfer/v1/authz.ts +0 -280
  1481. package/src/ibc/applications/transfer/v1/genesis.ts +0 -153
  1482. package/src/ibc/applications/transfer/v1/query.rpc.func.ts +0 -69
  1483. package/src/ibc/applications/transfer/v1/query.ts +0 -1205
  1484. package/src/ibc/applications/transfer/v1/transfer.ts +0 -261
  1485. package/src/ibc/applications/transfer/v1/tx.registry.ts +0 -47
  1486. package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +0 -22
  1487. package/src/ibc/applications/transfer/v1/tx.ts +0 -532
  1488. package/src/ibc/applications/transfer/v2/packet.ts +0 -171
  1489. package/src/ibc/core/channel/v1/channel.ts +0 -1510
  1490. package/src/ibc/core/channel/v1/genesis.ts +0 -354
  1491. package/src/ibc/core/channel/v1/query.rpc.func.ts +0 -190
  1492. package/src/ibc/core/channel/v1/query.ts +0 -4354
  1493. package/src/ibc/core/channel/v1/tx.registry.ts +0 -353
  1494. package/src/ibc/core/channel/v1/tx.rpc.func.ts +0 -175
  1495. package/src/ibc/core/channel/v1/tx.ts +0 -4866
  1496. package/src/ibc/core/channel/v1/upgrade.ts +0 -388
  1497. package/src/ibc/core/client/v1/client.ts +0 -927
  1498. package/src/ibc/core/client/v1/genesis.ts +0 -426
  1499. package/src/ibc/core/client/v1/query.rpc.func.ts +0 -113
  1500. package/src/ibc/core/client/v1/query.ts +0 -2280
  1501. package/src/ibc/core/client/v1/tx.registry.ts +0 -137
  1502. package/src/ibc/core/client/v1/tx.rpc.func.ts +0 -67
  1503. package/src/ibc/core/client/v1/tx.ts +0 -1543
  1504. package/src/ibc/core/commitment/v1/commitment.ts +0 -418
  1505. package/src/ibc/core/connection/v1/connection.ts +0 -1010
  1506. package/src/ibc/core/connection/v1/genesis.ts +0 -146
  1507. package/src/ibc/core/connection/v1/query.rpc.func.ts +0 -69
  1508. package/src/ibc/core/connection/v1/query.ts +0 -1408
  1509. package/src/ibc/core/connection/v1/tx.registry.ts +0 -101
  1510. package/src/ibc/core/connection/v1/tx.rpc.func.ts +0 -49
  1511. package/src/ibc/core/connection/v1/tx.ts +0 -1365
  1512. package/src/ibc/core/types/v1/genesis.ts +0 -137
  1513. package/src/ibc/lightclients/localhost/v2/localhost.ts +0 -100
  1514. package/src/ibc/lightclients/solomachine/v2/solomachine.ts +0 -2103
  1515. package/src/ibc/lightclients/solomachine/v3/solomachine.ts +0 -1070
  1516. package/src/ibc/lightclients/tendermint/v1/tendermint.ts +0 -838
  1517. package/src/ibc/lightclients/wasm/v1/genesis.ts +0 -197
  1518. package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +0 -25
  1519. package/src/ibc/lightclients/wasm/v1/query.ts +0 -404
  1520. package/src/ibc/lightclients/wasm/v1/tx.registry.ts +0 -65
  1521. package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +0 -31
  1522. package/src/ibc/lightclients/wasm/v1/tx.ts +0 -621
  1523. package/src/ibc/lightclients/wasm/v1/wasm.ts +0 -438
  1524. package/src/react-query.ts +0 -185
  1525. package/src/registry.ts +0 -218
  1526. package/src/tendermint/abci/types.ts +0 -6283
  1527. package/src/tendermint/crypto/keys.ts +0 -103
  1528. package/src/tendermint/crypto/proof.ts +0 -555
  1529. package/src/tendermint/p2p/types.ts +0 -507
  1530. package/src/tendermint/types/block.ts +0 -131
  1531. package/src/tendermint/types/evidence.ts +0 -476
  1532. package/src/tendermint/types/params.ts +0 -814
  1533. package/src/tendermint/types/types.ts +0 -2157
  1534. package/src/tendermint/types/validator.ts +0 -389
  1535. package/src/tendermint/version/types.ts +0 -219
  1536. package/src/types.ts +0 -155
  1537. package/src/utf8.ts +0 -148
  1538. package/src/varint.ts +0 -488
  1539. package/src/xpla/reward/v1beta1/genesis.ts +0 -92
  1540. package/src/xpla/reward/v1beta1/query.rpc.func.ts +0 -25
  1541. package/src/xpla/reward/v1beta1/query.ts +0 -333
  1542. package/src/xpla/reward/v1beta1/reward.ts +0 -153
  1543. package/src/xpla/reward/v1beta1/tx.registry.ts +0 -47
  1544. package/src/xpla/reward/v1beta1/tx.rpc.func.ts +0 -22
  1545. package/src/xpla/reward/v1beta1/tx.ts +0 -391
  1546. package/src/xpla/volunteer/v1beta1/genesis.ts +0 -92
  1547. package/src/xpla/volunteer/v1beta1/proposal.ts +0 -649
  1548. package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +0 -14
  1549. package/src/xpla/volunteer/v1beta1/query.ts +0 -160
  1550. package/src/xpla/volunteer/v1beta1/tx.registry.ts +0 -47
  1551. package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +0 -22
  1552. package/src/xpla/volunteer/v1beta1/tx.ts +0 -448
  1553. package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +0 -107
  1554. package/tsconfig.esm.json +0 -10
  1555. package/tsconfig.json +0 -10
@@ -1,2081 +0,0 @@
1
- import { Timestamp } from "../../../google/protobuf/timestamp";
2
- import { Duration, DurationAmino } from "../../../google/protobuf/duration";
3
- import { Any, AnyProtoMsg, AnyAmino } from "../../../google/protobuf/any";
4
- import { BinaryReader, BinaryWriter } from "../../../binary";
5
- import { toTimestamp, fromTimestamp, DeepPartial, isSet } from "../../../helpers";
6
- import { GlobalDecoderRegistry } from "../../../registry";
7
- /** VoteOption enumerates the valid vote options for a given proposal. */
8
- export enum VoteOption {
9
- /**
10
- * VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will
11
- * return an error.
12
- */
13
- VOTE_OPTION_UNSPECIFIED = 0,
14
- /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
15
- VOTE_OPTION_YES = 1,
16
- /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
17
- VOTE_OPTION_ABSTAIN = 2,
18
- /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
19
- VOTE_OPTION_NO = 3,
20
- /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
21
- VOTE_OPTION_NO_WITH_VETO = 4,
22
- UNRECOGNIZED = -1,
23
- }
24
- export const VoteOptionAmino = VoteOption;
25
- export function voteOptionFromJSON(object: any): VoteOption {
26
- switch (object) {
27
- case 0:
28
- case "VOTE_OPTION_UNSPECIFIED":
29
- return VoteOption.VOTE_OPTION_UNSPECIFIED;
30
- case 1:
31
- case "VOTE_OPTION_YES":
32
- return VoteOption.VOTE_OPTION_YES;
33
- case 2:
34
- case "VOTE_OPTION_ABSTAIN":
35
- return VoteOption.VOTE_OPTION_ABSTAIN;
36
- case 3:
37
- case "VOTE_OPTION_NO":
38
- return VoteOption.VOTE_OPTION_NO;
39
- case 4:
40
- case "VOTE_OPTION_NO_WITH_VETO":
41
- return VoteOption.VOTE_OPTION_NO_WITH_VETO;
42
- case -1:
43
- case "UNRECOGNIZED":
44
- default:
45
- return VoteOption.UNRECOGNIZED;
46
- }
47
- }
48
- export function voteOptionToJSON(object: VoteOption): string {
49
- switch (object) {
50
- case VoteOption.VOTE_OPTION_UNSPECIFIED:
51
- return "VOTE_OPTION_UNSPECIFIED";
52
- case VoteOption.VOTE_OPTION_YES:
53
- return "VOTE_OPTION_YES";
54
- case VoteOption.VOTE_OPTION_ABSTAIN:
55
- return "VOTE_OPTION_ABSTAIN";
56
- case VoteOption.VOTE_OPTION_NO:
57
- return "VOTE_OPTION_NO";
58
- case VoteOption.VOTE_OPTION_NO_WITH_VETO:
59
- return "VOTE_OPTION_NO_WITH_VETO";
60
- case VoteOption.UNRECOGNIZED:
61
- default:
62
- return "UNRECOGNIZED";
63
- }
64
- }
65
- /** ProposalStatus defines proposal statuses. */
66
- export enum ProposalStatus {
67
- /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */
68
- PROPOSAL_STATUS_UNSPECIFIED = 0,
69
- /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when submitted. */
70
- PROPOSAL_STATUS_SUBMITTED = 1,
71
- /**
72
- * PROPOSAL_STATUS_ACCEPTED - Final status of a proposal when the final tally is done and the outcome
73
- * passes the group policy's decision policy.
74
- */
75
- PROPOSAL_STATUS_ACCEPTED = 2,
76
- /**
77
- * PROPOSAL_STATUS_REJECTED - Final status of a proposal when the final tally is done and the outcome
78
- * is rejected by the group policy's decision policy.
79
- */
80
- PROPOSAL_STATUS_REJECTED = 3,
81
- /**
82
- * PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group policy is modified before the
83
- * final tally.
84
- */
85
- PROPOSAL_STATUS_ABORTED = 4,
86
- /**
87
- * PROPOSAL_STATUS_WITHDRAWN - A proposal can be withdrawn before the voting start time by the owner.
88
- * When this happens the final status is Withdrawn.
89
- */
90
- PROPOSAL_STATUS_WITHDRAWN = 5,
91
- UNRECOGNIZED = -1,
92
- }
93
- export const ProposalStatusAmino = ProposalStatus;
94
- export function proposalStatusFromJSON(object: any): ProposalStatus {
95
- switch (object) {
96
- case 0:
97
- case "PROPOSAL_STATUS_UNSPECIFIED":
98
- return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED;
99
- case 1:
100
- case "PROPOSAL_STATUS_SUBMITTED":
101
- return ProposalStatus.PROPOSAL_STATUS_SUBMITTED;
102
- case 2:
103
- case "PROPOSAL_STATUS_ACCEPTED":
104
- return ProposalStatus.PROPOSAL_STATUS_ACCEPTED;
105
- case 3:
106
- case "PROPOSAL_STATUS_REJECTED":
107
- return ProposalStatus.PROPOSAL_STATUS_REJECTED;
108
- case 4:
109
- case "PROPOSAL_STATUS_ABORTED":
110
- return ProposalStatus.PROPOSAL_STATUS_ABORTED;
111
- case 5:
112
- case "PROPOSAL_STATUS_WITHDRAWN":
113
- return ProposalStatus.PROPOSAL_STATUS_WITHDRAWN;
114
- case -1:
115
- case "UNRECOGNIZED":
116
- default:
117
- return ProposalStatus.UNRECOGNIZED;
118
- }
119
- }
120
- export function proposalStatusToJSON(object: ProposalStatus): string {
121
- switch (object) {
122
- case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED:
123
- return "PROPOSAL_STATUS_UNSPECIFIED";
124
- case ProposalStatus.PROPOSAL_STATUS_SUBMITTED:
125
- return "PROPOSAL_STATUS_SUBMITTED";
126
- case ProposalStatus.PROPOSAL_STATUS_ACCEPTED:
127
- return "PROPOSAL_STATUS_ACCEPTED";
128
- case ProposalStatus.PROPOSAL_STATUS_REJECTED:
129
- return "PROPOSAL_STATUS_REJECTED";
130
- case ProposalStatus.PROPOSAL_STATUS_ABORTED:
131
- return "PROPOSAL_STATUS_ABORTED";
132
- case ProposalStatus.PROPOSAL_STATUS_WITHDRAWN:
133
- return "PROPOSAL_STATUS_WITHDRAWN";
134
- case ProposalStatus.UNRECOGNIZED:
135
- default:
136
- return "UNRECOGNIZED";
137
- }
138
- }
139
- /** ProposalExecutorResult defines types of proposal executor results. */
140
- export enum ProposalExecutorResult {
141
- /** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */
142
- PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0,
143
- /** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */
144
- PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1,
145
- /** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */
146
- PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2,
147
- /** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */
148
- PROPOSAL_EXECUTOR_RESULT_FAILURE = 3,
149
- UNRECOGNIZED = -1,
150
- }
151
- export const ProposalExecutorResultAmino = ProposalExecutorResult;
152
- export function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult {
153
- switch (object) {
154
- case 0:
155
- case "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED":
156
- return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED;
157
- case 1:
158
- case "PROPOSAL_EXECUTOR_RESULT_NOT_RUN":
159
- return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN;
160
- case 2:
161
- case "PROPOSAL_EXECUTOR_RESULT_SUCCESS":
162
- return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS;
163
- case 3:
164
- case "PROPOSAL_EXECUTOR_RESULT_FAILURE":
165
- return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE;
166
- case -1:
167
- case "UNRECOGNIZED":
168
- default:
169
- return ProposalExecutorResult.UNRECOGNIZED;
170
- }
171
- }
172
- export function proposalExecutorResultToJSON(object: ProposalExecutorResult): string {
173
- switch (object) {
174
- case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED:
175
- return "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED";
176
- case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN:
177
- return "PROPOSAL_EXECUTOR_RESULT_NOT_RUN";
178
- case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS:
179
- return "PROPOSAL_EXECUTOR_RESULT_SUCCESS";
180
- case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE:
181
- return "PROPOSAL_EXECUTOR_RESULT_FAILURE";
182
- case ProposalExecutorResult.UNRECOGNIZED:
183
- default:
184
- return "UNRECOGNIZED";
185
- }
186
- }
187
- /**
188
- * Member represents a group member with an account address,
189
- * non-zero weight, metadata and added_at timestamp.
190
- */
191
- export interface Member {
192
- /** address is the member's account address. */
193
- address: string;
194
- /** weight is the member's voting weight that should be greater than 0. */
195
- weight: string;
196
- /** metadata is any arbitrary metadata attached to the member. */
197
- metadata: string;
198
- /** added_at is a timestamp specifying when a member was added. */
199
- addedAt: Date;
200
- }
201
- export interface MemberProtoMsg {
202
- typeUrl: "/cosmos.group.v1.Member";
203
- value: Uint8Array;
204
- }
205
- /**
206
- * Member represents a group member with an account address,
207
- * non-zero weight, metadata and added_at timestamp.
208
- */
209
- export interface MemberAmino {
210
- /** address is the member's account address. */
211
- address: string;
212
- /** weight is the member's voting weight that should be greater than 0. */
213
- weight: string;
214
- /** metadata is any arbitrary metadata attached to the member. */
215
- metadata: string;
216
- /** added_at is a timestamp specifying when a member was added. */
217
- added_at: string;
218
- }
219
- export interface MemberAminoMsg {
220
- type: "cosmos-sdk/Member";
221
- value: MemberAmino;
222
- }
223
- /**
224
- * MemberRequest represents a group member to be used in Msg server requests.
225
- * Contrary to `Member`, it doesn't have any `added_at` field
226
- * since this field cannot be set as part of requests.
227
- */
228
- export interface MemberRequest {
229
- /** address is the member's account address. */
230
- address: string;
231
- /** weight is the member's voting weight that should be greater than 0. */
232
- weight: string;
233
- /** metadata is any arbitrary metadata attached to the member. */
234
- metadata: string;
235
- }
236
- export interface MemberRequestProtoMsg {
237
- typeUrl: "/cosmos.group.v1.MemberRequest";
238
- value: Uint8Array;
239
- }
240
- /**
241
- * MemberRequest represents a group member to be used in Msg server requests.
242
- * Contrary to `Member`, it doesn't have any `added_at` field
243
- * since this field cannot be set as part of requests.
244
- */
245
- export interface MemberRequestAmino {
246
- /** address is the member's account address. */
247
- address: string;
248
- /** weight is the member's voting weight that should be greater than 0. */
249
- weight: string;
250
- /** metadata is any arbitrary metadata attached to the member. */
251
- metadata: string;
252
- }
253
- export interface MemberRequestAminoMsg {
254
- type: "cosmos-sdk/MemberRequest";
255
- value: MemberRequestAmino;
256
- }
257
- /**
258
- * ThresholdDecisionPolicy is a decision policy where a proposal passes when it
259
- * satisfies the two following conditions:
260
- * 1. The sum of all `YES` voter's weights is greater or equal than the defined
261
- * `threshold`.
262
- * 2. The voting and execution periods of the proposal respect the parameters
263
- * given by `windows`.
264
- */
265
- export interface ThresholdDecisionPolicy {
266
- /**
267
- * threshold is the minimum weighted sum of `YES` votes that must be met or
268
- * exceeded for a proposal to succeed.
269
- */
270
- threshold: string;
271
- /** windows defines the different windows for voting and execution. */
272
- windows?: DecisionPolicyWindows;
273
- }
274
- export interface ThresholdDecisionPolicyProtoMsg {
275
- typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy";
276
- value: Uint8Array;
277
- }
278
- /**
279
- * ThresholdDecisionPolicy is a decision policy where a proposal passes when it
280
- * satisfies the two following conditions:
281
- * 1. The sum of all `YES` voter's weights is greater or equal than the defined
282
- * `threshold`.
283
- * 2. The voting and execution periods of the proposal respect the parameters
284
- * given by `windows`.
285
- */
286
- export interface ThresholdDecisionPolicyAmino {
287
- /**
288
- * threshold is the minimum weighted sum of `YES` votes that must be met or
289
- * exceeded for a proposal to succeed.
290
- */
291
- threshold: string;
292
- /** windows defines the different windows for voting and execution. */
293
- windows?: DecisionPolicyWindowsAmino;
294
- }
295
- export interface ThresholdDecisionPolicyAminoMsg {
296
- type: "cosmos-sdk/ThresholdDecisionPolicy";
297
- value: ThresholdDecisionPolicyAmino;
298
- }
299
- /**
300
- * PercentageDecisionPolicy is a decision policy where a proposal passes when
301
- * it satisfies the two following conditions:
302
- * 1. The percentage of all `YES` voters' weights out of the total group weight
303
- * is greater or equal than the given `percentage`.
304
- * 2. The voting and execution periods of the proposal respect the parameters
305
- * given by `windows`.
306
- */
307
- export interface PercentageDecisionPolicy {
308
- /**
309
- * percentage is the minimum percentage of the weighted sum of `YES` votes must
310
- * meet for a proposal to succeed.
311
- */
312
- percentage: string;
313
- /** windows defines the different windows for voting and execution. */
314
- windows?: DecisionPolicyWindows;
315
- }
316
- export interface PercentageDecisionPolicyProtoMsg {
317
- typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy";
318
- value: Uint8Array;
319
- }
320
- /**
321
- * PercentageDecisionPolicy is a decision policy where a proposal passes when
322
- * it satisfies the two following conditions:
323
- * 1. The percentage of all `YES` voters' weights out of the total group weight
324
- * is greater or equal than the given `percentage`.
325
- * 2. The voting and execution periods of the proposal respect the parameters
326
- * given by `windows`.
327
- */
328
- export interface PercentageDecisionPolicyAmino {
329
- /**
330
- * percentage is the minimum percentage of the weighted sum of `YES` votes must
331
- * meet for a proposal to succeed.
332
- */
333
- percentage: string;
334
- /** windows defines the different windows for voting and execution. */
335
- windows?: DecisionPolicyWindowsAmino;
336
- }
337
- export interface PercentageDecisionPolicyAminoMsg {
338
- type: "cosmos-sdk/PercentageDecisionPolicy";
339
- value: PercentageDecisionPolicyAmino;
340
- }
341
- /** DecisionPolicyWindows defines the different windows for voting and execution. */
342
- export interface DecisionPolicyWindows {
343
- /**
344
- * voting_period is the duration from submission of a proposal to the end of voting period
345
- * Within this times votes can be submitted with MsgVote.
346
- */
347
- votingPeriod: Duration;
348
- /**
349
- * min_execution_period is the minimum duration after the proposal submission
350
- * where members can start sending MsgExec. This means that the window for
351
- * sending a MsgExec transaction is:
352
- * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
353
- * where max_execution_period is a app-specific config, defined in the keeper.
354
- * If not set, min_execution_period will default to 0.
355
- *
356
- * Please make sure to set a `min_execution_period` that is smaller than
357
- * `voting_period + max_execution_period`, or else the above execution window
358
- * is empty, meaning that all proposals created with this decision policy
359
- * won't be able to be executed.
360
- */
361
- minExecutionPeriod: Duration;
362
- }
363
- export interface DecisionPolicyWindowsProtoMsg {
364
- typeUrl: "/cosmos.group.v1.DecisionPolicyWindows";
365
- value: Uint8Array;
366
- }
367
- /** DecisionPolicyWindows defines the different windows for voting and execution. */
368
- export interface DecisionPolicyWindowsAmino {
369
- /**
370
- * voting_period is the duration from submission of a proposal to the end of voting period
371
- * Within this times votes can be submitted with MsgVote.
372
- */
373
- voting_period: DurationAmino;
374
- /**
375
- * min_execution_period is the minimum duration after the proposal submission
376
- * where members can start sending MsgExec. This means that the window for
377
- * sending a MsgExec transaction is:
378
- * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
379
- * where max_execution_period is a app-specific config, defined in the keeper.
380
- * If not set, min_execution_period will default to 0.
381
- *
382
- * Please make sure to set a `min_execution_period` that is smaller than
383
- * `voting_period + max_execution_period`, or else the above execution window
384
- * is empty, meaning that all proposals created with this decision policy
385
- * won't be able to be executed.
386
- */
387
- min_execution_period: DurationAmino;
388
- }
389
- export interface DecisionPolicyWindowsAminoMsg {
390
- type: "cosmos-sdk/DecisionPolicyWindows";
391
- value: DecisionPolicyWindowsAmino;
392
- }
393
- /** GroupInfo represents the high-level on-chain information for a group. */
394
- export interface GroupInfo {
395
- /** id is the unique ID of the group. */
396
- id: bigint;
397
- /** admin is the account address of the group's admin. */
398
- admin: string;
399
- /**
400
- * metadata is any arbitrary metadata to attached to the group.
401
- * the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1
402
- */
403
- metadata: string;
404
- /**
405
- * version is used to track changes to a group's membership structure that
406
- * would break existing proposals. Whenever any members weight is changed,
407
- * or any member is added or removed this version is incremented and will
408
- * cause proposals based on older versions of this group to fail
409
- */
410
- version: bigint;
411
- /** total_weight is the sum of the group members' weights. */
412
- totalWeight: string;
413
- /** created_at is a timestamp specifying when a group was created. */
414
- createdAt: Date;
415
- }
416
- export interface GroupInfoProtoMsg {
417
- typeUrl: "/cosmos.group.v1.GroupInfo";
418
- value: Uint8Array;
419
- }
420
- /** GroupInfo represents the high-level on-chain information for a group. */
421
- export interface GroupInfoAmino {
422
- /** id is the unique ID of the group. */
423
- id: string;
424
- /** admin is the account address of the group's admin. */
425
- admin: string;
426
- /**
427
- * metadata is any arbitrary metadata to attached to the group.
428
- * the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1
429
- */
430
- metadata: string;
431
- /**
432
- * version is used to track changes to a group's membership structure that
433
- * would break existing proposals. Whenever any members weight is changed,
434
- * or any member is added or removed this version is incremented and will
435
- * cause proposals based on older versions of this group to fail
436
- */
437
- version: string;
438
- /** total_weight is the sum of the group members' weights. */
439
- total_weight: string;
440
- /** created_at is a timestamp specifying when a group was created. */
441
- created_at: string;
442
- }
443
- export interface GroupInfoAminoMsg {
444
- type: "cosmos-sdk/GroupInfo";
445
- value: GroupInfoAmino;
446
- }
447
- /** GroupMember represents the relationship between a group and a member. */
448
- export interface GroupMember {
449
- /** group_id is the unique ID of the group. */
450
- groupId: bigint;
451
- /** member is the member data. */
452
- member?: Member;
453
- }
454
- export interface GroupMemberProtoMsg {
455
- typeUrl: "/cosmos.group.v1.GroupMember";
456
- value: Uint8Array;
457
- }
458
- /** GroupMember represents the relationship between a group and a member. */
459
- export interface GroupMemberAmino {
460
- /** group_id is the unique ID of the group. */
461
- group_id: string;
462
- /** member is the member data. */
463
- member?: MemberAmino;
464
- }
465
- export interface GroupMemberAminoMsg {
466
- type: "cosmos-sdk/GroupMember";
467
- value: GroupMemberAmino;
468
- }
469
- /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
470
- export interface GroupPolicyInfo {
471
- /** address is the account address of group policy. */
472
- address: string;
473
- /** group_id is the unique ID of the group. */
474
- groupId: bigint;
475
- /** admin is the account address of the group admin. */
476
- admin: string;
477
- /**
478
- * metadata is any arbitrary metadata attached to the group policy.
479
- * the recommended format of the metadata is to be found here:
480
- * https://docs.cosmos.network/v0.47/modules/group#decision-policy-1
481
- */
482
- metadata: string;
483
- /**
484
- * version is used to track changes to a group's GroupPolicyInfo structure that
485
- * would create a different result on a running proposal.
486
- */
487
- version: bigint;
488
- /** decision_policy specifies the group policy's decision policy. */
489
- decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined;
490
- /** created_at is a timestamp specifying when a group policy was created. */
491
- createdAt: Date;
492
- }
493
- export interface GroupPolicyInfoProtoMsg {
494
- typeUrl: "/cosmos.group.v1.GroupPolicyInfo";
495
- value: Uint8Array;
496
- }
497
- export type GroupPolicyInfoEncoded = Omit<GroupPolicyInfo, "decisionPolicy"> & {
498
- /** decision_policy specifies the group policy's decision policy. */decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined;
499
- };
500
- /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
501
- export interface GroupPolicyInfoAmino {
502
- /** address is the account address of group policy. */
503
- address: string;
504
- /** group_id is the unique ID of the group. */
505
- group_id: string;
506
- /** admin is the account address of the group admin. */
507
- admin: string;
508
- /**
509
- * metadata is any arbitrary metadata attached to the group policy.
510
- * the recommended format of the metadata is to be found here:
511
- * https://docs.cosmos.network/v0.47/modules/group#decision-policy-1
512
- */
513
- metadata: string;
514
- /**
515
- * version is used to track changes to a group's GroupPolicyInfo structure that
516
- * would create a different result on a running proposal.
517
- */
518
- version: string;
519
- /** decision_policy specifies the group policy's decision policy. */
520
- decision_policy?: AnyAmino;
521
- /** created_at is a timestamp specifying when a group policy was created. */
522
- created_at: string;
523
- }
524
- export interface GroupPolicyInfoAminoMsg {
525
- type: "cosmos-sdk/GroupPolicyInfo";
526
- value: GroupPolicyInfoAmino;
527
- }
528
- /**
529
- * Proposal defines a group proposal. Any member of a group can submit a proposal
530
- * for a group policy to decide upon.
531
- * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
532
- * passes as well as some optional metadata associated with the proposal.
533
- */
534
- export interface Proposal {
535
- /** id is the unique id of the proposal. */
536
- id: bigint;
537
- /** group_policy_address is the account address of group policy. */
538
- groupPolicyAddress: string;
539
- /**
540
- * metadata is any arbitrary metadata attached to the proposal.
541
- * the recommended format of the metadata is to be found here:
542
- * https://docs.cosmos.network/v0.47/modules/group#proposal-4
543
- */
544
- metadata: string;
545
- /** proposers are the account addresses of the proposers. */
546
- proposers: string[];
547
- /** submit_time is a timestamp specifying when a proposal was submitted. */
548
- submitTime: Date;
549
- /**
550
- * group_version tracks the version of the group at proposal submission.
551
- * This field is here for informational purposes only.
552
- */
553
- groupVersion: bigint;
554
- /**
555
- * group_policy_version tracks the version of the group policy at proposal submission.
556
- * When a decision policy is changed, existing proposals from previous policy
557
- * versions will become invalid with the `ABORTED` status.
558
- * This field is here for informational purposes only.
559
- */
560
- groupPolicyVersion: bigint;
561
- /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */
562
- status: ProposalStatus;
563
- /**
564
- * final_tally_result contains the sums of all weighted votes for this
565
- * proposal for each vote option. It is empty at submission, and only
566
- * populated after tallying, at voting period end or at proposal execution,
567
- * whichever happens first.
568
- */
569
- finalTallyResult: TallyResult;
570
- /**
571
- * voting_period_end is the timestamp before which voting must be done.
572
- * Unless a successful MsgExec is called before (to execute a proposal whose
573
- * tally is successful before the voting period ends), tallying will be done
574
- * at this point, and the `final_tally_result`and `status` fields will be
575
- * accordingly updated.
576
- */
577
- votingPeriodEnd: Date;
578
- /** executor_result is the final result of the proposal execution. Initial value is NotRun. */
579
- executorResult: ProposalExecutorResult;
580
- /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
581
- messages: Any[];
582
- /**
583
- * title is the title of the proposal
584
- *
585
- * Since: cosmos-sdk 0.47
586
- */
587
- title: string;
588
- /**
589
- * summary is a short summary of the proposal
590
- *
591
- * Since: cosmos-sdk 0.47
592
- */
593
- summary: string;
594
- }
595
- export interface ProposalProtoMsg {
596
- typeUrl: "/cosmos.group.v1.Proposal";
597
- value: Uint8Array;
598
- }
599
- /**
600
- * Proposal defines a group proposal. Any member of a group can submit a proposal
601
- * for a group policy to decide upon.
602
- * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
603
- * passes as well as some optional metadata associated with the proposal.
604
- */
605
- export interface ProposalAmino {
606
- /** id is the unique id of the proposal. */
607
- id: string;
608
- /** group_policy_address is the account address of group policy. */
609
- group_policy_address: string;
610
- /**
611
- * metadata is any arbitrary metadata attached to the proposal.
612
- * the recommended format of the metadata is to be found here:
613
- * https://docs.cosmos.network/v0.47/modules/group#proposal-4
614
- */
615
- metadata: string;
616
- /** proposers are the account addresses of the proposers. */
617
- proposers: string[];
618
- /** submit_time is a timestamp specifying when a proposal was submitted. */
619
- submit_time: string;
620
- /**
621
- * group_version tracks the version of the group at proposal submission.
622
- * This field is here for informational purposes only.
623
- */
624
- group_version: string;
625
- /**
626
- * group_policy_version tracks the version of the group policy at proposal submission.
627
- * When a decision policy is changed, existing proposals from previous policy
628
- * versions will become invalid with the `ABORTED` status.
629
- * This field is here for informational purposes only.
630
- */
631
- group_policy_version: string;
632
- /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */
633
- status: ProposalStatus;
634
- /**
635
- * final_tally_result contains the sums of all weighted votes for this
636
- * proposal for each vote option. It is empty at submission, and only
637
- * populated after tallying, at voting period end or at proposal execution,
638
- * whichever happens first.
639
- */
640
- final_tally_result: TallyResultAmino;
641
- /**
642
- * voting_period_end is the timestamp before which voting must be done.
643
- * Unless a successful MsgExec is called before (to execute a proposal whose
644
- * tally is successful before the voting period ends), tallying will be done
645
- * at this point, and the `final_tally_result`and `status` fields will be
646
- * accordingly updated.
647
- */
648
- voting_period_end: string;
649
- /** executor_result is the final result of the proposal execution. Initial value is NotRun. */
650
- executor_result: ProposalExecutorResult;
651
- /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
652
- messages: AnyAmino[];
653
- /**
654
- * title is the title of the proposal
655
- *
656
- * Since: cosmos-sdk 0.47
657
- */
658
- title: string;
659
- /**
660
- * summary is a short summary of the proposal
661
- *
662
- * Since: cosmos-sdk 0.47
663
- */
664
- summary: string;
665
- }
666
- export interface ProposalAminoMsg {
667
- type: "cosmos-sdk/Proposal";
668
- value: ProposalAmino;
669
- }
670
- /** TallyResult represents the sum of weighted votes for each vote option. */
671
- export interface TallyResult {
672
- /** yes_count is the weighted sum of yes votes. */
673
- yesCount: string;
674
- /** abstain_count is the weighted sum of abstainers. */
675
- abstainCount: string;
676
- /** no_count is the weighted sum of no votes. */
677
- noCount: string;
678
- /** no_with_veto_count is the weighted sum of veto. */
679
- noWithVetoCount: string;
680
- }
681
- export interface TallyResultProtoMsg {
682
- typeUrl: "/cosmos.group.v1.TallyResult";
683
- value: Uint8Array;
684
- }
685
- /** TallyResult represents the sum of weighted votes for each vote option. */
686
- export interface TallyResultAmino {
687
- /** yes_count is the weighted sum of yes votes. */
688
- yes_count: string;
689
- /** abstain_count is the weighted sum of abstainers. */
690
- abstain_count: string;
691
- /** no_count is the weighted sum of no votes. */
692
- no_count: string;
693
- /** no_with_veto_count is the weighted sum of veto. */
694
- no_with_veto_count: string;
695
- }
696
- export interface TallyResultAminoMsg {
697
- type: "cosmos-sdk/TallyResult";
698
- value: TallyResultAmino;
699
- }
700
- /** Vote represents a vote for a proposal.string metadata */
701
- export interface Vote {
702
- /** proposal is the unique ID of the proposal. */
703
- proposalId: bigint;
704
- /** voter is the account address of the voter. */
705
- voter: string;
706
- /** option is the voter's choice on the proposal. */
707
- option: VoteOption;
708
- /**
709
- * metadata is any arbitrary metadata attached to the vote.
710
- * the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2
711
- */
712
- metadata: string;
713
- /** submit_time is the timestamp when the vote was submitted. */
714
- submitTime: Date;
715
- }
716
- export interface VoteProtoMsg {
717
- typeUrl: "/cosmos.group.v1.Vote";
718
- value: Uint8Array;
719
- }
720
- /** Vote represents a vote for a proposal.string metadata */
721
- export interface VoteAmino {
722
- /** proposal is the unique ID of the proposal. */
723
- proposal_id: string;
724
- /** voter is the account address of the voter. */
725
- voter: string;
726
- /** option is the voter's choice on the proposal. */
727
- option: VoteOption;
728
- /**
729
- * metadata is any arbitrary metadata attached to the vote.
730
- * the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2
731
- */
732
- metadata: string;
733
- /** submit_time is the timestamp when the vote was submitted. */
734
- submit_time: string;
735
- }
736
- export interface VoteAminoMsg {
737
- type: "cosmos-sdk/Vote";
738
- value: VoteAmino;
739
- }
740
- function createBaseMember(): Member {
741
- return {
742
- address: "",
743
- weight: "",
744
- metadata: "",
745
- addedAt: new Date()
746
- };
747
- }
748
- export const Member = {
749
- typeUrl: "/cosmos.group.v1.Member",
750
- aminoType: "cosmos-sdk/Member",
751
- is(o: any): o is Member {
752
- return o && (o.$typeUrl === Member.typeUrl || typeof o.address === "string" && typeof o.weight === "string" && typeof o.metadata === "string" && Timestamp.is(o.addedAt));
753
- },
754
- isAmino(o: any): o is MemberAmino {
755
- return o && (o.$typeUrl === Member.typeUrl || typeof o.address === "string" && typeof o.weight === "string" && typeof o.metadata === "string" && Timestamp.isAmino(o.added_at));
756
- },
757
- encode(message: Member, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
758
- if (message.address !== "") {
759
- writer.uint32(10).string(message.address);
760
- }
761
- if (message.weight !== "") {
762
- writer.uint32(18).string(message.weight);
763
- }
764
- if (message.metadata !== "") {
765
- writer.uint32(26).string(message.metadata);
766
- }
767
- if (message.addedAt !== undefined) {
768
- Timestamp.encode(toTimestamp(message.addedAt), writer.uint32(34).fork()).ldelim();
769
- }
770
- return writer;
771
- },
772
- decode(input: BinaryReader | Uint8Array, length?: number): Member {
773
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
774
- let end = length === undefined ? reader.len : reader.pos + length;
775
- const message = createBaseMember();
776
- while (reader.pos < end) {
777
- const tag = reader.uint32();
778
- switch (tag >>> 3) {
779
- case 1:
780
- message.address = reader.string();
781
- break;
782
- case 2:
783
- message.weight = reader.string();
784
- break;
785
- case 3:
786
- message.metadata = reader.string();
787
- break;
788
- case 4:
789
- message.addedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
790
- break;
791
- default:
792
- reader.skipType(tag & 7);
793
- break;
794
- }
795
- }
796
- return message;
797
- },
798
- fromPartial(object: DeepPartial<Member>): Member {
799
- const message = createBaseMember();
800
- message.address = object.address ?? "";
801
- message.weight = object.weight ?? "";
802
- message.metadata = object.metadata ?? "";
803
- message.addedAt = object.addedAt ?? undefined;
804
- return message;
805
- },
806
- fromAmino(object: MemberAmino): Member {
807
- const message = createBaseMember();
808
- if (object.address !== undefined && object.address !== null) {
809
- message.address = object.address;
810
- }
811
- if (object.weight !== undefined && object.weight !== null) {
812
- message.weight = object.weight;
813
- }
814
- if (object.metadata !== undefined && object.metadata !== null) {
815
- message.metadata = object.metadata;
816
- }
817
- if (object.added_at !== undefined && object.added_at !== null) {
818
- message.addedAt = fromTimestamp(Timestamp.fromAmino(object.added_at));
819
- }
820
- return message;
821
- },
822
- toAmino(message: Member): MemberAmino {
823
- const obj: any = {};
824
- obj.address = message.address === "" ? undefined : message.address;
825
- obj.weight = message.weight === "" ? undefined : message.weight;
826
- obj.metadata = message.metadata === "" ? undefined : message.metadata;
827
- obj.added_at = message.addedAt ? Timestamp.toAmino(toTimestamp(message.addedAt)) : new Date();
828
- return obj;
829
- },
830
- fromAminoMsg(object: MemberAminoMsg): Member {
831
- return Member.fromAmino(object.value);
832
- },
833
- toAminoMsg(message: Member): MemberAminoMsg {
834
- return {
835
- type: "cosmos-sdk/Member",
836
- value: Member.toAmino(message)
837
- };
838
- },
839
- fromProtoMsg(message: MemberProtoMsg): Member {
840
- return Member.decode(message.value);
841
- },
842
- toProto(message: Member): Uint8Array {
843
- return Member.encode(message).finish();
844
- },
845
- toProtoMsg(message: Member): MemberProtoMsg {
846
- return {
847
- typeUrl: "/cosmos.group.v1.Member",
848
- value: Member.encode(message).finish()
849
- };
850
- }
851
- };
852
- GlobalDecoderRegistry.register(Member.typeUrl, Member);
853
- GlobalDecoderRegistry.registerAminoProtoMapping(Member.aminoType, Member.typeUrl);
854
- function createBaseMemberRequest(): MemberRequest {
855
- return {
856
- address: "",
857
- weight: "",
858
- metadata: ""
859
- };
860
- }
861
- export const MemberRequest = {
862
- typeUrl: "/cosmos.group.v1.MemberRequest",
863
- aminoType: "cosmos-sdk/MemberRequest",
864
- is(o: any): o is MemberRequest {
865
- return o && (o.$typeUrl === MemberRequest.typeUrl || typeof o.address === "string" && typeof o.weight === "string" && typeof o.metadata === "string");
866
- },
867
- isAmino(o: any): o is MemberRequestAmino {
868
- return o && (o.$typeUrl === MemberRequest.typeUrl || typeof o.address === "string" && typeof o.weight === "string" && typeof o.metadata === "string");
869
- },
870
- encode(message: MemberRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
871
- if (message.address !== "") {
872
- writer.uint32(10).string(message.address);
873
- }
874
- if (message.weight !== "") {
875
- writer.uint32(18).string(message.weight);
876
- }
877
- if (message.metadata !== "") {
878
- writer.uint32(26).string(message.metadata);
879
- }
880
- return writer;
881
- },
882
- decode(input: BinaryReader | Uint8Array, length?: number): MemberRequest {
883
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
884
- let end = length === undefined ? reader.len : reader.pos + length;
885
- const message = createBaseMemberRequest();
886
- while (reader.pos < end) {
887
- const tag = reader.uint32();
888
- switch (tag >>> 3) {
889
- case 1:
890
- message.address = reader.string();
891
- break;
892
- case 2:
893
- message.weight = reader.string();
894
- break;
895
- case 3:
896
- message.metadata = reader.string();
897
- break;
898
- default:
899
- reader.skipType(tag & 7);
900
- break;
901
- }
902
- }
903
- return message;
904
- },
905
- fromPartial(object: DeepPartial<MemberRequest>): MemberRequest {
906
- const message = createBaseMemberRequest();
907
- message.address = object.address ?? "";
908
- message.weight = object.weight ?? "";
909
- message.metadata = object.metadata ?? "";
910
- return message;
911
- },
912
- fromAmino(object: MemberRequestAmino): MemberRequest {
913
- const message = createBaseMemberRequest();
914
- if (object.address !== undefined && object.address !== null) {
915
- message.address = object.address;
916
- }
917
- if (object.weight !== undefined && object.weight !== null) {
918
- message.weight = object.weight;
919
- }
920
- if (object.metadata !== undefined && object.metadata !== null) {
921
- message.metadata = object.metadata;
922
- }
923
- return message;
924
- },
925
- toAmino(message: MemberRequest): MemberRequestAmino {
926
- const obj: any = {};
927
- obj.address = message.address === "" ? undefined : message.address;
928
- obj.weight = message.weight === "" ? undefined : message.weight;
929
- obj.metadata = message.metadata === "" ? undefined : message.metadata;
930
- return obj;
931
- },
932
- fromAminoMsg(object: MemberRequestAminoMsg): MemberRequest {
933
- return MemberRequest.fromAmino(object.value);
934
- },
935
- toAminoMsg(message: MemberRequest): MemberRequestAminoMsg {
936
- return {
937
- type: "cosmos-sdk/MemberRequest",
938
- value: MemberRequest.toAmino(message)
939
- };
940
- },
941
- fromProtoMsg(message: MemberRequestProtoMsg): MemberRequest {
942
- return MemberRequest.decode(message.value);
943
- },
944
- toProto(message: MemberRequest): Uint8Array {
945
- return MemberRequest.encode(message).finish();
946
- },
947
- toProtoMsg(message: MemberRequest): MemberRequestProtoMsg {
948
- return {
949
- typeUrl: "/cosmos.group.v1.MemberRequest",
950
- value: MemberRequest.encode(message).finish()
951
- };
952
- }
953
- };
954
- GlobalDecoderRegistry.register(MemberRequest.typeUrl, MemberRequest);
955
- GlobalDecoderRegistry.registerAminoProtoMapping(MemberRequest.aminoType, MemberRequest.typeUrl);
956
- function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy {
957
- return {
958
- threshold: "",
959
- windows: undefined
960
- };
961
- }
962
- export const ThresholdDecisionPolicy = {
963
- typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy",
964
- aminoType: "cosmos-sdk/ThresholdDecisionPolicy",
965
- is(o: any): o is ThresholdDecisionPolicy {
966
- return o && (o.$typeUrl === ThresholdDecisionPolicy.typeUrl || typeof o.threshold === "string");
967
- },
968
- isAmino(o: any): o is ThresholdDecisionPolicyAmino {
969
- return o && (o.$typeUrl === ThresholdDecisionPolicy.typeUrl || typeof o.threshold === "string");
970
- },
971
- encode(message: ThresholdDecisionPolicy, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
972
- if (message.threshold !== "") {
973
- writer.uint32(10).string(message.threshold);
974
- }
975
- if (message.windows !== undefined) {
976
- DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim();
977
- }
978
- return writer;
979
- },
980
- decode(input: BinaryReader | Uint8Array, length?: number): ThresholdDecisionPolicy {
981
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
982
- let end = length === undefined ? reader.len : reader.pos + length;
983
- const message = createBaseThresholdDecisionPolicy();
984
- while (reader.pos < end) {
985
- const tag = reader.uint32();
986
- switch (tag >>> 3) {
987
- case 1:
988
- message.threshold = reader.string();
989
- break;
990
- case 2:
991
- message.windows = DecisionPolicyWindows.decode(reader, reader.uint32());
992
- break;
993
- default:
994
- reader.skipType(tag & 7);
995
- break;
996
- }
997
- }
998
- return message;
999
- },
1000
- fromPartial(object: DeepPartial<ThresholdDecisionPolicy>): ThresholdDecisionPolicy {
1001
- const message = createBaseThresholdDecisionPolicy();
1002
- message.threshold = object.threshold ?? "";
1003
- message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined;
1004
- return message;
1005
- },
1006
- fromAmino(object: ThresholdDecisionPolicyAmino): ThresholdDecisionPolicy {
1007
- const message = createBaseThresholdDecisionPolicy();
1008
- if (object.threshold !== undefined && object.threshold !== null) {
1009
- message.threshold = object.threshold;
1010
- }
1011
- if (object.windows !== undefined && object.windows !== null) {
1012
- message.windows = DecisionPolicyWindows.fromAmino(object.windows);
1013
- }
1014
- return message;
1015
- },
1016
- toAmino(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAmino {
1017
- const obj: any = {};
1018
- obj.threshold = message.threshold === "" ? undefined : message.threshold;
1019
- obj.windows = message.windows ? DecisionPolicyWindows.toAmino(message.windows) : undefined;
1020
- return obj;
1021
- },
1022
- fromAminoMsg(object: ThresholdDecisionPolicyAminoMsg): ThresholdDecisionPolicy {
1023
- return ThresholdDecisionPolicy.fromAmino(object.value);
1024
- },
1025
- toAminoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAminoMsg {
1026
- return {
1027
- type: "cosmos-sdk/ThresholdDecisionPolicy",
1028
- value: ThresholdDecisionPolicy.toAmino(message)
1029
- };
1030
- },
1031
- fromProtoMsg(message: ThresholdDecisionPolicyProtoMsg): ThresholdDecisionPolicy {
1032
- return ThresholdDecisionPolicy.decode(message.value);
1033
- },
1034
- toProto(message: ThresholdDecisionPolicy): Uint8Array {
1035
- return ThresholdDecisionPolicy.encode(message).finish();
1036
- },
1037
- toProtoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyProtoMsg {
1038
- return {
1039
- typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy",
1040
- value: ThresholdDecisionPolicy.encode(message).finish()
1041
- };
1042
- }
1043
- };
1044
- GlobalDecoderRegistry.register(ThresholdDecisionPolicy.typeUrl, ThresholdDecisionPolicy);
1045
- GlobalDecoderRegistry.registerAminoProtoMapping(ThresholdDecisionPolicy.aminoType, ThresholdDecisionPolicy.typeUrl);
1046
- function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy {
1047
- return {
1048
- percentage: "",
1049
- windows: undefined
1050
- };
1051
- }
1052
- export const PercentageDecisionPolicy = {
1053
- typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy",
1054
- aminoType: "cosmos-sdk/PercentageDecisionPolicy",
1055
- is(o: any): o is PercentageDecisionPolicy {
1056
- return o && (o.$typeUrl === PercentageDecisionPolicy.typeUrl || typeof o.percentage === "string");
1057
- },
1058
- isAmino(o: any): o is PercentageDecisionPolicyAmino {
1059
- return o && (o.$typeUrl === PercentageDecisionPolicy.typeUrl || typeof o.percentage === "string");
1060
- },
1061
- encode(message: PercentageDecisionPolicy, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1062
- if (message.percentage !== "") {
1063
- writer.uint32(10).string(message.percentage);
1064
- }
1065
- if (message.windows !== undefined) {
1066
- DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim();
1067
- }
1068
- return writer;
1069
- },
1070
- decode(input: BinaryReader | Uint8Array, length?: number): PercentageDecisionPolicy {
1071
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1072
- let end = length === undefined ? reader.len : reader.pos + length;
1073
- const message = createBasePercentageDecisionPolicy();
1074
- while (reader.pos < end) {
1075
- const tag = reader.uint32();
1076
- switch (tag >>> 3) {
1077
- case 1:
1078
- message.percentage = reader.string();
1079
- break;
1080
- case 2:
1081
- message.windows = DecisionPolicyWindows.decode(reader, reader.uint32());
1082
- break;
1083
- default:
1084
- reader.skipType(tag & 7);
1085
- break;
1086
- }
1087
- }
1088
- return message;
1089
- },
1090
- fromPartial(object: DeepPartial<PercentageDecisionPolicy>): PercentageDecisionPolicy {
1091
- const message = createBasePercentageDecisionPolicy();
1092
- message.percentage = object.percentage ?? "";
1093
- message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined;
1094
- return message;
1095
- },
1096
- fromAmino(object: PercentageDecisionPolicyAmino): PercentageDecisionPolicy {
1097
- const message = createBasePercentageDecisionPolicy();
1098
- if (object.percentage !== undefined && object.percentage !== null) {
1099
- message.percentage = object.percentage;
1100
- }
1101
- if (object.windows !== undefined && object.windows !== null) {
1102
- message.windows = DecisionPolicyWindows.fromAmino(object.windows);
1103
- }
1104
- return message;
1105
- },
1106
- toAmino(message: PercentageDecisionPolicy): PercentageDecisionPolicyAmino {
1107
- const obj: any = {};
1108
- obj.percentage = message.percentage === "" ? undefined : message.percentage;
1109
- obj.windows = message.windows ? DecisionPolicyWindows.toAmino(message.windows) : undefined;
1110
- return obj;
1111
- },
1112
- fromAminoMsg(object: PercentageDecisionPolicyAminoMsg): PercentageDecisionPolicy {
1113
- return PercentageDecisionPolicy.fromAmino(object.value);
1114
- },
1115
- toAminoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyAminoMsg {
1116
- return {
1117
- type: "cosmos-sdk/PercentageDecisionPolicy",
1118
- value: PercentageDecisionPolicy.toAmino(message)
1119
- };
1120
- },
1121
- fromProtoMsg(message: PercentageDecisionPolicyProtoMsg): PercentageDecisionPolicy {
1122
- return PercentageDecisionPolicy.decode(message.value);
1123
- },
1124
- toProto(message: PercentageDecisionPolicy): Uint8Array {
1125
- return PercentageDecisionPolicy.encode(message).finish();
1126
- },
1127
- toProtoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyProtoMsg {
1128
- return {
1129
- typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy",
1130
- value: PercentageDecisionPolicy.encode(message).finish()
1131
- };
1132
- }
1133
- };
1134
- GlobalDecoderRegistry.register(PercentageDecisionPolicy.typeUrl, PercentageDecisionPolicy);
1135
- GlobalDecoderRegistry.registerAminoProtoMapping(PercentageDecisionPolicy.aminoType, PercentageDecisionPolicy.typeUrl);
1136
- function createBaseDecisionPolicyWindows(): DecisionPolicyWindows {
1137
- return {
1138
- votingPeriod: Duration.fromPartial({}),
1139
- minExecutionPeriod: Duration.fromPartial({})
1140
- };
1141
- }
1142
- export const DecisionPolicyWindows = {
1143
- typeUrl: "/cosmos.group.v1.DecisionPolicyWindows",
1144
- aminoType: "cosmos-sdk/DecisionPolicyWindows",
1145
- is(o: any): o is DecisionPolicyWindows {
1146
- return o && (o.$typeUrl === DecisionPolicyWindows.typeUrl || Duration.is(o.votingPeriod) && Duration.is(o.minExecutionPeriod));
1147
- },
1148
- isAmino(o: any): o is DecisionPolicyWindowsAmino {
1149
- return o && (o.$typeUrl === DecisionPolicyWindows.typeUrl || Duration.isAmino(o.voting_period) && Duration.isAmino(o.min_execution_period));
1150
- },
1151
- encode(message: DecisionPolicyWindows, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1152
- if (message.votingPeriod !== undefined) {
1153
- Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim();
1154
- }
1155
- if (message.minExecutionPeriod !== undefined) {
1156
- Duration.encode(message.minExecutionPeriod, writer.uint32(18).fork()).ldelim();
1157
- }
1158
- return writer;
1159
- },
1160
- decode(input: BinaryReader | Uint8Array, length?: number): DecisionPolicyWindows {
1161
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1162
- let end = length === undefined ? reader.len : reader.pos + length;
1163
- const message = createBaseDecisionPolicyWindows();
1164
- while (reader.pos < end) {
1165
- const tag = reader.uint32();
1166
- switch (tag >>> 3) {
1167
- case 1:
1168
- message.votingPeriod = Duration.decode(reader, reader.uint32());
1169
- break;
1170
- case 2:
1171
- message.minExecutionPeriod = Duration.decode(reader, reader.uint32());
1172
- break;
1173
- default:
1174
- reader.skipType(tag & 7);
1175
- break;
1176
- }
1177
- }
1178
- return message;
1179
- },
1180
- fromPartial(object: DeepPartial<DecisionPolicyWindows>): DecisionPolicyWindows {
1181
- const message = createBaseDecisionPolicyWindows();
1182
- message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined;
1183
- message.minExecutionPeriod = object.minExecutionPeriod !== undefined && object.minExecutionPeriod !== null ? Duration.fromPartial(object.minExecutionPeriod) : undefined;
1184
- return message;
1185
- },
1186
- fromAmino(object: DecisionPolicyWindowsAmino): DecisionPolicyWindows {
1187
- const message = createBaseDecisionPolicyWindows();
1188
- if (object.voting_period !== undefined && object.voting_period !== null) {
1189
- message.votingPeriod = Duration.fromAmino(object.voting_period);
1190
- }
1191
- if (object.min_execution_period !== undefined && object.min_execution_period !== null) {
1192
- message.minExecutionPeriod = Duration.fromAmino(object.min_execution_period);
1193
- }
1194
- return message;
1195
- },
1196
- toAmino(message: DecisionPolicyWindows): DecisionPolicyWindowsAmino {
1197
- const obj: any = {};
1198
- obj.voting_period = message.votingPeriod ? Duration.toAmino(message.votingPeriod) : Duration.toAmino(Duration.fromPartial({}));
1199
- obj.min_execution_period = message.minExecutionPeriod ? Duration.toAmino(message.minExecutionPeriod) : Duration.toAmino(Duration.fromPartial({}));
1200
- return obj;
1201
- },
1202
- fromAminoMsg(object: DecisionPolicyWindowsAminoMsg): DecisionPolicyWindows {
1203
- return DecisionPolicyWindows.fromAmino(object.value);
1204
- },
1205
- toAminoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsAminoMsg {
1206
- return {
1207
- type: "cosmos-sdk/DecisionPolicyWindows",
1208
- value: DecisionPolicyWindows.toAmino(message)
1209
- };
1210
- },
1211
- fromProtoMsg(message: DecisionPolicyWindowsProtoMsg): DecisionPolicyWindows {
1212
- return DecisionPolicyWindows.decode(message.value);
1213
- },
1214
- toProto(message: DecisionPolicyWindows): Uint8Array {
1215
- return DecisionPolicyWindows.encode(message).finish();
1216
- },
1217
- toProtoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsProtoMsg {
1218
- return {
1219
- typeUrl: "/cosmos.group.v1.DecisionPolicyWindows",
1220
- value: DecisionPolicyWindows.encode(message).finish()
1221
- };
1222
- }
1223
- };
1224
- GlobalDecoderRegistry.register(DecisionPolicyWindows.typeUrl, DecisionPolicyWindows);
1225
- GlobalDecoderRegistry.registerAminoProtoMapping(DecisionPolicyWindows.aminoType, DecisionPolicyWindows.typeUrl);
1226
- function createBaseGroupInfo(): GroupInfo {
1227
- return {
1228
- id: BigInt(0),
1229
- admin: "",
1230
- metadata: "",
1231
- version: BigInt(0),
1232
- totalWeight: "",
1233
- createdAt: new Date()
1234
- };
1235
- }
1236
- export const GroupInfo = {
1237
- typeUrl: "/cosmos.group.v1.GroupInfo",
1238
- aminoType: "cosmos-sdk/GroupInfo",
1239
- is(o: any): o is GroupInfo {
1240
- return o && (o.$typeUrl === GroupInfo.typeUrl || typeof o.id === "bigint" && typeof o.admin === "string" && typeof o.metadata === "string" && typeof o.version === "bigint" && typeof o.totalWeight === "string" && Timestamp.is(o.createdAt));
1241
- },
1242
- isAmino(o: any): o is GroupInfoAmino {
1243
- return o && (o.$typeUrl === GroupInfo.typeUrl || typeof o.id === "bigint" && typeof o.admin === "string" && typeof o.metadata === "string" && typeof o.version === "bigint" && typeof o.total_weight === "string" && Timestamp.isAmino(o.created_at));
1244
- },
1245
- encode(message: GroupInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1246
- if (message.id !== BigInt(0)) {
1247
- writer.uint32(8).uint64(message.id);
1248
- }
1249
- if (message.admin !== "") {
1250
- writer.uint32(18).string(message.admin);
1251
- }
1252
- if (message.metadata !== "") {
1253
- writer.uint32(26).string(message.metadata);
1254
- }
1255
- if (message.version !== BigInt(0)) {
1256
- writer.uint32(32).uint64(message.version);
1257
- }
1258
- if (message.totalWeight !== "") {
1259
- writer.uint32(42).string(message.totalWeight);
1260
- }
1261
- if (message.createdAt !== undefined) {
1262
- Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(50).fork()).ldelim();
1263
- }
1264
- return writer;
1265
- },
1266
- decode(input: BinaryReader | Uint8Array, length?: number): GroupInfo {
1267
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1268
- let end = length === undefined ? reader.len : reader.pos + length;
1269
- const message = createBaseGroupInfo();
1270
- while (reader.pos < end) {
1271
- const tag = reader.uint32();
1272
- switch (tag >>> 3) {
1273
- case 1:
1274
- message.id = reader.uint64();
1275
- break;
1276
- case 2:
1277
- message.admin = reader.string();
1278
- break;
1279
- case 3:
1280
- message.metadata = reader.string();
1281
- break;
1282
- case 4:
1283
- message.version = reader.uint64();
1284
- break;
1285
- case 5:
1286
- message.totalWeight = reader.string();
1287
- break;
1288
- case 6:
1289
- message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
1290
- break;
1291
- default:
1292
- reader.skipType(tag & 7);
1293
- break;
1294
- }
1295
- }
1296
- return message;
1297
- },
1298
- fromPartial(object: DeepPartial<GroupInfo>): GroupInfo {
1299
- const message = createBaseGroupInfo();
1300
- message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0);
1301
- message.admin = object.admin ?? "";
1302
- message.metadata = object.metadata ?? "";
1303
- message.version = object.version !== undefined && object.version !== null ? BigInt(object.version.toString()) : BigInt(0);
1304
- message.totalWeight = object.totalWeight ?? "";
1305
- message.createdAt = object.createdAt ?? undefined;
1306
- return message;
1307
- },
1308
- fromAmino(object: GroupInfoAmino): GroupInfo {
1309
- const message = createBaseGroupInfo();
1310
- if (object.id !== undefined && object.id !== null) {
1311
- message.id = BigInt(object.id);
1312
- }
1313
- if (object.admin !== undefined && object.admin !== null) {
1314
- message.admin = object.admin;
1315
- }
1316
- if (object.metadata !== undefined && object.metadata !== null) {
1317
- message.metadata = object.metadata;
1318
- }
1319
- if (object.version !== undefined && object.version !== null) {
1320
- message.version = BigInt(object.version);
1321
- }
1322
- if (object.total_weight !== undefined && object.total_weight !== null) {
1323
- message.totalWeight = object.total_weight;
1324
- }
1325
- if (object.created_at !== undefined && object.created_at !== null) {
1326
- message.createdAt = fromTimestamp(Timestamp.fromAmino(object.created_at));
1327
- }
1328
- return message;
1329
- },
1330
- toAmino(message: GroupInfo): GroupInfoAmino {
1331
- const obj: any = {};
1332
- obj.id = message.id !== BigInt(0) ? message.id?.toString() : undefined;
1333
- obj.admin = message.admin === "" ? undefined : message.admin;
1334
- obj.metadata = message.metadata === "" ? undefined : message.metadata;
1335
- obj.version = message.version !== BigInt(0) ? message.version?.toString() : undefined;
1336
- obj.total_weight = message.totalWeight === "" ? undefined : message.totalWeight;
1337
- obj.created_at = message.createdAt ? Timestamp.toAmino(toTimestamp(message.createdAt)) : new Date();
1338
- return obj;
1339
- },
1340
- fromAminoMsg(object: GroupInfoAminoMsg): GroupInfo {
1341
- return GroupInfo.fromAmino(object.value);
1342
- },
1343
- toAminoMsg(message: GroupInfo): GroupInfoAminoMsg {
1344
- return {
1345
- type: "cosmos-sdk/GroupInfo",
1346
- value: GroupInfo.toAmino(message)
1347
- };
1348
- },
1349
- fromProtoMsg(message: GroupInfoProtoMsg): GroupInfo {
1350
- return GroupInfo.decode(message.value);
1351
- },
1352
- toProto(message: GroupInfo): Uint8Array {
1353
- return GroupInfo.encode(message).finish();
1354
- },
1355
- toProtoMsg(message: GroupInfo): GroupInfoProtoMsg {
1356
- return {
1357
- typeUrl: "/cosmos.group.v1.GroupInfo",
1358
- value: GroupInfo.encode(message).finish()
1359
- };
1360
- }
1361
- };
1362
- GlobalDecoderRegistry.register(GroupInfo.typeUrl, GroupInfo);
1363
- GlobalDecoderRegistry.registerAminoProtoMapping(GroupInfo.aminoType, GroupInfo.typeUrl);
1364
- function createBaseGroupMember(): GroupMember {
1365
- return {
1366
- groupId: BigInt(0),
1367
- member: undefined
1368
- };
1369
- }
1370
- export const GroupMember = {
1371
- typeUrl: "/cosmos.group.v1.GroupMember",
1372
- aminoType: "cosmos-sdk/GroupMember",
1373
- is(o: any): o is GroupMember {
1374
- return o && (o.$typeUrl === GroupMember.typeUrl || typeof o.groupId === "bigint");
1375
- },
1376
- isAmino(o: any): o is GroupMemberAmino {
1377
- return o && (o.$typeUrl === GroupMember.typeUrl || typeof o.group_id === "bigint");
1378
- },
1379
- encode(message: GroupMember, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1380
- if (message.groupId !== BigInt(0)) {
1381
- writer.uint32(8).uint64(message.groupId);
1382
- }
1383
- if (message.member !== undefined) {
1384
- Member.encode(message.member, writer.uint32(18).fork()).ldelim();
1385
- }
1386
- return writer;
1387
- },
1388
- decode(input: BinaryReader | Uint8Array, length?: number): GroupMember {
1389
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1390
- let end = length === undefined ? reader.len : reader.pos + length;
1391
- const message = createBaseGroupMember();
1392
- while (reader.pos < end) {
1393
- const tag = reader.uint32();
1394
- switch (tag >>> 3) {
1395
- case 1:
1396
- message.groupId = reader.uint64();
1397
- break;
1398
- case 2:
1399
- message.member = Member.decode(reader, reader.uint32());
1400
- break;
1401
- default:
1402
- reader.skipType(tag & 7);
1403
- break;
1404
- }
1405
- }
1406
- return message;
1407
- },
1408
- fromPartial(object: DeepPartial<GroupMember>): GroupMember {
1409
- const message = createBaseGroupMember();
1410
- message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
1411
- message.member = object.member !== undefined && object.member !== null ? Member.fromPartial(object.member) : undefined;
1412
- return message;
1413
- },
1414
- fromAmino(object: GroupMemberAmino): GroupMember {
1415
- const message = createBaseGroupMember();
1416
- if (object.group_id !== undefined && object.group_id !== null) {
1417
- message.groupId = BigInt(object.group_id);
1418
- }
1419
- if (object.member !== undefined && object.member !== null) {
1420
- message.member = Member.fromAmino(object.member);
1421
- }
1422
- return message;
1423
- },
1424
- toAmino(message: GroupMember): GroupMemberAmino {
1425
- const obj: any = {};
1426
- obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
1427
- obj.member = message.member ? Member.toAmino(message.member) : undefined;
1428
- return obj;
1429
- },
1430
- fromAminoMsg(object: GroupMemberAminoMsg): GroupMember {
1431
- return GroupMember.fromAmino(object.value);
1432
- },
1433
- toAminoMsg(message: GroupMember): GroupMemberAminoMsg {
1434
- return {
1435
- type: "cosmos-sdk/GroupMember",
1436
- value: GroupMember.toAmino(message)
1437
- };
1438
- },
1439
- fromProtoMsg(message: GroupMemberProtoMsg): GroupMember {
1440
- return GroupMember.decode(message.value);
1441
- },
1442
- toProto(message: GroupMember): Uint8Array {
1443
- return GroupMember.encode(message).finish();
1444
- },
1445
- toProtoMsg(message: GroupMember): GroupMemberProtoMsg {
1446
- return {
1447
- typeUrl: "/cosmos.group.v1.GroupMember",
1448
- value: GroupMember.encode(message).finish()
1449
- };
1450
- }
1451
- };
1452
- GlobalDecoderRegistry.register(GroupMember.typeUrl, GroupMember);
1453
- GlobalDecoderRegistry.registerAminoProtoMapping(GroupMember.aminoType, GroupMember.typeUrl);
1454
- function createBaseGroupPolicyInfo(): GroupPolicyInfo {
1455
- return {
1456
- address: "",
1457
- groupId: BigInt(0),
1458
- admin: "",
1459
- metadata: "",
1460
- version: BigInt(0),
1461
- decisionPolicy: undefined,
1462
- createdAt: new Date()
1463
- };
1464
- }
1465
- export const GroupPolicyInfo = {
1466
- typeUrl: "/cosmos.group.v1.GroupPolicyInfo",
1467
- aminoType: "cosmos-sdk/GroupPolicyInfo",
1468
- is(o: any): o is GroupPolicyInfo {
1469
- return o && (o.$typeUrl === GroupPolicyInfo.typeUrl || typeof o.address === "string" && typeof o.groupId === "bigint" && typeof o.admin === "string" && typeof o.metadata === "string" && typeof o.version === "bigint" && Timestamp.is(o.createdAt));
1470
- },
1471
- isAmino(o: any): o is GroupPolicyInfoAmino {
1472
- return o && (o.$typeUrl === GroupPolicyInfo.typeUrl || typeof o.address === "string" && typeof o.group_id === "bigint" && typeof o.admin === "string" && typeof o.metadata === "string" && typeof o.version === "bigint" && Timestamp.isAmino(o.created_at));
1473
- },
1474
- encode(message: GroupPolicyInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1475
- if (message.address !== "") {
1476
- writer.uint32(10).string(message.address);
1477
- }
1478
- if (message.groupId !== BigInt(0)) {
1479
- writer.uint32(16).uint64(message.groupId);
1480
- }
1481
- if (message.admin !== "") {
1482
- writer.uint32(26).string(message.admin);
1483
- }
1484
- if (message.metadata !== "") {
1485
- writer.uint32(34).string(message.metadata);
1486
- }
1487
- if (message.version !== BigInt(0)) {
1488
- writer.uint32(40).uint64(message.version);
1489
- }
1490
- if (message.decisionPolicy !== undefined) {
1491
- Any.encode(GlobalDecoderRegistry.wrapAny(message.decisionPolicy), writer.uint32(50).fork()).ldelim();
1492
- }
1493
- if (message.createdAt !== undefined) {
1494
- Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(58).fork()).ldelim();
1495
- }
1496
- return writer;
1497
- },
1498
- decode(input: BinaryReader | Uint8Array, length?: number): GroupPolicyInfo {
1499
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1500
- let end = length === undefined ? reader.len : reader.pos + length;
1501
- const message = createBaseGroupPolicyInfo();
1502
- while (reader.pos < end) {
1503
- const tag = reader.uint32();
1504
- switch (tag >>> 3) {
1505
- case 1:
1506
- message.address = reader.string();
1507
- break;
1508
- case 2:
1509
- message.groupId = reader.uint64();
1510
- break;
1511
- case 3:
1512
- message.admin = reader.string();
1513
- break;
1514
- case 4:
1515
- message.metadata = reader.string();
1516
- break;
1517
- case 5:
1518
- message.version = reader.uint64();
1519
- break;
1520
- case 6:
1521
- message.decisionPolicy = GlobalDecoderRegistry.unwrapAny(reader);
1522
- break;
1523
- case 7:
1524
- message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
1525
- break;
1526
- default:
1527
- reader.skipType(tag & 7);
1528
- break;
1529
- }
1530
- }
1531
- return message;
1532
- },
1533
- fromPartial(object: DeepPartial<GroupPolicyInfo>): GroupPolicyInfo {
1534
- const message = createBaseGroupPolicyInfo();
1535
- message.address = object.address ?? "";
1536
- message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
1537
- message.admin = object.admin ?? "";
1538
- message.metadata = object.metadata ?? "";
1539
- message.version = object.version !== undefined && object.version !== null ? BigInt(object.version.toString()) : BigInt(0);
1540
- message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? GlobalDecoderRegistry.fromPartial(object.decisionPolicy) : undefined;
1541
- message.createdAt = object.createdAt ?? undefined;
1542
- return message;
1543
- },
1544
- fromAmino(object: GroupPolicyInfoAmino): GroupPolicyInfo {
1545
- const message = createBaseGroupPolicyInfo();
1546
- if (object.address !== undefined && object.address !== null) {
1547
- message.address = object.address;
1548
- }
1549
- if (object.group_id !== undefined && object.group_id !== null) {
1550
- message.groupId = BigInt(object.group_id);
1551
- }
1552
- if (object.admin !== undefined && object.admin !== null) {
1553
- message.admin = object.admin;
1554
- }
1555
- if (object.metadata !== undefined && object.metadata !== null) {
1556
- message.metadata = object.metadata;
1557
- }
1558
- if (object.version !== undefined && object.version !== null) {
1559
- message.version = BigInt(object.version);
1560
- }
1561
- if (object.decision_policy !== undefined && object.decision_policy !== null) {
1562
- message.decisionPolicy = GlobalDecoderRegistry.fromAminoMsg(object.decision_policy);
1563
- }
1564
- if (object.created_at !== undefined && object.created_at !== null) {
1565
- message.createdAt = fromTimestamp(Timestamp.fromAmino(object.created_at));
1566
- }
1567
- return message;
1568
- },
1569
- toAmino(message: GroupPolicyInfo): GroupPolicyInfoAmino {
1570
- const obj: any = {};
1571
- obj.address = message.address === "" ? undefined : message.address;
1572
- obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
1573
- obj.admin = message.admin === "" ? undefined : message.admin;
1574
- obj.metadata = message.metadata === "" ? undefined : message.metadata;
1575
- obj.version = message.version !== BigInt(0) ? message.version?.toString() : undefined;
1576
- obj.decision_policy = message.decisionPolicy ? GlobalDecoderRegistry.toAminoMsg(message.decisionPolicy) : undefined;
1577
- obj.created_at = message.createdAt ? Timestamp.toAmino(toTimestamp(message.createdAt)) : new Date();
1578
- return obj;
1579
- },
1580
- fromAminoMsg(object: GroupPolicyInfoAminoMsg): GroupPolicyInfo {
1581
- return GroupPolicyInfo.fromAmino(object.value);
1582
- },
1583
- toAminoMsg(message: GroupPolicyInfo): GroupPolicyInfoAminoMsg {
1584
- return {
1585
- type: "cosmos-sdk/GroupPolicyInfo",
1586
- value: GroupPolicyInfo.toAmino(message)
1587
- };
1588
- },
1589
- fromProtoMsg(message: GroupPolicyInfoProtoMsg): GroupPolicyInfo {
1590
- return GroupPolicyInfo.decode(message.value);
1591
- },
1592
- toProto(message: GroupPolicyInfo): Uint8Array {
1593
- return GroupPolicyInfo.encode(message).finish();
1594
- },
1595
- toProtoMsg(message: GroupPolicyInfo): GroupPolicyInfoProtoMsg {
1596
- return {
1597
- typeUrl: "/cosmos.group.v1.GroupPolicyInfo",
1598
- value: GroupPolicyInfo.encode(message).finish()
1599
- };
1600
- }
1601
- };
1602
- GlobalDecoderRegistry.register(GroupPolicyInfo.typeUrl, GroupPolicyInfo);
1603
- GlobalDecoderRegistry.registerAminoProtoMapping(GroupPolicyInfo.aminoType, GroupPolicyInfo.typeUrl);
1604
- function createBaseProposal(): Proposal {
1605
- return {
1606
- id: BigInt(0),
1607
- groupPolicyAddress: "",
1608
- metadata: "",
1609
- proposers: [],
1610
- submitTime: new Date(),
1611
- groupVersion: BigInt(0),
1612
- groupPolicyVersion: BigInt(0),
1613
- status: 0,
1614
- finalTallyResult: TallyResult.fromPartial({}),
1615
- votingPeriodEnd: new Date(),
1616
- executorResult: 0,
1617
- messages: [],
1618
- title: "",
1619
- summary: ""
1620
- };
1621
- }
1622
- export const Proposal = {
1623
- typeUrl: "/cosmos.group.v1.Proposal",
1624
- aminoType: "cosmos-sdk/Proposal",
1625
- is(o: any): o is Proposal {
1626
- return o && (o.$typeUrl === Proposal.typeUrl || typeof o.id === "bigint" && typeof o.groupPolicyAddress === "string" && typeof o.metadata === "string" && Array.isArray(o.proposers) && (!o.proposers.length || typeof o.proposers[0] === "string") && Timestamp.is(o.submitTime) && typeof o.groupVersion === "bigint" && typeof o.groupPolicyVersion === "bigint" && isSet(o.status) && TallyResult.is(o.finalTallyResult) && Timestamp.is(o.votingPeriodEnd) && isSet(o.executorResult) && Array.isArray(o.messages) && (!o.messages.length || Any.is(o.messages[0])) && typeof o.title === "string" && typeof o.summary === "string");
1627
- },
1628
- isAmino(o: any): o is ProposalAmino {
1629
- return o && (o.$typeUrl === Proposal.typeUrl || typeof o.id === "bigint" && typeof o.group_policy_address === "string" && typeof o.metadata === "string" && Array.isArray(o.proposers) && (!o.proposers.length || typeof o.proposers[0] === "string") && Timestamp.isAmino(o.submit_time) && typeof o.group_version === "bigint" && typeof o.group_policy_version === "bigint" && isSet(o.status) && TallyResult.isAmino(o.final_tally_result) && Timestamp.isAmino(o.voting_period_end) && isSet(o.executor_result) && Array.isArray(o.messages) && (!o.messages.length || Any.isAmino(o.messages[0])) && typeof o.title === "string" && typeof o.summary === "string");
1630
- },
1631
- encode(message: Proposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1632
- if (message.id !== BigInt(0)) {
1633
- writer.uint32(8).uint64(message.id);
1634
- }
1635
- if (message.groupPolicyAddress !== "") {
1636
- writer.uint32(18).string(message.groupPolicyAddress);
1637
- }
1638
- if (message.metadata !== "") {
1639
- writer.uint32(26).string(message.metadata);
1640
- }
1641
- for (const v of message.proposers) {
1642
- writer.uint32(34).string(v!);
1643
- }
1644
- if (message.submitTime !== undefined) {
1645
- Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim();
1646
- }
1647
- if (message.groupVersion !== BigInt(0)) {
1648
- writer.uint32(48).uint64(message.groupVersion);
1649
- }
1650
- if (message.groupPolicyVersion !== BigInt(0)) {
1651
- writer.uint32(56).uint64(message.groupPolicyVersion);
1652
- }
1653
- if (message.status !== 0) {
1654
- writer.uint32(64).int32(message.status);
1655
- }
1656
- if (message.finalTallyResult !== undefined) {
1657
- TallyResult.encode(message.finalTallyResult, writer.uint32(74).fork()).ldelim();
1658
- }
1659
- if (message.votingPeriodEnd !== undefined) {
1660
- Timestamp.encode(toTimestamp(message.votingPeriodEnd), writer.uint32(82).fork()).ldelim();
1661
- }
1662
- if (message.executorResult !== 0) {
1663
- writer.uint32(88).int32(message.executorResult);
1664
- }
1665
- for (const v of message.messages) {
1666
- Any.encode(v!, writer.uint32(98).fork()).ldelim();
1667
- }
1668
- if (message.title !== "") {
1669
- writer.uint32(106).string(message.title);
1670
- }
1671
- if (message.summary !== "") {
1672
- writer.uint32(114).string(message.summary);
1673
- }
1674
- return writer;
1675
- },
1676
- decode(input: BinaryReader | Uint8Array, length?: number): Proposal {
1677
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1678
- let end = length === undefined ? reader.len : reader.pos + length;
1679
- const message = createBaseProposal();
1680
- while (reader.pos < end) {
1681
- const tag = reader.uint32();
1682
- switch (tag >>> 3) {
1683
- case 1:
1684
- message.id = reader.uint64();
1685
- break;
1686
- case 2:
1687
- message.groupPolicyAddress = reader.string();
1688
- break;
1689
- case 3:
1690
- message.metadata = reader.string();
1691
- break;
1692
- case 4:
1693
- message.proposers.push(reader.string());
1694
- break;
1695
- case 5:
1696
- message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
1697
- break;
1698
- case 6:
1699
- message.groupVersion = reader.uint64();
1700
- break;
1701
- case 7:
1702
- message.groupPolicyVersion = reader.uint64();
1703
- break;
1704
- case 8:
1705
- message.status = reader.int32() as any;
1706
- break;
1707
- case 9:
1708
- message.finalTallyResult = TallyResult.decode(reader, reader.uint32());
1709
- break;
1710
- case 10:
1711
- message.votingPeriodEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
1712
- break;
1713
- case 11:
1714
- message.executorResult = reader.int32() as any;
1715
- break;
1716
- case 12:
1717
- message.messages.push(Any.decode(reader, reader.uint32()));
1718
- break;
1719
- case 13:
1720
- message.title = reader.string();
1721
- break;
1722
- case 14:
1723
- message.summary = reader.string();
1724
- break;
1725
- default:
1726
- reader.skipType(tag & 7);
1727
- break;
1728
- }
1729
- }
1730
- return message;
1731
- },
1732
- fromPartial(object: DeepPartial<Proposal>): Proposal {
1733
- const message = createBaseProposal();
1734
- message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0);
1735
- message.groupPolicyAddress = object.groupPolicyAddress ?? "";
1736
- message.metadata = object.metadata ?? "";
1737
- message.proposers = object.proposers?.map(e => e) || [];
1738
- message.submitTime = object.submitTime ?? undefined;
1739
- message.groupVersion = object.groupVersion !== undefined && object.groupVersion !== null ? BigInt(object.groupVersion.toString()) : BigInt(0);
1740
- message.groupPolicyVersion = object.groupPolicyVersion !== undefined && object.groupPolicyVersion !== null ? BigInt(object.groupPolicyVersion.toString()) : BigInt(0);
1741
- message.status = object.status ?? 0;
1742
- message.finalTallyResult = object.finalTallyResult !== undefined && object.finalTallyResult !== null ? TallyResult.fromPartial(object.finalTallyResult) : undefined;
1743
- message.votingPeriodEnd = object.votingPeriodEnd ?? undefined;
1744
- message.executorResult = object.executorResult ?? 0;
1745
- message.messages = object.messages?.map(e => Any.fromPartial(e)) || [];
1746
- message.title = object.title ?? "";
1747
- message.summary = object.summary ?? "";
1748
- return message;
1749
- },
1750
- fromAmino(object: ProposalAmino): Proposal {
1751
- const message = createBaseProposal();
1752
- if (object.id !== undefined && object.id !== null) {
1753
- message.id = BigInt(object.id);
1754
- }
1755
- if (object.group_policy_address !== undefined && object.group_policy_address !== null) {
1756
- message.groupPolicyAddress = object.group_policy_address;
1757
- }
1758
- if (object.metadata !== undefined && object.metadata !== null) {
1759
- message.metadata = object.metadata;
1760
- }
1761
- message.proposers = object.proposers?.map(e => e) || [];
1762
- if (object.submit_time !== undefined && object.submit_time !== null) {
1763
- message.submitTime = fromTimestamp(Timestamp.fromAmino(object.submit_time));
1764
- }
1765
- if (object.group_version !== undefined && object.group_version !== null) {
1766
- message.groupVersion = BigInt(object.group_version);
1767
- }
1768
- if (object.group_policy_version !== undefined && object.group_policy_version !== null) {
1769
- message.groupPolicyVersion = BigInt(object.group_policy_version);
1770
- }
1771
- if (object.status !== undefined && object.status !== null) {
1772
- message.status = object.status;
1773
- }
1774
- if (object.final_tally_result !== undefined && object.final_tally_result !== null) {
1775
- message.finalTallyResult = TallyResult.fromAmino(object.final_tally_result);
1776
- }
1777
- if (object.voting_period_end !== undefined && object.voting_period_end !== null) {
1778
- message.votingPeriodEnd = fromTimestamp(Timestamp.fromAmino(object.voting_period_end));
1779
- }
1780
- if (object.executor_result !== undefined && object.executor_result !== null) {
1781
- message.executorResult = object.executor_result;
1782
- }
1783
- message.messages = object.messages?.map(e => Any.fromAmino(e)) || [];
1784
- if (object.title !== undefined && object.title !== null) {
1785
- message.title = object.title;
1786
- }
1787
- if (object.summary !== undefined && object.summary !== null) {
1788
- message.summary = object.summary;
1789
- }
1790
- return message;
1791
- },
1792
- toAmino(message: Proposal): ProposalAmino {
1793
- const obj: any = {};
1794
- obj.id = message.id !== BigInt(0) ? message.id?.toString() : undefined;
1795
- obj.group_policy_address = message.groupPolicyAddress === "" ? undefined : message.groupPolicyAddress;
1796
- obj.metadata = message.metadata === "" ? undefined : message.metadata;
1797
- if (message.proposers) {
1798
- obj.proposers = message.proposers.map(e => e);
1799
- } else {
1800
- obj.proposers = message.proposers;
1801
- }
1802
- obj.submit_time = message.submitTime ? Timestamp.toAmino(toTimestamp(message.submitTime)) : new Date();
1803
- obj.group_version = message.groupVersion !== BigInt(0) ? message.groupVersion?.toString() : undefined;
1804
- obj.group_policy_version = message.groupPolicyVersion !== BigInt(0) ? message.groupPolicyVersion?.toString() : undefined;
1805
- obj.status = message.status === 0 ? undefined : message.status;
1806
- obj.final_tally_result = message.finalTallyResult ? TallyResult.toAmino(message.finalTallyResult) : TallyResult.toAmino(TallyResult.fromPartial({}));
1807
- obj.voting_period_end = message.votingPeriodEnd ? Timestamp.toAmino(toTimestamp(message.votingPeriodEnd)) : new Date();
1808
- obj.executor_result = message.executorResult === 0 ? undefined : message.executorResult;
1809
- if (message.messages) {
1810
- obj.messages = message.messages.map(e => e ? Any.toAmino(e) : undefined);
1811
- } else {
1812
- obj.messages = message.messages;
1813
- }
1814
- obj.title = message.title === "" ? undefined : message.title;
1815
- obj.summary = message.summary === "" ? undefined : message.summary;
1816
- return obj;
1817
- },
1818
- fromAminoMsg(object: ProposalAminoMsg): Proposal {
1819
- return Proposal.fromAmino(object.value);
1820
- },
1821
- toAminoMsg(message: Proposal): ProposalAminoMsg {
1822
- return {
1823
- type: "cosmos-sdk/Proposal",
1824
- value: Proposal.toAmino(message)
1825
- };
1826
- },
1827
- fromProtoMsg(message: ProposalProtoMsg): Proposal {
1828
- return Proposal.decode(message.value);
1829
- },
1830
- toProto(message: Proposal): Uint8Array {
1831
- return Proposal.encode(message).finish();
1832
- },
1833
- toProtoMsg(message: Proposal): ProposalProtoMsg {
1834
- return {
1835
- typeUrl: "/cosmos.group.v1.Proposal",
1836
- value: Proposal.encode(message).finish()
1837
- };
1838
- }
1839
- };
1840
- GlobalDecoderRegistry.register(Proposal.typeUrl, Proposal);
1841
- GlobalDecoderRegistry.registerAminoProtoMapping(Proposal.aminoType, Proposal.typeUrl);
1842
- function createBaseTallyResult(): TallyResult {
1843
- return {
1844
- yesCount: "",
1845
- abstainCount: "",
1846
- noCount: "",
1847
- noWithVetoCount: ""
1848
- };
1849
- }
1850
- export const TallyResult = {
1851
- typeUrl: "/cosmos.group.v1.TallyResult",
1852
- aminoType: "cosmos-sdk/TallyResult",
1853
- is(o: any): o is TallyResult {
1854
- return o && (o.$typeUrl === TallyResult.typeUrl || typeof o.yesCount === "string" && typeof o.abstainCount === "string" && typeof o.noCount === "string" && typeof o.noWithVetoCount === "string");
1855
- },
1856
- isAmino(o: any): o is TallyResultAmino {
1857
- return o && (o.$typeUrl === TallyResult.typeUrl || typeof o.yes_count === "string" && typeof o.abstain_count === "string" && typeof o.no_count === "string" && typeof o.no_with_veto_count === "string");
1858
- },
1859
- encode(message: TallyResult, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1860
- if (message.yesCount !== "") {
1861
- writer.uint32(10).string(message.yesCount);
1862
- }
1863
- if (message.abstainCount !== "") {
1864
- writer.uint32(18).string(message.abstainCount);
1865
- }
1866
- if (message.noCount !== "") {
1867
- writer.uint32(26).string(message.noCount);
1868
- }
1869
- if (message.noWithVetoCount !== "") {
1870
- writer.uint32(34).string(message.noWithVetoCount);
1871
- }
1872
- return writer;
1873
- },
1874
- decode(input: BinaryReader | Uint8Array, length?: number): TallyResult {
1875
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1876
- let end = length === undefined ? reader.len : reader.pos + length;
1877
- const message = createBaseTallyResult();
1878
- while (reader.pos < end) {
1879
- const tag = reader.uint32();
1880
- switch (tag >>> 3) {
1881
- case 1:
1882
- message.yesCount = reader.string();
1883
- break;
1884
- case 2:
1885
- message.abstainCount = reader.string();
1886
- break;
1887
- case 3:
1888
- message.noCount = reader.string();
1889
- break;
1890
- case 4:
1891
- message.noWithVetoCount = reader.string();
1892
- break;
1893
- default:
1894
- reader.skipType(tag & 7);
1895
- break;
1896
- }
1897
- }
1898
- return message;
1899
- },
1900
- fromPartial(object: DeepPartial<TallyResult>): TallyResult {
1901
- const message = createBaseTallyResult();
1902
- message.yesCount = object.yesCount ?? "";
1903
- message.abstainCount = object.abstainCount ?? "";
1904
- message.noCount = object.noCount ?? "";
1905
- message.noWithVetoCount = object.noWithVetoCount ?? "";
1906
- return message;
1907
- },
1908
- fromAmino(object: TallyResultAmino): TallyResult {
1909
- const message = createBaseTallyResult();
1910
- if (object.yes_count !== undefined && object.yes_count !== null) {
1911
- message.yesCount = object.yes_count;
1912
- }
1913
- if (object.abstain_count !== undefined && object.abstain_count !== null) {
1914
- message.abstainCount = object.abstain_count;
1915
- }
1916
- if (object.no_count !== undefined && object.no_count !== null) {
1917
- message.noCount = object.no_count;
1918
- }
1919
- if (object.no_with_veto_count !== undefined && object.no_with_veto_count !== null) {
1920
- message.noWithVetoCount = object.no_with_veto_count;
1921
- }
1922
- return message;
1923
- },
1924
- toAmino(message: TallyResult): TallyResultAmino {
1925
- const obj: any = {};
1926
- obj.yes_count = message.yesCount === "" ? undefined : message.yesCount;
1927
- obj.abstain_count = message.abstainCount === "" ? undefined : message.abstainCount;
1928
- obj.no_count = message.noCount === "" ? undefined : message.noCount;
1929
- obj.no_with_veto_count = message.noWithVetoCount === "" ? undefined : message.noWithVetoCount;
1930
- return obj;
1931
- },
1932
- fromAminoMsg(object: TallyResultAminoMsg): TallyResult {
1933
- return TallyResult.fromAmino(object.value);
1934
- },
1935
- toAminoMsg(message: TallyResult): TallyResultAminoMsg {
1936
- return {
1937
- type: "cosmos-sdk/TallyResult",
1938
- value: TallyResult.toAmino(message)
1939
- };
1940
- },
1941
- fromProtoMsg(message: TallyResultProtoMsg): TallyResult {
1942
- return TallyResult.decode(message.value);
1943
- },
1944
- toProto(message: TallyResult): Uint8Array {
1945
- return TallyResult.encode(message).finish();
1946
- },
1947
- toProtoMsg(message: TallyResult): TallyResultProtoMsg {
1948
- return {
1949
- typeUrl: "/cosmos.group.v1.TallyResult",
1950
- value: TallyResult.encode(message).finish()
1951
- };
1952
- }
1953
- };
1954
- GlobalDecoderRegistry.register(TallyResult.typeUrl, TallyResult);
1955
- GlobalDecoderRegistry.registerAminoProtoMapping(TallyResult.aminoType, TallyResult.typeUrl);
1956
- function createBaseVote(): Vote {
1957
- return {
1958
- proposalId: BigInt(0),
1959
- voter: "",
1960
- option: 0,
1961
- metadata: "",
1962
- submitTime: new Date()
1963
- };
1964
- }
1965
- export const Vote = {
1966
- typeUrl: "/cosmos.group.v1.Vote",
1967
- aminoType: "cosmos-sdk/Vote",
1968
- is(o: any): o is Vote {
1969
- return o && (o.$typeUrl === Vote.typeUrl || typeof o.proposalId === "bigint" && typeof o.voter === "string" && isSet(o.option) && typeof o.metadata === "string" && Timestamp.is(o.submitTime));
1970
- },
1971
- isAmino(o: any): o is VoteAmino {
1972
- return o && (o.$typeUrl === Vote.typeUrl || typeof o.proposal_id === "bigint" && typeof o.voter === "string" && isSet(o.option) && typeof o.metadata === "string" && Timestamp.isAmino(o.submit_time));
1973
- },
1974
- encode(message: Vote, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1975
- if (message.proposalId !== BigInt(0)) {
1976
- writer.uint32(8).uint64(message.proposalId);
1977
- }
1978
- if (message.voter !== "") {
1979
- writer.uint32(18).string(message.voter);
1980
- }
1981
- if (message.option !== 0) {
1982
- writer.uint32(24).int32(message.option);
1983
- }
1984
- if (message.metadata !== "") {
1985
- writer.uint32(34).string(message.metadata);
1986
- }
1987
- if (message.submitTime !== undefined) {
1988
- Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim();
1989
- }
1990
- return writer;
1991
- },
1992
- decode(input: BinaryReader | Uint8Array, length?: number): Vote {
1993
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1994
- let end = length === undefined ? reader.len : reader.pos + length;
1995
- const message = createBaseVote();
1996
- while (reader.pos < end) {
1997
- const tag = reader.uint32();
1998
- switch (tag >>> 3) {
1999
- case 1:
2000
- message.proposalId = reader.uint64();
2001
- break;
2002
- case 2:
2003
- message.voter = reader.string();
2004
- break;
2005
- case 3:
2006
- message.option = reader.int32() as any;
2007
- break;
2008
- case 4:
2009
- message.metadata = reader.string();
2010
- break;
2011
- case 5:
2012
- message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
2013
- break;
2014
- default:
2015
- reader.skipType(tag & 7);
2016
- break;
2017
- }
2018
- }
2019
- return message;
2020
- },
2021
- fromPartial(object: DeepPartial<Vote>): Vote {
2022
- const message = createBaseVote();
2023
- message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
2024
- message.voter = object.voter ?? "";
2025
- message.option = object.option ?? 0;
2026
- message.metadata = object.metadata ?? "";
2027
- message.submitTime = object.submitTime ?? undefined;
2028
- return message;
2029
- },
2030
- fromAmino(object: VoteAmino): Vote {
2031
- const message = createBaseVote();
2032
- if (object.proposal_id !== undefined && object.proposal_id !== null) {
2033
- message.proposalId = BigInt(object.proposal_id);
2034
- }
2035
- if (object.voter !== undefined && object.voter !== null) {
2036
- message.voter = object.voter;
2037
- }
2038
- if (object.option !== undefined && object.option !== null) {
2039
- message.option = object.option;
2040
- }
2041
- if (object.metadata !== undefined && object.metadata !== null) {
2042
- message.metadata = object.metadata;
2043
- }
2044
- if (object.submit_time !== undefined && object.submit_time !== null) {
2045
- message.submitTime = fromTimestamp(Timestamp.fromAmino(object.submit_time));
2046
- }
2047
- return message;
2048
- },
2049
- toAmino(message: Vote): VoteAmino {
2050
- const obj: any = {};
2051
- obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
2052
- obj.voter = message.voter === "" ? undefined : message.voter;
2053
- obj.option = message.option === 0 ? undefined : message.option;
2054
- obj.metadata = message.metadata === "" ? undefined : message.metadata;
2055
- obj.submit_time = message.submitTime ? Timestamp.toAmino(toTimestamp(message.submitTime)) : new Date();
2056
- return obj;
2057
- },
2058
- fromAminoMsg(object: VoteAminoMsg): Vote {
2059
- return Vote.fromAmino(object.value);
2060
- },
2061
- toAminoMsg(message: Vote): VoteAminoMsg {
2062
- return {
2063
- type: "cosmos-sdk/Vote",
2064
- value: Vote.toAmino(message)
2065
- };
2066
- },
2067
- fromProtoMsg(message: VoteProtoMsg): Vote {
2068
- return Vote.decode(message.value);
2069
- },
2070
- toProto(message: Vote): Uint8Array {
2071
- return Vote.encode(message).finish();
2072
- },
2073
- toProtoMsg(message: Vote): VoteProtoMsg {
2074
- return {
2075
- typeUrl: "/cosmos.group.v1.Vote",
2076
- value: Vote.encode(message).finish()
2077
- };
2078
- }
2079
- };
2080
- GlobalDecoderRegistry.register(Vote.typeUrl, Vote);
2081
- GlobalDecoderRegistry.registerAminoProtoMapping(Vote.aminoType, Vote.typeUrl);