@xpla/xplajs 1.7.0-beta.0

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 (727) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +32 -0
  3. package/package.json +32 -0
  4. package/src/amino/amino.d.ts +1 -0
  5. package/src/amino/amino.js +2 -0
  6. package/src/amino/amino.ts +1 -0
  7. package/src/binary.d.ts +130 -0
  8. package/src/binary.js +370 -0
  9. package/src/binary.ts +534 -0
  10. package/src/cosmos/app/runtime/v1alpha1/module.ts +423 -0
  11. package/src/cosmos/app/runtime/v2/module.ts +589 -0
  12. package/src/cosmos/app/v1alpha1/config.ts +422 -0
  13. package/src/cosmos/app/v1alpha1/module.ts +461 -0
  14. package/src/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
  15. package/src/cosmos/app/v1alpha1/query.rpc.func.ts +9 -0
  16. package/src/cosmos/app/v1alpha1/query.ts +177 -0
  17. package/src/cosmos/auth/module/v1/module.ts +253 -0
  18. package/src/cosmos/auth/v1beta1/accounts.ts +226 -0
  19. package/src/cosmos/auth/v1beta1/auth.d.ts +177 -0
  20. package/src/cosmos/auth/v1beta1/auth.js +445 -0
  21. package/src/cosmos/auth/v1beta1/auth.ts +550 -0
  22. package/src/cosmos/auth/v1beta1/genesis.ts +119 -0
  23. package/src/cosmos/auth/v1beta1/query.d.ts +810 -0
  24. package/src/cosmos/auth/v1beta1/query.js +1561 -0
  25. package/src/cosmos/auth/v1beta1/query.lcd.ts +94 -0
  26. package/src/cosmos/auth/v1beta1/query.rpc.Query.ts +179 -0
  27. package/src/cosmos/auth/v1beta1/query.rpc.func.d.ts +12 -0
  28. package/src/cosmos/auth/v1beta1/query.rpc.func.js +85 -0
  29. package/src/cosmos/auth/v1beta1/query.rpc.func.ts +72 -0
  30. package/src/cosmos/auth/v1beta1/query.ts +2034 -0
  31. package/src/cosmos/auth/v1beta1/tx.amino.ts +8 -0
  32. package/src/cosmos/auth/v1beta1/tx.registry.ts +3 -0
  33. package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +9 -0
  34. package/src/cosmos/auth/v1beta1/tx.rpc.msg.ts +31 -0
  35. package/src/cosmos/auth/v1beta1/tx.ts +219 -0
  36. package/src/cosmos/authz/module/v1/module.ts +80 -0
  37. package/src/cosmos/authz/v1beta1/authz.d.ts +177 -0
  38. package/src/cosmos/authz/v1beta1/authz.js +371 -0
  39. package/src/cosmos/authz/v1beta1/authz.ts +481 -0
  40. package/src/cosmos/authz/v1beta1/event.ts +259 -0
  41. package/src/cosmos/authz/v1beta1/genesis.ts +100 -0
  42. package/src/cosmos/authz/v1beta1/query.lcd.ts +59 -0
  43. package/src/cosmos/authz/v1beta1/query.rpc.Query.ts +64 -0
  44. package/src/cosmos/authz/v1beta1/query.rpc.func.ts +23 -0
  45. package/src/cosmos/authz/v1beta1/query.ts +707 -0
  46. package/src/cosmos/authz/v1beta1/tx.amino.ts +18 -0
  47. package/src/cosmos/authz/v1beta1/tx.d.ts +240 -0
  48. package/src/cosmos/authz/v1beta1/tx.js +516 -0
  49. package/src/cosmos/authz/v1beta1/tx.registry.ts +3 -0
  50. package/src/cosmos/authz/v1beta1/tx.rpc.func.d.ts +5 -0
  51. package/src/cosmos/authz/v1beta1/tx.rpc.func.js +27 -0
  52. package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +21 -0
  53. package/src/cosmos/authz/v1beta1/tx.rpc.msg.ts +57 -0
  54. package/src/cosmos/authz/v1beta1/tx.ts +647 -0
  55. package/src/cosmos/autocli/v1/options.ts +1145 -0
  56. package/src/cosmos/autocli/v1/query.rpc.Query.ts +31 -0
  57. package/src/cosmos/autocli/v1/query.rpc.func.ts +9 -0
  58. package/src/cosmos/autocli/v1/query.ts +288 -0
  59. package/src/cosmos/bank/module/v1/module.ts +153 -0
  60. package/src/cosmos/bank/v1beta1/authz.ts +138 -0
  61. package/src/cosmos/bank/v1beta1/bank.d.ts +371 -0
  62. package/src/cosmos/bank/v1beta1/bank.js +726 -0
  63. package/src/cosmos/bank/v1beta1/bank.ts +974 -0
  64. package/src/cosmos/bank/v1beta1/genesis.ts +307 -0
  65. package/src/cosmos/bank/v1beta1/query.d.ts +1159 -0
  66. package/src/cosmos/bank/v1beta1/query.js +2317 -0
  67. package/src/cosmos/bank/v1beta1/query.lcd.ts +194 -0
  68. package/src/cosmos/bank/v1beta1/query.rpc.Query.ts +258 -0
  69. package/src/cosmos/bank/v1beta1/query.rpc.func.d.ts +15 -0
  70. package/src/cosmos/bank/v1beta1/query.rpc.func.js +109 -0
  71. package/src/cosmos/bank/v1beta1/query.rpc.func.ts +93 -0
  72. package/src/cosmos/bank/v1beta1/query.ts +3027 -0
  73. package/src/cosmos/bank/v1beta1/tx.amino.ts +23 -0
  74. package/src/cosmos/bank/v1beta1/tx.d.ts +342 -0
  75. package/src/cosmos/bank/v1beta1/tx.js +666 -0
  76. package/src/cosmos/bank/v1beta1/tx.registry.ts +3 -0
  77. package/src/cosmos/bank/v1beta1/tx.rpc.func.d.ts +6 -0
  78. package/src/cosmos/bank/v1beta1/tx.rpc.func.js +34 -0
  79. package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +27 -0
  80. package/src/cosmos/bank/v1beta1/tx.rpc.msg.ts +67 -0
  81. package/src/cosmos/bank/v1beta1/tx.ts +861 -0
  82. package/src/cosmos/base/abci/v1beta1/abci.d.ts +599 -0
  83. package/src/cosmos/base/abci/v1beta1/abci.js +1293 -0
  84. package/src/cosmos/base/abci/v1beta1/abci.ts +1698 -0
  85. package/src/cosmos/base/grpc/v2/service.rpc.Service.ts +41 -0
  86. package/src/cosmos/base/grpc/v2/service.rpc.func.ts +16 -0
  87. package/src/cosmos/base/grpc/v2/service.ts +473 -0
  88. package/src/cosmos/base/node/v1beta1/query.lcd.ts +22 -0
  89. package/src/cosmos/base/node/v1beta1/query.rpc.Service.ts +41 -0
  90. package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +16 -0
  91. package/src/cosmos/base/node/v1beta1/query.ts +454 -0
  92. package/src/cosmos/base/query/v1beta1/pagination.d.ts +176 -0
  93. package/src/cosmos/base/query/v1beta1/pagination.js +222 -0
  94. package/src/cosmos/base/query/v1beta1/pagination.ts +361 -0
  95. package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +16 -0
  96. package/src/cosmos/base/reflection/v1beta1/reflection.ts +382 -0
  97. package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +44 -0
  98. package/src/cosmos/base/reflection/v2alpha1/reflection.ts +2727 -0
  99. package/src/cosmos/base/tendermint/v1beta1/query.lcd.ts +81 -0
  100. package/src/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +108 -0
  101. package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +51 -0
  102. package/src/cosmos/base/tendermint/v1beta1/query.ts +2302 -0
  103. package/src/cosmos/base/tendermint/v1beta1/types.ts +455 -0
  104. package/src/cosmos/base/v1beta1/coin.d.ts +166 -0
  105. package/src/cosmos/base/v1beta1/coin.js +341 -0
  106. package/src/cosmos/base/v1beta1/coin.ts +439 -0
  107. package/src/cosmos/circuit/module/v1/module.ts +99 -0
  108. package/src/cosmos/circuit/v1/query.lcd.ts +36 -0
  109. package/src/cosmos/circuit/v1/query.rpc.Query.ts +54 -0
  110. package/src/cosmos/circuit/v1/query.rpc.func.ts +23 -0
  111. package/src/cosmos/circuit/v1/query.ts +574 -0
  112. package/src/cosmos/circuit/v1/tx.amino.ts +18 -0
  113. package/src/cosmos/circuit/v1/tx.registry.ts +3 -0
  114. package/src/cosmos/circuit/v1/tx.rpc.func.ts +21 -0
  115. package/src/cosmos/circuit/v1/tx.rpc.msg.ts +47 -0
  116. package/src/cosmos/circuit/v1/tx.ts +676 -0
  117. package/src/cosmos/circuit/v1/types.ts +413 -0
  118. package/src/cosmos/consensus/module/v1/module.ts +99 -0
  119. package/src/cosmos/consensus/v1/query.lcd.ts +17 -0
  120. package/src/cosmos/consensus/v1/query.rpc.Query.ts +30 -0
  121. package/src/cosmos/consensus/v1/query.rpc.func.ts +9 -0
  122. package/src/cosmos/consensus/v1/query.ts +185 -0
  123. package/src/cosmos/consensus/v1/tx.amino.ts +8 -0
  124. package/src/cosmos/consensus/v1/tx.registry.ts +3 -0
  125. package/src/cosmos/consensus/v1/tx.rpc.func.ts +9 -0
  126. package/src/cosmos/consensus/v1/tx.rpc.msg.ts +31 -0
  127. package/src/cosmos/consensus/v1/tx.ts +255 -0
  128. package/src/cosmos/crisis/module/v1/module.ts +115 -0
  129. package/src/cosmos/crisis/v1beta1/genesis.ts +106 -0
  130. package/src/cosmos/crisis/v1beta1/tx.amino.ts +13 -0
  131. package/src/cosmos/crisis/v1beta1/tx.registry.ts +3 -0
  132. package/src/cosmos/crisis/v1beta1/tx.rpc.func.ts +15 -0
  133. package/src/cosmos/crisis/v1beta1/tx.rpc.msg.ts +39 -0
  134. package/src/cosmos/crisis/v1beta1/tx.ts +416 -0
  135. package/src/cosmos/crypto/ed25519/keys.d.ts +84 -0
  136. package/src/cosmos/crypto/ed25519/keys.js +162 -0
  137. package/src/cosmos/crypto/ed25519/keys.ts +209 -0
  138. package/src/cosmos/crypto/hd/v1/hd.ts +169 -0
  139. package/src/cosmos/crypto/keyring/v1/record.ts +529 -0
  140. package/src/cosmos/crypto/multisig/keys.ts +122 -0
  141. package/src/cosmos/crypto/multisig/v1beta1/multisig.d.ts +86 -0
  142. package/src/cosmos/crypto/multisig/v1beta1/multisig.js +177 -0
  143. package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +225 -0
  144. package/src/cosmos/crypto/secp256k1/keys.d.ts +78 -0
  145. package/src/cosmos/crypto/secp256k1/keys.js +162 -0
  146. package/src/cosmos/crypto/secp256k1/keys.ts +203 -0
  147. package/src/cosmos/crypto/secp256r1/keys.d.ts +76 -0
  148. package/src/cosmos/crypto/secp256r1/keys.js +162 -0
  149. package/src/cosmos/crypto/secp256r1/keys.ts +201 -0
  150. package/src/cosmos/distribution/module/v1/module.ts +113 -0
  151. package/src/cosmos/distribution/v1beta1/distribution.d.ts +541 -0
  152. package/src/cosmos/distribution/v1beta1/distribution.js +1158 -0
  153. package/src/cosmos/distribution/v1beta1/distribution.ts +1494 -0
  154. package/src/cosmos/distribution/v1beta1/genesis.ts +1129 -0
  155. package/src/cosmos/distribution/v1beta1/query.lcd.ts +76 -0
  156. package/src/cosmos/distribution/v1beta1/query.rpc.Query.ts +133 -0
  157. package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +72 -0
  158. package/src/cosmos/distribution/v1beta1/query.ts +2126 -0
  159. package/src/cosmos/distribution/v1beta1/tx.amino.ts +38 -0
  160. package/src/cosmos/distribution/v1beta1/tx.d.ts +578 -0
  161. package/src/cosmos/distribution/v1beta1/tx.js +1145 -0
  162. package/src/cosmos/distribution/v1beta1/tx.registry.ts +3 -0
  163. package/src/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +9 -0
  164. package/src/cosmos/distribution/v1beta1/tx.rpc.func.js +55 -0
  165. package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +45 -0
  166. package/src/cosmos/distribution/v1beta1/tx.rpc.msg.ts +115 -0
  167. package/src/cosmos/distribution/v1beta1/tx.ts +1478 -0
  168. package/src/cosmos/evidence/module/v1/module.ts +80 -0
  169. package/src/cosmos/evidence/v1beta1/evidence.ts +154 -0
  170. package/src/cosmos/evidence/v1beta1/genesis.ts +102 -0
  171. package/src/cosmos/evidence/v1beta1/query.lcd.ts +37 -0
  172. package/src/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
  173. package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +16 -0
  174. package/src/cosmos/evidence/v1beta1/query.ts +451 -0
  175. package/src/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
  176. package/src/cosmos/evidence/v1beta1/tx.registry.ts +3 -0
  177. package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +9 -0
  178. package/src/cosmos/evidence/v1beta1/tx.rpc.msg.ts +27 -0
  179. package/src/cosmos/evidence/v1beta1/tx.ts +221 -0
  180. package/src/cosmos/feegrant/module/v1/module.ts +80 -0
  181. package/src/cosmos/feegrant/v1beta1/feegrant.ts +573 -0
  182. package/src/cosmos/feegrant/v1beta1/genesis.ts +100 -0
  183. package/src/cosmos/feegrant/v1beta1/query.lcd.ts +42 -0
  184. package/src/cosmos/feegrant/v1beta1/query.rpc.Query.ts +58 -0
  185. package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +23 -0
  186. package/src/cosmos/feegrant/v1beta1/query.ts +677 -0
  187. package/src/cosmos/feegrant/v1beta1/tx.amino.ts +18 -0
  188. package/src/cosmos/feegrant/v1beta1/tx.d.ts +232 -0
  189. package/src/cosmos/feegrant/v1beta1/tx.js +471 -0
  190. package/src/cosmos/feegrant/v1beta1/tx.registry.ts +3 -0
  191. package/src/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +5 -0
  192. package/src/cosmos/feegrant/v1beta1/tx.rpc.func.js +27 -0
  193. package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +21 -0
  194. package/src/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +53 -0
  195. package/src/cosmos/feegrant/v1beta1/tx.ts +597 -0
  196. package/src/cosmos/genutil/module/v1/module.ts +80 -0
  197. package/src/cosmos/genutil/v1beta1/genesis.ts +101 -0
  198. package/src/cosmos/gov/module/v1/module.ts +121 -0
  199. package/src/cosmos/gov/v1/genesis.ts +280 -0
  200. package/src/cosmos/gov/v1/gov.d.ts +696 -0
  201. package/src/cosmos/gov/v1/gov.js +1363 -0
  202. package/src/cosmos/gov/v1/gov.ts +1843 -0
  203. package/src/cosmos/gov/v1/query.lcd.ts +85 -0
  204. package/src/cosmos/gov/v1/query.rpc.Query.ts +118 -0
  205. package/src/cosmos/gov/v1/query.rpc.func.ts +65 -0
  206. package/src/cosmos/gov/v1/query.ts +1970 -0
  207. package/src/cosmos/gov/v1/tx.amino.ts +38 -0
  208. package/src/cosmos/gov/v1/tx.d.ts +624 -0
  209. package/src/cosmos/gov/v1/tx.js +1277 -0
  210. package/src/cosmos/gov/v1/tx.registry.ts +3 -0
  211. package/src/cosmos/gov/v1/tx.rpc.func.d.ts +9 -0
  212. package/src/cosmos/gov/v1/tx.rpc.func.js +55 -0
  213. package/src/cosmos/gov/v1/tx.rpc.func.ts +45 -0
  214. package/src/cosmos/gov/v1/tx.rpc.msg.ts +89 -0
  215. package/src/cosmos/gov/v1/tx.ts +1657 -0
  216. package/src/cosmos/gov/v1beta1/genesis.ts +202 -0
  217. package/src/cosmos/gov/v1beta1/gov.d.ts +522 -0
  218. package/src/cosmos/gov/v1beta1/gov.js +1114 -0
  219. package/src/cosmos/gov/v1beta1/gov.ts +1425 -0
  220. package/src/cosmos/gov/v1beta1/query.d.ts +606 -0
  221. package/src/cosmos/gov/v1beta1/query.js +1409 -0
  222. package/src/cosmos/gov/v1beta1/query.lcd.ts +80 -0
  223. package/src/cosmos/gov/v1beta1/query.rpc.Query.ts +107 -0
  224. package/src/cosmos/gov/v1beta1/query.rpc.func.d.ts +10 -0
  225. package/src/cosmos/gov/v1beta1/query.rpc.func.js +69 -0
  226. package/src/cosmos/gov/v1beta1/query.rpc.func.ts +58 -0
  227. package/src/cosmos/gov/v1beta1/query.ts +1749 -0
  228. package/src/cosmos/gov/v1beta1/tx.amino.ts +23 -0
  229. package/src/cosmos/gov/v1beta1/tx.d.ts +325 -0
  230. package/src/cosmos/gov/v1beta1/tx.js +699 -0
  231. package/src/cosmos/gov/v1beta1/tx.registry.ts +3 -0
  232. package/src/cosmos/gov/v1beta1/tx.rpc.func.d.ts +6 -0
  233. package/src/cosmos/gov/v1beta1/tx.rpc.func.js +34 -0
  234. package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +27 -0
  235. package/src/cosmos/gov/v1beta1/tx.rpc.msg.ts +53 -0
  236. package/src/cosmos/gov/v1beta1/tx.ts +881 -0
  237. package/src/cosmos/group/module/v1/module.ts +128 -0
  238. package/src/cosmos/group/v1/events.ts +1044 -0
  239. package/src/cosmos/group/v1/genesis.ts +240 -0
  240. package/src/cosmos/group/v1/query.lcd.ts +145 -0
  241. package/src/cosmos/group/v1/query.rpc.Query.ts +191 -0
  242. package/src/cosmos/group/v1/query.rpc.func.ts +100 -0
  243. package/src/cosmos/group/v1/query.ts +3015 -0
  244. package/src/cosmos/group/v1/tx.amino.ts +73 -0
  245. package/src/cosmos/group/v1/tx.d.ts +1140 -0
  246. package/src/cosmos/group/v1/tx.js +2567 -0
  247. package/src/cosmos/group/v1/tx.registry.ts +3 -0
  248. package/src/cosmos/group/v1/tx.rpc.func.d.ts +16 -0
  249. package/src/cosmos/group/v1/tx.rpc.func.js +104 -0
  250. package/src/cosmos/group/v1/tx.rpc.func.ts +87 -0
  251. package/src/cosmos/group/v1/tx.rpc.msg.ts +127 -0
  252. package/src/cosmos/group/v1/tx.ts +3207 -0
  253. package/src/cosmos/group/v1/types.d.ts +799 -0
  254. package/src/cosmos/group/v1/types.js +1542 -0
  255. package/src/cosmos/group/v1/types.ts +2081 -0
  256. package/src/cosmos/ics23/v1/proofs.d.ts +730 -0
  257. package/src/cosmos/ics23/v1/proofs.js +1605 -0
  258. package/src/cosmos/ics23/v1/proofs.ts +2060 -0
  259. package/src/cosmos/mint/module/v1/module.ts +113 -0
  260. package/src/cosmos/mint/v1beta1/genesis.ts +116 -0
  261. package/src/cosmos/mint/v1beta1/mint.ts +291 -0
  262. package/src/cosmos/mint/v1beta1/query.lcd.ts +27 -0
  263. package/src/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
  264. package/src/cosmos/mint/v1beta1/query.rpc.func.ts +23 -0
  265. package/src/cosmos/mint/v1beta1/query.ts +541 -0
  266. package/src/cosmos/mint/v1beta1/tx.amino.ts +8 -0
  267. package/src/cosmos/mint/v1beta1/tx.registry.ts +3 -0
  268. package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +9 -0
  269. package/src/cosmos/mint/v1beta1/tx.rpc.msg.ts +31 -0
  270. package/src/cosmos/mint/v1beta1/tx.ts +219 -0
  271. package/src/cosmos/msg/textual/v1/textual.ts +1 -0
  272. package/src/cosmos/msg/v1/msg.d.ts +1 -0
  273. package/src/cosmos/msg/v1/msg.js +2 -0
  274. package/src/cosmos/msg/v1/msg.ts +1 -0
  275. package/src/cosmos/nft/module/v1/module.ts +80 -0
  276. package/src/cosmos/nft/v1beta1/event.ts +403 -0
  277. package/src/cosmos/nft/v1beta1/genesis.ts +234 -0
  278. package/src/cosmos/nft/v1beta1/nft.ts +356 -0
  279. package/src/cosmos/nft/v1beta1/query.lcd.ts +69 -0
  280. package/src/cosmos/nft/v1beta1/query.rpc.Query.ts +102 -0
  281. package/src/cosmos/nft/v1beta1/query.rpc.func.ts +51 -0
  282. package/src/cosmos/nft/v1beta1/query.ts +1465 -0
  283. package/src/cosmos/nft/v1beta1/tx.amino.ts +8 -0
  284. package/src/cosmos/nft/v1beta1/tx.registry.ts +3 -0
  285. package/src/cosmos/nft/v1beta1/tx.rpc.func.ts +9 -0
  286. package/src/cosmos/nft/v1beta1/tx.rpc.msg.ts +23 -0
  287. package/src/cosmos/nft/v1beta1/tx.ts +224 -0
  288. package/src/cosmos/orm/module/v1alpha1/module.ts +88 -0
  289. package/src/cosmos/orm/query/v1alpha1/query.rpc.Query.ts +41 -0
  290. package/src/cosmos/orm/query/v1alpha1/query.rpc.func.ts +16 -0
  291. package/src/cosmos/orm/query/v1alpha1/query.ts +993 -0
  292. package/src/cosmos/orm/v1/orm.ts +589 -0
  293. package/src/cosmos/orm/v1alpha1/schema.ts +325 -0
  294. package/src/cosmos/params/module/v1/module.ts +80 -0
  295. package/src/cosmos/params/v1beta1/params.ts +255 -0
  296. package/src/cosmos/params/v1beta1/query.lcd.ts +34 -0
  297. package/src/cosmos/params/v1beta1/query.rpc.Query.ts +51 -0
  298. package/src/cosmos/params/v1beta1/query.rpc.func.ts +16 -0
  299. package/src/cosmos/params/v1beta1/query.ts +525 -0
  300. package/src/cosmos/query/v1/query.d.ts +1 -0
  301. package/src/cosmos/query/v1/query.js +2 -0
  302. package/src/cosmos/query/v1/query.ts +1 -0
  303. package/src/cosmos/reflection/v1/reflection.rpc.func.ts +9 -0
  304. package/src/cosmos/reflection/v1/reflection.ts +179 -0
  305. package/src/cosmos/rpc.query.ts +29 -0
  306. package/src/cosmos/rpc.tx.ts +34 -0
  307. package/src/cosmos/slashing/module/v1/module.ts +99 -0
  308. package/src/cosmos/slashing/v1beta1/genesis.ts +492 -0
  309. package/src/cosmos/slashing/v1beta1/query.lcd.ts +36 -0
  310. package/src/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
  311. package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +23 -0
  312. package/src/cosmos/slashing/v1beta1/query.ts +598 -0
  313. package/src/cosmos/slashing/v1beta1/slashing.ts +357 -0
  314. package/src/cosmos/slashing/v1beta1/tx.amino.ts +13 -0
  315. package/src/cosmos/slashing/v1beta1/tx.registry.ts +3 -0
  316. package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +15 -0
  317. package/src/cosmos/slashing/v1beta1/tx.rpc.msg.ts +45 -0
  318. package/src/cosmos/slashing/v1beta1/tx.ts +390 -0
  319. package/src/cosmos/staking/module/v1/module.ts +157 -0
  320. package/src/cosmos/staking/v1beta1/authz.ts +323 -0
  321. package/src/cosmos/staking/v1beta1/genesis.ts +346 -0
  322. package/src/cosmos/staking/v1beta1/query.d.ts +1124 -0
  323. package/src/cosmos/staking/v1beta1/query.js +2414 -0
  324. package/src/cosmos/staking/v1beta1/query.lcd.ts +159 -0
  325. package/src/cosmos/staking/v1beta1/query.rpc.Query.ts +241 -0
  326. package/src/cosmos/staking/v1beta1/query.rpc.func.d.ts +16 -0
  327. package/src/cosmos/staking/v1beta1/query.rpc.func.js +117 -0
  328. package/src/cosmos/staking/v1beta1/query.rpc.func.ts +100 -0
  329. package/src/cosmos/staking/v1beta1/query.ts +3073 -0
  330. package/src/cosmos/staking/v1beta1/staking.d.ts +1024 -0
  331. package/src/cosmos/staking/v1beta1/staking.js +2371 -0
  332. package/src/cosmos/staking/v1beta1/staking.ts +3005 -0
  333. package/src/cosmos/staking/v1beta1/tx.amino.ts +38 -0
  334. package/src/cosmos/staking/v1beta1/tx.d.ts +590 -0
  335. package/src/cosmos/staking/v1beta1/tx.js +1290 -0
  336. package/src/cosmos/staking/v1beta1/tx.registry.ts +3 -0
  337. package/src/cosmos/staking/v1beta1/tx.rpc.func.d.ts +9 -0
  338. package/src/cosmos/staking/v1beta1/tx.rpc.func.js +55 -0
  339. package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +45 -0
  340. package/src/cosmos/staking/v1beta1/tx.rpc.msg.ts +97 -0
  341. package/src/cosmos/staking/v1beta1/tx.ts +1638 -0
  342. package/src/cosmos/store/internal/kv/v1beta1/kv.ts +207 -0
  343. package/src/cosmos/store/snapshots/v1/snapshot.ts +863 -0
  344. package/src/cosmos/store/snapshots/v2/snapshot.ts +823 -0
  345. package/src/cosmos/store/streaming/abci/grpc.ts +393 -0
  346. package/src/cosmos/store/v1beta1/commit_info.ts +362 -0
  347. package/src/cosmos/store/v1beta1/listening.ts +286 -0
  348. package/src/cosmos/streaming/v1/grpc.ts +985 -0
  349. package/src/cosmos/tx/config/v1/config.ts +127 -0
  350. package/src/cosmos/tx/signing/v1beta1/signing.d.ts +270 -0
  351. package/src/cosmos/tx/signing/v1beta1/signing.js +570 -0
  352. package/src/cosmos/tx/signing/v1beta1/signing.ts +688 -0
  353. package/src/cosmos/tx/v1beta1/service.d.ts +916 -0
  354. package/src/cosmos/tx/v1beta1/service.js +1729 -0
  355. package/src/cosmos/tx/v1beta1/service.lcd.ts +57 -0
  356. package/src/cosmos/tx/v1beta1/service.rpc.Service.ts +148 -0
  357. package/src/cosmos/tx/v1beta1/service.rpc.func.d.ts +11 -0
  358. package/src/cosmos/tx/v1beta1/service.rpc.func.js +77 -0
  359. package/src/cosmos/tx/v1beta1/service.rpc.func.ts +65 -0
  360. package/src/cosmos/tx/v1beta1/service.ts +2294 -0
  361. package/src/cosmos/tx/v1beta1/tx.d.ts +856 -0
  362. package/src/cosmos/tx/v1beta1/tx.js +1398 -0
  363. package/src/cosmos/tx/v1beta1/tx.ts +2029 -0
  364. package/src/cosmos/upgrade/module/v1/module.ts +99 -0
  365. package/src/cosmos/upgrade/v1beta1/query.lcd.ts +52 -0
  366. package/src/cosmos/upgrade/v1beta1/query.rpc.Query.ts +98 -0
  367. package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +37 -0
  368. package/src/cosmos/upgrade/v1beta1/query.ts +1016 -0
  369. package/src/cosmos/upgrade/v1beta1/tx.amino.ts +13 -0
  370. package/src/cosmos/upgrade/v1beta1/tx.registry.ts +3 -0
  371. package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +15 -0
  372. package/src/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +45 -0
  373. package/src/cosmos/upgrade/v1beta1/tx.ts +398 -0
  374. package/src/cosmos/upgrade/v1beta1/upgrade.d.ts +245 -0
  375. package/src/cosmos/upgrade/v1beta1/upgrade.js +416 -0
  376. package/src/cosmos/upgrade/v1beta1/upgrade.ts +591 -0
  377. package/src/cosmos/validate/module/v1/module.ts +80 -0
  378. package/src/cosmos/vesting/module/v1/module.ts +80 -0
  379. package/src/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
  380. package/src/cosmos/vesting/v1beta1/tx.d.ts +256 -0
  381. package/src/cosmos/vesting/v1beta1/tx.js +553 -0
  382. package/src/cosmos/vesting/v1beta1/tx.registry.ts +3 -0
  383. package/src/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +5 -0
  384. package/src/cosmos/vesting/v1beta1/tx.rpc.func.js +27 -0
  385. package/src/cosmos/vesting/v1beta1/tx.rpc.func.ts +21 -0
  386. package/src/cosmos/vesting/v1beta1/tx.rpc.msg.ts +59 -0
  387. package/src/cosmos/vesting/v1beta1/tx.ts +698 -0
  388. package/src/cosmos/vesting/v1beta1/vesting.d.ts +256 -0
  389. package/src/cosmos/vesting/v1beta1/vesting.js +586 -0
  390. package/src/cosmos/vesting/v1beta1/vesting.ts +735 -0
  391. package/src/cosmos_proto/cosmos.d.ts +153 -0
  392. package/src/cosmos_proto/cosmos.js +234 -0
  393. package/src/cosmos_proto/cosmos.ts +341 -0
  394. package/src/cosmwasm/wasm/v1/authz.ts +1231 -0
  395. package/src/cosmwasm/wasm/v1/genesis.ts +532 -0
  396. package/src/cosmwasm/wasm/v1/ibc.ts +355 -0
  397. package/src/cosmwasm/wasm/v1/proposal_legacy.ts +2432 -0
  398. package/src/cosmwasm/wasm/v1/query.lcd.ts +108 -0
  399. package/src/cosmwasm/wasm/v1/query.rpc.Query.ts +144 -0
  400. package/src/cosmwasm/wasm/v1/query.rpc.func.ts +79 -0
  401. package/src/cosmwasm/wasm/v1/query.ts +2560 -0
  402. package/src/cosmwasm/wasm/v1/tx.amino.ts +88 -0
  403. package/src/cosmwasm/wasm/v1/tx.registry.ts +3 -0
  404. package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +105 -0
  405. package/src/cosmwasm/wasm/v1/tx.rpc.msg.ts +225 -0
  406. package/src/cosmwasm/wasm/v1/tx.ts +4191 -0
  407. package/src/cosmwasm/wasm/v1/types.ts +1120 -0
  408. package/src/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +80 -0
  409. package/src/ethermint/crypto/v1/ethsecp256k1/keys.js +146 -0
  410. package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +193 -0
  411. package/src/ethermint/evm/v1/events.d.ts +162 -0
  412. package/src/ethermint/evm/v1/events.js +384 -0
  413. package/src/ethermint/evm/v1/events.ts +485 -0
  414. package/src/ethermint/evm/v1/evm.d.ts +530 -0
  415. package/src/ethermint/evm/v1/evm.js +1184 -0
  416. package/src/ethermint/evm/v1/evm.ts +1590 -0
  417. package/src/ethermint/evm/v1/genesis.d.ts +87 -0
  418. package/src/ethermint/evm/v1/genesis.js +188 -0
  419. package/src/ethermint/evm/v1/genesis.ts +240 -0
  420. package/src/ethermint/evm/v1/query.d.ts +913 -0
  421. package/src/ethermint/evm/v1/query.js +1973 -0
  422. package/src/ethermint/evm/v1/query.lcd.ts +157 -0
  423. package/src/ethermint/evm/v1/query.rpc.Query.ts +164 -0
  424. package/src/ethermint/evm/v1/query.rpc.func.d.ts +15 -0
  425. package/src/ethermint/evm/v1/query.rpc.func.js +102 -0
  426. package/src/ethermint/evm/v1/query.rpc.func.ts +87 -0
  427. package/src/ethermint/evm/v1/query.ts +2535 -0
  428. package/src/ethermint/evm/v1/tx.amino.ts +13 -0
  429. package/src/ethermint/evm/v1/tx.d.ts +452 -0
  430. package/src/ethermint/evm/v1/tx.js +1011 -0
  431. package/src/ethermint/evm/v1/tx.registry.ts +3 -0
  432. package/src/ethermint/evm/v1/tx.rpc.func.d.ts +4 -0
  433. package/src/ethermint/evm/v1/tx.rpc.func.js +20 -0
  434. package/src/ethermint/evm/v1/tx.rpc.func.ts +15 -0
  435. package/src/ethermint/evm/v1/tx.rpc.msg.ts +35 -0
  436. package/src/ethermint/evm/v1/tx.ts +1333 -0
  437. package/src/ethermint/feemarket/v1/events.d.ts +70 -0
  438. package/src/ethermint/feemarket/v1/events.js +157 -0
  439. package/src/ethermint/feemarket/v1/events.ts +195 -0
  440. package/src/ethermint/feemarket/v1/feemarket.d.ts +78 -0
  441. package/src/ethermint/feemarket/v1/feemarket.js +155 -0
  442. package/src/ethermint/feemarket/v1/feemarket.ts +213 -0
  443. package/src/ethermint/feemarket/v1/genesis.d.ts +45 -0
  444. package/src/ethermint/feemarket/v1/genesis.js +88 -0
  445. package/src/ethermint/feemarket/v1/genesis.ts +114 -0
  446. package/src/ethermint/feemarket/v1/query.d.ts +195 -0
  447. package/src/ethermint/feemarket/v1/query.js +387 -0
  448. package/src/ethermint/feemarket/v1/query.lcd.ts +27 -0
  449. package/src/ethermint/feemarket/v1/query.rpc.Query.ts +52 -0
  450. package/src/ethermint/feemarket/v1/query.rpc.func.d.ts +5 -0
  451. package/src/ethermint/feemarket/v1/query.rpc.func.js +29 -0
  452. package/src/ethermint/feemarket/v1/query.rpc.func.ts +23 -0
  453. package/src/ethermint/feemarket/v1/query.ts +487 -0
  454. package/src/ethermint/feemarket/v1/tx.amino.ts +8 -0
  455. package/src/ethermint/feemarket/v1/tx.d.ts +81 -0
  456. package/src/ethermint/feemarket/v1/tx.js +153 -0
  457. package/src/ethermint/feemarket/v1/tx.registry.ts +3 -0
  458. package/src/ethermint/feemarket/v1/tx.rpc.func.d.ts +3 -0
  459. package/src/ethermint/feemarket/v1/tx.rpc.func.js +13 -0
  460. package/src/ethermint/feemarket/v1/tx.rpc.func.ts +9 -0
  461. package/src/ethermint/feemarket/v1/tx.rpc.msg.ts +27 -0
  462. package/src/ethermint/feemarket/v1/tx.ts +197 -0
  463. package/src/ethermint/types/v1/account.d.ts +45 -0
  464. package/src/ethermint/types/v1/account.js +88 -0
  465. package/src/ethermint/types/v1/account.ts +114 -0
  466. package/src/ethermint/types/v1/dynamic_fee.d.ts +34 -0
  467. package/src/ethermint/types/v1/dynamic_fee.js +75 -0
  468. package/src/ethermint/types/v1/dynamic_fee.ts +91 -0
  469. package/src/ethermint/types/v1/indexer.d.ts +76 -0
  470. package/src/ethermint/types/v1/indexer.js +147 -0
  471. package/src/ethermint/types/v1/indexer.ts +205 -0
  472. package/src/ethermint/types/v1/web3.d.ts +66 -0
  473. package/src/ethermint/types/v1/web3.js +100 -0
  474. package/src/ethermint/types/v1/web3.ts +147 -0
  475. package/src/extern.d.ts +10 -0
  476. package/src/extern.js +36 -0
  477. package/src/extern.ts +38 -0
  478. package/src/gogoproto/gogo.d.ts +1 -0
  479. package/src/gogoproto/gogo.js +2 -0
  480. package/src/gogoproto/gogo.ts +1 -0
  481. package/src/google/api/annotations.d.ts +1 -0
  482. package/src/google/api/annotations.js +2 -0
  483. package/src/google/api/annotations.ts +1 -0
  484. package/src/google/api/http.d.ts +764 -0
  485. package/src/google/api/http.js +353 -0
  486. package/src/google/api/http.ts +1069 -0
  487. package/src/google/protobuf/any.d.ts +268 -0
  488. package/src/google/protobuf/any.js +81 -0
  489. package/src/google/protobuf/any.ts +331 -0
  490. package/src/google/protobuf/descriptor.d.ts +2919 -0
  491. package/src/google/protobuf/descriptor.js +5100 -0
  492. package/src/google/protobuf/descriptor.ts +7177 -0
  493. package/src/google/protobuf/duration.d.ts +162 -0
  494. package/src/google/protobuf/duration.js +81 -0
  495. package/src/google/protobuf/duration.ts +225 -0
  496. package/src/google/protobuf/timestamp.d.ts +222 -0
  497. package/src/google/protobuf/timestamp.js +78 -0
  498. package/src/google/protobuf/timestamp.ts +281 -0
  499. package/src/helper-func-types.d.ts +117 -0
  500. package/src/helper-func-types.js +55 -0
  501. package/src/helper-func-types.ts +191 -0
  502. package/src/helpers.d.ts +82 -0
  503. package/src/helpers.js +143 -0
  504. package/src/helpers.ts +259 -0
  505. package/src/ibc/applications/fee/v1/ack.ts +131 -0
  506. package/src/ibc/applications/fee/v1/fee.ts +481 -0
  507. package/src/ibc/applications/fee/v1/genesis.ts +661 -0
  508. package/src/ibc/applications/fee/v1/metadata.ts +121 -0
  509. package/src/ibc/applications/fee/v1/query.lcd.ts +117 -0
  510. package/src/ibc/applications/fee/v1/query.rpc.Query.ts +129 -0
  511. package/src/ibc/applications/fee/v1/query.rpc.func.ts +72 -0
  512. package/src/ibc/applications/fee/v1/query.ts +2134 -0
  513. package/src/ibc/applications/fee/v1/tx.amino.ts +23 -0
  514. package/src/ibc/applications/fee/v1/tx.registry.ts +3 -0
  515. package/src/ibc/applications/fee/v1/tx.rpc.func.ts +27 -0
  516. package/src/ibc/applications/fee/v1/tx.rpc.msg.ts +83 -0
  517. package/src/ibc/applications/fee/v1/tx.ts +889 -0
  518. package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +105 -0
  519. package/src/ibc/applications/interchain_accounts/controller/v1/query.lcd.ts +22 -0
  520. package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.ts +41 -0
  521. package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +16 -0
  522. package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +379 -0
  523. package/src/ibc/applications/interchain_accounts/controller/v1/tx.amino.ts +18 -0
  524. package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +3 -0
  525. package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +21 -0
  526. package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.ts +39 -0
  527. package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +685 -0
  528. package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +661 -0
  529. package/src/ibc/applications/interchain_accounts/host/v1/host.ts +253 -0
  530. package/src/ibc/applications/interchain_accounts/host/v1/query.lcd.ts +17 -0
  531. package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.ts +30 -0
  532. package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +9 -0
  533. package/src/ibc/applications/interchain_accounts/host/v1/query.ts +177 -0
  534. package/src/ibc/applications/interchain_accounts/host/v1/tx.amino.ts +13 -0
  535. package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +3 -0
  536. package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +15 -0
  537. package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.ts +31 -0
  538. package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +429 -0
  539. package/src/ibc/applications/interchain_accounts/v1/account.ts +112 -0
  540. package/src/ibc/applications/interchain_accounts/v1/metadata.ts +191 -0
  541. package/src/ibc/applications/interchain_accounts/v1/packet.ts +259 -0
  542. package/src/ibc/applications/transfer/v1/authz.ts +280 -0
  543. package/src/ibc/applications/transfer/v1/genesis.ts +153 -0
  544. package/src/ibc/applications/transfer/v1/query.lcd.ts +69 -0
  545. package/src/ibc/applications/transfer/v1/query.rpc.Query.ts +87 -0
  546. package/src/ibc/applications/transfer/v1/query.rpc.func.ts +44 -0
  547. package/src/ibc/applications/transfer/v1/query.ts +1205 -0
  548. package/src/ibc/applications/transfer/v1/transfer.d.ts +112 -0
  549. package/src/ibc/applications/transfer/v1/transfer.js +185 -0
  550. package/src/ibc/applications/transfer/v1/transfer.ts +261 -0
  551. package/src/ibc/applications/transfer/v1/tx.amino.ts +13 -0
  552. package/src/ibc/applications/transfer/v1/tx.d.ts +202 -0
  553. package/src/ibc/applications/transfer/v1/tx.js +402 -0
  554. package/src/ibc/applications/transfer/v1/tx.registry.ts +3 -0
  555. package/src/ibc/applications/transfer/v1/tx.rpc.func.d.ts +4 -0
  556. package/src/ibc/applications/transfer/v1/tx.rpc.func.js +20 -0
  557. package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +15 -0
  558. package/src/ibc/applications/transfer/v1/tx.rpc.msg.ts +31 -0
  559. package/src/ibc/applications/transfer/v1/tx.ts +532 -0
  560. package/src/ibc/applications/transfer/v2/packet.ts +171 -0
  561. package/src/ibc/core/channel/v1/channel.d.ts +547 -0
  562. package/src/ibc/core/channel/v1/channel.js +1167 -0
  563. package/src/ibc/core/channel/v1/channel.ts +1510 -0
  564. package/src/ibc/core/channel/v1/genesis.ts +354 -0
  565. package/src/ibc/core/channel/v1/query.lcd.ts +135 -0
  566. package/src/ibc/core/channel/v1/query.rpc.Query.ts +240 -0
  567. package/src/ibc/core/channel/v1/query.rpc.func.ts +121 -0
  568. package/src/ibc/core/channel/v1/query.ts +4354 -0
  569. package/src/ibc/core/channel/v1/tx.amino.ts +98 -0
  570. package/src/ibc/core/channel/v1/tx.d.ts +1490 -0
  571. package/src/ibc/core/channel/v1/tx.js +4027 -0
  572. package/src/ibc/core/channel/v1/tx.registry.ts +3 -0
  573. package/src/ibc/core/channel/v1/tx.rpc.func.d.ts +21 -0
  574. package/src/ibc/core/channel/v1/tx.rpc.func.js +139 -0
  575. package/src/ibc/core/channel/v1/tx.rpc.func.ts +117 -0
  576. package/src/ibc/core/channel/v1/tx.rpc.msg.ts +171 -0
  577. package/src/ibc/core/channel/v1/tx.ts +4866 -0
  578. package/src/ibc/core/channel/v1/upgrade.d.ts +139 -0
  579. package/src/ibc/core/channel/v1/upgrade.js +304 -0
  580. package/src/ibc/core/channel/v1/upgrade.ts +388 -0
  581. package/src/ibc/core/client/v1/client.d.ts +372 -0
  582. package/src/ibc/core/client/v1/client.js +675 -0
  583. package/src/ibc/core/client/v1/client.ts +927 -0
  584. package/src/ibc/core/client/v1/genesis.ts +426 -0
  585. package/src/ibc/core/client/v1/query.lcd.ts +86 -0
  586. package/src/ibc/core/client/v1/query.rpc.Query.ts +139 -0
  587. package/src/ibc/core/client/v1/query.rpc.func.ts +72 -0
  588. package/src/ibc/core/client/v1/query.ts +2280 -0
  589. package/src/ibc/core/client/v1/tx.amino.ts +38 -0
  590. package/src/ibc/core/client/v1/tx.d.ts +587 -0
  591. package/src/ibc/core/client/v1/tx.js +1202 -0
  592. package/src/ibc/core/client/v1/tx.registry.ts +3 -0
  593. package/src/ibc/core/client/v1/tx.rpc.func.d.ts +9 -0
  594. package/src/ibc/core/client/v1/tx.rpc.func.js +55 -0
  595. package/src/ibc/core/client/v1/tx.rpc.func.ts +45 -0
  596. package/src/ibc/core/client/v1/tx.rpc.msg.ts +71 -0
  597. package/src/ibc/core/client/v1/tx.ts +1543 -0
  598. package/src/ibc/core/commitment/v1/commitment.d.ts +165 -0
  599. package/src/ibc/core/commitment/v1/commitment.js +325 -0
  600. package/src/ibc/core/commitment/v1/commitment.ts +418 -0
  601. package/src/ibc/core/connection/v1/connection.d.ts +376 -0
  602. package/src/ibc/core/connection/v1/connection.js +781 -0
  603. package/src/ibc/core/connection/v1/connection.ts +1010 -0
  604. package/src/ibc/core/connection/v1/genesis.ts +146 -0
  605. package/src/ibc/core/connection/v1/query.lcd.ts +54 -0
  606. package/src/ibc/core/connection/v1/query.rpc.Query.ts +99 -0
  607. package/src/ibc/core/connection/v1/query.rpc.func.ts +44 -0
  608. package/src/ibc/core/connection/v1/query.ts +1408 -0
  609. package/src/ibc/core/connection/v1/tx.amino.ts +28 -0
  610. package/src/ibc/core/connection/v1/tx.d.ts +457 -0
  611. package/src/ibc/core/connection/v1/tx.js +1087 -0
  612. package/src/ibc/core/connection/v1/tx.registry.ts +3 -0
  613. package/src/ibc/core/connection/v1/tx.rpc.func.d.ts +7 -0
  614. package/src/ibc/core/connection/v1/tx.rpc.func.js +41 -0
  615. package/src/ibc/core/connection/v1/tx.rpc.func.ts +33 -0
  616. package/src/ibc/core/connection/v1/tx.rpc.msg.ts +63 -0
  617. package/src/ibc/core/connection/v1/tx.ts +1365 -0
  618. package/src/ibc/core/types/v1/genesis.ts +137 -0
  619. package/src/ibc/lightclients/localhost/v2/localhost.ts +100 -0
  620. package/src/ibc/lightclients/solomachine/v2/solomachine.ts +2103 -0
  621. package/src/ibc/lightclients/solomachine/v3/solomachine.ts +1070 -0
  622. package/src/ibc/lightclients/tendermint/v1/tendermint.ts +838 -0
  623. package/src/ibc/lightclients/wasm/v1/genesis.ts +197 -0
  624. package/src/ibc/lightclients/wasm/v1/query.lcd.ts +31 -0
  625. package/src/ibc/lightclients/wasm/v1/query.rpc.Query.ts +43 -0
  626. package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +16 -0
  627. package/src/ibc/lightclients/wasm/v1/query.ts +404 -0
  628. package/src/ibc/lightclients/wasm/v1/tx.amino.ts +18 -0
  629. package/src/ibc/lightclients/wasm/v1/tx.registry.ts +3 -0
  630. package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +21 -0
  631. package/src/ibc/lightclients/wasm/v1/tx.rpc.msg.ts +39 -0
  632. package/src/ibc/lightclients/wasm/v1/tx.ts +621 -0
  633. package/src/ibc/lightclients/wasm/v1/wasm.ts +438 -0
  634. package/src/registry.d.ts +33 -0
  635. package/src/registry.js +158 -0
  636. package/src/registry.ts +218 -0
  637. package/src/tendermint/abci/types.d.ts +1843 -0
  638. package/src/tendermint/abci/types.js +5233 -0
  639. package/src/tendermint/abci/types.ts +6283 -0
  640. package/src/tendermint/crypto/keys.d.ts +34 -0
  641. package/src/tendermint/crypto/keys.js +88 -0
  642. package/src/tendermint/crypto/keys.ts +103 -0
  643. package/src/tendermint/crypto/proof.d.ts +174 -0
  644. package/src/tendermint/crypto/proof.js +458 -0
  645. package/src/tendermint/crypto/proof.ts +555 -0
  646. package/src/tendermint/p2p/types.ts +507 -0
  647. package/src/tendermint/types/block.d.ts +38 -0
  648. package/src/tendermint/types/block.js +113 -0
  649. package/src/tendermint/types/block.ts +131 -0
  650. package/src/tendermint/types/evidence.d.ts +138 -0
  651. package/src/tendermint/types/evidence.js +403 -0
  652. package/src/tendermint/types/evidence.ts +476 -0
  653. package/src/tendermint/types/params.d.ts +323 -0
  654. package/src/tendermint/types/params.js +595 -0
  655. package/src/tendermint/types/params.ts +814 -0
  656. package/src/tendermint/types/types.d.ts +640 -0
  657. package/src/tendermint/types/types.js +1754 -0
  658. package/src/tendermint/types/types.ts +2157 -0
  659. package/src/tendermint/types/validator.d.ts +113 -0
  660. package/src/tendermint/types/validator.js +342 -0
  661. package/src/tendermint/types/validator.ts +389 -0
  662. package/src/tendermint/version/types.d.ts +82 -0
  663. package/src/tendermint/version/types.js +169 -0
  664. package/src/tendermint/version/types.ts +219 -0
  665. package/src/types.d.ts +124 -0
  666. package/src/types.js +7 -0
  667. package/src/types.ts +155 -0
  668. package/src/utf8.d.ts +27 -0
  669. package/src/utf8.js +140 -0
  670. package/src/utf8.ts +148 -0
  671. package/src/varint.d.ts +105 -0
  672. package/src/varint.js +425 -0
  673. package/src/varint.ts +488 -0
  674. package/src/xpla/lcd.ts +180 -0
  675. package/src/xpla/reward/v1beta1/genesis.d.ts +35 -0
  676. package/src/xpla/reward/v1beta1/genesis.js +76 -0
  677. package/src/xpla/reward/v1beta1/genesis.ts +92 -0
  678. package/src/xpla/reward/v1beta1/query.d.ts +136 -0
  679. package/src/xpla/reward/v1beta1/query.js +264 -0
  680. package/src/xpla/reward/v1beta1/query.lcd.ts +22 -0
  681. package/src/xpla/reward/v1beta1/query.rpc.Query.ts +41 -0
  682. package/src/xpla/reward/v1beta1/query.rpc.func.d.ts +4 -0
  683. package/src/xpla/reward/v1beta1/query.rpc.func.js +21 -0
  684. package/src/xpla/reward/v1beta1/query.rpc.func.ts +16 -0
  685. package/src/xpla/reward/v1beta1/query.ts +333 -0
  686. package/src/xpla/reward/v1beta1/reward.d.ts +42 -0
  687. package/src/xpla/reward/v1beta1/reward.js +131 -0
  688. package/src/xpla/reward/v1beta1/reward.ts +153 -0
  689. package/src/xpla/reward/v1beta1/tx.amino.ts +13 -0
  690. package/src/xpla/reward/v1beta1/tx.d.ts +158 -0
  691. package/src/xpla/reward/v1beta1/tx.js +304 -0
  692. package/src/xpla/reward/v1beta1/tx.registry.ts +3 -0
  693. package/src/xpla/reward/v1beta1/tx.rpc.func.d.ts +4 -0
  694. package/src/xpla/reward/v1beta1/tx.rpc.func.js +20 -0
  695. package/src/xpla/reward/v1beta1/tx.rpc.func.ts +15 -0
  696. package/src/xpla/reward/v1beta1/tx.rpc.msg.ts +41 -0
  697. package/src/xpla/reward/v1beta1/tx.ts +391 -0
  698. package/src/xpla/rpc.query.ts +129 -0
  699. package/src/xpla/rpc.tx.ts +6 -0
  700. package/src/xpla/volunteer/v1beta1/genesis.d.ts +33 -0
  701. package/src/xpla/volunteer/v1beta1/genesis.js +79 -0
  702. package/src/xpla/volunteer/v1beta1/genesis.ts +92 -0
  703. package/src/xpla/volunteer/v1beta1/proposal.d.ts +183 -0
  704. package/src/xpla/volunteer/v1beta1/proposal.js +537 -0
  705. package/src/xpla/volunteer/v1beta1/proposal.ts +649 -0
  706. package/src/xpla/volunteer/v1beta1/query.d.ts +60 -0
  707. package/src/xpla/volunteer/v1beta1/query.js +135 -0
  708. package/src/xpla/volunteer/v1beta1/query.lcd.ts +17 -0
  709. package/src/xpla/volunteer/v1beta1/query.rpc.Query.ts +30 -0
  710. package/src/xpla/volunteer/v1beta1/query.rpc.func.d.ts +3 -0
  711. package/src/xpla/volunteer/v1beta1/query.rpc.func.js +13 -0
  712. package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +9 -0
  713. package/src/xpla/volunteer/v1beta1/query.ts +160 -0
  714. package/src/xpla/volunteer/v1beta1/tx.amino.ts +13 -0
  715. package/src/xpla/volunteer/v1beta1/tx.d.ts +168 -0
  716. package/src/xpla/volunteer/v1beta1/tx.js +351 -0
  717. package/src/xpla/volunteer/v1beta1/tx.registry.ts +3 -0
  718. package/src/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +4 -0
  719. package/src/xpla/volunteer/v1beta1/tx.rpc.func.js +20 -0
  720. package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +15 -0
  721. package/src/xpla/volunteer/v1beta1/tx.rpc.msg.ts +35 -0
  722. package/src/xpla/volunteer/v1beta1/tx.ts +448 -0
  723. package/src/xpla/volunteer/v1beta1/volunteervalidator.d.ts +38 -0
  724. package/src/xpla/volunteer/v1beta1/volunteervalidator.js +87 -0
  725. package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +107 -0
  726. package/tsconfig.esm.json +10 -0
  727. package/tsconfig.json +10 -0
@@ -0,0 +1,993 @@
1
+ import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../../base/query/v1beta1/pagination";
2
+ import { Any, AnyAmino } from "../../../../google/protobuf/any";
3
+ import { Timestamp } from "../../../../google/protobuf/timestamp";
4
+ import { Duration, DurationAmino } from "../../../../google/protobuf/duration";
5
+ import { BinaryReader, BinaryWriter } from "../../../../binary";
6
+ import { DeepPartial, toTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../../../helpers";
7
+ import { GlobalDecoderRegistry } from "../../../../registry";
8
+ /** GetRequest is the Query/Get request type. */
9
+ export interface GetRequest {
10
+ /** message_name is the fully-qualified message name of the ORM table being queried. */
11
+ messageName: string;
12
+ /**
13
+ * index is the index fields expression used in orm definitions. If it
14
+ * is empty, the table's primary key is assumed. If it is non-empty, it must
15
+ * refer to an unique index.
16
+ */
17
+ index: string;
18
+ /**
19
+ * values are the values of the fields corresponding to the requested index.
20
+ * There must be as many values provided as there are fields in the index and
21
+ * these values must correspond to the index field types.
22
+ */
23
+ values: IndexValue[];
24
+ }
25
+ export interface GetRequestProtoMsg {
26
+ typeUrl: "/cosmos.orm.query.v1alpha1.GetRequest";
27
+ value: Uint8Array;
28
+ }
29
+ /** GetRequest is the Query/Get request type. */
30
+ export interface GetRequestAmino {
31
+ /** message_name is the fully-qualified message name of the ORM table being queried. */
32
+ message_name: string;
33
+ /**
34
+ * index is the index fields expression used in orm definitions. If it
35
+ * is empty, the table's primary key is assumed. If it is non-empty, it must
36
+ * refer to an unique index.
37
+ */
38
+ index: string;
39
+ /**
40
+ * values are the values of the fields corresponding to the requested index.
41
+ * There must be as many values provided as there are fields in the index and
42
+ * these values must correspond to the index field types.
43
+ */
44
+ values: IndexValueAmino[];
45
+ }
46
+ export interface GetRequestAminoMsg {
47
+ type: "cosmos-sdk/GetRequest";
48
+ value: GetRequestAmino;
49
+ }
50
+ /** GetResponse is the Query/Get response type. */
51
+ export interface GetResponse {
52
+ /**
53
+ * result is the result of the get query. If no value is found, the gRPC
54
+ * status code NOT_FOUND will be returned.
55
+ */
56
+ result?: Any;
57
+ }
58
+ export interface GetResponseProtoMsg {
59
+ typeUrl: "/cosmos.orm.query.v1alpha1.GetResponse";
60
+ value: Uint8Array;
61
+ }
62
+ /** GetResponse is the Query/Get response type. */
63
+ export interface GetResponseAmino {
64
+ /**
65
+ * result is the result of the get query. If no value is found, the gRPC
66
+ * status code NOT_FOUND will be returned.
67
+ */
68
+ result?: AnyAmino;
69
+ }
70
+ export interface GetResponseAminoMsg {
71
+ type: "cosmos-sdk/GetResponse";
72
+ value: GetResponseAmino;
73
+ }
74
+ /** ListRequest is the Query/List request type. */
75
+ export interface ListRequest {
76
+ /** message_name is the fully-qualified message name of the ORM table being queried. */
77
+ messageName: string;
78
+ /**
79
+ * index is the index fields expression used in orm definitions. If it
80
+ * is empty, the table's primary key is assumed.
81
+ */
82
+ index: string;
83
+ /** prefix defines a prefix query. */
84
+ prefix?: ListRequest_Prefix;
85
+ /** range defines a range query. */
86
+ range?: ListRequest_Range;
87
+ /** pagination is the pagination request. */
88
+ pagination?: PageRequest;
89
+ }
90
+ export interface ListRequestProtoMsg {
91
+ typeUrl: "/cosmos.orm.query.v1alpha1.ListRequest";
92
+ value: Uint8Array;
93
+ }
94
+ /** ListRequest is the Query/List request type. */
95
+ export interface ListRequestAmino {
96
+ /** message_name is the fully-qualified message name of the ORM table being queried. */
97
+ message_name: string;
98
+ /**
99
+ * index is the index fields expression used in orm definitions. If it
100
+ * is empty, the table's primary key is assumed.
101
+ */
102
+ index: string;
103
+ /** prefix defines a prefix query. */
104
+ prefix?: ListRequest_PrefixAmino;
105
+ /** range defines a range query. */
106
+ range?: ListRequest_RangeAmino;
107
+ /** pagination is the pagination request. */
108
+ pagination?: PageRequestAmino;
109
+ }
110
+ export interface ListRequestAminoMsg {
111
+ type: "cosmos-sdk/ListRequest";
112
+ value: ListRequestAmino;
113
+ }
114
+ /** Prefix specifies the arguments to a prefix query. */
115
+ export interface ListRequest_Prefix {
116
+ /**
117
+ * values specifies the index values for the prefix query.
118
+ * It is valid to special a partial prefix with fewer values than
119
+ * the number of fields in the index.
120
+ */
121
+ values: IndexValue[];
122
+ }
123
+ export interface ListRequest_PrefixProtoMsg {
124
+ typeUrl: "/cosmos.orm.query.v1alpha1.Prefix";
125
+ value: Uint8Array;
126
+ }
127
+ /** Prefix specifies the arguments to a prefix query. */
128
+ export interface ListRequest_PrefixAmino {
129
+ /**
130
+ * values specifies the index values for the prefix query.
131
+ * It is valid to special a partial prefix with fewer values than
132
+ * the number of fields in the index.
133
+ */
134
+ values: IndexValueAmino[];
135
+ }
136
+ export interface ListRequest_PrefixAminoMsg {
137
+ type: "cosmos-sdk/Prefix";
138
+ value: ListRequest_PrefixAmino;
139
+ }
140
+ /** Range specifies the arguments to a range query. */
141
+ export interface ListRequest_Range {
142
+ /**
143
+ * start specifies the starting index values for the range query.
144
+ * It is valid to provide fewer values than the number of fields in the
145
+ * index.
146
+ */
147
+ start: IndexValue[];
148
+ /**
149
+ * end specifies the inclusive ending index values for the range query.
150
+ * It is valid to provide fewer values than the number of fields in the
151
+ * index.
152
+ */
153
+ end: IndexValue[];
154
+ }
155
+ export interface ListRequest_RangeProtoMsg {
156
+ typeUrl: "/cosmos.orm.query.v1alpha1.Range";
157
+ value: Uint8Array;
158
+ }
159
+ /** Range specifies the arguments to a range query. */
160
+ export interface ListRequest_RangeAmino {
161
+ /**
162
+ * start specifies the starting index values for the range query.
163
+ * It is valid to provide fewer values than the number of fields in the
164
+ * index.
165
+ */
166
+ start: IndexValueAmino[];
167
+ /**
168
+ * end specifies the inclusive ending index values for the range query.
169
+ * It is valid to provide fewer values than the number of fields in the
170
+ * index.
171
+ */
172
+ end: IndexValueAmino[];
173
+ }
174
+ export interface ListRequest_RangeAminoMsg {
175
+ type: "cosmos-sdk/Range";
176
+ value: ListRequest_RangeAmino;
177
+ }
178
+ /** ListResponse is the Query/List response type. */
179
+ export interface ListResponse {
180
+ /** results are the results of the query. */
181
+ results: Any[];
182
+ /** pagination is the pagination response. */
183
+ pagination?: PageResponse;
184
+ }
185
+ export interface ListResponseProtoMsg {
186
+ typeUrl: "/cosmos.orm.query.v1alpha1.ListResponse";
187
+ value: Uint8Array;
188
+ }
189
+ /** ListResponse is the Query/List response type. */
190
+ export interface ListResponseAmino {
191
+ /** results are the results of the query. */
192
+ results: AnyAmino[];
193
+ /** pagination is the pagination response. */
194
+ pagination?: PageResponseAmino;
195
+ }
196
+ export interface ListResponseAminoMsg {
197
+ type: "cosmos-sdk/ListResponse";
198
+ value: ListResponseAmino;
199
+ }
200
+ /** IndexValue represents the value of a field in an ORM index expression. */
201
+ export interface IndexValue {
202
+ /**
203
+ * uint specifies a value for an uint32, fixed32, uint64, or fixed64
204
+ * index field.
205
+ */
206
+ uint?: bigint;
207
+ /**
208
+ * int64 specifies a value for an int32, sfixed32, int64, or sfixed64
209
+ * index field.
210
+ */
211
+ int?: bigint;
212
+ /** str specifies a value for a string index field. */
213
+ str?: string;
214
+ /** bytes specifies a value for a bytes index field. */
215
+ bytes?: Uint8Array;
216
+ /** enum specifies a value for an enum index field. */
217
+ enum?: string;
218
+ /** bool specifies a value for a bool index field. */
219
+ bool?: boolean;
220
+ /** timestamp specifies a value for a timestamp index field. */
221
+ timestamp?: Date;
222
+ /** duration specifies a value for a duration index field. */
223
+ duration?: Duration;
224
+ }
225
+ export interface IndexValueProtoMsg {
226
+ typeUrl: "/cosmos.orm.query.v1alpha1.IndexValue";
227
+ value: Uint8Array;
228
+ }
229
+ /** IndexValue represents the value of a field in an ORM index expression. */
230
+ export interface IndexValueAmino {
231
+ /**
232
+ * uint specifies a value for an uint32, fixed32, uint64, or fixed64
233
+ * index field.
234
+ */
235
+ uint?: string;
236
+ /**
237
+ * int64 specifies a value for an int32, sfixed32, int64, or sfixed64
238
+ * index field.
239
+ */
240
+ int?: string;
241
+ /** str specifies a value for a string index field. */
242
+ str?: string;
243
+ /** bytes specifies a value for a bytes index field. */
244
+ bytes?: string;
245
+ /** enum specifies a value for an enum index field. */
246
+ enum?: string;
247
+ /** bool specifies a value for a bool index field. */
248
+ bool?: boolean;
249
+ /** timestamp specifies a value for a timestamp index field. */
250
+ timestamp?: string;
251
+ /** duration specifies a value for a duration index field. */
252
+ duration?: DurationAmino;
253
+ }
254
+ export interface IndexValueAminoMsg {
255
+ type: "cosmos-sdk/IndexValue";
256
+ value: IndexValueAmino;
257
+ }
258
+ function createBaseGetRequest(): GetRequest {
259
+ return {
260
+ messageName: "",
261
+ index: "",
262
+ values: []
263
+ };
264
+ }
265
+ export const GetRequest = {
266
+ typeUrl: "/cosmos.orm.query.v1alpha1.GetRequest",
267
+ aminoType: "cosmos-sdk/GetRequest",
268
+ is(o: any): o is GetRequest {
269
+ return o && (o.$typeUrl === GetRequest.typeUrl || typeof o.messageName === "string" && typeof o.index === "string" && Array.isArray(o.values) && (!o.values.length || IndexValue.is(o.values[0])));
270
+ },
271
+ isAmino(o: any): o is GetRequestAmino {
272
+ return o && (o.$typeUrl === GetRequest.typeUrl || typeof o.message_name === "string" && typeof o.index === "string" && Array.isArray(o.values) && (!o.values.length || IndexValue.isAmino(o.values[0])));
273
+ },
274
+ encode(message: GetRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
275
+ if (message.messageName !== "") {
276
+ writer.uint32(10).string(message.messageName);
277
+ }
278
+ if (message.index !== "") {
279
+ writer.uint32(18).string(message.index);
280
+ }
281
+ for (const v of message.values) {
282
+ IndexValue.encode(v!, writer.uint32(26).fork()).ldelim();
283
+ }
284
+ return writer;
285
+ },
286
+ decode(input: BinaryReader | Uint8Array, length?: number): GetRequest {
287
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
288
+ let end = length === undefined ? reader.len : reader.pos + length;
289
+ const message = createBaseGetRequest();
290
+ while (reader.pos < end) {
291
+ const tag = reader.uint32();
292
+ switch (tag >>> 3) {
293
+ case 1:
294
+ message.messageName = reader.string();
295
+ break;
296
+ case 2:
297
+ message.index = reader.string();
298
+ break;
299
+ case 3:
300
+ message.values.push(IndexValue.decode(reader, reader.uint32()));
301
+ break;
302
+ default:
303
+ reader.skipType(tag & 7);
304
+ break;
305
+ }
306
+ }
307
+ return message;
308
+ },
309
+ fromPartial(object: DeepPartial<GetRequest>): GetRequest {
310
+ const message = createBaseGetRequest();
311
+ message.messageName = object.messageName ?? "";
312
+ message.index = object.index ?? "";
313
+ message.values = object.values?.map(e => IndexValue.fromPartial(e)) || [];
314
+ return message;
315
+ },
316
+ fromAmino(object: GetRequestAmino): GetRequest {
317
+ const message = createBaseGetRequest();
318
+ if (object.message_name !== undefined && object.message_name !== null) {
319
+ message.messageName = object.message_name;
320
+ }
321
+ if (object.index !== undefined && object.index !== null) {
322
+ message.index = object.index;
323
+ }
324
+ message.values = object.values?.map(e => IndexValue.fromAmino(e)) || [];
325
+ return message;
326
+ },
327
+ toAmino(message: GetRequest): GetRequestAmino {
328
+ const obj: any = {};
329
+ obj.message_name = message.messageName === "" ? undefined : message.messageName;
330
+ obj.index = message.index === "" ? undefined : message.index;
331
+ if (message.values) {
332
+ obj.values = message.values.map(e => e ? IndexValue.toAmino(e) : undefined);
333
+ } else {
334
+ obj.values = message.values;
335
+ }
336
+ return obj;
337
+ },
338
+ fromAminoMsg(object: GetRequestAminoMsg): GetRequest {
339
+ return GetRequest.fromAmino(object.value);
340
+ },
341
+ toAminoMsg(message: GetRequest): GetRequestAminoMsg {
342
+ return {
343
+ type: "cosmos-sdk/GetRequest",
344
+ value: GetRequest.toAmino(message)
345
+ };
346
+ },
347
+ fromProtoMsg(message: GetRequestProtoMsg): GetRequest {
348
+ return GetRequest.decode(message.value);
349
+ },
350
+ toProto(message: GetRequest): Uint8Array {
351
+ return GetRequest.encode(message).finish();
352
+ },
353
+ toProtoMsg(message: GetRequest): GetRequestProtoMsg {
354
+ return {
355
+ typeUrl: "/cosmos.orm.query.v1alpha1.GetRequest",
356
+ value: GetRequest.encode(message).finish()
357
+ };
358
+ }
359
+ };
360
+ GlobalDecoderRegistry.register(GetRequest.typeUrl, GetRequest);
361
+ GlobalDecoderRegistry.registerAminoProtoMapping(GetRequest.aminoType, GetRequest.typeUrl);
362
+ function createBaseGetResponse(): GetResponse {
363
+ return {
364
+ result: undefined
365
+ };
366
+ }
367
+ export const GetResponse = {
368
+ typeUrl: "/cosmos.orm.query.v1alpha1.GetResponse",
369
+ aminoType: "cosmos-sdk/GetResponse",
370
+ is(o: any): o is GetResponse {
371
+ return o && o.$typeUrl === GetResponse.typeUrl;
372
+ },
373
+ isAmino(o: any): o is GetResponseAmino {
374
+ return o && o.$typeUrl === GetResponse.typeUrl;
375
+ },
376
+ encode(message: GetResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
377
+ if (message.result !== undefined) {
378
+ Any.encode(message.result, writer.uint32(10).fork()).ldelim();
379
+ }
380
+ return writer;
381
+ },
382
+ decode(input: BinaryReader | Uint8Array, length?: number): GetResponse {
383
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
384
+ let end = length === undefined ? reader.len : reader.pos + length;
385
+ const message = createBaseGetResponse();
386
+ while (reader.pos < end) {
387
+ const tag = reader.uint32();
388
+ switch (tag >>> 3) {
389
+ case 1:
390
+ message.result = Any.decode(reader, reader.uint32());
391
+ break;
392
+ default:
393
+ reader.skipType(tag & 7);
394
+ break;
395
+ }
396
+ }
397
+ return message;
398
+ },
399
+ fromPartial(object: DeepPartial<GetResponse>): GetResponse {
400
+ const message = createBaseGetResponse();
401
+ message.result = object.result !== undefined && object.result !== null ? Any.fromPartial(object.result) : undefined;
402
+ return message;
403
+ },
404
+ fromAmino(object: GetResponseAmino): GetResponse {
405
+ const message = createBaseGetResponse();
406
+ if (object.result !== undefined && object.result !== null) {
407
+ message.result = Any.fromAmino(object.result);
408
+ }
409
+ return message;
410
+ },
411
+ toAmino(message: GetResponse): GetResponseAmino {
412
+ const obj: any = {};
413
+ obj.result = message.result ? Any.toAmino(message.result) : undefined;
414
+ return obj;
415
+ },
416
+ fromAminoMsg(object: GetResponseAminoMsg): GetResponse {
417
+ return GetResponse.fromAmino(object.value);
418
+ },
419
+ toAminoMsg(message: GetResponse): GetResponseAminoMsg {
420
+ return {
421
+ type: "cosmos-sdk/GetResponse",
422
+ value: GetResponse.toAmino(message)
423
+ };
424
+ },
425
+ fromProtoMsg(message: GetResponseProtoMsg): GetResponse {
426
+ return GetResponse.decode(message.value);
427
+ },
428
+ toProto(message: GetResponse): Uint8Array {
429
+ return GetResponse.encode(message).finish();
430
+ },
431
+ toProtoMsg(message: GetResponse): GetResponseProtoMsg {
432
+ return {
433
+ typeUrl: "/cosmos.orm.query.v1alpha1.GetResponse",
434
+ value: GetResponse.encode(message).finish()
435
+ };
436
+ }
437
+ };
438
+ GlobalDecoderRegistry.register(GetResponse.typeUrl, GetResponse);
439
+ GlobalDecoderRegistry.registerAminoProtoMapping(GetResponse.aminoType, GetResponse.typeUrl);
440
+ function createBaseListRequest(): ListRequest {
441
+ return {
442
+ messageName: "",
443
+ index: "",
444
+ prefix: undefined,
445
+ range: undefined,
446
+ pagination: undefined
447
+ };
448
+ }
449
+ export const ListRequest = {
450
+ typeUrl: "/cosmos.orm.query.v1alpha1.ListRequest",
451
+ aminoType: "cosmos-sdk/ListRequest",
452
+ is(o: any): o is ListRequest {
453
+ return o && (o.$typeUrl === ListRequest.typeUrl || typeof o.messageName === "string" && typeof o.index === "string");
454
+ },
455
+ isAmino(o: any): o is ListRequestAmino {
456
+ return o && (o.$typeUrl === ListRequest.typeUrl || typeof o.message_name === "string" && typeof o.index === "string");
457
+ },
458
+ encode(message: ListRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
459
+ if (message.messageName !== "") {
460
+ writer.uint32(10).string(message.messageName);
461
+ }
462
+ if (message.index !== "") {
463
+ writer.uint32(18).string(message.index);
464
+ }
465
+ if (message.prefix !== undefined) {
466
+ ListRequest_Prefix.encode(message.prefix, writer.uint32(26).fork()).ldelim();
467
+ }
468
+ if (message.range !== undefined) {
469
+ ListRequest_Range.encode(message.range, writer.uint32(34).fork()).ldelim();
470
+ }
471
+ if (message.pagination !== undefined) {
472
+ PageRequest.encode(message.pagination, writer.uint32(42).fork()).ldelim();
473
+ }
474
+ return writer;
475
+ },
476
+ decode(input: BinaryReader | Uint8Array, length?: number): ListRequest {
477
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
478
+ let end = length === undefined ? reader.len : reader.pos + length;
479
+ const message = createBaseListRequest();
480
+ while (reader.pos < end) {
481
+ const tag = reader.uint32();
482
+ switch (tag >>> 3) {
483
+ case 1:
484
+ message.messageName = reader.string();
485
+ break;
486
+ case 2:
487
+ message.index = reader.string();
488
+ break;
489
+ case 3:
490
+ message.prefix = ListRequest_Prefix.decode(reader, reader.uint32());
491
+ break;
492
+ case 4:
493
+ message.range = ListRequest_Range.decode(reader, reader.uint32());
494
+ break;
495
+ case 5:
496
+ message.pagination = PageRequest.decode(reader, reader.uint32());
497
+ break;
498
+ default:
499
+ reader.skipType(tag & 7);
500
+ break;
501
+ }
502
+ }
503
+ return message;
504
+ },
505
+ fromPartial(object: DeepPartial<ListRequest>): ListRequest {
506
+ const message = createBaseListRequest();
507
+ message.messageName = object.messageName ?? "";
508
+ message.index = object.index ?? "";
509
+ message.prefix = object.prefix !== undefined && object.prefix !== null ? ListRequest_Prefix.fromPartial(object.prefix) : undefined;
510
+ message.range = object.range !== undefined && object.range !== null ? ListRequest_Range.fromPartial(object.range) : undefined;
511
+ message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
512
+ return message;
513
+ },
514
+ fromAmino(object: ListRequestAmino): ListRequest {
515
+ const message = createBaseListRequest();
516
+ if (object.message_name !== undefined && object.message_name !== null) {
517
+ message.messageName = object.message_name;
518
+ }
519
+ if (object.index !== undefined && object.index !== null) {
520
+ message.index = object.index;
521
+ }
522
+ if (object.prefix !== undefined && object.prefix !== null) {
523
+ message.prefix = ListRequest_Prefix.fromAmino(object.prefix);
524
+ }
525
+ if (object.range !== undefined && object.range !== null) {
526
+ message.range = ListRequest_Range.fromAmino(object.range);
527
+ }
528
+ if (object.pagination !== undefined && object.pagination !== null) {
529
+ message.pagination = PageRequest.fromAmino(object.pagination);
530
+ }
531
+ return message;
532
+ },
533
+ toAmino(message: ListRequest): ListRequestAmino {
534
+ const obj: any = {};
535
+ obj.message_name = message.messageName === "" ? undefined : message.messageName;
536
+ obj.index = message.index === "" ? undefined : message.index;
537
+ obj.prefix = message.prefix ? ListRequest_Prefix.toAmino(message.prefix) : undefined;
538
+ obj.range = message.range ? ListRequest_Range.toAmino(message.range) : undefined;
539
+ obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
540
+ return obj;
541
+ },
542
+ fromAminoMsg(object: ListRequestAminoMsg): ListRequest {
543
+ return ListRequest.fromAmino(object.value);
544
+ },
545
+ toAminoMsg(message: ListRequest): ListRequestAminoMsg {
546
+ return {
547
+ type: "cosmos-sdk/ListRequest",
548
+ value: ListRequest.toAmino(message)
549
+ };
550
+ },
551
+ fromProtoMsg(message: ListRequestProtoMsg): ListRequest {
552
+ return ListRequest.decode(message.value);
553
+ },
554
+ toProto(message: ListRequest): Uint8Array {
555
+ return ListRequest.encode(message).finish();
556
+ },
557
+ toProtoMsg(message: ListRequest): ListRequestProtoMsg {
558
+ return {
559
+ typeUrl: "/cosmos.orm.query.v1alpha1.ListRequest",
560
+ value: ListRequest.encode(message).finish()
561
+ };
562
+ }
563
+ };
564
+ GlobalDecoderRegistry.register(ListRequest.typeUrl, ListRequest);
565
+ GlobalDecoderRegistry.registerAminoProtoMapping(ListRequest.aminoType, ListRequest.typeUrl);
566
+ function createBaseListRequest_Prefix(): ListRequest_Prefix {
567
+ return {
568
+ values: []
569
+ };
570
+ }
571
+ export const ListRequest_Prefix = {
572
+ typeUrl: "/cosmos.orm.query.v1alpha1.Prefix",
573
+ aminoType: "cosmos-sdk/Prefix",
574
+ is(o: any): o is ListRequest_Prefix {
575
+ return o && (o.$typeUrl === ListRequest_Prefix.typeUrl || Array.isArray(o.values) && (!o.values.length || IndexValue.is(o.values[0])));
576
+ },
577
+ isAmino(o: any): o is ListRequest_PrefixAmino {
578
+ return o && (o.$typeUrl === ListRequest_Prefix.typeUrl || Array.isArray(o.values) && (!o.values.length || IndexValue.isAmino(o.values[0])));
579
+ },
580
+ encode(message: ListRequest_Prefix, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
581
+ for (const v of message.values) {
582
+ IndexValue.encode(v!, writer.uint32(10).fork()).ldelim();
583
+ }
584
+ return writer;
585
+ },
586
+ decode(input: BinaryReader | Uint8Array, length?: number): ListRequest_Prefix {
587
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
588
+ let end = length === undefined ? reader.len : reader.pos + length;
589
+ const message = createBaseListRequest_Prefix();
590
+ while (reader.pos < end) {
591
+ const tag = reader.uint32();
592
+ switch (tag >>> 3) {
593
+ case 1:
594
+ message.values.push(IndexValue.decode(reader, reader.uint32()));
595
+ break;
596
+ default:
597
+ reader.skipType(tag & 7);
598
+ break;
599
+ }
600
+ }
601
+ return message;
602
+ },
603
+ fromPartial(object: DeepPartial<ListRequest_Prefix>): ListRequest_Prefix {
604
+ const message = createBaseListRequest_Prefix();
605
+ message.values = object.values?.map(e => IndexValue.fromPartial(e)) || [];
606
+ return message;
607
+ },
608
+ fromAmino(object: ListRequest_PrefixAmino): ListRequest_Prefix {
609
+ const message = createBaseListRequest_Prefix();
610
+ message.values = object.values?.map(e => IndexValue.fromAmino(e)) || [];
611
+ return message;
612
+ },
613
+ toAmino(message: ListRequest_Prefix): ListRequest_PrefixAmino {
614
+ const obj: any = {};
615
+ if (message.values) {
616
+ obj.values = message.values.map(e => e ? IndexValue.toAmino(e) : undefined);
617
+ } else {
618
+ obj.values = message.values;
619
+ }
620
+ return obj;
621
+ },
622
+ fromAminoMsg(object: ListRequest_PrefixAminoMsg): ListRequest_Prefix {
623
+ return ListRequest_Prefix.fromAmino(object.value);
624
+ },
625
+ toAminoMsg(message: ListRequest_Prefix): ListRequest_PrefixAminoMsg {
626
+ return {
627
+ type: "cosmos-sdk/Prefix",
628
+ value: ListRequest_Prefix.toAmino(message)
629
+ };
630
+ },
631
+ fromProtoMsg(message: ListRequest_PrefixProtoMsg): ListRequest_Prefix {
632
+ return ListRequest_Prefix.decode(message.value);
633
+ },
634
+ toProto(message: ListRequest_Prefix): Uint8Array {
635
+ return ListRequest_Prefix.encode(message).finish();
636
+ },
637
+ toProtoMsg(message: ListRequest_Prefix): ListRequest_PrefixProtoMsg {
638
+ return {
639
+ typeUrl: "/cosmos.orm.query.v1alpha1.Prefix",
640
+ value: ListRequest_Prefix.encode(message).finish()
641
+ };
642
+ }
643
+ };
644
+ GlobalDecoderRegistry.register(ListRequest_Prefix.typeUrl, ListRequest_Prefix);
645
+ GlobalDecoderRegistry.registerAminoProtoMapping(ListRequest_Prefix.aminoType, ListRequest_Prefix.typeUrl);
646
+ function createBaseListRequest_Range(): ListRequest_Range {
647
+ return {
648
+ start: [],
649
+ end: []
650
+ };
651
+ }
652
+ export const ListRequest_Range = {
653
+ typeUrl: "/cosmos.orm.query.v1alpha1.Range",
654
+ aminoType: "cosmos-sdk/Range",
655
+ is(o: any): o is ListRequest_Range {
656
+ return o && (o.$typeUrl === ListRequest_Range.typeUrl || Array.isArray(o.start) && (!o.start.length || IndexValue.is(o.start[0])) && Array.isArray(o.end) && (!o.end.length || IndexValue.is(o.end[0])));
657
+ },
658
+ isAmino(o: any): o is ListRequest_RangeAmino {
659
+ return o && (o.$typeUrl === ListRequest_Range.typeUrl || Array.isArray(o.start) && (!o.start.length || IndexValue.isAmino(o.start[0])) && Array.isArray(o.end) && (!o.end.length || IndexValue.isAmino(o.end[0])));
660
+ },
661
+ encode(message: ListRequest_Range, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
662
+ for (const v of message.start) {
663
+ IndexValue.encode(v!, writer.uint32(10).fork()).ldelim();
664
+ }
665
+ for (const v of message.end) {
666
+ IndexValue.encode(v!, writer.uint32(18).fork()).ldelim();
667
+ }
668
+ return writer;
669
+ },
670
+ decode(input: BinaryReader | Uint8Array, length?: number): ListRequest_Range {
671
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
672
+ let end = length === undefined ? reader.len : reader.pos + length;
673
+ const message = createBaseListRequest_Range();
674
+ while (reader.pos < end) {
675
+ const tag = reader.uint32();
676
+ switch (tag >>> 3) {
677
+ case 1:
678
+ message.start.push(IndexValue.decode(reader, reader.uint32()));
679
+ break;
680
+ case 2:
681
+ message.end.push(IndexValue.decode(reader, reader.uint32()));
682
+ break;
683
+ default:
684
+ reader.skipType(tag & 7);
685
+ break;
686
+ }
687
+ }
688
+ return message;
689
+ },
690
+ fromPartial(object: DeepPartial<ListRequest_Range>): ListRequest_Range {
691
+ const message = createBaseListRequest_Range();
692
+ message.start = object.start?.map(e => IndexValue.fromPartial(e)) || [];
693
+ message.end = object.end?.map(e => IndexValue.fromPartial(e)) || [];
694
+ return message;
695
+ },
696
+ fromAmino(object: ListRequest_RangeAmino): ListRequest_Range {
697
+ const message = createBaseListRequest_Range();
698
+ message.start = object.start?.map(e => IndexValue.fromAmino(e)) || [];
699
+ message.end = object.end?.map(e => IndexValue.fromAmino(e)) || [];
700
+ return message;
701
+ },
702
+ toAmino(message: ListRequest_Range): ListRequest_RangeAmino {
703
+ const obj: any = {};
704
+ if (message.start) {
705
+ obj.start = message.start.map(e => e ? IndexValue.toAmino(e) : undefined);
706
+ } else {
707
+ obj.start = message.start;
708
+ }
709
+ if (message.end) {
710
+ obj.end = message.end.map(e => e ? IndexValue.toAmino(e) : undefined);
711
+ } else {
712
+ obj.end = message.end;
713
+ }
714
+ return obj;
715
+ },
716
+ fromAminoMsg(object: ListRequest_RangeAminoMsg): ListRequest_Range {
717
+ return ListRequest_Range.fromAmino(object.value);
718
+ },
719
+ toAminoMsg(message: ListRequest_Range): ListRequest_RangeAminoMsg {
720
+ return {
721
+ type: "cosmos-sdk/Range",
722
+ value: ListRequest_Range.toAmino(message)
723
+ };
724
+ },
725
+ fromProtoMsg(message: ListRequest_RangeProtoMsg): ListRequest_Range {
726
+ return ListRequest_Range.decode(message.value);
727
+ },
728
+ toProto(message: ListRequest_Range): Uint8Array {
729
+ return ListRequest_Range.encode(message).finish();
730
+ },
731
+ toProtoMsg(message: ListRequest_Range): ListRequest_RangeProtoMsg {
732
+ return {
733
+ typeUrl: "/cosmos.orm.query.v1alpha1.Range",
734
+ value: ListRequest_Range.encode(message).finish()
735
+ };
736
+ }
737
+ };
738
+ GlobalDecoderRegistry.register(ListRequest_Range.typeUrl, ListRequest_Range);
739
+ GlobalDecoderRegistry.registerAminoProtoMapping(ListRequest_Range.aminoType, ListRequest_Range.typeUrl);
740
+ function createBaseListResponse(): ListResponse {
741
+ return {
742
+ results: [],
743
+ pagination: undefined
744
+ };
745
+ }
746
+ export const ListResponse = {
747
+ typeUrl: "/cosmos.orm.query.v1alpha1.ListResponse",
748
+ aminoType: "cosmos-sdk/ListResponse",
749
+ is(o: any): o is ListResponse {
750
+ return o && (o.$typeUrl === ListResponse.typeUrl || Array.isArray(o.results) && (!o.results.length || Any.is(o.results[0])));
751
+ },
752
+ isAmino(o: any): o is ListResponseAmino {
753
+ return o && (o.$typeUrl === ListResponse.typeUrl || Array.isArray(o.results) && (!o.results.length || Any.isAmino(o.results[0])));
754
+ },
755
+ encode(message: ListResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
756
+ for (const v of message.results) {
757
+ Any.encode(v!, writer.uint32(10).fork()).ldelim();
758
+ }
759
+ if (message.pagination !== undefined) {
760
+ PageResponse.encode(message.pagination, writer.uint32(42).fork()).ldelim();
761
+ }
762
+ return writer;
763
+ },
764
+ decode(input: BinaryReader | Uint8Array, length?: number): ListResponse {
765
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
766
+ let end = length === undefined ? reader.len : reader.pos + length;
767
+ const message = createBaseListResponse();
768
+ while (reader.pos < end) {
769
+ const tag = reader.uint32();
770
+ switch (tag >>> 3) {
771
+ case 1:
772
+ message.results.push(Any.decode(reader, reader.uint32()));
773
+ break;
774
+ case 5:
775
+ message.pagination = PageResponse.decode(reader, reader.uint32());
776
+ break;
777
+ default:
778
+ reader.skipType(tag & 7);
779
+ break;
780
+ }
781
+ }
782
+ return message;
783
+ },
784
+ fromPartial(object: DeepPartial<ListResponse>): ListResponse {
785
+ const message = createBaseListResponse();
786
+ message.results = object.results?.map(e => Any.fromPartial(e)) || [];
787
+ message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
788
+ return message;
789
+ },
790
+ fromAmino(object: ListResponseAmino): ListResponse {
791
+ const message = createBaseListResponse();
792
+ message.results = object.results?.map(e => Any.fromAmino(e)) || [];
793
+ if (object.pagination !== undefined && object.pagination !== null) {
794
+ message.pagination = PageResponse.fromAmino(object.pagination);
795
+ }
796
+ return message;
797
+ },
798
+ toAmino(message: ListResponse): ListResponseAmino {
799
+ const obj: any = {};
800
+ if (message.results) {
801
+ obj.results = message.results.map(e => e ? Any.toAmino(e) : undefined);
802
+ } else {
803
+ obj.results = message.results;
804
+ }
805
+ obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
806
+ return obj;
807
+ },
808
+ fromAminoMsg(object: ListResponseAminoMsg): ListResponse {
809
+ return ListResponse.fromAmino(object.value);
810
+ },
811
+ toAminoMsg(message: ListResponse): ListResponseAminoMsg {
812
+ return {
813
+ type: "cosmos-sdk/ListResponse",
814
+ value: ListResponse.toAmino(message)
815
+ };
816
+ },
817
+ fromProtoMsg(message: ListResponseProtoMsg): ListResponse {
818
+ return ListResponse.decode(message.value);
819
+ },
820
+ toProto(message: ListResponse): Uint8Array {
821
+ return ListResponse.encode(message).finish();
822
+ },
823
+ toProtoMsg(message: ListResponse): ListResponseProtoMsg {
824
+ return {
825
+ typeUrl: "/cosmos.orm.query.v1alpha1.ListResponse",
826
+ value: ListResponse.encode(message).finish()
827
+ };
828
+ }
829
+ };
830
+ GlobalDecoderRegistry.register(ListResponse.typeUrl, ListResponse);
831
+ GlobalDecoderRegistry.registerAminoProtoMapping(ListResponse.aminoType, ListResponse.typeUrl);
832
+ function createBaseIndexValue(): IndexValue {
833
+ return {
834
+ uint: undefined,
835
+ int: undefined,
836
+ str: undefined,
837
+ bytes: undefined,
838
+ enum: undefined,
839
+ bool: undefined,
840
+ timestamp: undefined,
841
+ duration: undefined
842
+ };
843
+ }
844
+ export const IndexValue = {
845
+ typeUrl: "/cosmos.orm.query.v1alpha1.IndexValue",
846
+ aminoType: "cosmos-sdk/IndexValue",
847
+ is(o: any): o is IndexValue {
848
+ return o && o.$typeUrl === IndexValue.typeUrl;
849
+ },
850
+ isAmino(o: any): o is IndexValueAmino {
851
+ return o && o.$typeUrl === IndexValue.typeUrl;
852
+ },
853
+ encode(message: IndexValue, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
854
+ if (message.uint !== undefined) {
855
+ writer.uint32(8).uint64(message.uint);
856
+ }
857
+ if (message.int !== undefined) {
858
+ writer.uint32(16).int64(message.int);
859
+ }
860
+ if (message.str !== undefined) {
861
+ writer.uint32(26).string(message.str);
862
+ }
863
+ if (message.bytes !== undefined) {
864
+ writer.uint32(34).bytes(message.bytes);
865
+ }
866
+ if (message.enum !== undefined) {
867
+ writer.uint32(42).string(message.enum);
868
+ }
869
+ if (message.bool !== undefined) {
870
+ writer.uint32(48).bool(message.bool);
871
+ }
872
+ if (message.timestamp !== undefined) {
873
+ Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(58).fork()).ldelim();
874
+ }
875
+ if (message.duration !== undefined) {
876
+ Duration.encode(message.duration, writer.uint32(66).fork()).ldelim();
877
+ }
878
+ return writer;
879
+ },
880
+ decode(input: BinaryReader | Uint8Array, length?: number): IndexValue {
881
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
882
+ let end = length === undefined ? reader.len : reader.pos + length;
883
+ const message = createBaseIndexValue();
884
+ while (reader.pos < end) {
885
+ const tag = reader.uint32();
886
+ switch (tag >>> 3) {
887
+ case 1:
888
+ message.uint = reader.uint64();
889
+ break;
890
+ case 2:
891
+ message.int = reader.int64();
892
+ break;
893
+ case 3:
894
+ message.str = reader.string();
895
+ break;
896
+ case 4:
897
+ message.bytes = reader.bytes();
898
+ break;
899
+ case 5:
900
+ message.enum = reader.string();
901
+ break;
902
+ case 6:
903
+ message.bool = reader.bool();
904
+ break;
905
+ case 7:
906
+ message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
907
+ break;
908
+ case 8:
909
+ message.duration = Duration.decode(reader, reader.uint32());
910
+ break;
911
+ default:
912
+ reader.skipType(tag & 7);
913
+ break;
914
+ }
915
+ }
916
+ return message;
917
+ },
918
+ fromPartial(object: DeepPartial<IndexValue>): IndexValue {
919
+ const message = createBaseIndexValue();
920
+ message.uint = object.uint !== undefined && object.uint !== null ? BigInt(object.uint.toString()) : undefined;
921
+ message.int = object.int !== undefined && object.int !== null ? BigInt(object.int.toString()) : undefined;
922
+ message.str = object.str ?? undefined;
923
+ message.bytes = object.bytes ?? undefined;
924
+ message.enum = object.enum ?? undefined;
925
+ message.bool = object.bool ?? undefined;
926
+ message.timestamp = object.timestamp ?? undefined;
927
+ message.duration = object.duration !== undefined && object.duration !== null ? Duration.fromPartial(object.duration) : undefined;
928
+ return message;
929
+ },
930
+ fromAmino(object: IndexValueAmino): IndexValue {
931
+ const message = createBaseIndexValue();
932
+ if (object.uint !== undefined && object.uint !== null) {
933
+ message.uint = BigInt(object.uint);
934
+ }
935
+ if (object.int !== undefined && object.int !== null) {
936
+ message.int = BigInt(object.int);
937
+ }
938
+ if (object.str !== undefined && object.str !== null) {
939
+ message.str = object.str;
940
+ }
941
+ if (object.bytes !== undefined && object.bytes !== null) {
942
+ message.bytes = bytesFromBase64(object.bytes);
943
+ }
944
+ if (object.enum !== undefined && object.enum !== null) {
945
+ message.enum = object.enum;
946
+ }
947
+ if (object.bool !== undefined && object.bool !== null) {
948
+ message.bool = object.bool;
949
+ }
950
+ if (object.timestamp !== undefined && object.timestamp !== null) {
951
+ message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp));
952
+ }
953
+ if (object.duration !== undefined && object.duration !== null) {
954
+ message.duration = Duration.fromAmino(object.duration);
955
+ }
956
+ return message;
957
+ },
958
+ toAmino(message: IndexValue): IndexValueAmino {
959
+ const obj: any = {};
960
+ obj.uint = message.uint !== BigInt(0) ? message.uint?.toString() : undefined;
961
+ obj.int = message.int !== BigInt(0) ? message.int?.toString() : undefined;
962
+ obj.str = message.str === null ? undefined : message.str;
963
+ obj.bytes = message.bytes ? base64FromBytes(message.bytes) : undefined;
964
+ obj.enum = message.enum === null ? undefined : message.enum;
965
+ obj.bool = message.bool === null ? undefined : message.bool;
966
+ obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined;
967
+ obj.duration = message.duration ? Duration.toAmino(message.duration) : undefined;
968
+ return obj;
969
+ },
970
+ fromAminoMsg(object: IndexValueAminoMsg): IndexValue {
971
+ return IndexValue.fromAmino(object.value);
972
+ },
973
+ toAminoMsg(message: IndexValue): IndexValueAminoMsg {
974
+ return {
975
+ type: "cosmos-sdk/IndexValue",
976
+ value: IndexValue.toAmino(message)
977
+ };
978
+ },
979
+ fromProtoMsg(message: IndexValueProtoMsg): IndexValue {
980
+ return IndexValue.decode(message.value);
981
+ },
982
+ toProto(message: IndexValue): Uint8Array {
983
+ return IndexValue.encode(message).finish();
984
+ },
985
+ toProtoMsg(message: IndexValue): IndexValueProtoMsg {
986
+ return {
987
+ typeUrl: "/cosmos.orm.query.v1alpha1.IndexValue",
988
+ value: IndexValue.encode(message).finish()
989
+ };
990
+ }
991
+ };
992
+ GlobalDecoderRegistry.register(IndexValue.typeUrl, IndexValue);
993
+ GlobalDecoderRegistry.registerAminoProtoMapping(IndexValue.aminoType, IndexValue.typeUrl);