@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,1126 @@
1
+ /* eslint-disable */
2
+ import _m0 from "protobufjs/minimal";
3
+ export const protobufPackage = "cosmos.ics23.v1";
4
+ export var HashOp;
5
+ (function (HashOp) {
6
+ /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */
7
+ HashOp[HashOp["NO_HASH"] = 0] = "NO_HASH";
8
+ HashOp[HashOp["SHA256"] = 1] = "SHA256";
9
+ HashOp[HashOp["SHA512"] = 2] = "SHA512";
10
+ HashOp[HashOp["KECCAK"] = 3] = "KECCAK";
11
+ HashOp[HashOp["RIPEMD160"] = 4] = "RIPEMD160";
12
+ /** BITCOIN - ripemd160(sha256(x)) */
13
+ HashOp[HashOp["BITCOIN"] = 5] = "BITCOIN";
14
+ HashOp[HashOp["SHA512_256"] = 6] = "SHA512_256";
15
+ HashOp[HashOp["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
16
+ })(HashOp || (HashOp = {}));
17
+ export function hashOpFromJSON(object) {
18
+ switch (object) {
19
+ case 0:
20
+ case "NO_HASH":
21
+ return HashOp.NO_HASH;
22
+ case 1:
23
+ case "SHA256":
24
+ return HashOp.SHA256;
25
+ case 2:
26
+ case "SHA512":
27
+ return HashOp.SHA512;
28
+ case 3:
29
+ case "KECCAK":
30
+ return HashOp.KECCAK;
31
+ case 4:
32
+ case "RIPEMD160":
33
+ return HashOp.RIPEMD160;
34
+ case 5:
35
+ case "BITCOIN":
36
+ return HashOp.BITCOIN;
37
+ case 6:
38
+ case "SHA512_256":
39
+ return HashOp.SHA512_256;
40
+ case -1:
41
+ case "UNRECOGNIZED":
42
+ default:
43
+ return HashOp.UNRECOGNIZED;
44
+ }
45
+ }
46
+ export function hashOpToJSON(object) {
47
+ switch (object) {
48
+ case HashOp.NO_HASH:
49
+ return "NO_HASH";
50
+ case HashOp.SHA256:
51
+ return "SHA256";
52
+ case HashOp.SHA512:
53
+ return "SHA512";
54
+ case HashOp.KECCAK:
55
+ return "KECCAK";
56
+ case HashOp.RIPEMD160:
57
+ return "RIPEMD160";
58
+ case HashOp.BITCOIN:
59
+ return "BITCOIN";
60
+ case HashOp.SHA512_256:
61
+ return "SHA512_256";
62
+ case HashOp.UNRECOGNIZED:
63
+ default:
64
+ return "UNRECOGNIZED";
65
+ }
66
+ }
67
+ /**
68
+ * LengthOp defines how to process the key and value of the LeafOp
69
+ * to include length information. After encoding the length with the given
70
+ * algorithm, the length will be prepended to the key and value bytes.
71
+ * (Each one with it's own encoded length)
72
+ */
73
+ export var LengthOp;
74
+ (function (LengthOp) {
75
+ /** NO_PREFIX - NO_PREFIX don't include any length info */
76
+ LengthOp[LengthOp["NO_PREFIX"] = 0] = "NO_PREFIX";
77
+ /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */
78
+ LengthOp[LengthOp["VAR_PROTO"] = 1] = "VAR_PROTO";
79
+ /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */
80
+ LengthOp[LengthOp["VAR_RLP"] = 2] = "VAR_RLP";
81
+ /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */
82
+ LengthOp[LengthOp["FIXED32_BIG"] = 3] = "FIXED32_BIG";
83
+ /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */
84
+ LengthOp[LengthOp["FIXED32_LITTLE"] = 4] = "FIXED32_LITTLE";
85
+ /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */
86
+ LengthOp[LengthOp["FIXED64_BIG"] = 5] = "FIXED64_BIG";
87
+ /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */
88
+ LengthOp[LengthOp["FIXED64_LITTLE"] = 6] = "FIXED64_LITTLE";
89
+ /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */
90
+ LengthOp[LengthOp["REQUIRE_32_BYTES"] = 7] = "REQUIRE_32_BYTES";
91
+ /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */
92
+ LengthOp[LengthOp["REQUIRE_64_BYTES"] = 8] = "REQUIRE_64_BYTES";
93
+ LengthOp[LengthOp["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
94
+ })(LengthOp || (LengthOp = {}));
95
+ export function lengthOpFromJSON(object) {
96
+ switch (object) {
97
+ case 0:
98
+ case "NO_PREFIX":
99
+ return LengthOp.NO_PREFIX;
100
+ case 1:
101
+ case "VAR_PROTO":
102
+ return LengthOp.VAR_PROTO;
103
+ case 2:
104
+ case "VAR_RLP":
105
+ return LengthOp.VAR_RLP;
106
+ case 3:
107
+ case "FIXED32_BIG":
108
+ return LengthOp.FIXED32_BIG;
109
+ case 4:
110
+ case "FIXED32_LITTLE":
111
+ return LengthOp.FIXED32_LITTLE;
112
+ case 5:
113
+ case "FIXED64_BIG":
114
+ return LengthOp.FIXED64_BIG;
115
+ case 6:
116
+ case "FIXED64_LITTLE":
117
+ return LengthOp.FIXED64_LITTLE;
118
+ case 7:
119
+ case "REQUIRE_32_BYTES":
120
+ return LengthOp.REQUIRE_32_BYTES;
121
+ case 8:
122
+ case "REQUIRE_64_BYTES":
123
+ return LengthOp.REQUIRE_64_BYTES;
124
+ case -1:
125
+ case "UNRECOGNIZED":
126
+ default:
127
+ return LengthOp.UNRECOGNIZED;
128
+ }
129
+ }
130
+ export function lengthOpToJSON(object) {
131
+ switch (object) {
132
+ case LengthOp.NO_PREFIX:
133
+ return "NO_PREFIX";
134
+ case LengthOp.VAR_PROTO:
135
+ return "VAR_PROTO";
136
+ case LengthOp.VAR_RLP:
137
+ return "VAR_RLP";
138
+ case LengthOp.FIXED32_BIG:
139
+ return "FIXED32_BIG";
140
+ case LengthOp.FIXED32_LITTLE:
141
+ return "FIXED32_LITTLE";
142
+ case LengthOp.FIXED64_BIG:
143
+ return "FIXED64_BIG";
144
+ case LengthOp.FIXED64_LITTLE:
145
+ return "FIXED64_LITTLE";
146
+ case LengthOp.REQUIRE_32_BYTES:
147
+ return "REQUIRE_32_BYTES";
148
+ case LengthOp.REQUIRE_64_BYTES:
149
+ return "REQUIRE_64_BYTES";
150
+ case LengthOp.UNRECOGNIZED:
151
+ default:
152
+ return "UNRECOGNIZED";
153
+ }
154
+ }
155
+ function createBaseExistenceProof() {
156
+ return { key: new Uint8Array(), value: new Uint8Array(), leaf: undefined, path: [] };
157
+ }
158
+ export const ExistenceProof = {
159
+ encode(message, writer = _m0.Writer.create()) {
160
+ if (message.key.length !== 0) {
161
+ writer.uint32(10).bytes(message.key);
162
+ }
163
+ if (message.value.length !== 0) {
164
+ writer.uint32(18).bytes(message.value);
165
+ }
166
+ if (message.leaf !== undefined) {
167
+ LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim();
168
+ }
169
+ for (const v of message.path) {
170
+ InnerOp.encode(v, writer.uint32(34).fork()).ldelim();
171
+ }
172
+ return writer;
173
+ },
174
+ decode(input, length) {
175
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
176
+ let end = length === undefined ? reader.len : reader.pos + length;
177
+ const message = createBaseExistenceProof();
178
+ while (reader.pos < end) {
179
+ const tag = reader.uint32();
180
+ switch (tag >>> 3) {
181
+ case 1:
182
+ message.key = reader.bytes();
183
+ break;
184
+ case 2:
185
+ message.value = reader.bytes();
186
+ break;
187
+ case 3:
188
+ message.leaf = LeafOp.decode(reader, reader.uint32());
189
+ break;
190
+ case 4:
191
+ message.path.push(InnerOp.decode(reader, reader.uint32()));
192
+ break;
193
+ default:
194
+ reader.skipType(tag & 7);
195
+ break;
196
+ }
197
+ }
198
+ return message;
199
+ },
200
+ fromJSON(object) {
201
+ return {
202
+ key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(),
203
+ value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(),
204
+ leaf: isSet(object.leaf) ? LeafOp.fromJSON(object.leaf) : undefined,
205
+ path: Array.isArray(object?.path) ? object.path.map((e) => InnerOp.fromJSON(e)) : [],
206
+ };
207
+ },
208
+ toJSON(message) {
209
+ const obj = {};
210
+ message.key !== undefined
211
+ && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
212
+ message.value !== undefined
213
+ && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array()));
214
+ message.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined);
215
+ if (message.path) {
216
+ obj.path = message.path.map((e) => e ? InnerOp.toJSON(e) : undefined);
217
+ }
218
+ else {
219
+ obj.path = [];
220
+ }
221
+ return obj;
222
+ },
223
+ fromPartial(object) {
224
+ const message = createBaseExistenceProof();
225
+ message.key = object.key ?? new Uint8Array();
226
+ message.value = object.value ?? new Uint8Array();
227
+ message.leaf = (object.leaf !== undefined && object.leaf !== null) ? LeafOp.fromPartial(object.leaf) : undefined;
228
+ message.path = object.path?.map((e) => InnerOp.fromPartial(e)) || [];
229
+ return message;
230
+ },
231
+ };
232
+ function createBaseNonExistenceProof() {
233
+ return { key: new Uint8Array(), left: undefined, right: undefined };
234
+ }
235
+ export const NonExistenceProof = {
236
+ encode(message, writer = _m0.Writer.create()) {
237
+ if (message.key.length !== 0) {
238
+ writer.uint32(10).bytes(message.key);
239
+ }
240
+ if (message.left !== undefined) {
241
+ ExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim();
242
+ }
243
+ if (message.right !== undefined) {
244
+ ExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim();
245
+ }
246
+ return writer;
247
+ },
248
+ decode(input, length) {
249
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
250
+ let end = length === undefined ? reader.len : reader.pos + length;
251
+ const message = createBaseNonExistenceProof();
252
+ while (reader.pos < end) {
253
+ const tag = reader.uint32();
254
+ switch (tag >>> 3) {
255
+ case 1:
256
+ message.key = reader.bytes();
257
+ break;
258
+ case 2:
259
+ message.left = ExistenceProof.decode(reader, reader.uint32());
260
+ break;
261
+ case 3:
262
+ message.right = ExistenceProof.decode(reader, reader.uint32());
263
+ break;
264
+ default:
265
+ reader.skipType(tag & 7);
266
+ break;
267
+ }
268
+ }
269
+ return message;
270
+ },
271
+ fromJSON(object) {
272
+ return {
273
+ key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(),
274
+ left: isSet(object.left) ? ExistenceProof.fromJSON(object.left) : undefined,
275
+ right: isSet(object.right) ? ExistenceProof.fromJSON(object.right) : undefined,
276
+ };
277
+ },
278
+ toJSON(message) {
279
+ const obj = {};
280
+ message.key !== undefined
281
+ && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
282
+ message.left !== undefined && (obj.left = message.left ? ExistenceProof.toJSON(message.left) : undefined);
283
+ message.right !== undefined && (obj.right = message.right ? ExistenceProof.toJSON(message.right) : undefined);
284
+ return obj;
285
+ },
286
+ fromPartial(object) {
287
+ const message = createBaseNonExistenceProof();
288
+ message.key = object.key ?? new Uint8Array();
289
+ message.left = (object.left !== undefined && object.left !== null)
290
+ ? ExistenceProof.fromPartial(object.left)
291
+ : undefined;
292
+ message.right = (object.right !== undefined && object.right !== null)
293
+ ? ExistenceProof.fromPartial(object.right)
294
+ : undefined;
295
+ return message;
296
+ },
297
+ };
298
+ function createBaseCommitmentProof() {
299
+ return { exist: undefined, nonexist: undefined, batch: undefined, compressed: undefined };
300
+ }
301
+ export const CommitmentProof = {
302
+ encode(message, writer = _m0.Writer.create()) {
303
+ if (message.exist !== undefined) {
304
+ ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim();
305
+ }
306
+ if (message.nonexist !== undefined) {
307
+ NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim();
308
+ }
309
+ if (message.batch !== undefined) {
310
+ BatchProof.encode(message.batch, writer.uint32(26).fork()).ldelim();
311
+ }
312
+ if (message.compressed !== undefined) {
313
+ CompressedBatchProof.encode(message.compressed, writer.uint32(34).fork()).ldelim();
314
+ }
315
+ return writer;
316
+ },
317
+ decode(input, length) {
318
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
319
+ let end = length === undefined ? reader.len : reader.pos + length;
320
+ const message = createBaseCommitmentProof();
321
+ while (reader.pos < end) {
322
+ const tag = reader.uint32();
323
+ switch (tag >>> 3) {
324
+ case 1:
325
+ message.exist = ExistenceProof.decode(reader, reader.uint32());
326
+ break;
327
+ case 2:
328
+ message.nonexist = NonExistenceProof.decode(reader, reader.uint32());
329
+ break;
330
+ case 3:
331
+ message.batch = BatchProof.decode(reader, reader.uint32());
332
+ break;
333
+ case 4:
334
+ message.compressed = CompressedBatchProof.decode(reader, reader.uint32());
335
+ break;
336
+ default:
337
+ reader.skipType(tag & 7);
338
+ break;
339
+ }
340
+ }
341
+ return message;
342
+ },
343
+ fromJSON(object) {
344
+ return {
345
+ exist: isSet(object.exist) ? ExistenceProof.fromJSON(object.exist) : undefined,
346
+ nonexist: isSet(object.nonexist) ? NonExistenceProof.fromJSON(object.nonexist) : undefined,
347
+ batch: isSet(object.batch) ? BatchProof.fromJSON(object.batch) : undefined,
348
+ compressed: isSet(object.compressed) ? CompressedBatchProof.fromJSON(object.compressed) : undefined,
349
+ };
350
+ },
351
+ toJSON(message) {
352
+ const obj = {};
353
+ message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined);
354
+ message.nonexist !== undefined
355
+ && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined);
356
+ message.batch !== undefined && (obj.batch = message.batch ? BatchProof.toJSON(message.batch) : undefined);
357
+ message.compressed !== undefined
358
+ && (obj.compressed = message.compressed ? CompressedBatchProof.toJSON(message.compressed) : undefined);
359
+ return obj;
360
+ },
361
+ fromPartial(object) {
362
+ const message = createBaseCommitmentProof();
363
+ message.exist = (object.exist !== undefined && object.exist !== null)
364
+ ? ExistenceProof.fromPartial(object.exist)
365
+ : undefined;
366
+ message.nonexist = (object.nonexist !== undefined && object.nonexist !== null)
367
+ ? NonExistenceProof.fromPartial(object.nonexist)
368
+ : undefined;
369
+ message.batch = (object.batch !== undefined && object.batch !== null)
370
+ ? BatchProof.fromPartial(object.batch)
371
+ : undefined;
372
+ message.compressed = (object.compressed !== undefined && object.compressed !== null)
373
+ ? CompressedBatchProof.fromPartial(object.compressed)
374
+ : undefined;
375
+ return message;
376
+ },
377
+ };
378
+ function createBaseLeafOp() {
379
+ return { hash: 0, prehashKey: 0, prehashValue: 0, length: 0, prefix: new Uint8Array() };
380
+ }
381
+ export const LeafOp = {
382
+ encode(message, writer = _m0.Writer.create()) {
383
+ if (message.hash !== 0) {
384
+ writer.uint32(8).int32(message.hash);
385
+ }
386
+ if (message.prehashKey !== 0) {
387
+ writer.uint32(16).int32(message.prehashKey);
388
+ }
389
+ if (message.prehashValue !== 0) {
390
+ writer.uint32(24).int32(message.prehashValue);
391
+ }
392
+ if (message.length !== 0) {
393
+ writer.uint32(32).int32(message.length);
394
+ }
395
+ if (message.prefix.length !== 0) {
396
+ writer.uint32(42).bytes(message.prefix);
397
+ }
398
+ return writer;
399
+ },
400
+ decode(input, length) {
401
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
402
+ let end = length === undefined ? reader.len : reader.pos + length;
403
+ const message = createBaseLeafOp();
404
+ while (reader.pos < end) {
405
+ const tag = reader.uint32();
406
+ switch (tag >>> 3) {
407
+ case 1:
408
+ message.hash = reader.int32();
409
+ break;
410
+ case 2:
411
+ message.prehashKey = reader.int32();
412
+ break;
413
+ case 3:
414
+ message.prehashValue = reader.int32();
415
+ break;
416
+ case 4:
417
+ message.length = reader.int32();
418
+ break;
419
+ case 5:
420
+ message.prefix = reader.bytes();
421
+ break;
422
+ default:
423
+ reader.skipType(tag & 7);
424
+ break;
425
+ }
426
+ }
427
+ return message;
428
+ },
429
+ fromJSON(object) {
430
+ return {
431
+ hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0,
432
+ prehashKey: isSet(object.prehashKey) ? hashOpFromJSON(object.prehashKey) : 0,
433
+ prehashValue: isSet(object.prehashValue) ? hashOpFromJSON(object.prehashValue) : 0,
434
+ length: isSet(object.length) ? lengthOpFromJSON(object.length) : 0,
435
+ prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array(),
436
+ };
437
+ },
438
+ toJSON(message) {
439
+ const obj = {};
440
+ message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash));
441
+ message.prehashKey !== undefined && (obj.prehashKey = hashOpToJSON(message.prehashKey));
442
+ message.prehashValue !== undefined && (obj.prehashValue = hashOpToJSON(message.prehashValue));
443
+ message.length !== undefined && (obj.length = lengthOpToJSON(message.length));
444
+ message.prefix !== undefined
445
+ && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array()));
446
+ return obj;
447
+ },
448
+ fromPartial(object) {
449
+ const message = createBaseLeafOp();
450
+ message.hash = object.hash ?? 0;
451
+ message.prehashKey = object.prehashKey ?? 0;
452
+ message.prehashValue = object.prehashValue ?? 0;
453
+ message.length = object.length ?? 0;
454
+ message.prefix = object.prefix ?? new Uint8Array();
455
+ return message;
456
+ },
457
+ };
458
+ function createBaseInnerOp() {
459
+ return { hash: 0, prefix: new Uint8Array(), suffix: new Uint8Array() };
460
+ }
461
+ export const InnerOp = {
462
+ encode(message, writer = _m0.Writer.create()) {
463
+ if (message.hash !== 0) {
464
+ writer.uint32(8).int32(message.hash);
465
+ }
466
+ if (message.prefix.length !== 0) {
467
+ writer.uint32(18).bytes(message.prefix);
468
+ }
469
+ if (message.suffix.length !== 0) {
470
+ writer.uint32(26).bytes(message.suffix);
471
+ }
472
+ return writer;
473
+ },
474
+ decode(input, length) {
475
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
476
+ let end = length === undefined ? reader.len : reader.pos + length;
477
+ const message = createBaseInnerOp();
478
+ while (reader.pos < end) {
479
+ const tag = reader.uint32();
480
+ switch (tag >>> 3) {
481
+ case 1:
482
+ message.hash = reader.int32();
483
+ break;
484
+ case 2:
485
+ message.prefix = reader.bytes();
486
+ break;
487
+ case 3:
488
+ message.suffix = reader.bytes();
489
+ break;
490
+ default:
491
+ reader.skipType(tag & 7);
492
+ break;
493
+ }
494
+ }
495
+ return message;
496
+ },
497
+ fromJSON(object) {
498
+ return {
499
+ hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0,
500
+ prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array(),
501
+ suffix: isSet(object.suffix) ? bytesFromBase64(object.suffix) : new Uint8Array(),
502
+ };
503
+ },
504
+ toJSON(message) {
505
+ const obj = {};
506
+ message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash));
507
+ message.prefix !== undefined
508
+ && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array()));
509
+ message.suffix !== undefined
510
+ && (obj.suffix = base64FromBytes(message.suffix !== undefined ? message.suffix : new Uint8Array()));
511
+ return obj;
512
+ },
513
+ fromPartial(object) {
514
+ const message = createBaseInnerOp();
515
+ message.hash = object.hash ?? 0;
516
+ message.prefix = object.prefix ?? new Uint8Array();
517
+ message.suffix = object.suffix ?? new Uint8Array();
518
+ return message;
519
+ },
520
+ };
521
+ function createBaseProofSpec() {
522
+ return { leafSpec: undefined, innerSpec: undefined, maxDepth: 0, minDepth: 0 };
523
+ }
524
+ export const ProofSpec = {
525
+ encode(message, writer = _m0.Writer.create()) {
526
+ if (message.leafSpec !== undefined) {
527
+ LeafOp.encode(message.leafSpec, writer.uint32(10).fork()).ldelim();
528
+ }
529
+ if (message.innerSpec !== undefined) {
530
+ InnerSpec.encode(message.innerSpec, writer.uint32(18).fork()).ldelim();
531
+ }
532
+ if (message.maxDepth !== 0) {
533
+ writer.uint32(24).int32(message.maxDepth);
534
+ }
535
+ if (message.minDepth !== 0) {
536
+ writer.uint32(32).int32(message.minDepth);
537
+ }
538
+ return writer;
539
+ },
540
+ decode(input, length) {
541
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
542
+ let end = length === undefined ? reader.len : reader.pos + length;
543
+ const message = createBaseProofSpec();
544
+ while (reader.pos < end) {
545
+ const tag = reader.uint32();
546
+ switch (tag >>> 3) {
547
+ case 1:
548
+ message.leafSpec = LeafOp.decode(reader, reader.uint32());
549
+ break;
550
+ case 2:
551
+ message.innerSpec = InnerSpec.decode(reader, reader.uint32());
552
+ break;
553
+ case 3:
554
+ message.maxDepth = reader.int32();
555
+ break;
556
+ case 4:
557
+ message.minDepth = reader.int32();
558
+ break;
559
+ default:
560
+ reader.skipType(tag & 7);
561
+ break;
562
+ }
563
+ }
564
+ return message;
565
+ },
566
+ fromJSON(object) {
567
+ return {
568
+ leafSpec: isSet(object.leafSpec) ? LeafOp.fromJSON(object.leafSpec) : undefined,
569
+ innerSpec: isSet(object.innerSpec) ? InnerSpec.fromJSON(object.innerSpec) : undefined,
570
+ maxDepth: isSet(object.maxDepth) ? Number(object.maxDepth) : 0,
571
+ minDepth: isSet(object.minDepth) ? Number(object.minDepth) : 0,
572
+ };
573
+ },
574
+ toJSON(message) {
575
+ const obj = {};
576
+ message.leafSpec !== undefined && (obj.leafSpec = message.leafSpec ? LeafOp.toJSON(message.leafSpec) : undefined);
577
+ message.innerSpec !== undefined
578
+ && (obj.innerSpec = message.innerSpec ? InnerSpec.toJSON(message.innerSpec) : undefined);
579
+ message.maxDepth !== undefined && (obj.maxDepth = Math.round(message.maxDepth));
580
+ message.minDepth !== undefined && (obj.minDepth = Math.round(message.minDepth));
581
+ return obj;
582
+ },
583
+ fromPartial(object) {
584
+ const message = createBaseProofSpec();
585
+ message.leafSpec = (object.leafSpec !== undefined && object.leafSpec !== null)
586
+ ? LeafOp.fromPartial(object.leafSpec)
587
+ : undefined;
588
+ message.innerSpec = (object.innerSpec !== undefined && object.innerSpec !== null)
589
+ ? InnerSpec.fromPartial(object.innerSpec)
590
+ : undefined;
591
+ message.maxDepth = object.maxDepth ?? 0;
592
+ message.minDepth = object.minDepth ?? 0;
593
+ return message;
594
+ },
595
+ };
596
+ function createBaseInnerSpec() {
597
+ return {
598
+ childOrder: [],
599
+ childSize: 0,
600
+ minPrefixLength: 0,
601
+ maxPrefixLength: 0,
602
+ emptyChild: new Uint8Array(),
603
+ hash: 0,
604
+ };
605
+ }
606
+ export const InnerSpec = {
607
+ encode(message, writer = _m0.Writer.create()) {
608
+ writer.uint32(10).fork();
609
+ for (const v of message.childOrder) {
610
+ writer.int32(v);
611
+ }
612
+ writer.ldelim();
613
+ if (message.childSize !== 0) {
614
+ writer.uint32(16).int32(message.childSize);
615
+ }
616
+ if (message.minPrefixLength !== 0) {
617
+ writer.uint32(24).int32(message.minPrefixLength);
618
+ }
619
+ if (message.maxPrefixLength !== 0) {
620
+ writer.uint32(32).int32(message.maxPrefixLength);
621
+ }
622
+ if (message.emptyChild.length !== 0) {
623
+ writer.uint32(42).bytes(message.emptyChild);
624
+ }
625
+ if (message.hash !== 0) {
626
+ writer.uint32(48).int32(message.hash);
627
+ }
628
+ return writer;
629
+ },
630
+ decode(input, length) {
631
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
632
+ let end = length === undefined ? reader.len : reader.pos + length;
633
+ const message = createBaseInnerSpec();
634
+ while (reader.pos < end) {
635
+ const tag = reader.uint32();
636
+ switch (tag >>> 3) {
637
+ case 1:
638
+ if ((tag & 7) === 2) {
639
+ const end2 = reader.uint32() + reader.pos;
640
+ while (reader.pos < end2) {
641
+ message.childOrder.push(reader.int32());
642
+ }
643
+ }
644
+ else {
645
+ message.childOrder.push(reader.int32());
646
+ }
647
+ break;
648
+ case 2:
649
+ message.childSize = reader.int32();
650
+ break;
651
+ case 3:
652
+ message.minPrefixLength = reader.int32();
653
+ break;
654
+ case 4:
655
+ message.maxPrefixLength = reader.int32();
656
+ break;
657
+ case 5:
658
+ message.emptyChild = reader.bytes();
659
+ break;
660
+ case 6:
661
+ message.hash = reader.int32();
662
+ break;
663
+ default:
664
+ reader.skipType(tag & 7);
665
+ break;
666
+ }
667
+ }
668
+ return message;
669
+ },
670
+ fromJSON(object) {
671
+ return {
672
+ childOrder: Array.isArray(object?.childOrder) ? object.childOrder.map((e) => Number(e)) : [],
673
+ childSize: isSet(object.childSize) ? Number(object.childSize) : 0,
674
+ minPrefixLength: isSet(object.minPrefixLength) ? Number(object.minPrefixLength) : 0,
675
+ maxPrefixLength: isSet(object.maxPrefixLength) ? Number(object.maxPrefixLength) : 0,
676
+ emptyChild: isSet(object.emptyChild) ? bytesFromBase64(object.emptyChild) : new Uint8Array(),
677
+ hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0,
678
+ };
679
+ },
680
+ toJSON(message) {
681
+ const obj = {};
682
+ if (message.childOrder) {
683
+ obj.childOrder = message.childOrder.map((e) => Math.round(e));
684
+ }
685
+ else {
686
+ obj.childOrder = [];
687
+ }
688
+ message.childSize !== undefined && (obj.childSize = Math.round(message.childSize));
689
+ message.minPrefixLength !== undefined && (obj.minPrefixLength = Math.round(message.minPrefixLength));
690
+ message.maxPrefixLength !== undefined && (obj.maxPrefixLength = Math.round(message.maxPrefixLength));
691
+ message.emptyChild !== undefined
692
+ && (obj.emptyChild = base64FromBytes(message.emptyChild !== undefined ? message.emptyChild : new Uint8Array()));
693
+ message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash));
694
+ return obj;
695
+ },
696
+ fromPartial(object) {
697
+ const message = createBaseInnerSpec();
698
+ message.childOrder = object.childOrder?.map((e) => e) || [];
699
+ message.childSize = object.childSize ?? 0;
700
+ message.minPrefixLength = object.minPrefixLength ?? 0;
701
+ message.maxPrefixLength = object.maxPrefixLength ?? 0;
702
+ message.emptyChild = object.emptyChild ?? new Uint8Array();
703
+ message.hash = object.hash ?? 0;
704
+ return message;
705
+ },
706
+ };
707
+ function createBaseBatchProof() {
708
+ return { entries: [] };
709
+ }
710
+ export const BatchProof = {
711
+ encode(message, writer = _m0.Writer.create()) {
712
+ for (const v of message.entries) {
713
+ BatchEntry.encode(v, writer.uint32(10).fork()).ldelim();
714
+ }
715
+ return writer;
716
+ },
717
+ decode(input, length) {
718
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
719
+ let end = length === undefined ? reader.len : reader.pos + length;
720
+ const message = createBaseBatchProof();
721
+ while (reader.pos < end) {
722
+ const tag = reader.uint32();
723
+ switch (tag >>> 3) {
724
+ case 1:
725
+ message.entries.push(BatchEntry.decode(reader, reader.uint32()));
726
+ break;
727
+ default:
728
+ reader.skipType(tag & 7);
729
+ break;
730
+ }
731
+ }
732
+ return message;
733
+ },
734
+ fromJSON(object) {
735
+ return { entries: Array.isArray(object?.entries) ? object.entries.map((e) => BatchEntry.fromJSON(e)) : [] };
736
+ },
737
+ toJSON(message) {
738
+ const obj = {};
739
+ if (message.entries) {
740
+ obj.entries = message.entries.map((e) => e ? BatchEntry.toJSON(e) : undefined);
741
+ }
742
+ else {
743
+ obj.entries = [];
744
+ }
745
+ return obj;
746
+ },
747
+ fromPartial(object) {
748
+ const message = createBaseBatchProof();
749
+ message.entries = object.entries?.map((e) => BatchEntry.fromPartial(e)) || [];
750
+ return message;
751
+ },
752
+ };
753
+ function createBaseBatchEntry() {
754
+ return { exist: undefined, nonexist: undefined };
755
+ }
756
+ export const BatchEntry = {
757
+ encode(message, writer = _m0.Writer.create()) {
758
+ if (message.exist !== undefined) {
759
+ ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim();
760
+ }
761
+ if (message.nonexist !== undefined) {
762
+ NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim();
763
+ }
764
+ return writer;
765
+ },
766
+ decode(input, length) {
767
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
768
+ let end = length === undefined ? reader.len : reader.pos + length;
769
+ const message = createBaseBatchEntry();
770
+ while (reader.pos < end) {
771
+ const tag = reader.uint32();
772
+ switch (tag >>> 3) {
773
+ case 1:
774
+ message.exist = ExistenceProof.decode(reader, reader.uint32());
775
+ break;
776
+ case 2:
777
+ message.nonexist = NonExistenceProof.decode(reader, reader.uint32());
778
+ break;
779
+ default:
780
+ reader.skipType(tag & 7);
781
+ break;
782
+ }
783
+ }
784
+ return message;
785
+ },
786
+ fromJSON(object) {
787
+ return {
788
+ exist: isSet(object.exist) ? ExistenceProof.fromJSON(object.exist) : undefined,
789
+ nonexist: isSet(object.nonexist) ? NonExistenceProof.fromJSON(object.nonexist) : undefined,
790
+ };
791
+ },
792
+ toJSON(message) {
793
+ const obj = {};
794
+ message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined);
795
+ message.nonexist !== undefined
796
+ && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined);
797
+ return obj;
798
+ },
799
+ fromPartial(object) {
800
+ const message = createBaseBatchEntry();
801
+ message.exist = (object.exist !== undefined && object.exist !== null)
802
+ ? ExistenceProof.fromPartial(object.exist)
803
+ : undefined;
804
+ message.nonexist = (object.nonexist !== undefined && object.nonexist !== null)
805
+ ? NonExistenceProof.fromPartial(object.nonexist)
806
+ : undefined;
807
+ return message;
808
+ },
809
+ };
810
+ function createBaseCompressedBatchProof() {
811
+ return { entries: [], lookupInners: [] };
812
+ }
813
+ export const CompressedBatchProof = {
814
+ encode(message, writer = _m0.Writer.create()) {
815
+ for (const v of message.entries) {
816
+ CompressedBatchEntry.encode(v, writer.uint32(10).fork()).ldelim();
817
+ }
818
+ for (const v of message.lookupInners) {
819
+ InnerOp.encode(v, writer.uint32(18).fork()).ldelim();
820
+ }
821
+ return writer;
822
+ },
823
+ decode(input, length) {
824
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
825
+ let end = length === undefined ? reader.len : reader.pos + length;
826
+ const message = createBaseCompressedBatchProof();
827
+ while (reader.pos < end) {
828
+ const tag = reader.uint32();
829
+ switch (tag >>> 3) {
830
+ case 1:
831
+ message.entries.push(CompressedBatchEntry.decode(reader, reader.uint32()));
832
+ break;
833
+ case 2:
834
+ message.lookupInners.push(InnerOp.decode(reader, reader.uint32()));
835
+ break;
836
+ default:
837
+ reader.skipType(tag & 7);
838
+ break;
839
+ }
840
+ }
841
+ return message;
842
+ },
843
+ fromJSON(object) {
844
+ return {
845
+ entries: Array.isArray(object?.entries) ? object.entries.map((e) => CompressedBatchEntry.fromJSON(e)) : [],
846
+ lookupInners: Array.isArray(object?.lookupInners) ? object.lookupInners.map((e) => InnerOp.fromJSON(e)) : [],
847
+ };
848
+ },
849
+ toJSON(message) {
850
+ const obj = {};
851
+ if (message.entries) {
852
+ obj.entries = message.entries.map((e) => e ? CompressedBatchEntry.toJSON(e) : undefined);
853
+ }
854
+ else {
855
+ obj.entries = [];
856
+ }
857
+ if (message.lookupInners) {
858
+ obj.lookupInners = message.lookupInners.map((e) => e ? InnerOp.toJSON(e) : undefined);
859
+ }
860
+ else {
861
+ obj.lookupInners = [];
862
+ }
863
+ return obj;
864
+ },
865
+ fromPartial(object) {
866
+ const message = createBaseCompressedBatchProof();
867
+ message.entries = object.entries?.map((e) => CompressedBatchEntry.fromPartial(e)) || [];
868
+ message.lookupInners = object.lookupInners?.map((e) => InnerOp.fromPartial(e)) || [];
869
+ return message;
870
+ },
871
+ };
872
+ function createBaseCompressedBatchEntry() {
873
+ return { exist: undefined, nonexist: undefined };
874
+ }
875
+ export const CompressedBatchEntry = {
876
+ encode(message, writer = _m0.Writer.create()) {
877
+ if (message.exist !== undefined) {
878
+ CompressedExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim();
879
+ }
880
+ if (message.nonexist !== undefined) {
881
+ CompressedNonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim();
882
+ }
883
+ return writer;
884
+ },
885
+ decode(input, length) {
886
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
887
+ let end = length === undefined ? reader.len : reader.pos + length;
888
+ const message = createBaseCompressedBatchEntry();
889
+ while (reader.pos < end) {
890
+ const tag = reader.uint32();
891
+ switch (tag >>> 3) {
892
+ case 1:
893
+ message.exist = CompressedExistenceProof.decode(reader, reader.uint32());
894
+ break;
895
+ case 2:
896
+ message.nonexist = CompressedNonExistenceProof.decode(reader, reader.uint32());
897
+ break;
898
+ default:
899
+ reader.skipType(tag & 7);
900
+ break;
901
+ }
902
+ }
903
+ return message;
904
+ },
905
+ fromJSON(object) {
906
+ return {
907
+ exist: isSet(object.exist) ? CompressedExistenceProof.fromJSON(object.exist) : undefined,
908
+ nonexist: isSet(object.nonexist) ? CompressedNonExistenceProof.fromJSON(object.nonexist) : undefined,
909
+ };
910
+ },
911
+ toJSON(message) {
912
+ const obj = {};
913
+ message.exist !== undefined
914
+ && (obj.exist = message.exist ? CompressedExistenceProof.toJSON(message.exist) : undefined);
915
+ message.nonexist !== undefined
916
+ && (obj.nonexist = message.nonexist ? CompressedNonExistenceProof.toJSON(message.nonexist) : undefined);
917
+ return obj;
918
+ },
919
+ fromPartial(object) {
920
+ const message = createBaseCompressedBatchEntry();
921
+ message.exist = (object.exist !== undefined && object.exist !== null)
922
+ ? CompressedExistenceProof.fromPartial(object.exist)
923
+ : undefined;
924
+ message.nonexist = (object.nonexist !== undefined && object.nonexist !== null)
925
+ ? CompressedNonExistenceProof.fromPartial(object.nonexist)
926
+ : undefined;
927
+ return message;
928
+ },
929
+ };
930
+ function createBaseCompressedExistenceProof() {
931
+ return { key: new Uint8Array(), value: new Uint8Array(), leaf: undefined, path: [] };
932
+ }
933
+ export const CompressedExistenceProof = {
934
+ encode(message, writer = _m0.Writer.create()) {
935
+ if (message.key.length !== 0) {
936
+ writer.uint32(10).bytes(message.key);
937
+ }
938
+ if (message.value.length !== 0) {
939
+ writer.uint32(18).bytes(message.value);
940
+ }
941
+ if (message.leaf !== undefined) {
942
+ LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim();
943
+ }
944
+ writer.uint32(34).fork();
945
+ for (const v of message.path) {
946
+ writer.int32(v);
947
+ }
948
+ writer.ldelim();
949
+ return writer;
950
+ },
951
+ decode(input, length) {
952
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
953
+ let end = length === undefined ? reader.len : reader.pos + length;
954
+ const message = createBaseCompressedExistenceProof();
955
+ while (reader.pos < end) {
956
+ const tag = reader.uint32();
957
+ switch (tag >>> 3) {
958
+ case 1:
959
+ message.key = reader.bytes();
960
+ break;
961
+ case 2:
962
+ message.value = reader.bytes();
963
+ break;
964
+ case 3:
965
+ message.leaf = LeafOp.decode(reader, reader.uint32());
966
+ break;
967
+ case 4:
968
+ if ((tag & 7) === 2) {
969
+ const end2 = reader.uint32() + reader.pos;
970
+ while (reader.pos < end2) {
971
+ message.path.push(reader.int32());
972
+ }
973
+ }
974
+ else {
975
+ message.path.push(reader.int32());
976
+ }
977
+ break;
978
+ default:
979
+ reader.skipType(tag & 7);
980
+ break;
981
+ }
982
+ }
983
+ return message;
984
+ },
985
+ fromJSON(object) {
986
+ return {
987
+ key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(),
988
+ value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(),
989
+ leaf: isSet(object.leaf) ? LeafOp.fromJSON(object.leaf) : undefined,
990
+ path: Array.isArray(object?.path) ? object.path.map((e) => Number(e)) : [],
991
+ };
992
+ },
993
+ toJSON(message) {
994
+ const obj = {};
995
+ message.key !== undefined
996
+ && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
997
+ message.value !== undefined
998
+ && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array()));
999
+ message.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined);
1000
+ if (message.path) {
1001
+ obj.path = message.path.map((e) => Math.round(e));
1002
+ }
1003
+ else {
1004
+ obj.path = [];
1005
+ }
1006
+ return obj;
1007
+ },
1008
+ fromPartial(object) {
1009
+ const message = createBaseCompressedExistenceProof();
1010
+ message.key = object.key ?? new Uint8Array();
1011
+ message.value = object.value ?? new Uint8Array();
1012
+ message.leaf = (object.leaf !== undefined && object.leaf !== null) ? LeafOp.fromPartial(object.leaf) : undefined;
1013
+ message.path = object.path?.map((e) => e) || [];
1014
+ return message;
1015
+ },
1016
+ };
1017
+ function createBaseCompressedNonExistenceProof() {
1018
+ return { key: new Uint8Array(), left: undefined, right: undefined };
1019
+ }
1020
+ export const CompressedNonExistenceProof = {
1021
+ encode(message, writer = _m0.Writer.create()) {
1022
+ if (message.key.length !== 0) {
1023
+ writer.uint32(10).bytes(message.key);
1024
+ }
1025
+ if (message.left !== undefined) {
1026
+ CompressedExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim();
1027
+ }
1028
+ if (message.right !== undefined) {
1029
+ CompressedExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim();
1030
+ }
1031
+ return writer;
1032
+ },
1033
+ decode(input, length) {
1034
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1035
+ let end = length === undefined ? reader.len : reader.pos + length;
1036
+ const message = createBaseCompressedNonExistenceProof();
1037
+ while (reader.pos < end) {
1038
+ const tag = reader.uint32();
1039
+ switch (tag >>> 3) {
1040
+ case 1:
1041
+ message.key = reader.bytes();
1042
+ break;
1043
+ case 2:
1044
+ message.left = CompressedExistenceProof.decode(reader, reader.uint32());
1045
+ break;
1046
+ case 3:
1047
+ message.right = CompressedExistenceProof.decode(reader, reader.uint32());
1048
+ break;
1049
+ default:
1050
+ reader.skipType(tag & 7);
1051
+ break;
1052
+ }
1053
+ }
1054
+ return message;
1055
+ },
1056
+ fromJSON(object) {
1057
+ return {
1058
+ key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(),
1059
+ left: isSet(object.left) ? CompressedExistenceProof.fromJSON(object.left) : undefined,
1060
+ right: isSet(object.right) ? CompressedExistenceProof.fromJSON(object.right) : undefined,
1061
+ };
1062
+ },
1063
+ toJSON(message) {
1064
+ const obj = {};
1065
+ message.key !== undefined
1066
+ && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
1067
+ message.left !== undefined && (obj.left = message.left ? CompressedExistenceProof.toJSON(message.left) : undefined);
1068
+ message.right !== undefined
1069
+ && (obj.right = message.right ? CompressedExistenceProof.toJSON(message.right) : undefined);
1070
+ return obj;
1071
+ },
1072
+ fromPartial(object) {
1073
+ const message = createBaseCompressedNonExistenceProof();
1074
+ message.key = object.key ?? new Uint8Array();
1075
+ message.left = (object.left !== undefined && object.left !== null)
1076
+ ? CompressedExistenceProof.fromPartial(object.left)
1077
+ : undefined;
1078
+ message.right = (object.right !== undefined && object.right !== null)
1079
+ ? CompressedExistenceProof.fromPartial(object.right)
1080
+ : undefined;
1081
+ return message;
1082
+ },
1083
+ };
1084
+ var globalThis = (() => {
1085
+ if (typeof globalThis !== "undefined") {
1086
+ return globalThis;
1087
+ }
1088
+ if (typeof self !== "undefined") {
1089
+ return self;
1090
+ }
1091
+ if (typeof window !== "undefined") {
1092
+ return window;
1093
+ }
1094
+ if (typeof global !== "undefined") {
1095
+ return global;
1096
+ }
1097
+ throw "Unable to locate global object";
1098
+ })();
1099
+ function bytesFromBase64(b64) {
1100
+ if (globalThis.Buffer) {
1101
+ return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
1102
+ }
1103
+ else {
1104
+ const bin = globalThis.atob(b64);
1105
+ const arr = new Uint8Array(bin.length);
1106
+ for (let i = 0; i < bin.length; ++i) {
1107
+ arr[i] = bin.charCodeAt(i);
1108
+ }
1109
+ return arr;
1110
+ }
1111
+ }
1112
+ function base64FromBytes(arr) {
1113
+ if (globalThis.Buffer) {
1114
+ return globalThis.Buffer.from(arr).toString("base64");
1115
+ }
1116
+ else {
1117
+ const bin = [];
1118
+ arr.forEach((byte) => {
1119
+ bin.push(String.fromCharCode(byte));
1120
+ });
1121
+ return globalThis.btoa(bin.join(""));
1122
+ }
1123
+ }
1124
+ function isSet(value) {
1125
+ return value !== null && value !== undefined;
1126
+ }