@iconlake/client 0.0.2 → 0.1.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 (848) hide show
  1. package/client.ts +13 -12
  2. package/cosmos.auth.v1beta1/index.ts +0 -0
  3. package/cosmos.auth.v1beta1/module.ts +2 -0
  4. package/cosmos.auth.v1beta1/registry.ts +0 -0
  5. package/cosmos.auth.v1beta1/rest.ts +113 -3
  6. package/cosmos.auth.v1beta1/types/amino/amino.ts +2 -0
  7. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
  8. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
  9. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +157 -4
  10. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +172 -0
  11. package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  12. package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  13. package/cosmos.auth.v1beta1/types.ts +2 -0
  14. package/cosmos.authz.v1beta1/index.ts +0 -0
  15. package/cosmos.authz.v1beta1/module.ts +24 -24
  16. package/cosmos.authz.v1beta1/registry.ts +2 -2
  17. package/cosmos.authz.v1beta1/types/amino/amino.ts +2 -0
  18. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
  19. package/cosmos.authz.v1beta1/types.ts +0 -0
  20. package/cosmos.bank.v1beta1/index.ts +0 -0
  21. package/cosmos.bank.v1beta1/module.ts +0 -0
  22. package/cosmos.bank.v1beta1/registry.ts +0 -0
  23. package/cosmos.bank.v1beta1/rest.ts +99 -6
  24. package/cosmos.bank.v1beta1/types/amino/amino.ts +2 -0
  25. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +24 -2
  26. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +9 -0
  27. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +25 -4
  28. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +356 -5
  29. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +305 -1
  30. package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  31. package/cosmos.bank.v1beta1/types.ts +0 -0
  32. package/cosmos.base.node.v1beta1/index.ts +0 -0
  33. package/cosmos.base.node.v1beta1/module.ts +0 -0
  34. package/cosmos.base.node.v1beta1/registry.ts +0 -0
  35. package/cosmos.base.node.v1beta1/types.ts +0 -0
  36. package/cosmos.base.tendermint.v1beta1/index.ts +0 -0
  37. package/cosmos.base.tendermint.v1beta1/module.ts +0 -0
  38. package/cosmos.base.tendermint.v1beta1/registry.ts +0 -0
  39. package/cosmos.base.tendermint.v1beta1/rest.ts +21 -30
  40. package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +2 -0
  41. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +16 -46
  42. package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.ts +1 -1
  43. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.ts +1 -1
  44. package/cosmos.base.tendermint.v1beta1/types.ts +0 -0
  45. package/cosmos.consensus.v1/index.ts +6 -0
  46. package/cosmos.consensus.v1/module.ts +129 -0
  47. package/cosmos.consensus.v1/registry.ts +9 -0
  48. package/cosmos.consensus.v1/rest.ts +268 -0
  49. package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +147 -0
  50. package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +196 -0
  51. package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts +2 -0
  52. package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +247 -0
  53. package/cosmos.consensus.v1/types/gogoproto/gogo.ts +2 -0
  54. package/cosmos.consensus.v1/types/google/api/annotations.ts +2 -0
  55. package/cosmos.consensus.v1/types/google/api/http.ts +589 -0
  56. package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +3753 -0
  57. package/cosmos.consensus.v1/types/google/protobuf/duration.ts +187 -0
  58. package/cosmos.consensus.v1/types/tendermint/types/params.ts +498 -0
  59. package/cosmos.consensus.v1/types.ts +5 -0
  60. package/cosmos.crisis.v1beta1/index.ts +0 -0
  61. package/cosmos.crisis.v1beta1/module.ts +34 -1
  62. package/cosmos.crisis.v1beta1/registry.ts +2 -0
  63. package/cosmos.crisis.v1beta1/rest.ts +19 -0
  64. package/cosmos.crisis.v1beta1/types/amino/amino.ts +2 -0
  65. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +140 -1
  66. package/cosmos.crisis.v1beta1/types.ts +0 -0
  67. package/cosmos.distribution.v1beta1/index.ts +0 -0
  68. package/cosmos.distribution.v1beta1/module.ts +79 -13
  69. package/cosmos.distribution.v1beta1/registry.ts +6 -2
  70. package/cosmos.distribution.v1beta1/rest.ts +66 -7
  71. package/cosmos.distribution.v1beta1/types/amino/amino.ts +2 -0
  72. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +19 -0
  73. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
  74. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +158 -1
  75. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +300 -3
  76. package/cosmos.distribution.v1beta1/types.ts +0 -0
  77. package/cosmos.evidence.v1beta1/index.ts +0 -0
  78. package/cosmos.evidence.v1beta1/module.ts +0 -0
  79. package/cosmos.evidence.v1beta1/registry.ts +0 -0
  80. package/cosmos.evidence.v1beta1/rest.ts +4 -3
  81. package/cosmos.evidence.v1beta1/types/amino/amino.ts +2 -0
  82. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +7 -1
  83. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +25 -3
  84. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +2 -0
  85. package/cosmos.evidence.v1beta1/types.ts +0 -0
  86. package/cosmos.feegrant.v1beta1/index.ts +0 -0
  87. package/cosmos.feegrant.v1beta1/module.ts +24 -24
  88. package/cosmos.feegrant.v1beta1/registry.ts +2 -2
  89. package/cosmos.feegrant.v1beta1/types/amino/amino.ts +2 -0
  90. package/cosmos.feegrant.v1beta1/types.ts +0 -0
  91. package/cosmos.gov.v1/index.ts +0 -0
  92. package/cosmos.gov.v1/module.ts +67 -32
  93. package/cosmos.gov.v1/registry.ts +4 -2
  94. package/cosmos.gov.v1/rest.ts +155 -41
  95. package/cosmos.gov.v1/types/amino/amino.ts +2 -0
  96. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +40 -5
  97. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +277 -6
  98. package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +45 -7
  99. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +186 -3
  100. package/cosmos.gov.v1/types.ts +2 -0
  101. package/cosmos.gov.v1beta1/index.ts +0 -0
  102. package/cosmos.gov.v1beta1/module.ts +29 -29
  103. package/cosmos.gov.v1beta1/registry.ts +2 -2
  104. package/cosmos.gov.v1beta1/rest.ts +65 -96
  105. package/cosmos.gov.v1beta1/types/amino/amino.ts +2 -0
  106. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
  107. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +45 -10
  108. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +4 -2
  109. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +16 -1
  110. package/cosmos.gov.v1beta1/types.ts +0 -0
  111. package/cosmos.group.v1/index.ts +0 -0
  112. package/cosmos.group.v1/module.ts +160 -158
  113. package/cosmos.group.v1/registry.ts +14 -14
  114. package/cosmos.group.v1/rest.ts +68 -9
  115. package/cosmos.group.v1/types/amino/amino.ts +2 -0
  116. package/cosmos.group.v1/types/cosmos/group/v1/events.ts +89 -1
  117. package/cosmos.group.v1/types/cosmos/group/v1/query.ts +155 -5
  118. package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +79 -49
  119. package/cosmos.group.v1/types/cosmos/group/v1/types.ts +46 -6
  120. package/cosmos.group.v1/types.ts +2 -0
  121. package/cosmos.mint.v1beta1/index.ts +0 -0
  122. package/cosmos.mint.v1beta1/module.ts +0 -0
  123. package/cosmos.mint.v1beta1/registry.ts +0 -0
  124. package/cosmos.mint.v1beta1/rest.ts +9 -1
  125. package/cosmos.mint.v1beta1/types/amino/amino.ts +2 -0
  126. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
  127. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
  128. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +172 -0
  129. package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
  130. package/cosmos.mint.v1beta1/types.ts +0 -0
  131. package/cosmos.nft.v1beta1/index.ts +0 -0
  132. package/cosmos.nft.v1beta1/module.ts +0 -0
  133. package/cosmos.nft.v1beta1/registry.ts +0 -0
  134. package/cosmos.nft.v1beta1/rest.ts +18 -22
  135. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +10 -0
  136. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +1 -0
  137. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +20 -0
  138. package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
  139. package/cosmos.nft.v1beta1/types.ts +0 -0
  140. package/cosmos.params.v1beta1/index.ts +0 -0
  141. package/cosmos.params.v1beta1/module.ts +0 -0
  142. package/cosmos.params.v1beta1/registry.ts +0 -0
  143. package/cosmos.params.v1beta1/types/amino/amino.ts +2 -0
  144. package/cosmos.params.v1beta1/types.ts +0 -0
  145. package/cosmos.slashing.v1beta1/index.ts +0 -0
  146. package/cosmos.slashing.v1beta1/module.ts +0 -0
  147. package/cosmos.slashing.v1beta1/registry.ts +0 -0
  148. package/cosmos.slashing.v1beta1/rest.ts +8 -0
  149. package/cosmos.slashing.v1beta1/types/amino/amino.ts +2 -0
  150. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
  151. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +139 -0
  152. package/cosmos.slashing.v1beta1/types.ts +0 -0
  153. package/cosmos.staking.v1beta1/index.ts +0 -0
  154. package/cosmos.staking.v1beta1/module.ts +66 -64
  155. package/cosmos.staking.v1beta1/registry.ts +6 -6
  156. package/cosmos.staking.v1beta1/rest.ts +51 -10
  157. package/cosmos.staking.v1beta1/types/amino/amino.ts +2 -0
  158. package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +2 -0
  159. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
  160. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +36 -5
  161. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +206 -3
  162. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +138 -1
  163. package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +4525 -0
  164. package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.ts +1 -1
  165. package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +498 -0
  166. package/cosmos.staking.v1beta1/types/tendermint/types/types.ts +1 -1
  167. package/cosmos.staking.v1beta1/types.ts +2 -0
  168. package/cosmos.tx.v1beta1/index.ts +0 -0
  169. package/cosmos.tx.v1beta1/module.ts +0 -0
  170. package/cosmos.tx.v1beta1/registry.ts +0 -0
  171. package/cosmos.tx.v1beta1/rest.ts +180 -19
  172. package/cosmos.tx.v1beta1/types/amino/amino.ts +2 -0
  173. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +524 -2
  174. package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +704 -333
  175. package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.ts +1 -1
  176. package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +9 -25
  177. package/cosmos.tx.v1beta1/types/tendermint/types/types.ts +1 -1
  178. package/cosmos.tx.v1beta1/types.ts +0 -0
  179. package/cosmos.upgrade.v1beta1/index.ts +0 -0
  180. package/cosmos.upgrade.v1beta1/module.ts +0 -0
  181. package/cosmos.upgrade.v1beta1/registry.ts +0 -0
  182. package/cosmos.upgrade.v1beta1/rest.ts +0 -1
  183. package/cosmos.upgrade.v1beta1/types/amino/amino.ts +2 -0
  184. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
  185. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  186. package/cosmos.upgrade.v1beta1/types.ts +0 -0
  187. package/cosmos.vesting.v1beta1/index.ts +0 -0
  188. package/cosmos.vesting.v1beta1/module.ts +24 -24
  189. package/cosmos.vesting.v1beta1/registry.ts +2 -2
  190. package/cosmos.vesting.v1beta1/rest.ts +4 -1
  191. package/cosmos.vesting.v1beta1/types/amino/amino.ts +2 -0
  192. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
  193. package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.ts +2 -0
  194. package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.ts +6 -1
  195. package/cosmos.vesting.v1beta1/types.ts +0 -0
  196. package/dist/client.js +135 -0
  197. package/dist/cosmos.auth.v1beta1/index.js +5 -0
  198. package/dist/cosmos.auth.v1beta1/module.js +64 -0
  199. package/dist/cosmos.auth.v1beta1/registry.js +2 -0
  200. package/dist/cosmos.auth.v1beta1/rest.js +228 -0
  201. package/dist/cosmos.auth.v1beta1/types/amino/amino.js +2 -0
  202. package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +344 -0
  203. package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +67 -0
  204. package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +969 -0
  205. package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +105 -0
  206. package/dist/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  207. package/dist/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  208. package/dist/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +2 -0
  209. package/dist/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  210. package/dist/cosmos.auth.v1beta1/types/gogoproto/gogo.js +2 -0
  211. package/dist/cosmos.auth.v1beta1/types/google/api/annotations.js +2 -0
  212. package/dist/cosmos.auth.v1beta1/types/google/api/http.js +260 -0
  213. package/dist/cosmos.auth.v1beta1/types/google/protobuf/any.js +99 -0
  214. package/dist/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  215. package/dist/cosmos.auth.v1beta1/types.js +5 -0
  216. package/dist/cosmos.authz.v1beta1/index.js +5 -0
  217. package/dist/cosmos.authz.v1beta1/module.js +140 -0
  218. package/dist/cosmos.authz.v1beta1/registry.js +9 -0
  219. package/dist/cosmos.authz.v1beta1/rest.js +131 -0
  220. package/dist/cosmos.authz.v1beta1/types/amino/amino.js +2 -0
  221. package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +244 -0
  222. package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +128 -0
  223. package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +54 -0
  224. package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +394 -0
  225. package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +362 -0
  226. package/dist/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  227. package/dist/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  228. package/dist/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  229. package/dist/cosmos.authz.v1beta1/types/gogoproto/gogo.js +2 -0
  230. package/dist/cosmos.authz.v1beta1/types/google/api/annotations.js +2 -0
  231. package/dist/cosmos.authz.v1beta1/types/google/api/http.js +260 -0
  232. package/dist/cosmos.authz.v1beta1/types/google/protobuf/any.js +99 -0
  233. package/dist/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  234. package/dist/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +84 -0
  235. package/dist/cosmos.authz.v1beta1/types.js +7 -0
  236. package/dist/cosmos.bank.v1beta1/index.js +5 -0
  237. package/dist/cosmos.bank.v1beta1/module.js +125 -0
  238. package/dist/cosmos.bank.v1beta1/registry.js +7 -0
  239. package/dist/cosmos.bank.v1beta1/rest.js +253 -0
  240. package/dist/cosmos.bank.v1beta1/types/amino/amino.js +2 -0
  241. package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +66 -0
  242. package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +455 -0
  243. package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +170 -0
  244. package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1243 -0
  245. package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +424 -0
  246. package/dist/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  247. package/dist/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  248. package/dist/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  249. package/dist/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +2 -0
  250. package/dist/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  251. package/dist/cosmos.bank.v1beta1/types/gogoproto/gogo.js +2 -0
  252. package/dist/cosmos.bank.v1beta1/types/google/api/annotations.js +2 -0
  253. package/dist/cosmos.bank.v1beta1/types/google/api/http.js +260 -0
  254. package/dist/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  255. package/dist/cosmos.bank.v1beta1/types.js +11 -0
  256. package/dist/cosmos.base.node.v1beta1/index.js +5 -0
  257. package/dist/cosmos.base.node.v1beta1/module.js +55 -0
  258. package/dist/cosmos.base.node.v1beta1/registry.js +2 -0
  259. package/dist/cosmos.base.node.v1beta1/rest.js +100 -0
  260. package/dist/cosmos.base.node.v1beta1/types/cosmos/base/node/v1beta1/query.js +91 -0
  261. package/dist/cosmos.base.node.v1beta1/types/google/api/annotations.js +2 -0
  262. package/dist/cosmos.base.node.v1beta1/types/google/api/http.js +260 -0
  263. package/dist/cosmos.base.node.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  264. package/dist/cosmos.base.node.v1beta1/types.js +1 -0
  265. package/dist/cosmos.base.tendermint.v1beta1/index.js +5 -0
  266. package/dist/cosmos.base.tendermint.v1beta1/module.js +70 -0
  267. package/dist/cosmos.base.tendermint.v1beta1/registry.js +2 -0
  268. package/dist/cosmos.base.tendermint.v1beta1/rest.js +209 -0
  269. package/dist/cosmos.base.tendermint.v1beta1/types/amino/amino.js +2 -0
  270. package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  271. package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +1281 -0
  272. package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +350 -0
  273. package/dist/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  274. package/dist/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +2 -0
  275. package/dist/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +2 -0
  276. package/dist/cosmos.base.tendermint.v1beta1/types/google/api/http.js +260 -0
  277. package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +99 -0
  278. package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  279. package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +84 -0
  280. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +100 -0
  281. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +356 -0
  282. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +352 -0
  283. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +86 -0
  284. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +343 -0
  285. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +1207 -0
  286. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +254 -0
  287. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +133 -0
  288. package/dist/cosmos.base.tendermint.v1beta1/types.js +8 -0
  289. package/dist/cosmos.consensus.v1/index.js +5 -0
  290. package/dist/cosmos.consensus.v1/module.js +81 -0
  291. package/dist/cosmos.consensus.v1/registry.js +5 -0
  292. package/dist/cosmos.consensus.v1/rest.js +100 -0
  293. package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +94 -0
  294. package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +129 -0
  295. package/dist/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +2 -0
  296. package/dist/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +171 -0
  297. package/dist/cosmos.consensus.v1/types/gogoproto/gogo.js +2 -0
  298. package/dist/cosmos.consensus.v1/types/google/api/annotations.js +2 -0
  299. package/dist/cosmos.consensus.v1/types/google/api/http.js +260 -0
  300. package/dist/cosmos.consensus.v1/types/google/protobuf/descriptor.js +2830 -0
  301. package/dist/cosmos.consensus.v1/types/google/protobuf/duration.js +84 -0
  302. package/dist/cosmos.consensus.v1/types/tendermint/types/params.js +369 -0
  303. package/dist/cosmos.consensus.v1/types.js +1 -0
  304. package/dist/cosmos.crisis.v1beta1/index.js +5 -0
  305. package/dist/cosmos.crisis.v1beta1/module.js +104 -0
  306. package/dist/cosmos.crisis.v1beta1/registry.js +7 -0
  307. package/dist/cosmos.crisis.v1beta1/rest.js +83 -0
  308. package/dist/cosmos.crisis.v1beta1/types/amino/amino.js +2 -0
  309. package/dist/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  310. package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +51 -0
  311. package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +206 -0
  312. package/dist/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  313. package/dist/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  314. package/dist/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +2 -0
  315. package/dist/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  316. package/dist/cosmos.crisis.v1beta1/types.js +1 -0
  317. package/dist/cosmos.distribution.v1beta1/index.js +5 -0
  318. package/dist/cosmos.distribution.v1beta1/module.js +235 -0
  319. package/dist/cosmos.distribution.v1beta1/registry.js +15 -0
  320. package/dist/cosmos.distribution.v1beta1/rest.js +228 -0
  321. package/dist/cosmos.distribution.v1beta1/types/amino/amino.js +2 -0
  322. package/dist/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  323. package/dist/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  324. package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +737 -0
  325. package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +656 -0
  326. package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +1046 -0
  327. package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +595 -0
  328. package/dist/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  329. package/dist/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  330. package/dist/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +2 -0
  331. package/dist/cosmos.distribution.v1beta1/types/google/api/annotations.js +2 -0
  332. package/dist/cosmos.distribution.v1beta1/types/google/api/http.js +260 -0
  333. package/dist/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  334. package/dist/cosmos.distribution.v1beta1/types.js +20 -0
  335. package/dist/cosmos.evidence.v1beta1/index.js +5 -0
  336. package/dist/cosmos.evidence.v1beta1/module.js +84 -0
  337. package/dist/cosmos.evidence.v1beta1/registry.js +5 -0
  338. package/dist/cosmos.evidence.v1beta1/rest.js +116 -0
  339. package/dist/cosmos.evidence.v1beta1/types/amino/amino.js +2 -0
  340. package/dist/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  341. package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +124 -0
  342. package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +50 -0
  343. package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +265 -0
  344. package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +154 -0
  345. package/dist/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  346. package/dist/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  347. package/dist/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +2 -0
  348. package/dist/cosmos.evidence.v1beta1/types/google/api/annotations.js +2 -0
  349. package/dist/cosmos.evidence.v1beta1/types/google/api/http.js +260 -0
  350. package/dist/cosmos.evidence.v1beta1/types/google/protobuf/any.js +99 -0
  351. package/dist/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  352. package/dist/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +84 -0
  353. package/dist/cosmos.evidence.v1beta1/types.js +2 -0
  354. package/dist/cosmos.feegrant.v1beta1/index.js +5 -0
  355. package/dist/cosmos.feegrant.v1beta1/module.js +113 -0
  356. package/dist/cosmos.feegrant.v1beta1/registry.js +7 -0
  357. package/dist/cosmos.feegrant.v1beta1/rest.js +130 -0
  358. package/dist/cosmos.feegrant.v1beta1/types/amino/amino.js +2 -0
  359. package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  360. package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  361. package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +307 -0
  362. package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +52 -0
  363. package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +357 -0
  364. package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +205 -0
  365. package/dist/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  366. package/dist/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  367. package/dist/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +2 -0
  368. package/dist/cosmos.feegrant.v1beta1/types/google/api/annotations.js +2 -0
  369. package/dist/cosmos.feegrant.v1beta1/types/google/api/http.js +260 -0
  370. package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +99 -0
  371. package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  372. package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +84 -0
  373. package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +84 -0
  374. package/dist/cosmos.feegrant.v1beta1/types.js +5 -0
  375. package/dist/cosmos.gov.v1/index.js +5 -0
  376. package/dist/cosmos.gov.v1/module.js +192 -0
  377. package/dist/cosmos.gov.v1/registry.js +13 -0
  378. package/dist/cosmos.gov.v1/rest.js +242 -0
  379. package/dist/cosmos.gov.v1/types/amino/amino.js +2 -0
  380. package/dist/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  381. package/dist/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +192 -0
  382. package/dist/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +174 -0
  383. package/dist/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +945 -0
  384. package/dist/cosmos.gov.v1/types/cosmos/gov/v1/query.js +928 -0
  385. package/dist/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +701 -0
  386. package/dist/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +2 -0
  387. package/dist/cosmos.gov.v1/types/cosmos_proto/cosmos.js +171 -0
  388. package/dist/cosmos.gov.v1/types/gogoproto/gogo.js +2 -0
  389. package/dist/cosmos.gov.v1/types/google/api/annotations.js +2 -0
  390. package/dist/cosmos.gov.v1/types/google/api/http.js +260 -0
  391. package/dist/cosmos.gov.v1/types/google/protobuf/any.js +99 -0
  392. package/dist/cosmos.gov.v1/types/google/protobuf/descriptor.js +2830 -0
  393. package/dist/cosmos.gov.v1/types/google/protobuf/duration.js +84 -0
  394. package/dist/cosmos.gov.v1/types/google/protobuf/timestamp.js +84 -0
  395. package/dist/cosmos.gov.v1/types.js +10 -0
  396. package/dist/cosmos.gov.v1beta1/index.js +5 -0
  397. package/dist/cosmos.gov.v1beta1/module.js +169 -0
  398. package/dist/cosmos.gov.v1beta1/registry.js +11 -0
  399. package/dist/cosmos.gov.v1beta1/rest.js +242 -0
  400. package/dist/cosmos.gov.v1beta1/types/amino/amino.js +2 -0
  401. package/dist/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  402. package/dist/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  403. package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +162 -0
  404. package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +832 -0
  405. package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +917 -0
  406. package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +467 -0
  407. package/dist/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  408. package/dist/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  409. package/dist/cosmos.gov.v1beta1/types/gogoproto/gogo.js +2 -0
  410. package/dist/cosmos.gov.v1beta1/types/google/api/annotations.js +2 -0
  411. package/dist/cosmos.gov.v1beta1/types/google/api/http.js +260 -0
  412. package/dist/cosmos.gov.v1beta1/types/google/protobuf/any.js +99 -0
  413. package/dist/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  414. package/dist/cosmos.gov.v1beta1/types/google/protobuf/duration.js +84 -0
  415. package/dist/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +84 -0
  416. package/dist/cosmos.gov.v1beta1/types.js +10 -0
  417. package/dist/cosmos.group.v1/index.js +5 -0
  418. package/dist/cosmos.group.v1/module.js +423 -0
  419. package/dist/cosmos.group.v1/registry.js +31 -0
  420. package/dist/cosmos.group.v1/rest.js +366 -0
  421. package/dist/cosmos.group.v1/types/amino/amino.js +2 -0
  422. package/dist/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  423. package/dist/cosmos.group.v1/types/cosmos/group/v1/events.js +497 -0
  424. package/dist/cosmos.group.v1/types/cosmos/group/v1/genesis.js +177 -0
  425. package/dist/cosmos.group.v1/types/cosmos/group/v1/query.js +1578 -0
  426. package/dist/cosmos.group.v1/types/cosmos/group/v1/tx.js +1639 -0
  427. package/dist/cosmos.group.v1/types/cosmos/group/v1/types.js +1125 -0
  428. package/dist/cosmos.group.v1/types/cosmos/msg/v1/msg.js +2 -0
  429. package/dist/cosmos.group.v1/types/cosmos_proto/cosmos.js +171 -0
  430. package/dist/cosmos.group.v1/types/gogoproto/gogo.js +2 -0
  431. package/dist/cosmos.group.v1/types/google/api/annotations.js +2 -0
  432. package/dist/cosmos.group.v1/types/google/api/http.js +260 -0
  433. package/dist/cosmos.group.v1/types/google/protobuf/any.js +99 -0
  434. package/dist/cosmos.group.v1/types/google/protobuf/descriptor.js +2830 -0
  435. package/dist/cosmos.group.v1/types/google/protobuf/duration.js +84 -0
  436. package/dist/cosmos.group.v1/types/google/protobuf/timestamp.js +84 -0
  437. package/dist/cosmos.group.v1/types.js +22 -0
  438. package/dist/cosmos.mint.v1beta1/index.js +5 -0
  439. package/dist/cosmos.mint.v1beta1/module.js +60 -0
  440. package/dist/cosmos.mint.v1beta1/registry.js +2 -0
  441. package/dist/cosmos.mint.v1beta1/rest.js +128 -0
  442. package/dist/cosmos.mint.v1beta1/types/amino/amino.js +2 -0
  443. package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +63 -0
  444. package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +179 -0
  445. package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +298 -0
  446. package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +105 -0
  447. package/dist/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  448. package/dist/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  449. package/dist/cosmos.mint.v1beta1/types/gogoproto/gogo.js +2 -0
  450. package/dist/cosmos.mint.v1beta1/types/google/api/annotations.js +2 -0
  451. package/dist/cosmos.mint.v1beta1/types/google/api/http.js +260 -0
  452. package/dist/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  453. package/dist/cosmos.mint.v1beta1/types.js +3 -0
  454. package/dist/cosmos.nft.v1beta1/index.js +5 -0
  455. package/dist/cosmos.nft.v1beta1/module.js +68 -0
  456. package/dist/cosmos.nft.v1beta1/registry.js +2 -0
  457. package/dist/cosmos.nft.v1beta1/rest.js +187 -0
  458. package/dist/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  459. package/dist/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  460. package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +198 -0
  461. package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +126 -0
  462. package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +183 -0
  463. package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +752 -0
  464. package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +120 -0
  465. package/dist/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  466. package/dist/cosmos.nft.v1beta1/types/google/api/annotations.js +2 -0
  467. package/dist/cosmos.nft.v1beta1/types/google/api/http.js +260 -0
  468. package/dist/cosmos.nft.v1beta1/types/google/protobuf/any.js +99 -0
  469. package/dist/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  470. package/dist/cosmos.nft.v1beta1/types.js +7 -0
  471. package/dist/cosmos.params.v1beta1/index.js +5 -0
  472. package/dist/cosmos.params.v1beta1/module.js +62 -0
  473. package/dist/cosmos.params.v1beta1/registry.js +2 -0
  474. package/dist/cosmos.params.v1beta1/rest.js +116 -0
  475. package/dist/cosmos.params.v1beta1/types/amino/amino.js +2 -0
  476. package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +133 -0
  477. package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +257 -0
  478. package/dist/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  479. package/dist/cosmos.params.v1beta1/types/gogoproto/gogo.js +2 -0
  480. package/dist/cosmos.params.v1beta1/types/google/api/annotations.js +2 -0
  481. package/dist/cosmos.params.v1beta1/types/google/api/http.js +260 -0
  482. package/dist/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  483. package/dist/cosmos.params.v1beta1/types.js +4 -0
  484. package/dist/cosmos.slashing.v1beta1/index.js +5 -0
  485. package/dist/cosmos.slashing.v1beta1/module.js +92 -0
  486. package/dist/cosmos.slashing.v1beta1/registry.js +5 -0
  487. package/dist/cosmos.slashing.v1beta1/rest.js +129 -0
  488. package/dist/cosmos.slashing.v1beta1/types/amino/amino.js +2 -0
  489. package/dist/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  490. package/dist/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  491. package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +279 -0
  492. package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +300 -0
  493. package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +275 -0
  494. package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +185 -0
  495. package/dist/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  496. package/dist/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +2 -0
  497. package/dist/cosmos.slashing.v1beta1/types/google/api/annotations.js +2 -0
  498. package/dist/cosmos.slashing.v1beta1/types/google/api/http.js +260 -0
  499. package/dist/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  500. package/dist/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +84 -0
  501. package/dist/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +84 -0
  502. package/dist/cosmos.slashing.v1beta1/types.js +6 -0
  503. package/dist/cosmos.staking.v1beta1/index.js +5 -0
  504. package/dist/cosmos.staking.v1beta1/module.js +245 -0
  505. package/dist/cosmos.staking.v1beta1/registry.js +15 -0
  506. package/dist/cosmos.staking.v1beta1/rest.js +308 -0
  507. package/dist/cosmos.staking.v1beta1/types/amino/amino.js +2 -0
  508. package/dist/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  509. package/dist/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  510. package/dist/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  511. package/dist/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +2 -0
  512. package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +184 -0
  513. package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +259 -0
  514. package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +1568 -0
  515. package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +1614 -0
  516. package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +861 -0
  517. package/dist/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  518. package/dist/cosmos.staking.v1beta1/types/gogoproto/gogo.js +2 -0
  519. package/dist/cosmos.staking.v1beta1/types/google/api/annotations.js +2 -0
  520. package/dist/cosmos.staking.v1beta1/types/google/api/http.js +260 -0
  521. package/dist/cosmos.staking.v1beta1/types/google/protobuf/any.js +99 -0
  522. package/dist/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  523. package/dist/cosmos.staking.v1beta1/types/google/protobuf/duration.js +84 -0
  524. package/dist/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +84 -0
  525. package/dist/cosmos.staking.v1beta1/types/tendermint/abci/types.js +3812 -0
  526. package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +100 -0
  527. package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +356 -0
  528. package/dist/cosmos.staking.v1beta1/types/tendermint/types/params.js +369 -0
  529. package/dist/cosmos.staking.v1beta1/types/tendermint/types/types.js +1207 -0
  530. package/dist/cosmos.staking.v1beta1/types/tendermint/types/validator.js +254 -0
  531. package/dist/cosmos.staking.v1beta1/types/tendermint/version/types.js +133 -0
  532. package/dist/cosmos.staking.v1beta1/types.js +25 -0
  533. package/dist/cosmos.tx.v1beta1/index.js +5 -0
  534. package/dist/cosmos.tx.v1beta1/module.js +82 -0
  535. package/dist/cosmos.tx.v1beta1/registry.js +2 -0
  536. package/dist/cosmos.tx.v1beta1/rest.js +320 -0
  537. package/dist/cosmos.tx.v1beta1/types/amino/amino.js +2 -0
  538. package/dist/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +803 -0
  539. package/dist/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  540. package/dist/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  541. package/dist/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +147 -0
  542. package/dist/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +449 -0
  543. package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +1160 -0
  544. package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +959 -0
  545. package/dist/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  546. package/dist/cosmos.tx.v1beta1/types/gogoproto/gogo.js +2 -0
  547. package/dist/cosmos.tx.v1beta1/types/google/api/annotations.js +2 -0
  548. package/dist/cosmos.tx.v1beta1/types/google/api/http.js +260 -0
  549. package/dist/cosmos.tx.v1beta1/types/google/protobuf/any.js +99 -0
  550. package/dist/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  551. package/dist/cosmos.tx.v1beta1/types/google/protobuf/duration.js +84 -0
  552. package/dist/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +84 -0
  553. package/dist/cosmos.tx.v1beta1/types/tendermint/abci/types.js +3812 -0
  554. package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +100 -0
  555. package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +356 -0
  556. package/dist/cosmos.tx.v1beta1/types/tendermint/types/block.js +86 -0
  557. package/dist/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +343 -0
  558. package/dist/cosmos.tx.v1beta1/types/tendermint/types/params.js +369 -0
  559. package/dist/cosmos.tx.v1beta1/types/tendermint/types/types.js +1207 -0
  560. package/dist/cosmos.tx.v1beta1/types/tendermint/types/validator.js +254 -0
  561. package/dist/cosmos.tx.v1beta1/types/tendermint/version/types.js +133 -0
  562. package/dist/cosmos.tx.v1beta1/types.js +14 -0
  563. package/dist/cosmos.upgrade.v1beta1/index.js +5 -0
  564. package/dist/cosmos.upgrade.v1beta1/module.js +113 -0
  565. package/dist/cosmos.upgrade.v1beta1/registry.js +7 -0
  566. package/dist/cosmos.upgrade.v1beta1/rest.js +162 -0
  567. package/dist/cosmos.upgrade.v1beta1/types/amino/amino.js +2 -0
  568. package/dist/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  569. package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +501 -0
  570. package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +183 -0
  571. package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  572. package/dist/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  573. package/dist/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +2 -0
  574. package/dist/cosmos.upgrade.v1beta1/types/google/api/annotations.js +2 -0
  575. package/dist/cosmos.upgrade.v1beta1/types/google/api/http.js +260 -0
  576. package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +99 -0
  577. package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  578. package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +84 -0
  579. package/dist/cosmos.upgrade.v1beta1/types.js +5 -0
  580. package/dist/cosmos.vesting.v1beta1/index.js +5 -0
  581. package/dist/cosmos.vesting.v1beta1/module.js +140 -0
  582. package/dist/cosmos.vesting.v1beta1/registry.js +9 -0
  583. package/dist/cosmos.vesting.v1beta1/rest.js +83 -0
  584. package/dist/cosmos.vesting.v1beta1/types/amino/amino.js +2 -0
  585. package/dist/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +344 -0
  586. package/dist/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
  587. package/dist/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
  588. package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +383 -0
  589. package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +422 -0
  590. package/dist/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +171 -0
  591. package/dist/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +2 -0
  592. package/dist/cosmos.vesting.v1beta1/types/google/protobuf/any.js +99 -0
  593. package/dist/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +2830 -0
  594. package/dist/cosmos.vesting.v1beta1/types.js +7 -0
  595. package/dist/env.js +1 -0
  596. package/dist/helpers.js +11 -0
  597. package/dist/ibc.applications.interchain_accounts.controller.v1/index.js +5 -0
  598. package/dist/ibc.applications.interchain_accounts.controller.v1/module.js +58 -0
  599. package/dist/ibc.applications.interchain_accounts.controller.v1/registry.js +2 -0
  600. package/dist/ibc.applications.interchain_accounts.controller.v1/rest.js +123 -0
  601. package/dist/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +2 -0
  602. package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +2 -0
  603. package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +260 -0
  604. package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.js +99 -0
  605. package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +2830 -0
  606. package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +47 -0
  607. package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +193 -0
  608. package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +277 -0
  609. package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +192 -0
  610. package/dist/ibc.applications.interchain_accounts.controller.v1/types.js +2 -0
  611. package/dist/ibc.applications.interchain_accounts.host.v1/index.js +5 -0
  612. package/dist/ibc.applications.interchain_accounts.host.v1/module.js +58 -0
  613. package/dist/ibc.applications.interchain_accounts.host.v1/registry.js +2 -0
  614. package/dist/ibc.applications.interchain_accounts.host.v1/rest.js +100 -0
  615. package/dist/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +2 -0
  616. package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +2 -0
  617. package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +260 -0
  618. package/dist/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +2830 -0
  619. package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +63 -0
  620. package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +94 -0
  621. package/dist/ibc.applications.interchain_accounts.host.v1/types.js +2 -0
  622. package/dist/ibc.applications.transfer.v1/index.js +5 -0
  623. package/dist/ibc.applications.transfer.v1/module.js +64 -0
  624. package/dist/ibc.applications.transfer.v1/registry.js +2 -0
  625. package/dist/ibc.applications.transfer.v1/rest.js +171 -0
  626. package/dist/ibc.applications.transfer.v1/types/amino/amino.js +2 -0
  627. package/dist/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  628. package/dist/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +192 -0
  629. package/dist/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  630. package/dist/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +171 -0
  631. package/dist/ibc.applications.transfer.v1/types/gogoproto/gogo.js +2 -0
  632. package/dist/ibc.applications.transfer.v1/types/google/api/annotations.js +2 -0
  633. package/dist/ibc.applications.transfer.v1/types/google/api/http.js +260 -0
  634. package/dist/ibc.applications.transfer.v1/types/google/protobuf/any.js +99 -0
  635. package/dist/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +2830 -0
  636. package/dist/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +84 -0
  637. package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +135 -0
  638. package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +90 -0
  639. package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +574 -0
  640. package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +110 -0
  641. package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +204 -0
  642. package/dist/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +448 -0
  643. package/dist/ibc.applications.transfer.v1/types.js +5 -0
  644. package/dist/ibc.core.channel.v1/index.js +5 -0
  645. package/dist/ibc.core.channel.v1/module.js +72 -0
  646. package/dist/ibc.core.channel.v1/registry.js +2 -0
  647. package/dist/ibc.core.channel.v1/rest.js +323 -0
  648. package/dist/ibc.core.channel.v1/types/amino/amino.js +2 -0
  649. package/dist/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  650. package/dist/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  651. package/dist/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +171 -0
  652. package/dist/ibc.core.channel.v1/types/gogoproto/gogo.js +2 -0
  653. package/dist/ibc.core.channel.v1/types/google/api/annotations.js +2 -0
  654. package/dist/ibc.core.channel.v1/types/google/api/http.js +260 -0
  655. package/dist/ibc.core.channel.v1/types/google/protobuf/any.js +99 -0
  656. package/dist/ibc.core.channel.v1/types/google/protobuf/descriptor.js +2830 -0
  657. package/dist/ibc.core.channel.v1/types/google/protobuf/timestamp.js +84 -0
  658. package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +714 -0
  659. package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +254 -0
  660. package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +1866 -0
  661. package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +1436 -0
  662. package/dist/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +448 -0
  663. package/dist/ibc.core.channel.v1/types.js +9 -0
  664. package/dist/ibc.core.client.v1/index.js +5 -0
  665. package/dist/ibc.core.client.v1/module.js +74 -0
  666. package/dist/ibc.core.client.v1/registry.js +2 -0
  667. package/dist/ibc.core.client.v1/rest.js +218 -0
  668. package/dist/ibc.core.client.v1/types/amino/amino.js +2 -0
  669. package/dist/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  670. package/dist/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  671. package/dist/ibc.core.client.v1/types/cosmos_proto/cosmos.js +171 -0
  672. package/dist/ibc.core.client.v1/types/gogoproto/gogo.js +2 -0
  673. package/dist/ibc.core.client.v1/types/google/api/annotations.js +2 -0
  674. package/dist/ibc.core.client.v1/types/google/api/http.js +260 -0
  675. package/dist/ibc.core.client.v1/types/google/protobuf/any.js +99 -0
  676. package/dist/ibc.core.client.v1/types/google/protobuf/descriptor.js +2830 -0
  677. package/dist/ibc.core.client.v1/types/google/protobuf/timestamp.js +84 -0
  678. package/dist/ibc.core.client.v1/types/ibc/core/client/v1/client.js +448 -0
  679. package/dist/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +287 -0
  680. package/dist/ibc.core.client.v1/types/ibc/core/client/v1/query.js +1026 -0
  681. package/dist/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +510 -0
  682. package/dist/ibc.core.client.v1/types.js +10 -0
  683. package/dist/ibc.core.connection.v1/index.js +5 -0
  684. package/dist/ibc.core.connection.v1/module.js +70 -0
  685. package/dist/ibc.core.connection.v1/registry.js +2 -0
  686. package/dist/ibc.core.connection.v1/rest.js +191 -0
  687. package/dist/ibc.core.connection.v1/types/amino/amino.js +2 -0
  688. package/dist/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  689. package/dist/ibc.core.connection.v1/types/cosmos/ics23/v1/proofs.js +1126 -0
  690. package/dist/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
  691. package/dist/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +171 -0
  692. package/dist/ibc.core.connection.v1/types/gogoproto/gogo.js +2 -0
  693. package/dist/ibc.core.connection.v1/types/google/api/annotations.js +2 -0
  694. package/dist/ibc.core.connection.v1/types/google/api/http.js +260 -0
  695. package/dist/ibc.core.connection.v1/types/google/protobuf/any.js +99 -0
  696. package/dist/ibc.core.connection.v1/types/google/protobuf/descriptor.js +2830 -0
  697. package/dist/ibc.core.connection.v1/types/google/protobuf/timestamp.js +84 -0
  698. package/dist/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +448 -0
  699. package/dist/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +223 -0
  700. package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +537 -0
  701. package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +120 -0
  702. package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +766 -0
  703. package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +731 -0
  704. package/dist/ibc.core.connection.v1/types.js +8 -0
  705. package/dist/iconlake.drop/index.js +5 -0
  706. package/dist/iconlake.drop/module.js +86 -0
  707. package/dist/iconlake.drop/registry.js +5 -0
  708. package/dist/iconlake.drop/rest.js +128 -0
  709. package/dist/iconlake.drop/types/amino/amino.js +2 -0
  710. package/dist/iconlake.drop/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  711. package/dist/iconlake.drop/types/cosmos/base/v1beta1/coin.js +192 -0
  712. package/dist/iconlake.drop/types/cosmos_proto/cosmos.js +171 -0
  713. package/dist/iconlake.drop/types/gogoproto/gogo.js +2 -0
  714. package/dist/iconlake.drop/types/google/api/annotations.js +2 -0
  715. package/dist/iconlake.drop/types/google/api/http.js +260 -0
  716. package/dist/iconlake.drop/types/google/protobuf/descriptor.js +2830 -0
  717. package/dist/iconlake.drop/types/iconlake/drop/genesis.js +67 -0
  718. package/dist/iconlake.drop/types/iconlake/drop/info.js +84 -0
  719. package/dist/iconlake.drop/types/iconlake/drop/params.js +36 -0
  720. package/dist/iconlake.drop/types/iconlake/drop/query.js +294 -0
  721. package/dist/iconlake.drop/types/iconlake/drop/tx.js +152 -0
  722. package/dist/iconlake.drop/types.js +3 -0
  723. package/dist/iconlake.icon/index.js +5 -0
  724. package/dist/iconlake.icon/module.js +88 -0
  725. package/dist/iconlake.icon/registry.js +5 -0
  726. package/dist/iconlake.icon/rest.js +115 -0
  727. package/dist/iconlake.icon/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  728. package/dist/iconlake.icon/types/gogoproto/gogo.js +2 -0
  729. package/dist/iconlake.icon/types/google/api/annotations.js +2 -0
  730. package/dist/iconlake.icon/types/google/api/http.js +260 -0
  731. package/dist/iconlake.icon/types/google/protobuf/descriptor.js +2830 -0
  732. package/dist/iconlake.icon/types/iconlake/icon/class_data.js +58 -0
  733. package/dist/iconlake.icon/types/iconlake/icon/genesis.js +50 -0
  734. package/dist/iconlake.icon/types/iconlake/icon/icon_data.js +76 -0
  735. package/dist/iconlake.icon/types/iconlake/icon/params.js +36 -0
  736. package/dist/iconlake.icon/types/iconlake/icon/query.js +204 -0
  737. package/dist/iconlake.icon/types/iconlake/icon/tx.js +174 -0
  738. package/dist/iconlake.icon/types.js +4 -0
  739. package/dist/iconlake.iconlake/index.js +5 -0
  740. package/dist/iconlake.iconlake/module.js +86 -0
  741. package/dist/iconlake.iconlake/registry.js +5 -0
  742. package/dist/iconlake.iconlake/rest.js +128 -0
  743. package/dist/iconlake.iconlake/types/amino/amino.js +2 -0
  744. package/dist/iconlake.iconlake/types/cosmos/base/query/v1beta1/pagination.js +190 -0
  745. package/dist/iconlake.iconlake/types/cosmos/base/v1beta1/coin.js +192 -0
  746. package/dist/iconlake.iconlake/types/cosmos_proto/cosmos.js +171 -0
  747. package/dist/iconlake.iconlake/types/gogoproto/gogo.js +2 -0
  748. package/dist/iconlake.iconlake/types/google/api/annotations.js +2 -0
  749. package/dist/iconlake.iconlake/types/google/api/http.js +260 -0
  750. package/dist/iconlake.iconlake/types/google/protobuf/descriptor.js +2830 -0
  751. package/dist/iconlake.iconlake/types/iconlake/iconlake/account.js +84 -0
  752. package/dist/iconlake.iconlake/types/iconlake/iconlake/genesis.js +67 -0
  753. package/dist/iconlake.iconlake/types/iconlake/iconlake/params.js +36 -0
  754. package/dist/iconlake.iconlake/types/iconlake/iconlake/query.js +296 -0
  755. package/dist/iconlake.iconlake/types/iconlake/iconlake/tx.js +113 -0
  756. package/dist/iconlake.iconlake/types.js +3 -0
  757. package/dist/index.js +68 -0
  758. package/dist/modules.js +1 -0
  759. package/env.ts +0 -0
  760. package/helpers.ts +0 -0
  761. package/ibc.applications.interchain_accounts.controller.v1/index.ts +0 -0
  762. package/ibc.applications.interchain_accounts.controller.v1/module.ts +0 -0
  763. package/ibc.applications.interchain_accounts.controller.v1/registry.ts +0 -0
  764. package/ibc.applications.interchain_accounts.controller.v1/rest.ts +1 -0
  765. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +16 -4
  766. package/ibc.applications.interchain_accounts.controller.v1/types.ts +0 -0
  767. package/ibc.applications.interchain_accounts.host.v1/index.ts +0 -0
  768. package/ibc.applications.interchain_accounts.host.v1/module.ts +0 -0
  769. package/ibc.applications.interchain_accounts.host.v1/registry.ts +0 -0
  770. package/ibc.applications.interchain_accounts.host.v1/types.ts +0 -0
  771. package/ibc.applications.transfer.v1/index.ts +0 -0
  772. package/ibc.applications.transfer.v1/module.ts +5 -34
  773. package/ibc.applications.transfer.v1/registry.ts +0 -2
  774. package/ibc.applications.transfer.v1/rest.ts +30 -1
  775. package/ibc.applications.transfer.v1/types/amino/amino.ts +2 -0
  776. package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  777. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +178 -0
  778. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +23 -2
  779. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +120 -0
  780. package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +5 -1
  781. package/ibc.applications.transfer.v1/types.ts +4 -0
  782. package/ibc.core.channel.v1/index.ts +0 -0
  783. package/ibc.core.channel.v1/module.ts +0 -0
  784. package/ibc.core.channel.v1/registry.ts +0 -0
  785. package/ibc.core.channel.v1/rest.ts +1 -0
  786. package/ibc.core.channel.v1/types/amino/amino.ts +2 -0
  787. package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  788. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +14 -2
  789. package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +5 -1
  790. package/ibc.core.channel.v1/types.ts +0 -0
  791. package/ibc.core.client.v1/index.ts +0 -0
  792. package/ibc.core.client.v1/module.ts +0 -0
  793. package/ibc.core.client.v1/registry.ts +0 -0
  794. package/ibc.core.client.v1/rest.ts +5 -1
  795. package/ibc.core.client.v1/types/amino/amino.ts +2 -0
  796. package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  797. package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +5 -1
  798. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +28 -14
  799. package/ibc.core.client.v1/types.ts +0 -0
  800. package/ibc.core.connection.v1/index.ts +0 -0
  801. package/ibc.core.connection.v1/module.ts +0 -0
  802. package/ibc.core.connection.v1/registry.ts +0 -0
  803. package/ibc.core.connection.v1/types/amino/amino.ts +2 -0
  804. package/ibc.core.connection.v1/types/{proofs.ts → cosmos/ics23/v1/proofs.ts} +1 -1
  805. package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
  806. package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +5 -1
  807. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
  808. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +34 -0
  809. package/ibc.core.connection.v1/types.ts +0 -0
  810. package/iconlake.drop/index.ts +6 -0
  811. package/iconlake.drop/module.ts +133 -0
  812. package/iconlake.drop/registry.ts +9 -0
  813. package/iconlake.drop/rest.ts +339 -0
  814. package/iconlake.drop/types/amino/amino.ts +2 -0
  815. package/iconlake.drop/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
  816. package/iconlake.drop/types/cosmos/base/v1beta1/coin.ts +261 -0
  817. package/iconlake.drop/types/cosmos_proto/cosmos.ts +247 -0
  818. package/iconlake.drop/types/gogoproto/gogo.ts +2 -0
  819. package/iconlake.drop/types/google/api/annotations.ts +2 -0
  820. package/iconlake.drop/types/google/api/http.ts +589 -0
  821. package/iconlake.drop/types/google/protobuf/descriptor.ts +3753 -0
  822. package/iconlake.drop/types/iconlake/drop/genesis.ts +91 -0
  823. package/iconlake.drop/types/iconlake/drop/info.ts +114 -0
  824. package/iconlake.drop/types/iconlake/drop/params.ts +58 -0
  825. package/iconlake.drop/types/iconlake/drop/query.ts +386 -0
  826. package/iconlake.drop/types/iconlake/drop/tx.ts +204 -0
  827. package/iconlake.drop/types.ts +9 -0
  828. package/iconlake.icon/index.ts +0 -0
  829. package/iconlake.icon/module.ts +2 -2
  830. package/iconlake.icon/registry.ts +0 -0
  831. package/iconlake.icon/rest.ts +6 -5
  832. package/iconlake.icon/types/iconlake/icon/class_data.ts +82 -0
  833. package/iconlake.icon/types/iconlake/icon/icon_data.ts +102 -0
  834. package/iconlake.icon/types/iconlake/icon/tx.ts +1 -146
  835. package/iconlake.icon/types.ts +3 -3
  836. package/iconlake.iconlake/index.ts +0 -0
  837. package/iconlake.iconlake/module.ts +0 -0
  838. package/iconlake.iconlake/registry.ts +0 -0
  839. package/iconlake.iconlake/rest.ts +2 -14
  840. package/iconlake.iconlake/types/amino/amino.ts +2 -0
  841. package/iconlake.iconlake/types/iconlake/iconlake/account.ts +10 -36
  842. package/iconlake.iconlake/types/iconlake/iconlake/tx.ts +8 -64
  843. package/iconlake.iconlake/types.ts +0 -0
  844. package/index.ts +5 -3
  845. package/modules.ts +0 -0
  846. package/package.json +15 -8
  847. package/tsconfig.json +11 -11
  848. package/types.d.ts +0 -0
@@ -0,0 +1,917 @@
1
+ /* eslint-disable */
2
+ import Long from "long";
3
+ import _m0 from "protobufjs/minimal";
4
+ import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
5
+ import { Deposit, DepositParams, Proposal, proposalStatusFromJSON, proposalStatusToJSON, TallyParams, TallyResult, Vote, VotingParams, } from "./gov";
6
+ export const protobufPackage = "cosmos.gov.v1beta1";
7
+ function createBaseQueryProposalRequest() {
8
+ return { proposalId: 0 };
9
+ }
10
+ export const QueryProposalRequest = {
11
+ encode(message, writer = _m0.Writer.create()) {
12
+ if (message.proposalId !== 0) {
13
+ writer.uint32(8).uint64(message.proposalId);
14
+ }
15
+ return writer;
16
+ },
17
+ decode(input, length) {
18
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
19
+ let end = length === undefined ? reader.len : reader.pos + length;
20
+ const message = createBaseQueryProposalRequest();
21
+ while (reader.pos < end) {
22
+ const tag = reader.uint32();
23
+ switch (tag >>> 3) {
24
+ case 1:
25
+ message.proposalId = longToNumber(reader.uint64());
26
+ break;
27
+ default:
28
+ reader.skipType(tag & 7);
29
+ break;
30
+ }
31
+ }
32
+ return message;
33
+ },
34
+ fromJSON(object) {
35
+ return { proposalId: isSet(object.proposalId) ? Number(object.proposalId) : 0 };
36
+ },
37
+ toJSON(message) {
38
+ const obj = {};
39
+ message.proposalId !== undefined && (obj.proposalId = Math.round(message.proposalId));
40
+ return obj;
41
+ },
42
+ fromPartial(object) {
43
+ const message = createBaseQueryProposalRequest();
44
+ message.proposalId = object.proposalId ?? 0;
45
+ return message;
46
+ },
47
+ };
48
+ function createBaseQueryProposalResponse() {
49
+ return { proposal: undefined };
50
+ }
51
+ export const QueryProposalResponse = {
52
+ encode(message, writer = _m0.Writer.create()) {
53
+ if (message.proposal !== undefined) {
54
+ Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim();
55
+ }
56
+ return writer;
57
+ },
58
+ decode(input, length) {
59
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
60
+ let end = length === undefined ? reader.len : reader.pos + length;
61
+ const message = createBaseQueryProposalResponse();
62
+ while (reader.pos < end) {
63
+ const tag = reader.uint32();
64
+ switch (tag >>> 3) {
65
+ case 1:
66
+ message.proposal = Proposal.decode(reader, reader.uint32());
67
+ break;
68
+ default:
69
+ reader.skipType(tag & 7);
70
+ break;
71
+ }
72
+ }
73
+ return message;
74
+ },
75
+ fromJSON(object) {
76
+ return { proposal: isSet(object.proposal) ? Proposal.fromJSON(object.proposal) : undefined };
77
+ },
78
+ toJSON(message) {
79
+ const obj = {};
80
+ message.proposal !== undefined && (obj.proposal = message.proposal ? Proposal.toJSON(message.proposal) : undefined);
81
+ return obj;
82
+ },
83
+ fromPartial(object) {
84
+ const message = createBaseQueryProposalResponse();
85
+ message.proposal = (object.proposal !== undefined && object.proposal !== null)
86
+ ? Proposal.fromPartial(object.proposal)
87
+ : undefined;
88
+ return message;
89
+ },
90
+ };
91
+ function createBaseQueryProposalsRequest() {
92
+ return { proposalStatus: 0, voter: "", depositor: "", pagination: undefined };
93
+ }
94
+ export const QueryProposalsRequest = {
95
+ encode(message, writer = _m0.Writer.create()) {
96
+ if (message.proposalStatus !== 0) {
97
+ writer.uint32(8).int32(message.proposalStatus);
98
+ }
99
+ if (message.voter !== "") {
100
+ writer.uint32(18).string(message.voter);
101
+ }
102
+ if (message.depositor !== "") {
103
+ writer.uint32(26).string(message.depositor);
104
+ }
105
+ if (message.pagination !== undefined) {
106
+ PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim();
107
+ }
108
+ return writer;
109
+ },
110
+ decode(input, length) {
111
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
112
+ let end = length === undefined ? reader.len : reader.pos + length;
113
+ const message = createBaseQueryProposalsRequest();
114
+ while (reader.pos < end) {
115
+ const tag = reader.uint32();
116
+ switch (tag >>> 3) {
117
+ case 1:
118
+ message.proposalStatus = reader.int32();
119
+ break;
120
+ case 2:
121
+ message.voter = reader.string();
122
+ break;
123
+ case 3:
124
+ message.depositor = reader.string();
125
+ break;
126
+ case 4:
127
+ message.pagination = PageRequest.decode(reader, reader.uint32());
128
+ break;
129
+ default:
130
+ reader.skipType(tag & 7);
131
+ break;
132
+ }
133
+ }
134
+ return message;
135
+ },
136
+ fromJSON(object) {
137
+ return {
138
+ proposalStatus: isSet(object.proposalStatus) ? proposalStatusFromJSON(object.proposalStatus) : 0,
139
+ voter: isSet(object.voter) ? String(object.voter) : "",
140
+ depositor: isSet(object.depositor) ? String(object.depositor) : "",
141
+ pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined,
142
+ };
143
+ },
144
+ toJSON(message) {
145
+ const obj = {};
146
+ message.proposalStatus !== undefined && (obj.proposalStatus = proposalStatusToJSON(message.proposalStatus));
147
+ message.voter !== undefined && (obj.voter = message.voter);
148
+ message.depositor !== undefined && (obj.depositor = message.depositor);
149
+ message.pagination !== undefined
150
+ && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
151
+ return obj;
152
+ },
153
+ fromPartial(object) {
154
+ const message = createBaseQueryProposalsRequest();
155
+ message.proposalStatus = object.proposalStatus ?? 0;
156
+ message.voter = object.voter ?? "";
157
+ message.depositor = object.depositor ?? "";
158
+ message.pagination = (object.pagination !== undefined && object.pagination !== null)
159
+ ? PageRequest.fromPartial(object.pagination)
160
+ : undefined;
161
+ return message;
162
+ },
163
+ };
164
+ function createBaseQueryProposalsResponse() {
165
+ return { proposals: [], pagination: undefined };
166
+ }
167
+ export const QueryProposalsResponse = {
168
+ encode(message, writer = _m0.Writer.create()) {
169
+ for (const v of message.proposals) {
170
+ Proposal.encode(v, writer.uint32(10).fork()).ldelim();
171
+ }
172
+ if (message.pagination !== undefined) {
173
+ PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
174
+ }
175
+ return writer;
176
+ },
177
+ decode(input, length) {
178
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
179
+ let end = length === undefined ? reader.len : reader.pos + length;
180
+ const message = createBaseQueryProposalsResponse();
181
+ while (reader.pos < end) {
182
+ const tag = reader.uint32();
183
+ switch (tag >>> 3) {
184
+ case 1:
185
+ message.proposals.push(Proposal.decode(reader, reader.uint32()));
186
+ break;
187
+ case 2:
188
+ message.pagination = PageResponse.decode(reader, reader.uint32());
189
+ break;
190
+ default:
191
+ reader.skipType(tag & 7);
192
+ break;
193
+ }
194
+ }
195
+ return message;
196
+ },
197
+ fromJSON(object) {
198
+ return {
199
+ proposals: Array.isArray(object?.proposals) ? object.proposals.map((e) => Proposal.fromJSON(e)) : [],
200
+ pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
201
+ };
202
+ },
203
+ toJSON(message) {
204
+ const obj = {};
205
+ if (message.proposals) {
206
+ obj.proposals = message.proposals.map((e) => e ? Proposal.toJSON(e) : undefined);
207
+ }
208
+ else {
209
+ obj.proposals = [];
210
+ }
211
+ message.pagination !== undefined
212
+ && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
213
+ return obj;
214
+ },
215
+ fromPartial(object) {
216
+ const message = createBaseQueryProposalsResponse();
217
+ message.proposals = object.proposals?.map((e) => Proposal.fromPartial(e)) || [];
218
+ message.pagination = (object.pagination !== undefined && object.pagination !== null)
219
+ ? PageResponse.fromPartial(object.pagination)
220
+ : undefined;
221
+ return message;
222
+ },
223
+ };
224
+ function createBaseQueryVoteRequest() {
225
+ return { proposalId: 0, voter: "" };
226
+ }
227
+ export const QueryVoteRequest = {
228
+ encode(message, writer = _m0.Writer.create()) {
229
+ if (message.proposalId !== 0) {
230
+ writer.uint32(8).uint64(message.proposalId);
231
+ }
232
+ if (message.voter !== "") {
233
+ writer.uint32(18).string(message.voter);
234
+ }
235
+ return writer;
236
+ },
237
+ decode(input, length) {
238
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
239
+ let end = length === undefined ? reader.len : reader.pos + length;
240
+ const message = createBaseQueryVoteRequest();
241
+ while (reader.pos < end) {
242
+ const tag = reader.uint32();
243
+ switch (tag >>> 3) {
244
+ case 1:
245
+ message.proposalId = longToNumber(reader.uint64());
246
+ break;
247
+ case 2:
248
+ message.voter = reader.string();
249
+ break;
250
+ default:
251
+ reader.skipType(tag & 7);
252
+ break;
253
+ }
254
+ }
255
+ return message;
256
+ },
257
+ fromJSON(object) {
258
+ return {
259
+ proposalId: isSet(object.proposalId) ? Number(object.proposalId) : 0,
260
+ voter: isSet(object.voter) ? String(object.voter) : "",
261
+ };
262
+ },
263
+ toJSON(message) {
264
+ const obj = {};
265
+ message.proposalId !== undefined && (obj.proposalId = Math.round(message.proposalId));
266
+ message.voter !== undefined && (obj.voter = message.voter);
267
+ return obj;
268
+ },
269
+ fromPartial(object) {
270
+ const message = createBaseQueryVoteRequest();
271
+ message.proposalId = object.proposalId ?? 0;
272
+ message.voter = object.voter ?? "";
273
+ return message;
274
+ },
275
+ };
276
+ function createBaseQueryVoteResponse() {
277
+ return { vote: undefined };
278
+ }
279
+ export const QueryVoteResponse = {
280
+ encode(message, writer = _m0.Writer.create()) {
281
+ if (message.vote !== undefined) {
282
+ Vote.encode(message.vote, writer.uint32(10).fork()).ldelim();
283
+ }
284
+ return writer;
285
+ },
286
+ decode(input, length) {
287
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
288
+ let end = length === undefined ? reader.len : reader.pos + length;
289
+ const message = createBaseQueryVoteResponse();
290
+ while (reader.pos < end) {
291
+ const tag = reader.uint32();
292
+ switch (tag >>> 3) {
293
+ case 1:
294
+ message.vote = Vote.decode(reader, reader.uint32());
295
+ break;
296
+ default:
297
+ reader.skipType(tag & 7);
298
+ break;
299
+ }
300
+ }
301
+ return message;
302
+ },
303
+ fromJSON(object) {
304
+ return { vote: isSet(object.vote) ? Vote.fromJSON(object.vote) : undefined };
305
+ },
306
+ toJSON(message) {
307
+ const obj = {};
308
+ message.vote !== undefined && (obj.vote = message.vote ? Vote.toJSON(message.vote) : undefined);
309
+ return obj;
310
+ },
311
+ fromPartial(object) {
312
+ const message = createBaseQueryVoteResponse();
313
+ message.vote = (object.vote !== undefined && object.vote !== null) ? Vote.fromPartial(object.vote) : undefined;
314
+ return message;
315
+ },
316
+ };
317
+ function createBaseQueryVotesRequest() {
318
+ return { proposalId: 0, pagination: undefined };
319
+ }
320
+ export const QueryVotesRequest = {
321
+ encode(message, writer = _m0.Writer.create()) {
322
+ if (message.proposalId !== 0) {
323
+ writer.uint32(8).uint64(message.proposalId);
324
+ }
325
+ if (message.pagination !== undefined) {
326
+ PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
327
+ }
328
+ return writer;
329
+ },
330
+ decode(input, length) {
331
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
332
+ let end = length === undefined ? reader.len : reader.pos + length;
333
+ const message = createBaseQueryVotesRequest();
334
+ while (reader.pos < end) {
335
+ const tag = reader.uint32();
336
+ switch (tag >>> 3) {
337
+ case 1:
338
+ message.proposalId = longToNumber(reader.uint64());
339
+ break;
340
+ case 2:
341
+ message.pagination = PageRequest.decode(reader, reader.uint32());
342
+ break;
343
+ default:
344
+ reader.skipType(tag & 7);
345
+ break;
346
+ }
347
+ }
348
+ return message;
349
+ },
350
+ fromJSON(object) {
351
+ return {
352
+ proposalId: isSet(object.proposalId) ? Number(object.proposalId) : 0,
353
+ pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined,
354
+ };
355
+ },
356
+ toJSON(message) {
357
+ const obj = {};
358
+ message.proposalId !== undefined && (obj.proposalId = Math.round(message.proposalId));
359
+ message.pagination !== undefined
360
+ && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
361
+ return obj;
362
+ },
363
+ fromPartial(object) {
364
+ const message = createBaseQueryVotesRequest();
365
+ message.proposalId = object.proposalId ?? 0;
366
+ message.pagination = (object.pagination !== undefined && object.pagination !== null)
367
+ ? PageRequest.fromPartial(object.pagination)
368
+ : undefined;
369
+ return message;
370
+ },
371
+ };
372
+ function createBaseQueryVotesResponse() {
373
+ return { votes: [], pagination: undefined };
374
+ }
375
+ export const QueryVotesResponse = {
376
+ encode(message, writer = _m0.Writer.create()) {
377
+ for (const v of message.votes) {
378
+ Vote.encode(v, writer.uint32(10).fork()).ldelim();
379
+ }
380
+ if (message.pagination !== undefined) {
381
+ PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
382
+ }
383
+ return writer;
384
+ },
385
+ decode(input, length) {
386
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
387
+ let end = length === undefined ? reader.len : reader.pos + length;
388
+ const message = createBaseQueryVotesResponse();
389
+ while (reader.pos < end) {
390
+ const tag = reader.uint32();
391
+ switch (tag >>> 3) {
392
+ case 1:
393
+ message.votes.push(Vote.decode(reader, reader.uint32()));
394
+ break;
395
+ case 2:
396
+ message.pagination = PageResponse.decode(reader, reader.uint32());
397
+ break;
398
+ default:
399
+ reader.skipType(tag & 7);
400
+ break;
401
+ }
402
+ }
403
+ return message;
404
+ },
405
+ fromJSON(object) {
406
+ return {
407
+ votes: Array.isArray(object?.votes) ? object.votes.map((e) => Vote.fromJSON(e)) : [],
408
+ pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
409
+ };
410
+ },
411
+ toJSON(message) {
412
+ const obj = {};
413
+ if (message.votes) {
414
+ obj.votes = message.votes.map((e) => e ? Vote.toJSON(e) : undefined);
415
+ }
416
+ else {
417
+ obj.votes = [];
418
+ }
419
+ message.pagination !== undefined
420
+ && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
421
+ return obj;
422
+ },
423
+ fromPartial(object) {
424
+ const message = createBaseQueryVotesResponse();
425
+ message.votes = object.votes?.map((e) => Vote.fromPartial(e)) || [];
426
+ message.pagination = (object.pagination !== undefined && object.pagination !== null)
427
+ ? PageResponse.fromPartial(object.pagination)
428
+ : undefined;
429
+ return message;
430
+ },
431
+ };
432
+ function createBaseQueryParamsRequest() {
433
+ return { paramsType: "" };
434
+ }
435
+ export const QueryParamsRequest = {
436
+ encode(message, writer = _m0.Writer.create()) {
437
+ if (message.paramsType !== "") {
438
+ writer.uint32(10).string(message.paramsType);
439
+ }
440
+ return writer;
441
+ },
442
+ decode(input, length) {
443
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
444
+ let end = length === undefined ? reader.len : reader.pos + length;
445
+ const message = createBaseQueryParamsRequest();
446
+ while (reader.pos < end) {
447
+ const tag = reader.uint32();
448
+ switch (tag >>> 3) {
449
+ case 1:
450
+ message.paramsType = reader.string();
451
+ break;
452
+ default:
453
+ reader.skipType(tag & 7);
454
+ break;
455
+ }
456
+ }
457
+ return message;
458
+ },
459
+ fromJSON(object) {
460
+ return { paramsType: isSet(object.paramsType) ? String(object.paramsType) : "" };
461
+ },
462
+ toJSON(message) {
463
+ const obj = {};
464
+ message.paramsType !== undefined && (obj.paramsType = message.paramsType);
465
+ return obj;
466
+ },
467
+ fromPartial(object) {
468
+ const message = createBaseQueryParamsRequest();
469
+ message.paramsType = object.paramsType ?? "";
470
+ return message;
471
+ },
472
+ };
473
+ function createBaseQueryParamsResponse() {
474
+ return { votingParams: undefined, depositParams: undefined, tallyParams: undefined };
475
+ }
476
+ export const QueryParamsResponse = {
477
+ encode(message, writer = _m0.Writer.create()) {
478
+ if (message.votingParams !== undefined) {
479
+ VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim();
480
+ }
481
+ if (message.depositParams !== undefined) {
482
+ DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim();
483
+ }
484
+ if (message.tallyParams !== undefined) {
485
+ TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim();
486
+ }
487
+ return writer;
488
+ },
489
+ decode(input, length) {
490
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
491
+ let end = length === undefined ? reader.len : reader.pos + length;
492
+ const message = createBaseQueryParamsResponse();
493
+ while (reader.pos < end) {
494
+ const tag = reader.uint32();
495
+ switch (tag >>> 3) {
496
+ case 1:
497
+ message.votingParams = VotingParams.decode(reader, reader.uint32());
498
+ break;
499
+ case 2:
500
+ message.depositParams = DepositParams.decode(reader, reader.uint32());
501
+ break;
502
+ case 3:
503
+ message.tallyParams = TallyParams.decode(reader, reader.uint32());
504
+ break;
505
+ default:
506
+ reader.skipType(tag & 7);
507
+ break;
508
+ }
509
+ }
510
+ return message;
511
+ },
512
+ fromJSON(object) {
513
+ return {
514
+ votingParams: isSet(object.votingParams) ? VotingParams.fromJSON(object.votingParams) : undefined,
515
+ depositParams: isSet(object.depositParams) ? DepositParams.fromJSON(object.depositParams) : undefined,
516
+ tallyParams: isSet(object.tallyParams) ? TallyParams.fromJSON(object.tallyParams) : undefined,
517
+ };
518
+ },
519
+ toJSON(message) {
520
+ const obj = {};
521
+ message.votingParams !== undefined
522
+ && (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined);
523
+ message.depositParams !== undefined
524
+ && (obj.depositParams = message.depositParams ? DepositParams.toJSON(message.depositParams) : undefined);
525
+ message.tallyParams !== undefined
526
+ && (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined);
527
+ return obj;
528
+ },
529
+ fromPartial(object) {
530
+ const message = createBaseQueryParamsResponse();
531
+ message.votingParams = (object.votingParams !== undefined && object.votingParams !== null)
532
+ ? VotingParams.fromPartial(object.votingParams)
533
+ : undefined;
534
+ message.depositParams = (object.depositParams !== undefined && object.depositParams !== null)
535
+ ? DepositParams.fromPartial(object.depositParams)
536
+ : undefined;
537
+ message.tallyParams = (object.tallyParams !== undefined && object.tallyParams !== null)
538
+ ? TallyParams.fromPartial(object.tallyParams)
539
+ : undefined;
540
+ return message;
541
+ },
542
+ };
543
+ function createBaseQueryDepositRequest() {
544
+ return { proposalId: 0, depositor: "" };
545
+ }
546
+ export const QueryDepositRequest = {
547
+ encode(message, writer = _m0.Writer.create()) {
548
+ if (message.proposalId !== 0) {
549
+ writer.uint32(8).uint64(message.proposalId);
550
+ }
551
+ if (message.depositor !== "") {
552
+ writer.uint32(18).string(message.depositor);
553
+ }
554
+ return writer;
555
+ },
556
+ decode(input, length) {
557
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
558
+ let end = length === undefined ? reader.len : reader.pos + length;
559
+ const message = createBaseQueryDepositRequest();
560
+ while (reader.pos < end) {
561
+ const tag = reader.uint32();
562
+ switch (tag >>> 3) {
563
+ case 1:
564
+ message.proposalId = longToNumber(reader.uint64());
565
+ break;
566
+ case 2:
567
+ message.depositor = reader.string();
568
+ break;
569
+ default:
570
+ reader.skipType(tag & 7);
571
+ break;
572
+ }
573
+ }
574
+ return message;
575
+ },
576
+ fromJSON(object) {
577
+ return {
578
+ proposalId: isSet(object.proposalId) ? Number(object.proposalId) : 0,
579
+ depositor: isSet(object.depositor) ? String(object.depositor) : "",
580
+ };
581
+ },
582
+ toJSON(message) {
583
+ const obj = {};
584
+ message.proposalId !== undefined && (obj.proposalId = Math.round(message.proposalId));
585
+ message.depositor !== undefined && (obj.depositor = message.depositor);
586
+ return obj;
587
+ },
588
+ fromPartial(object) {
589
+ const message = createBaseQueryDepositRequest();
590
+ message.proposalId = object.proposalId ?? 0;
591
+ message.depositor = object.depositor ?? "";
592
+ return message;
593
+ },
594
+ };
595
+ function createBaseQueryDepositResponse() {
596
+ return { deposit: undefined };
597
+ }
598
+ export const QueryDepositResponse = {
599
+ encode(message, writer = _m0.Writer.create()) {
600
+ if (message.deposit !== undefined) {
601
+ Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim();
602
+ }
603
+ return writer;
604
+ },
605
+ decode(input, length) {
606
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
607
+ let end = length === undefined ? reader.len : reader.pos + length;
608
+ const message = createBaseQueryDepositResponse();
609
+ while (reader.pos < end) {
610
+ const tag = reader.uint32();
611
+ switch (tag >>> 3) {
612
+ case 1:
613
+ message.deposit = Deposit.decode(reader, reader.uint32());
614
+ break;
615
+ default:
616
+ reader.skipType(tag & 7);
617
+ break;
618
+ }
619
+ }
620
+ return message;
621
+ },
622
+ fromJSON(object) {
623
+ return { deposit: isSet(object.deposit) ? Deposit.fromJSON(object.deposit) : undefined };
624
+ },
625
+ toJSON(message) {
626
+ const obj = {};
627
+ message.deposit !== undefined && (obj.deposit = message.deposit ? Deposit.toJSON(message.deposit) : undefined);
628
+ return obj;
629
+ },
630
+ fromPartial(object) {
631
+ const message = createBaseQueryDepositResponse();
632
+ message.deposit = (object.deposit !== undefined && object.deposit !== null)
633
+ ? Deposit.fromPartial(object.deposit)
634
+ : undefined;
635
+ return message;
636
+ },
637
+ };
638
+ function createBaseQueryDepositsRequest() {
639
+ return { proposalId: 0, pagination: undefined };
640
+ }
641
+ export const QueryDepositsRequest = {
642
+ encode(message, writer = _m0.Writer.create()) {
643
+ if (message.proposalId !== 0) {
644
+ writer.uint32(8).uint64(message.proposalId);
645
+ }
646
+ if (message.pagination !== undefined) {
647
+ PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
648
+ }
649
+ return writer;
650
+ },
651
+ decode(input, length) {
652
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
653
+ let end = length === undefined ? reader.len : reader.pos + length;
654
+ const message = createBaseQueryDepositsRequest();
655
+ while (reader.pos < end) {
656
+ const tag = reader.uint32();
657
+ switch (tag >>> 3) {
658
+ case 1:
659
+ message.proposalId = longToNumber(reader.uint64());
660
+ break;
661
+ case 2:
662
+ message.pagination = PageRequest.decode(reader, reader.uint32());
663
+ break;
664
+ default:
665
+ reader.skipType(tag & 7);
666
+ break;
667
+ }
668
+ }
669
+ return message;
670
+ },
671
+ fromJSON(object) {
672
+ return {
673
+ proposalId: isSet(object.proposalId) ? Number(object.proposalId) : 0,
674
+ pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined,
675
+ };
676
+ },
677
+ toJSON(message) {
678
+ const obj = {};
679
+ message.proposalId !== undefined && (obj.proposalId = Math.round(message.proposalId));
680
+ message.pagination !== undefined
681
+ && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
682
+ return obj;
683
+ },
684
+ fromPartial(object) {
685
+ const message = createBaseQueryDepositsRequest();
686
+ message.proposalId = object.proposalId ?? 0;
687
+ message.pagination = (object.pagination !== undefined && object.pagination !== null)
688
+ ? PageRequest.fromPartial(object.pagination)
689
+ : undefined;
690
+ return message;
691
+ },
692
+ };
693
+ function createBaseQueryDepositsResponse() {
694
+ return { deposits: [], pagination: undefined };
695
+ }
696
+ export const QueryDepositsResponse = {
697
+ encode(message, writer = _m0.Writer.create()) {
698
+ for (const v of message.deposits) {
699
+ Deposit.encode(v, writer.uint32(10).fork()).ldelim();
700
+ }
701
+ if (message.pagination !== undefined) {
702
+ PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
703
+ }
704
+ return writer;
705
+ },
706
+ decode(input, length) {
707
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
708
+ let end = length === undefined ? reader.len : reader.pos + length;
709
+ const message = createBaseQueryDepositsResponse();
710
+ while (reader.pos < end) {
711
+ const tag = reader.uint32();
712
+ switch (tag >>> 3) {
713
+ case 1:
714
+ message.deposits.push(Deposit.decode(reader, reader.uint32()));
715
+ break;
716
+ case 2:
717
+ message.pagination = PageResponse.decode(reader, reader.uint32());
718
+ break;
719
+ default:
720
+ reader.skipType(tag & 7);
721
+ break;
722
+ }
723
+ }
724
+ return message;
725
+ },
726
+ fromJSON(object) {
727
+ return {
728
+ deposits: Array.isArray(object?.deposits) ? object.deposits.map((e) => Deposit.fromJSON(e)) : [],
729
+ pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
730
+ };
731
+ },
732
+ toJSON(message) {
733
+ const obj = {};
734
+ if (message.deposits) {
735
+ obj.deposits = message.deposits.map((e) => e ? Deposit.toJSON(e) : undefined);
736
+ }
737
+ else {
738
+ obj.deposits = [];
739
+ }
740
+ message.pagination !== undefined
741
+ && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
742
+ return obj;
743
+ },
744
+ fromPartial(object) {
745
+ const message = createBaseQueryDepositsResponse();
746
+ message.deposits = object.deposits?.map((e) => Deposit.fromPartial(e)) || [];
747
+ message.pagination = (object.pagination !== undefined && object.pagination !== null)
748
+ ? PageResponse.fromPartial(object.pagination)
749
+ : undefined;
750
+ return message;
751
+ },
752
+ };
753
+ function createBaseQueryTallyResultRequest() {
754
+ return { proposalId: 0 };
755
+ }
756
+ export const QueryTallyResultRequest = {
757
+ encode(message, writer = _m0.Writer.create()) {
758
+ if (message.proposalId !== 0) {
759
+ writer.uint32(8).uint64(message.proposalId);
760
+ }
761
+ return writer;
762
+ },
763
+ decode(input, length) {
764
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
765
+ let end = length === undefined ? reader.len : reader.pos + length;
766
+ const message = createBaseQueryTallyResultRequest();
767
+ while (reader.pos < end) {
768
+ const tag = reader.uint32();
769
+ switch (tag >>> 3) {
770
+ case 1:
771
+ message.proposalId = longToNumber(reader.uint64());
772
+ break;
773
+ default:
774
+ reader.skipType(tag & 7);
775
+ break;
776
+ }
777
+ }
778
+ return message;
779
+ },
780
+ fromJSON(object) {
781
+ return { proposalId: isSet(object.proposalId) ? Number(object.proposalId) : 0 };
782
+ },
783
+ toJSON(message) {
784
+ const obj = {};
785
+ message.proposalId !== undefined && (obj.proposalId = Math.round(message.proposalId));
786
+ return obj;
787
+ },
788
+ fromPartial(object) {
789
+ const message = createBaseQueryTallyResultRequest();
790
+ message.proposalId = object.proposalId ?? 0;
791
+ return message;
792
+ },
793
+ };
794
+ function createBaseQueryTallyResultResponse() {
795
+ return { tally: undefined };
796
+ }
797
+ export const QueryTallyResultResponse = {
798
+ encode(message, writer = _m0.Writer.create()) {
799
+ if (message.tally !== undefined) {
800
+ TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim();
801
+ }
802
+ return writer;
803
+ },
804
+ decode(input, length) {
805
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
806
+ let end = length === undefined ? reader.len : reader.pos + length;
807
+ const message = createBaseQueryTallyResultResponse();
808
+ while (reader.pos < end) {
809
+ const tag = reader.uint32();
810
+ switch (tag >>> 3) {
811
+ case 1:
812
+ message.tally = TallyResult.decode(reader, reader.uint32());
813
+ break;
814
+ default:
815
+ reader.skipType(tag & 7);
816
+ break;
817
+ }
818
+ }
819
+ return message;
820
+ },
821
+ fromJSON(object) {
822
+ return { tally: isSet(object.tally) ? TallyResult.fromJSON(object.tally) : undefined };
823
+ },
824
+ toJSON(message) {
825
+ const obj = {};
826
+ message.tally !== undefined && (obj.tally = message.tally ? TallyResult.toJSON(message.tally) : undefined);
827
+ return obj;
828
+ },
829
+ fromPartial(object) {
830
+ const message = createBaseQueryTallyResultResponse();
831
+ message.tally = (object.tally !== undefined && object.tally !== null)
832
+ ? TallyResult.fromPartial(object.tally)
833
+ : undefined;
834
+ return message;
835
+ },
836
+ };
837
+ export class QueryClientImpl {
838
+ constructor(rpc) {
839
+ this.rpc = rpc;
840
+ this.Proposal = this.Proposal.bind(this);
841
+ this.Proposals = this.Proposals.bind(this);
842
+ this.Vote = this.Vote.bind(this);
843
+ this.Votes = this.Votes.bind(this);
844
+ this.Params = this.Params.bind(this);
845
+ this.Deposit = this.Deposit.bind(this);
846
+ this.Deposits = this.Deposits.bind(this);
847
+ this.TallyResult = this.TallyResult.bind(this);
848
+ }
849
+ Proposal(request) {
850
+ const data = QueryProposalRequest.encode(request).finish();
851
+ const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposal", data);
852
+ return promise.then((data) => QueryProposalResponse.decode(new _m0.Reader(data)));
853
+ }
854
+ Proposals(request) {
855
+ const data = QueryProposalsRequest.encode(request).finish();
856
+ const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposals", data);
857
+ return promise.then((data) => QueryProposalsResponse.decode(new _m0.Reader(data)));
858
+ }
859
+ Vote(request) {
860
+ const data = QueryVoteRequest.encode(request).finish();
861
+ const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Vote", data);
862
+ return promise.then((data) => QueryVoteResponse.decode(new _m0.Reader(data)));
863
+ }
864
+ Votes(request) {
865
+ const data = QueryVotesRequest.encode(request).finish();
866
+ const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Votes", data);
867
+ return promise.then((data) => QueryVotesResponse.decode(new _m0.Reader(data)));
868
+ }
869
+ Params(request) {
870
+ const data = QueryParamsRequest.encode(request).finish();
871
+ const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Params", data);
872
+ return promise.then((data) => QueryParamsResponse.decode(new _m0.Reader(data)));
873
+ }
874
+ Deposit(request) {
875
+ const data = QueryDepositRequest.encode(request).finish();
876
+ const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposit", data);
877
+ return promise.then((data) => QueryDepositResponse.decode(new _m0.Reader(data)));
878
+ }
879
+ Deposits(request) {
880
+ const data = QueryDepositsRequest.encode(request).finish();
881
+ const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposits", data);
882
+ return promise.then((data) => QueryDepositsResponse.decode(new _m0.Reader(data)));
883
+ }
884
+ TallyResult(request) {
885
+ const data = QueryTallyResultRequest.encode(request).finish();
886
+ const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "TallyResult", data);
887
+ return promise.then((data) => QueryTallyResultResponse.decode(new _m0.Reader(data)));
888
+ }
889
+ }
890
+ var globalThis = (() => {
891
+ if (typeof globalThis !== "undefined") {
892
+ return globalThis;
893
+ }
894
+ if (typeof self !== "undefined") {
895
+ return self;
896
+ }
897
+ if (typeof window !== "undefined") {
898
+ return window;
899
+ }
900
+ if (typeof global !== "undefined") {
901
+ return global;
902
+ }
903
+ throw "Unable to locate global object";
904
+ })();
905
+ function longToNumber(long) {
906
+ if (long.gt(Number.MAX_SAFE_INTEGER)) {
907
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
908
+ }
909
+ return long.toNumber();
910
+ }
911
+ if (_m0.util.Long !== Long) {
912
+ _m0.util.Long = Long;
913
+ _m0.configure();
914
+ }
915
+ function isSet(value) {
916
+ return value !== null && value !== undefined;
917
+ }