@iconlake/client 0.1.2 → 0.1.3

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 (566) hide show
  1. package/dist/index.mjs +93683 -0
  2. package/dist/index.umd.js +35 -0
  3. package/package.json +7 -5
  4. package/dist/client.js +0 -135
  5. package/dist/cosmos.auth.v1beta1/index.js +0 -5
  6. package/dist/cosmos.auth.v1beta1/module.js +0 -64
  7. package/dist/cosmos.auth.v1beta1/registry.js +0 -2
  8. package/dist/cosmos.auth.v1beta1/rest.js +0 -228
  9. package/dist/cosmos.auth.v1beta1/types/amino/amino.js +0 -2
  10. package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -344
  11. package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +0 -67
  12. package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +0 -969
  13. package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +0 -105
  14. package/dist/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  15. package/dist/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  16. package/dist/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +0 -2
  17. package/dist/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  18. package/dist/cosmos.auth.v1beta1/types/gogoproto/gogo.js +0 -2
  19. package/dist/cosmos.auth.v1beta1/types/google/api/annotations.js +0 -2
  20. package/dist/cosmos.auth.v1beta1/types/google/api/http.js +0 -260
  21. package/dist/cosmos.auth.v1beta1/types/google/protobuf/any.js +0 -99
  22. package/dist/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  23. package/dist/cosmos.auth.v1beta1/types.js +0 -5
  24. package/dist/cosmos.authz.v1beta1/index.js +0 -5
  25. package/dist/cosmos.authz.v1beta1/module.js +0 -140
  26. package/dist/cosmos.authz.v1beta1/registry.js +0 -9
  27. package/dist/cosmos.authz.v1beta1/rest.js +0 -131
  28. package/dist/cosmos.authz.v1beta1/types/amino/amino.js +0 -2
  29. package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +0 -244
  30. package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +0 -128
  31. package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +0 -54
  32. package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +0 -394
  33. package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +0 -362
  34. package/dist/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  35. package/dist/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  36. package/dist/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  37. package/dist/cosmos.authz.v1beta1/types/gogoproto/gogo.js +0 -2
  38. package/dist/cosmos.authz.v1beta1/types/google/api/annotations.js +0 -2
  39. package/dist/cosmos.authz.v1beta1/types/google/api/http.js +0 -260
  40. package/dist/cosmos.authz.v1beta1/types/google/protobuf/any.js +0 -99
  41. package/dist/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  42. package/dist/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +0 -84
  43. package/dist/cosmos.authz.v1beta1/types.js +0 -7
  44. package/dist/cosmos.bank.v1beta1/index.js +0 -5
  45. package/dist/cosmos.bank.v1beta1/module.js +0 -125
  46. package/dist/cosmos.bank.v1beta1/registry.js +0 -7
  47. package/dist/cosmos.bank.v1beta1/rest.js +0 -253
  48. package/dist/cosmos.bank.v1beta1/types/amino/amino.js +0 -2
  49. package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +0 -66
  50. package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +0 -455
  51. package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +0 -170
  52. package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +0 -1243
  53. package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +0 -424
  54. package/dist/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  55. package/dist/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  56. package/dist/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  57. package/dist/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +0 -2
  58. package/dist/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  59. package/dist/cosmos.bank.v1beta1/types/gogoproto/gogo.js +0 -2
  60. package/dist/cosmos.bank.v1beta1/types/google/api/annotations.js +0 -2
  61. package/dist/cosmos.bank.v1beta1/types/google/api/http.js +0 -260
  62. package/dist/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  63. package/dist/cosmos.bank.v1beta1/types.js +0 -11
  64. package/dist/cosmos.base.node.v1beta1/index.js +0 -5
  65. package/dist/cosmos.base.node.v1beta1/module.js +0 -55
  66. package/dist/cosmos.base.node.v1beta1/registry.js +0 -2
  67. package/dist/cosmos.base.node.v1beta1/rest.js +0 -100
  68. package/dist/cosmos.base.node.v1beta1/types/cosmos/base/node/v1beta1/query.js +0 -91
  69. package/dist/cosmos.base.node.v1beta1/types/google/api/annotations.js +0 -2
  70. package/dist/cosmos.base.node.v1beta1/types/google/api/http.js +0 -260
  71. package/dist/cosmos.base.node.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  72. package/dist/cosmos.base.node.v1beta1/types.js +0 -1
  73. package/dist/cosmos.base.tendermint.v1beta1/index.js +0 -5
  74. package/dist/cosmos.base.tendermint.v1beta1/module.js +0 -70
  75. package/dist/cosmos.base.tendermint.v1beta1/registry.js +0 -2
  76. package/dist/cosmos.base.tendermint.v1beta1/rest.js +0 -209
  77. package/dist/cosmos.base.tendermint.v1beta1/types/amino/amino.js +0 -2
  78. package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  79. package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +0 -1281
  80. package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +0 -350
  81. package/dist/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  82. package/dist/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +0 -2
  83. package/dist/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +0 -2
  84. package/dist/cosmos.base.tendermint.v1beta1/types/google/api/http.js +0 -260
  85. package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +0 -99
  86. package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  87. package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +0 -84
  88. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +0 -100
  89. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +0 -356
  90. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +0 -352
  91. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +0 -86
  92. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +0 -343
  93. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +0 -1207
  94. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +0 -254
  95. package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +0 -133
  96. package/dist/cosmos.base.tendermint.v1beta1/types.js +0 -8
  97. package/dist/cosmos.consensus.v1/index.js +0 -5
  98. package/dist/cosmos.consensus.v1/module.js +0 -81
  99. package/dist/cosmos.consensus.v1/registry.js +0 -5
  100. package/dist/cosmos.consensus.v1/rest.js +0 -100
  101. package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +0 -94
  102. package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +0 -129
  103. package/dist/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +0 -2
  104. package/dist/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +0 -171
  105. package/dist/cosmos.consensus.v1/types/gogoproto/gogo.js +0 -2
  106. package/dist/cosmos.consensus.v1/types/google/api/annotations.js +0 -2
  107. package/dist/cosmos.consensus.v1/types/google/api/http.js +0 -260
  108. package/dist/cosmos.consensus.v1/types/google/protobuf/descriptor.js +0 -2830
  109. package/dist/cosmos.consensus.v1/types/google/protobuf/duration.js +0 -84
  110. package/dist/cosmos.consensus.v1/types/tendermint/types/params.js +0 -369
  111. package/dist/cosmos.consensus.v1/types.js +0 -1
  112. package/dist/cosmos.crisis.v1beta1/index.js +0 -5
  113. package/dist/cosmos.crisis.v1beta1/module.js +0 -104
  114. package/dist/cosmos.crisis.v1beta1/registry.js +0 -7
  115. package/dist/cosmos.crisis.v1beta1/rest.js +0 -83
  116. package/dist/cosmos.crisis.v1beta1/types/amino/amino.js +0 -2
  117. package/dist/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  118. package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +0 -51
  119. package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -206
  120. package/dist/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  121. package/dist/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  122. package/dist/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +0 -2
  123. package/dist/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  124. package/dist/cosmos.crisis.v1beta1/types.js +0 -1
  125. package/dist/cosmos.distribution.v1beta1/index.js +0 -5
  126. package/dist/cosmos.distribution.v1beta1/module.js +0 -235
  127. package/dist/cosmos.distribution.v1beta1/registry.js +0 -15
  128. package/dist/cosmos.distribution.v1beta1/rest.js +0 -228
  129. package/dist/cosmos.distribution.v1beta1/types/amino/amino.js +0 -2
  130. package/dist/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  131. package/dist/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  132. package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +0 -737
  133. package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +0 -656
  134. package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -1046
  135. package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -595
  136. package/dist/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  137. package/dist/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  138. package/dist/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +0 -2
  139. package/dist/cosmos.distribution.v1beta1/types/google/api/annotations.js +0 -2
  140. package/dist/cosmos.distribution.v1beta1/types/google/api/http.js +0 -260
  141. package/dist/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  142. package/dist/cosmos.distribution.v1beta1/types.js +0 -20
  143. package/dist/cosmos.evidence.v1beta1/index.js +0 -5
  144. package/dist/cosmos.evidence.v1beta1/module.js +0 -84
  145. package/dist/cosmos.evidence.v1beta1/registry.js +0 -5
  146. package/dist/cosmos.evidence.v1beta1/rest.js +0 -116
  147. package/dist/cosmos.evidence.v1beta1/types/amino/amino.js +0 -2
  148. package/dist/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  149. package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +0 -124
  150. package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +0 -50
  151. package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +0 -265
  152. package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +0 -154
  153. package/dist/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  154. package/dist/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  155. package/dist/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +0 -2
  156. package/dist/cosmos.evidence.v1beta1/types/google/api/annotations.js +0 -2
  157. package/dist/cosmos.evidence.v1beta1/types/google/api/http.js +0 -260
  158. package/dist/cosmos.evidence.v1beta1/types/google/protobuf/any.js +0 -99
  159. package/dist/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  160. package/dist/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +0 -84
  161. package/dist/cosmos.evidence.v1beta1/types.js +0 -2
  162. package/dist/cosmos.feegrant.v1beta1/index.js +0 -5
  163. package/dist/cosmos.feegrant.v1beta1/module.js +0 -113
  164. package/dist/cosmos.feegrant.v1beta1/registry.js +0 -7
  165. package/dist/cosmos.feegrant.v1beta1/rest.js +0 -130
  166. package/dist/cosmos.feegrant.v1beta1/types/amino/amino.js +0 -2
  167. package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  168. package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  169. package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +0 -307
  170. package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +0 -52
  171. package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +0 -357
  172. package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +0 -205
  173. package/dist/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  174. package/dist/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  175. package/dist/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +0 -2
  176. package/dist/cosmos.feegrant.v1beta1/types/google/api/annotations.js +0 -2
  177. package/dist/cosmos.feegrant.v1beta1/types/google/api/http.js +0 -260
  178. package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +0 -99
  179. package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  180. package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +0 -84
  181. package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +0 -84
  182. package/dist/cosmos.feegrant.v1beta1/types.js +0 -5
  183. package/dist/cosmos.gov.v1/index.js +0 -5
  184. package/dist/cosmos.gov.v1/module.js +0 -192
  185. package/dist/cosmos.gov.v1/registry.js +0 -13
  186. package/dist/cosmos.gov.v1/rest.js +0 -242
  187. package/dist/cosmos.gov.v1/types/amino/amino.js +0 -2
  188. package/dist/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  189. package/dist/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +0 -192
  190. package/dist/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +0 -174
  191. package/dist/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -945
  192. package/dist/cosmos.gov.v1/types/cosmos/gov/v1/query.js +0 -928
  193. package/dist/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +0 -701
  194. package/dist/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +0 -2
  195. package/dist/cosmos.gov.v1/types/cosmos_proto/cosmos.js +0 -171
  196. package/dist/cosmos.gov.v1/types/gogoproto/gogo.js +0 -2
  197. package/dist/cosmos.gov.v1/types/google/api/annotations.js +0 -2
  198. package/dist/cosmos.gov.v1/types/google/api/http.js +0 -260
  199. package/dist/cosmos.gov.v1/types/google/protobuf/any.js +0 -99
  200. package/dist/cosmos.gov.v1/types/google/protobuf/descriptor.js +0 -2830
  201. package/dist/cosmos.gov.v1/types/google/protobuf/duration.js +0 -84
  202. package/dist/cosmos.gov.v1/types/google/protobuf/timestamp.js +0 -84
  203. package/dist/cosmos.gov.v1/types.js +0 -10
  204. package/dist/cosmos.gov.v1beta1/index.js +0 -5
  205. package/dist/cosmos.gov.v1beta1/module.js +0 -169
  206. package/dist/cosmos.gov.v1beta1/registry.js +0 -11
  207. package/dist/cosmos.gov.v1beta1/rest.js +0 -242
  208. package/dist/cosmos.gov.v1beta1/types/amino/amino.js +0 -2
  209. package/dist/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  210. package/dist/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  211. package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +0 -162
  212. package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +0 -832
  213. package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +0 -917
  214. package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +0 -467
  215. package/dist/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  216. package/dist/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  217. package/dist/cosmos.gov.v1beta1/types/gogoproto/gogo.js +0 -2
  218. package/dist/cosmos.gov.v1beta1/types/google/api/annotations.js +0 -2
  219. package/dist/cosmos.gov.v1beta1/types/google/api/http.js +0 -260
  220. package/dist/cosmos.gov.v1beta1/types/google/protobuf/any.js +0 -99
  221. package/dist/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  222. package/dist/cosmos.gov.v1beta1/types/google/protobuf/duration.js +0 -84
  223. package/dist/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +0 -84
  224. package/dist/cosmos.gov.v1beta1/types.js +0 -10
  225. package/dist/cosmos.group.v1/index.js +0 -5
  226. package/dist/cosmos.group.v1/module.js +0 -423
  227. package/dist/cosmos.group.v1/registry.js +0 -31
  228. package/dist/cosmos.group.v1/rest.js +0 -366
  229. package/dist/cosmos.group.v1/types/amino/amino.js +0 -2
  230. package/dist/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  231. package/dist/cosmos.group.v1/types/cosmos/group/v1/events.js +0 -497
  232. package/dist/cosmos.group.v1/types/cosmos/group/v1/genesis.js +0 -177
  233. package/dist/cosmos.group.v1/types/cosmos/group/v1/query.js +0 -1578
  234. package/dist/cosmos.group.v1/types/cosmos/group/v1/tx.js +0 -1639
  235. package/dist/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -1125
  236. package/dist/cosmos.group.v1/types/cosmos/msg/v1/msg.js +0 -2
  237. package/dist/cosmos.group.v1/types/cosmos_proto/cosmos.js +0 -171
  238. package/dist/cosmos.group.v1/types/gogoproto/gogo.js +0 -2
  239. package/dist/cosmos.group.v1/types/google/api/annotations.js +0 -2
  240. package/dist/cosmos.group.v1/types/google/api/http.js +0 -260
  241. package/dist/cosmos.group.v1/types/google/protobuf/any.js +0 -99
  242. package/dist/cosmos.group.v1/types/google/protobuf/descriptor.js +0 -2830
  243. package/dist/cosmos.group.v1/types/google/protobuf/duration.js +0 -84
  244. package/dist/cosmos.group.v1/types/google/protobuf/timestamp.js +0 -84
  245. package/dist/cosmos.group.v1/types.js +0 -22
  246. package/dist/cosmos.mint.v1beta1/index.js +0 -5
  247. package/dist/cosmos.mint.v1beta1/module.js +0 -60
  248. package/dist/cosmos.mint.v1beta1/registry.js +0 -2
  249. package/dist/cosmos.mint.v1beta1/rest.js +0 -128
  250. package/dist/cosmos.mint.v1beta1/types/amino/amino.js +0 -2
  251. package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +0 -63
  252. package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +0 -179
  253. package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +0 -298
  254. package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +0 -105
  255. package/dist/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  256. package/dist/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  257. package/dist/cosmos.mint.v1beta1/types/gogoproto/gogo.js +0 -2
  258. package/dist/cosmos.mint.v1beta1/types/google/api/annotations.js +0 -2
  259. package/dist/cosmos.mint.v1beta1/types/google/api/http.js +0 -260
  260. package/dist/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  261. package/dist/cosmos.mint.v1beta1/types.js +0 -3
  262. package/dist/cosmos.nft.v1beta1/index.js +0 -5
  263. package/dist/cosmos.nft.v1beta1/module.js +0 -68
  264. package/dist/cosmos.nft.v1beta1/registry.js +0 -2
  265. package/dist/cosmos.nft.v1beta1/rest.js +0 -187
  266. package/dist/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  267. package/dist/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  268. package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +0 -198
  269. package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +0 -126
  270. package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +0 -183
  271. package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +0 -752
  272. package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +0 -120
  273. package/dist/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  274. package/dist/cosmos.nft.v1beta1/types/google/api/annotations.js +0 -2
  275. package/dist/cosmos.nft.v1beta1/types/google/api/http.js +0 -260
  276. package/dist/cosmos.nft.v1beta1/types/google/protobuf/any.js +0 -99
  277. package/dist/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  278. package/dist/cosmos.nft.v1beta1/types.js +0 -7
  279. package/dist/cosmos.params.v1beta1/index.js +0 -5
  280. package/dist/cosmos.params.v1beta1/module.js +0 -62
  281. package/dist/cosmos.params.v1beta1/registry.js +0 -2
  282. package/dist/cosmos.params.v1beta1/rest.js +0 -116
  283. package/dist/cosmos.params.v1beta1/types/amino/amino.js +0 -2
  284. package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +0 -133
  285. package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +0 -257
  286. package/dist/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  287. package/dist/cosmos.params.v1beta1/types/gogoproto/gogo.js +0 -2
  288. package/dist/cosmos.params.v1beta1/types/google/api/annotations.js +0 -2
  289. package/dist/cosmos.params.v1beta1/types/google/api/http.js +0 -260
  290. package/dist/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  291. package/dist/cosmos.params.v1beta1/types.js +0 -4
  292. package/dist/cosmos.slashing.v1beta1/index.js +0 -5
  293. package/dist/cosmos.slashing.v1beta1/module.js +0 -92
  294. package/dist/cosmos.slashing.v1beta1/registry.js +0 -5
  295. package/dist/cosmos.slashing.v1beta1/rest.js +0 -129
  296. package/dist/cosmos.slashing.v1beta1/types/amino/amino.js +0 -2
  297. package/dist/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  298. package/dist/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  299. package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +0 -279
  300. package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +0 -300
  301. package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +0 -275
  302. package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -185
  303. package/dist/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  304. package/dist/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +0 -2
  305. package/dist/cosmos.slashing.v1beta1/types/google/api/annotations.js +0 -2
  306. package/dist/cosmos.slashing.v1beta1/types/google/api/http.js +0 -260
  307. package/dist/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  308. package/dist/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +0 -84
  309. package/dist/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +0 -84
  310. package/dist/cosmos.slashing.v1beta1/types.js +0 -6
  311. package/dist/cosmos.staking.v1beta1/index.js +0 -5
  312. package/dist/cosmos.staking.v1beta1/module.js +0 -245
  313. package/dist/cosmos.staking.v1beta1/registry.js +0 -15
  314. package/dist/cosmos.staking.v1beta1/rest.js +0 -308
  315. package/dist/cosmos.staking.v1beta1/types/amino/amino.js +0 -2
  316. package/dist/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  317. package/dist/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  318. package/dist/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  319. package/dist/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +0 -2
  320. package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +0 -184
  321. package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +0 -259
  322. package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +0 -1568
  323. package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +0 -1614
  324. package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +0 -861
  325. package/dist/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  326. package/dist/cosmos.staking.v1beta1/types/gogoproto/gogo.js +0 -2
  327. package/dist/cosmos.staking.v1beta1/types/google/api/annotations.js +0 -2
  328. package/dist/cosmos.staking.v1beta1/types/google/api/http.js +0 -260
  329. package/dist/cosmos.staking.v1beta1/types/google/protobuf/any.js +0 -99
  330. package/dist/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  331. package/dist/cosmos.staking.v1beta1/types/google/protobuf/duration.js +0 -84
  332. package/dist/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +0 -84
  333. package/dist/cosmos.staking.v1beta1/types/tendermint/abci/types.js +0 -3812
  334. package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +0 -100
  335. package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +0 -356
  336. package/dist/cosmos.staking.v1beta1/types/tendermint/types/params.js +0 -369
  337. package/dist/cosmos.staking.v1beta1/types/tendermint/types/types.js +0 -1207
  338. package/dist/cosmos.staking.v1beta1/types/tendermint/types/validator.js +0 -254
  339. package/dist/cosmos.staking.v1beta1/types/tendermint/version/types.js +0 -133
  340. package/dist/cosmos.staking.v1beta1/types.js +0 -25
  341. package/dist/cosmos.tx.v1beta1/index.js +0 -5
  342. package/dist/cosmos.tx.v1beta1/module.js +0 -82
  343. package/dist/cosmos.tx.v1beta1/registry.js +0 -2
  344. package/dist/cosmos.tx.v1beta1/rest.js +0 -320
  345. package/dist/cosmos.tx.v1beta1/types/amino/amino.js +0 -2
  346. package/dist/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -803
  347. package/dist/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  348. package/dist/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  349. package/dist/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +0 -147
  350. package/dist/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +0 -449
  351. package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +0 -1160
  352. package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +0 -959
  353. package/dist/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  354. package/dist/cosmos.tx.v1beta1/types/gogoproto/gogo.js +0 -2
  355. package/dist/cosmos.tx.v1beta1/types/google/api/annotations.js +0 -2
  356. package/dist/cosmos.tx.v1beta1/types/google/api/http.js +0 -260
  357. package/dist/cosmos.tx.v1beta1/types/google/protobuf/any.js +0 -99
  358. package/dist/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  359. package/dist/cosmos.tx.v1beta1/types/google/protobuf/duration.js +0 -84
  360. package/dist/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +0 -84
  361. package/dist/cosmos.tx.v1beta1/types/tendermint/abci/types.js +0 -3812
  362. package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +0 -100
  363. package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +0 -356
  364. package/dist/cosmos.tx.v1beta1/types/tendermint/types/block.js +0 -86
  365. package/dist/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +0 -343
  366. package/dist/cosmos.tx.v1beta1/types/tendermint/types/params.js +0 -369
  367. package/dist/cosmos.tx.v1beta1/types/tendermint/types/types.js +0 -1207
  368. package/dist/cosmos.tx.v1beta1/types/tendermint/types/validator.js +0 -254
  369. package/dist/cosmos.tx.v1beta1/types/tendermint/version/types.js +0 -133
  370. package/dist/cosmos.tx.v1beta1/types.js +0 -14
  371. package/dist/cosmos.upgrade.v1beta1/index.js +0 -5
  372. package/dist/cosmos.upgrade.v1beta1/module.js +0 -113
  373. package/dist/cosmos.upgrade.v1beta1/registry.js +0 -7
  374. package/dist/cosmos.upgrade.v1beta1/rest.js +0 -162
  375. package/dist/cosmos.upgrade.v1beta1/types/amino/amino.js +0 -2
  376. package/dist/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  377. package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +0 -501
  378. package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +0 -183
  379. package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  380. package/dist/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  381. package/dist/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +0 -2
  382. package/dist/cosmos.upgrade.v1beta1/types/google/api/annotations.js +0 -2
  383. package/dist/cosmos.upgrade.v1beta1/types/google/api/http.js +0 -260
  384. package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +0 -99
  385. package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  386. package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +0 -84
  387. package/dist/cosmos.upgrade.v1beta1/types.js +0 -5
  388. package/dist/cosmos.vesting.v1beta1/index.js +0 -5
  389. package/dist/cosmos.vesting.v1beta1/module.js +0 -140
  390. package/dist/cosmos.vesting.v1beta1/registry.js +0 -9
  391. package/dist/cosmos.vesting.v1beta1/rest.js +0 -83
  392. package/dist/cosmos.vesting.v1beta1/types/amino/amino.js +0 -2
  393. package/dist/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -344
  394. package/dist/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  395. package/dist/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  396. package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +0 -383
  397. package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +0 -422
  398. package/dist/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  399. package/dist/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +0 -2
  400. package/dist/cosmos.vesting.v1beta1/types/google/protobuf/any.js +0 -99
  401. package/dist/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  402. package/dist/cosmos.vesting.v1beta1/types.js +0 -7
  403. package/dist/env.js +0 -1
  404. package/dist/helpers.js +0 -11
  405. package/dist/ibc.applications.interchain_accounts.controller.v1/index.js +0 -5
  406. package/dist/ibc.applications.interchain_accounts.controller.v1/module.js +0 -58
  407. package/dist/ibc.applications.interchain_accounts.controller.v1/registry.js +0 -2
  408. package/dist/ibc.applications.interchain_accounts.controller.v1/rest.js +0 -123
  409. package/dist/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +0 -2
  410. package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +0 -2
  411. package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +0 -260
  412. package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.js +0 -99
  413. package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +0 -2830
  414. package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +0 -47
  415. package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +0 -193
  416. package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +0 -277
  417. package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +0 -192
  418. package/dist/ibc.applications.interchain_accounts.controller.v1/types.js +0 -2
  419. package/dist/ibc.applications.interchain_accounts.host.v1/index.js +0 -5
  420. package/dist/ibc.applications.interchain_accounts.host.v1/module.js +0 -58
  421. package/dist/ibc.applications.interchain_accounts.host.v1/registry.js +0 -2
  422. package/dist/ibc.applications.interchain_accounts.host.v1/rest.js +0 -100
  423. package/dist/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +0 -2
  424. package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +0 -2
  425. package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +0 -260
  426. package/dist/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +0 -2830
  427. package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +0 -63
  428. package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +0 -94
  429. package/dist/ibc.applications.interchain_accounts.host.v1/types.js +0 -2
  430. package/dist/ibc.applications.transfer.v1/index.js +0 -5
  431. package/dist/ibc.applications.transfer.v1/module.js +0 -64
  432. package/dist/ibc.applications.transfer.v1/registry.js +0 -2
  433. package/dist/ibc.applications.transfer.v1/rest.js +0 -171
  434. package/dist/ibc.applications.transfer.v1/types/amino/amino.js +0 -2
  435. package/dist/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  436. package/dist/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +0 -192
  437. package/dist/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  438. package/dist/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +0 -171
  439. package/dist/ibc.applications.transfer.v1/types/gogoproto/gogo.js +0 -2
  440. package/dist/ibc.applications.transfer.v1/types/google/api/annotations.js +0 -2
  441. package/dist/ibc.applications.transfer.v1/types/google/api/http.js +0 -260
  442. package/dist/ibc.applications.transfer.v1/types/google/protobuf/any.js +0 -99
  443. package/dist/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +0 -2830
  444. package/dist/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +0 -84
  445. package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +0 -135
  446. package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +0 -90
  447. package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -574
  448. package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +0 -110
  449. package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +0 -204
  450. package/dist/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +0 -448
  451. package/dist/ibc.applications.transfer.v1/types.js +0 -5
  452. package/dist/ibc.core.channel.v1/index.js +0 -5
  453. package/dist/ibc.core.channel.v1/module.js +0 -72
  454. package/dist/ibc.core.channel.v1/registry.js +0 -2
  455. package/dist/ibc.core.channel.v1/rest.js +0 -323
  456. package/dist/ibc.core.channel.v1/types/amino/amino.js +0 -2
  457. package/dist/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  458. package/dist/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  459. package/dist/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +0 -171
  460. package/dist/ibc.core.channel.v1/types/gogoproto/gogo.js +0 -2
  461. package/dist/ibc.core.channel.v1/types/google/api/annotations.js +0 -2
  462. package/dist/ibc.core.channel.v1/types/google/api/http.js +0 -260
  463. package/dist/ibc.core.channel.v1/types/google/protobuf/any.js +0 -99
  464. package/dist/ibc.core.channel.v1/types/google/protobuf/descriptor.js +0 -2830
  465. package/dist/ibc.core.channel.v1/types/google/protobuf/timestamp.js +0 -84
  466. package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +0 -714
  467. package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +0 -254
  468. package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +0 -1866
  469. package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +0 -1436
  470. package/dist/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +0 -448
  471. package/dist/ibc.core.channel.v1/types.js +0 -9
  472. package/dist/ibc.core.client.v1/index.js +0 -5
  473. package/dist/ibc.core.client.v1/module.js +0 -74
  474. package/dist/ibc.core.client.v1/registry.js +0 -2
  475. package/dist/ibc.core.client.v1/rest.js +0 -218
  476. package/dist/ibc.core.client.v1/types/amino/amino.js +0 -2
  477. package/dist/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  478. package/dist/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  479. package/dist/ibc.core.client.v1/types/cosmos_proto/cosmos.js +0 -171
  480. package/dist/ibc.core.client.v1/types/gogoproto/gogo.js +0 -2
  481. package/dist/ibc.core.client.v1/types/google/api/annotations.js +0 -2
  482. package/dist/ibc.core.client.v1/types/google/api/http.js +0 -260
  483. package/dist/ibc.core.client.v1/types/google/protobuf/any.js +0 -99
  484. package/dist/ibc.core.client.v1/types/google/protobuf/descriptor.js +0 -2830
  485. package/dist/ibc.core.client.v1/types/google/protobuf/timestamp.js +0 -84
  486. package/dist/ibc.core.client.v1/types/ibc/core/client/v1/client.js +0 -448
  487. package/dist/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +0 -287
  488. package/dist/ibc.core.client.v1/types/ibc/core/client/v1/query.js +0 -1026
  489. package/dist/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +0 -510
  490. package/dist/ibc.core.client.v1/types.js +0 -10
  491. package/dist/ibc.core.connection.v1/index.js +0 -5
  492. package/dist/ibc.core.connection.v1/module.js +0 -70
  493. package/dist/ibc.core.connection.v1/registry.js +0 -2
  494. package/dist/ibc.core.connection.v1/rest.js +0 -191
  495. package/dist/ibc.core.connection.v1/types/amino/amino.js +0 -2
  496. package/dist/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  497. package/dist/ibc.core.connection.v1/types/cosmos/ics23/v1/proofs.js +0 -1126
  498. package/dist/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  499. package/dist/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +0 -171
  500. package/dist/ibc.core.connection.v1/types/gogoproto/gogo.js +0 -2
  501. package/dist/ibc.core.connection.v1/types/google/api/annotations.js +0 -2
  502. package/dist/ibc.core.connection.v1/types/google/api/http.js +0 -260
  503. package/dist/ibc.core.connection.v1/types/google/protobuf/any.js +0 -99
  504. package/dist/ibc.core.connection.v1/types/google/protobuf/descriptor.js +0 -2830
  505. package/dist/ibc.core.connection.v1/types/google/protobuf/timestamp.js +0 -84
  506. package/dist/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +0 -448
  507. package/dist/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +0 -223
  508. package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +0 -537
  509. package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +0 -120
  510. package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +0 -766
  511. package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -731
  512. package/dist/ibc.core.connection.v1/types.js +0 -8
  513. package/dist/iconlake.drop/index.js +0 -5
  514. package/dist/iconlake.drop/module.js +0 -86
  515. package/dist/iconlake.drop/registry.js +0 -5
  516. package/dist/iconlake.drop/rest.js +0 -128
  517. package/dist/iconlake.drop/types/amino/amino.js +0 -2
  518. package/dist/iconlake.drop/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  519. package/dist/iconlake.drop/types/cosmos/base/v1beta1/coin.js +0 -192
  520. package/dist/iconlake.drop/types/cosmos_proto/cosmos.js +0 -171
  521. package/dist/iconlake.drop/types/gogoproto/gogo.js +0 -2
  522. package/dist/iconlake.drop/types/google/api/annotations.js +0 -2
  523. package/dist/iconlake.drop/types/google/api/http.js +0 -260
  524. package/dist/iconlake.drop/types/google/protobuf/descriptor.js +0 -2830
  525. package/dist/iconlake.drop/types/iconlake/drop/genesis.js +0 -67
  526. package/dist/iconlake.drop/types/iconlake/drop/info.js +0 -84
  527. package/dist/iconlake.drop/types/iconlake/drop/params.js +0 -36
  528. package/dist/iconlake.drop/types/iconlake/drop/query.js +0 -294
  529. package/dist/iconlake.drop/types/iconlake/drop/tx.js +0 -152
  530. package/dist/iconlake.drop/types.js +0 -3
  531. package/dist/iconlake.icon/index.js +0 -5
  532. package/dist/iconlake.icon/module.js +0 -88
  533. package/dist/iconlake.icon/registry.js +0 -5
  534. package/dist/iconlake.icon/rest.js +0 -115
  535. package/dist/iconlake.icon/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  536. package/dist/iconlake.icon/types/gogoproto/gogo.js +0 -2
  537. package/dist/iconlake.icon/types/google/api/annotations.js +0 -2
  538. package/dist/iconlake.icon/types/google/api/http.js +0 -260
  539. package/dist/iconlake.icon/types/google/protobuf/descriptor.js +0 -2830
  540. package/dist/iconlake.icon/types/iconlake/icon/class_data.js +0 -58
  541. package/dist/iconlake.icon/types/iconlake/icon/genesis.js +0 -50
  542. package/dist/iconlake.icon/types/iconlake/icon/icon_data.js +0 -76
  543. package/dist/iconlake.icon/types/iconlake/icon/params.js +0 -36
  544. package/dist/iconlake.icon/types/iconlake/icon/query.js +0 -204
  545. package/dist/iconlake.icon/types/iconlake/icon/tx.js +0 -174
  546. package/dist/iconlake.icon/types.js +0 -4
  547. package/dist/iconlake.iconlake/index.js +0 -5
  548. package/dist/iconlake.iconlake/module.js +0 -86
  549. package/dist/iconlake.iconlake/registry.js +0 -5
  550. package/dist/iconlake.iconlake/rest.js +0 -128
  551. package/dist/iconlake.iconlake/types/amino/amino.js +0 -2
  552. package/dist/iconlake.iconlake/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  553. package/dist/iconlake.iconlake/types/cosmos/base/v1beta1/coin.js +0 -192
  554. package/dist/iconlake.iconlake/types/cosmos_proto/cosmos.js +0 -171
  555. package/dist/iconlake.iconlake/types/gogoproto/gogo.js +0 -2
  556. package/dist/iconlake.iconlake/types/google/api/annotations.js +0 -2
  557. package/dist/iconlake.iconlake/types/google/api/http.js +0 -260
  558. package/dist/iconlake.iconlake/types/google/protobuf/descriptor.js +0 -2830
  559. package/dist/iconlake.iconlake/types/iconlake/iconlake/account.js +0 -84
  560. package/dist/iconlake.iconlake/types/iconlake/iconlake/genesis.js +0 -67
  561. package/dist/iconlake.iconlake/types/iconlake/iconlake/params.js +0 -36
  562. package/dist/iconlake.iconlake/types/iconlake/iconlake/query.js +0 -296
  563. package/dist/iconlake.iconlake/types/iconlake/iconlake/tx.js +0 -113
  564. package/dist/iconlake.iconlake/types.js +0 -3
  565. package/dist/index.js +0 -68
  566. package/dist/modules.js +0 -1
@@ -1,656 +0,0 @@
1
- /* eslint-disable */
2
- import Long from "long";
3
- import _m0 from "protobufjs/minimal";
4
- import { DecCoin } from "../../base/v1beta1/coin";
5
- import { DelegatorStartingInfo, FeePool, Params, ValidatorAccumulatedCommission, ValidatorCurrentRewards, ValidatorHistoricalRewards, ValidatorSlashEvent, } from "./distribution";
6
- export const protobufPackage = "cosmos.distribution.v1beta1";
7
- function createBaseDelegatorWithdrawInfo() {
8
- return { delegatorAddress: "", withdrawAddress: "" };
9
- }
10
- export const DelegatorWithdrawInfo = {
11
- encode(message, writer = _m0.Writer.create()) {
12
- if (message.delegatorAddress !== "") {
13
- writer.uint32(10).string(message.delegatorAddress);
14
- }
15
- if (message.withdrawAddress !== "") {
16
- writer.uint32(18).string(message.withdrawAddress);
17
- }
18
- return writer;
19
- },
20
- decode(input, length) {
21
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
22
- let end = length === undefined ? reader.len : reader.pos + length;
23
- const message = createBaseDelegatorWithdrawInfo();
24
- while (reader.pos < end) {
25
- const tag = reader.uint32();
26
- switch (tag >>> 3) {
27
- case 1:
28
- message.delegatorAddress = reader.string();
29
- break;
30
- case 2:
31
- message.withdrawAddress = reader.string();
32
- break;
33
- default:
34
- reader.skipType(tag & 7);
35
- break;
36
- }
37
- }
38
- return message;
39
- },
40
- fromJSON(object) {
41
- return {
42
- delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
43
- withdrawAddress: isSet(object.withdrawAddress) ? String(object.withdrawAddress) : "",
44
- };
45
- },
46
- toJSON(message) {
47
- const obj = {};
48
- message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
49
- message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress);
50
- return obj;
51
- },
52
- fromPartial(object) {
53
- const message = createBaseDelegatorWithdrawInfo();
54
- message.delegatorAddress = object.delegatorAddress ?? "";
55
- message.withdrawAddress = object.withdrawAddress ?? "";
56
- return message;
57
- },
58
- };
59
- function createBaseValidatorOutstandingRewardsRecord() {
60
- return { validatorAddress: "", outstandingRewards: [] };
61
- }
62
- export const ValidatorOutstandingRewardsRecord = {
63
- encode(message, writer = _m0.Writer.create()) {
64
- if (message.validatorAddress !== "") {
65
- writer.uint32(10).string(message.validatorAddress);
66
- }
67
- for (const v of message.outstandingRewards) {
68
- DecCoin.encode(v, writer.uint32(18).fork()).ldelim();
69
- }
70
- return writer;
71
- },
72
- decode(input, length) {
73
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
74
- let end = length === undefined ? reader.len : reader.pos + length;
75
- const message = createBaseValidatorOutstandingRewardsRecord();
76
- while (reader.pos < end) {
77
- const tag = reader.uint32();
78
- switch (tag >>> 3) {
79
- case 1:
80
- message.validatorAddress = reader.string();
81
- break;
82
- case 2:
83
- message.outstandingRewards.push(DecCoin.decode(reader, reader.uint32()));
84
- break;
85
- default:
86
- reader.skipType(tag & 7);
87
- break;
88
- }
89
- }
90
- return message;
91
- },
92
- fromJSON(object) {
93
- return {
94
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
95
- outstandingRewards: Array.isArray(object?.outstandingRewards)
96
- ? object.outstandingRewards.map((e) => DecCoin.fromJSON(e))
97
- : [],
98
- };
99
- },
100
- toJSON(message) {
101
- const obj = {};
102
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
103
- if (message.outstandingRewards) {
104
- obj.outstandingRewards = message.outstandingRewards.map((e) => e ? DecCoin.toJSON(e) : undefined);
105
- }
106
- else {
107
- obj.outstandingRewards = [];
108
- }
109
- return obj;
110
- },
111
- fromPartial(object) {
112
- const message = createBaseValidatorOutstandingRewardsRecord();
113
- message.validatorAddress = object.validatorAddress ?? "";
114
- message.outstandingRewards = object.outstandingRewards?.map((e) => DecCoin.fromPartial(e)) || [];
115
- return message;
116
- },
117
- };
118
- function createBaseValidatorAccumulatedCommissionRecord() {
119
- return { validatorAddress: "", accumulated: undefined };
120
- }
121
- export const ValidatorAccumulatedCommissionRecord = {
122
- encode(message, writer = _m0.Writer.create()) {
123
- if (message.validatorAddress !== "") {
124
- writer.uint32(10).string(message.validatorAddress);
125
- }
126
- if (message.accumulated !== undefined) {
127
- ValidatorAccumulatedCommission.encode(message.accumulated, writer.uint32(18).fork()).ldelim();
128
- }
129
- return writer;
130
- },
131
- decode(input, length) {
132
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
133
- let end = length === undefined ? reader.len : reader.pos + length;
134
- const message = createBaseValidatorAccumulatedCommissionRecord();
135
- while (reader.pos < end) {
136
- const tag = reader.uint32();
137
- switch (tag >>> 3) {
138
- case 1:
139
- message.validatorAddress = reader.string();
140
- break;
141
- case 2:
142
- message.accumulated = ValidatorAccumulatedCommission.decode(reader, reader.uint32());
143
- break;
144
- default:
145
- reader.skipType(tag & 7);
146
- break;
147
- }
148
- }
149
- return message;
150
- },
151
- fromJSON(object) {
152
- return {
153
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
154
- accumulated: isSet(object.accumulated) ? ValidatorAccumulatedCommission.fromJSON(object.accumulated) : undefined,
155
- };
156
- },
157
- toJSON(message) {
158
- const obj = {};
159
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
160
- message.accumulated !== undefined
161
- && (obj.accumulated = message.accumulated
162
- ? ValidatorAccumulatedCommission.toJSON(message.accumulated)
163
- : undefined);
164
- return obj;
165
- },
166
- fromPartial(object) {
167
- const message = createBaseValidatorAccumulatedCommissionRecord();
168
- message.validatorAddress = object.validatorAddress ?? "";
169
- message.accumulated = (object.accumulated !== undefined && object.accumulated !== null)
170
- ? ValidatorAccumulatedCommission.fromPartial(object.accumulated)
171
- : undefined;
172
- return message;
173
- },
174
- };
175
- function createBaseValidatorHistoricalRewardsRecord() {
176
- return { validatorAddress: "", period: 0, rewards: undefined };
177
- }
178
- export const ValidatorHistoricalRewardsRecord = {
179
- encode(message, writer = _m0.Writer.create()) {
180
- if (message.validatorAddress !== "") {
181
- writer.uint32(10).string(message.validatorAddress);
182
- }
183
- if (message.period !== 0) {
184
- writer.uint32(16).uint64(message.period);
185
- }
186
- if (message.rewards !== undefined) {
187
- ValidatorHistoricalRewards.encode(message.rewards, writer.uint32(26).fork()).ldelim();
188
- }
189
- return writer;
190
- },
191
- decode(input, length) {
192
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
193
- let end = length === undefined ? reader.len : reader.pos + length;
194
- const message = createBaseValidatorHistoricalRewardsRecord();
195
- while (reader.pos < end) {
196
- const tag = reader.uint32();
197
- switch (tag >>> 3) {
198
- case 1:
199
- message.validatorAddress = reader.string();
200
- break;
201
- case 2:
202
- message.period = longToNumber(reader.uint64());
203
- break;
204
- case 3:
205
- message.rewards = ValidatorHistoricalRewards.decode(reader, reader.uint32());
206
- break;
207
- default:
208
- reader.skipType(tag & 7);
209
- break;
210
- }
211
- }
212
- return message;
213
- },
214
- fromJSON(object) {
215
- return {
216
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
217
- period: isSet(object.period) ? Number(object.period) : 0,
218
- rewards: isSet(object.rewards) ? ValidatorHistoricalRewards.fromJSON(object.rewards) : undefined,
219
- };
220
- },
221
- toJSON(message) {
222
- const obj = {};
223
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
224
- message.period !== undefined && (obj.period = Math.round(message.period));
225
- message.rewards !== undefined
226
- && (obj.rewards = message.rewards ? ValidatorHistoricalRewards.toJSON(message.rewards) : undefined);
227
- return obj;
228
- },
229
- fromPartial(object) {
230
- const message = createBaseValidatorHistoricalRewardsRecord();
231
- message.validatorAddress = object.validatorAddress ?? "";
232
- message.period = object.period ?? 0;
233
- message.rewards = (object.rewards !== undefined && object.rewards !== null)
234
- ? ValidatorHistoricalRewards.fromPartial(object.rewards)
235
- : undefined;
236
- return message;
237
- },
238
- };
239
- function createBaseValidatorCurrentRewardsRecord() {
240
- return { validatorAddress: "", rewards: undefined };
241
- }
242
- export const ValidatorCurrentRewardsRecord = {
243
- encode(message, writer = _m0.Writer.create()) {
244
- if (message.validatorAddress !== "") {
245
- writer.uint32(10).string(message.validatorAddress);
246
- }
247
- if (message.rewards !== undefined) {
248
- ValidatorCurrentRewards.encode(message.rewards, writer.uint32(18).fork()).ldelim();
249
- }
250
- return writer;
251
- },
252
- decode(input, length) {
253
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
254
- let end = length === undefined ? reader.len : reader.pos + length;
255
- const message = createBaseValidatorCurrentRewardsRecord();
256
- while (reader.pos < end) {
257
- const tag = reader.uint32();
258
- switch (tag >>> 3) {
259
- case 1:
260
- message.validatorAddress = reader.string();
261
- break;
262
- case 2:
263
- message.rewards = ValidatorCurrentRewards.decode(reader, reader.uint32());
264
- break;
265
- default:
266
- reader.skipType(tag & 7);
267
- break;
268
- }
269
- }
270
- return message;
271
- },
272
- fromJSON(object) {
273
- return {
274
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
275
- rewards: isSet(object.rewards) ? ValidatorCurrentRewards.fromJSON(object.rewards) : undefined,
276
- };
277
- },
278
- toJSON(message) {
279
- const obj = {};
280
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
281
- message.rewards !== undefined
282
- && (obj.rewards = message.rewards ? ValidatorCurrentRewards.toJSON(message.rewards) : undefined);
283
- return obj;
284
- },
285
- fromPartial(object) {
286
- const message = createBaseValidatorCurrentRewardsRecord();
287
- message.validatorAddress = object.validatorAddress ?? "";
288
- message.rewards = (object.rewards !== undefined && object.rewards !== null)
289
- ? ValidatorCurrentRewards.fromPartial(object.rewards)
290
- : undefined;
291
- return message;
292
- },
293
- };
294
- function createBaseDelegatorStartingInfoRecord() {
295
- return { delegatorAddress: "", validatorAddress: "", startingInfo: undefined };
296
- }
297
- export const DelegatorStartingInfoRecord = {
298
- encode(message, writer = _m0.Writer.create()) {
299
- if (message.delegatorAddress !== "") {
300
- writer.uint32(10).string(message.delegatorAddress);
301
- }
302
- if (message.validatorAddress !== "") {
303
- writer.uint32(18).string(message.validatorAddress);
304
- }
305
- if (message.startingInfo !== undefined) {
306
- DelegatorStartingInfo.encode(message.startingInfo, writer.uint32(26).fork()).ldelim();
307
- }
308
- return writer;
309
- },
310
- decode(input, length) {
311
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
312
- let end = length === undefined ? reader.len : reader.pos + length;
313
- const message = createBaseDelegatorStartingInfoRecord();
314
- while (reader.pos < end) {
315
- const tag = reader.uint32();
316
- switch (tag >>> 3) {
317
- case 1:
318
- message.delegatorAddress = reader.string();
319
- break;
320
- case 2:
321
- message.validatorAddress = reader.string();
322
- break;
323
- case 3:
324
- message.startingInfo = DelegatorStartingInfo.decode(reader, reader.uint32());
325
- break;
326
- default:
327
- reader.skipType(tag & 7);
328
- break;
329
- }
330
- }
331
- return message;
332
- },
333
- fromJSON(object) {
334
- return {
335
- delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
336
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
337
- startingInfo: isSet(object.startingInfo) ? DelegatorStartingInfo.fromJSON(object.startingInfo) : undefined,
338
- };
339
- },
340
- toJSON(message) {
341
- const obj = {};
342
- message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
343
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
344
- message.startingInfo !== undefined
345
- && (obj.startingInfo = message.startingInfo ? DelegatorStartingInfo.toJSON(message.startingInfo) : undefined);
346
- return obj;
347
- },
348
- fromPartial(object) {
349
- const message = createBaseDelegatorStartingInfoRecord();
350
- message.delegatorAddress = object.delegatorAddress ?? "";
351
- message.validatorAddress = object.validatorAddress ?? "";
352
- message.startingInfo = (object.startingInfo !== undefined && object.startingInfo !== null)
353
- ? DelegatorStartingInfo.fromPartial(object.startingInfo)
354
- : undefined;
355
- return message;
356
- },
357
- };
358
- function createBaseValidatorSlashEventRecord() {
359
- return { validatorAddress: "", height: 0, period: 0, validatorSlashEvent: undefined };
360
- }
361
- export const ValidatorSlashEventRecord = {
362
- encode(message, writer = _m0.Writer.create()) {
363
- if (message.validatorAddress !== "") {
364
- writer.uint32(10).string(message.validatorAddress);
365
- }
366
- if (message.height !== 0) {
367
- writer.uint32(16).uint64(message.height);
368
- }
369
- if (message.period !== 0) {
370
- writer.uint32(24).uint64(message.period);
371
- }
372
- if (message.validatorSlashEvent !== undefined) {
373
- ValidatorSlashEvent.encode(message.validatorSlashEvent, writer.uint32(34).fork()).ldelim();
374
- }
375
- return writer;
376
- },
377
- decode(input, length) {
378
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
379
- let end = length === undefined ? reader.len : reader.pos + length;
380
- const message = createBaseValidatorSlashEventRecord();
381
- while (reader.pos < end) {
382
- const tag = reader.uint32();
383
- switch (tag >>> 3) {
384
- case 1:
385
- message.validatorAddress = reader.string();
386
- break;
387
- case 2:
388
- message.height = longToNumber(reader.uint64());
389
- break;
390
- case 3:
391
- message.period = longToNumber(reader.uint64());
392
- break;
393
- case 4:
394
- message.validatorSlashEvent = ValidatorSlashEvent.decode(reader, reader.uint32());
395
- break;
396
- default:
397
- reader.skipType(tag & 7);
398
- break;
399
- }
400
- }
401
- return message;
402
- },
403
- fromJSON(object) {
404
- return {
405
- validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
406
- height: isSet(object.height) ? Number(object.height) : 0,
407
- period: isSet(object.period) ? Number(object.period) : 0,
408
- validatorSlashEvent: isSet(object.validatorSlashEvent)
409
- ? ValidatorSlashEvent.fromJSON(object.validatorSlashEvent)
410
- : undefined,
411
- };
412
- },
413
- toJSON(message) {
414
- const obj = {};
415
- message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
416
- message.height !== undefined && (obj.height = Math.round(message.height));
417
- message.period !== undefined && (obj.period = Math.round(message.period));
418
- message.validatorSlashEvent !== undefined && (obj.validatorSlashEvent = message.validatorSlashEvent
419
- ? ValidatorSlashEvent.toJSON(message.validatorSlashEvent)
420
- : undefined);
421
- return obj;
422
- },
423
- fromPartial(object) {
424
- const message = createBaseValidatorSlashEventRecord();
425
- message.validatorAddress = object.validatorAddress ?? "";
426
- message.height = object.height ?? 0;
427
- message.period = object.period ?? 0;
428
- message.validatorSlashEvent = (object.validatorSlashEvent !== undefined && object.validatorSlashEvent !== null)
429
- ? ValidatorSlashEvent.fromPartial(object.validatorSlashEvent)
430
- : undefined;
431
- return message;
432
- },
433
- };
434
- function createBaseGenesisState() {
435
- return {
436
- params: undefined,
437
- feePool: undefined,
438
- delegatorWithdrawInfos: [],
439
- previousProposer: "",
440
- outstandingRewards: [],
441
- validatorAccumulatedCommissions: [],
442
- validatorHistoricalRewards: [],
443
- validatorCurrentRewards: [],
444
- delegatorStartingInfos: [],
445
- validatorSlashEvents: [],
446
- };
447
- }
448
- export const GenesisState = {
449
- encode(message, writer = _m0.Writer.create()) {
450
- if (message.params !== undefined) {
451
- Params.encode(message.params, writer.uint32(10).fork()).ldelim();
452
- }
453
- if (message.feePool !== undefined) {
454
- FeePool.encode(message.feePool, writer.uint32(18).fork()).ldelim();
455
- }
456
- for (const v of message.delegatorWithdrawInfos) {
457
- DelegatorWithdrawInfo.encode(v, writer.uint32(26).fork()).ldelim();
458
- }
459
- if (message.previousProposer !== "") {
460
- writer.uint32(34).string(message.previousProposer);
461
- }
462
- for (const v of message.outstandingRewards) {
463
- ValidatorOutstandingRewardsRecord.encode(v, writer.uint32(42).fork()).ldelim();
464
- }
465
- for (const v of message.validatorAccumulatedCommissions) {
466
- ValidatorAccumulatedCommissionRecord.encode(v, writer.uint32(50).fork()).ldelim();
467
- }
468
- for (const v of message.validatorHistoricalRewards) {
469
- ValidatorHistoricalRewardsRecord.encode(v, writer.uint32(58).fork()).ldelim();
470
- }
471
- for (const v of message.validatorCurrentRewards) {
472
- ValidatorCurrentRewardsRecord.encode(v, writer.uint32(66).fork()).ldelim();
473
- }
474
- for (const v of message.delegatorStartingInfos) {
475
- DelegatorStartingInfoRecord.encode(v, writer.uint32(74).fork()).ldelim();
476
- }
477
- for (const v of message.validatorSlashEvents) {
478
- ValidatorSlashEventRecord.encode(v, writer.uint32(82).fork()).ldelim();
479
- }
480
- return writer;
481
- },
482
- decode(input, length) {
483
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
484
- let end = length === undefined ? reader.len : reader.pos + length;
485
- const message = createBaseGenesisState();
486
- while (reader.pos < end) {
487
- const tag = reader.uint32();
488
- switch (tag >>> 3) {
489
- case 1:
490
- message.params = Params.decode(reader, reader.uint32());
491
- break;
492
- case 2:
493
- message.feePool = FeePool.decode(reader, reader.uint32());
494
- break;
495
- case 3:
496
- message.delegatorWithdrawInfos.push(DelegatorWithdrawInfo.decode(reader, reader.uint32()));
497
- break;
498
- case 4:
499
- message.previousProposer = reader.string();
500
- break;
501
- case 5:
502
- message.outstandingRewards.push(ValidatorOutstandingRewardsRecord.decode(reader, reader.uint32()));
503
- break;
504
- case 6:
505
- message.validatorAccumulatedCommissions.push(ValidatorAccumulatedCommissionRecord.decode(reader, reader.uint32()));
506
- break;
507
- case 7:
508
- message.validatorHistoricalRewards.push(ValidatorHistoricalRewardsRecord.decode(reader, reader.uint32()));
509
- break;
510
- case 8:
511
- message.validatorCurrentRewards.push(ValidatorCurrentRewardsRecord.decode(reader, reader.uint32()));
512
- break;
513
- case 9:
514
- message.delegatorStartingInfos.push(DelegatorStartingInfoRecord.decode(reader, reader.uint32()));
515
- break;
516
- case 10:
517
- message.validatorSlashEvents.push(ValidatorSlashEventRecord.decode(reader, reader.uint32()));
518
- break;
519
- default:
520
- reader.skipType(tag & 7);
521
- break;
522
- }
523
- }
524
- return message;
525
- },
526
- fromJSON(object) {
527
- return {
528
- params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
529
- feePool: isSet(object.feePool) ? FeePool.fromJSON(object.feePool) : undefined,
530
- delegatorWithdrawInfos: Array.isArray(object?.delegatorWithdrawInfos)
531
- ? object.delegatorWithdrawInfos.map((e) => DelegatorWithdrawInfo.fromJSON(e))
532
- : [],
533
- previousProposer: isSet(object.previousProposer) ? String(object.previousProposer) : "",
534
- outstandingRewards: Array.isArray(object?.outstandingRewards)
535
- ? object.outstandingRewards.map((e) => ValidatorOutstandingRewardsRecord.fromJSON(e))
536
- : [],
537
- validatorAccumulatedCommissions: Array.isArray(object?.validatorAccumulatedCommissions)
538
- ? object.validatorAccumulatedCommissions.map((e) => ValidatorAccumulatedCommissionRecord.fromJSON(e))
539
- : [],
540
- validatorHistoricalRewards: Array.isArray(object?.validatorHistoricalRewards)
541
- ? object.validatorHistoricalRewards.map((e) => ValidatorHistoricalRewardsRecord.fromJSON(e))
542
- : [],
543
- validatorCurrentRewards: Array.isArray(object?.validatorCurrentRewards)
544
- ? object.validatorCurrentRewards.map((e) => ValidatorCurrentRewardsRecord.fromJSON(e))
545
- : [],
546
- delegatorStartingInfos: Array.isArray(object?.delegatorStartingInfos)
547
- ? object.delegatorStartingInfos.map((e) => DelegatorStartingInfoRecord.fromJSON(e))
548
- : [],
549
- validatorSlashEvents: Array.isArray(object?.validatorSlashEvents)
550
- ? object.validatorSlashEvents.map((e) => ValidatorSlashEventRecord.fromJSON(e))
551
- : [],
552
- };
553
- },
554
- toJSON(message) {
555
- const obj = {};
556
- message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
557
- message.feePool !== undefined && (obj.feePool = message.feePool ? FeePool.toJSON(message.feePool) : undefined);
558
- if (message.delegatorWithdrawInfos) {
559
- obj.delegatorWithdrawInfos = message.delegatorWithdrawInfos.map((e) => e ? DelegatorWithdrawInfo.toJSON(e) : undefined);
560
- }
561
- else {
562
- obj.delegatorWithdrawInfos = [];
563
- }
564
- message.previousProposer !== undefined && (obj.previousProposer = message.previousProposer);
565
- if (message.outstandingRewards) {
566
- obj.outstandingRewards = message.outstandingRewards.map((e) => e ? ValidatorOutstandingRewardsRecord.toJSON(e) : undefined);
567
- }
568
- else {
569
- obj.outstandingRewards = [];
570
- }
571
- if (message.validatorAccumulatedCommissions) {
572
- obj.validatorAccumulatedCommissions = message.validatorAccumulatedCommissions.map((e) => e ? ValidatorAccumulatedCommissionRecord.toJSON(e) : undefined);
573
- }
574
- else {
575
- obj.validatorAccumulatedCommissions = [];
576
- }
577
- if (message.validatorHistoricalRewards) {
578
- obj.validatorHistoricalRewards = message.validatorHistoricalRewards.map((e) => e ? ValidatorHistoricalRewardsRecord.toJSON(e) : undefined);
579
- }
580
- else {
581
- obj.validatorHistoricalRewards = [];
582
- }
583
- if (message.validatorCurrentRewards) {
584
- obj.validatorCurrentRewards = message.validatorCurrentRewards.map((e) => e ? ValidatorCurrentRewardsRecord.toJSON(e) : undefined);
585
- }
586
- else {
587
- obj.validatorCurrentRewards = [];
588
- }
589
- if (message.delegatorStartingInfos) {
590
- obj.delegatorStartingInfos = message.delegatorStartingInfos.map((e) => e ? DelegatorStartingInfoRecord.toJSON(e) : undefined);
591
- }
592
- else {
593
- obj.delegatorStartingInfos = [];
594
- }
595
- if (message.validatorSlashEvents) {
596
- obj.validatorSlashEvents = message.validatorSlashEvents.map((e) => e ? ValidatorSlashEventRecord.toJSON(e) : undefined);
597
- }
598
- else {
599
- obj.validatorSlashEvents = [];
600
- }
601
- return obj;
602
- },
603
- fromPartial(object) {
604
- const message = createBaseGenesisState();
605
- message.params = (object.params !== undefined && object.params !== null)
606
- ? Params.fromPartial(object.params)
607
- : undefined;
608
- message.feePool = (object.feePool !== undefined && object.feePool !== null)
609
- ? FeePool.fromPartial(object.feePool)
610
- : undefined;
611
- message.delegatorWithdrawInfos = object.delegatorWithdrawInfos?.map((e) => DelegatorWithdrawInfo.fromPartial(e))
612
- || [];
613
- message.previousProposer = object.previousProposer ?? "";
614
- message.outstandingRewards = object.outstandingRewards?.map((e) => ValidatorOutstandingRewardsRecord.fromPartial(e))
615
- || [];
616
- message.validatorAccumulatedCommissions =
617
- object.validatorAccumulatedCommissions?.map((e) => ValidatorAccumulatedCommissionRecord.fromPartial(e)) || [];
618
- message.validatorHistoricalRewards =
619
- object.validatorHistoricalRewards?.map((e) => ValidatorHistoricalRewardsRecord.fromPartial(e)) || [];
620
- message.validatorCurrentRewards =
621
- object.validatorCurrentRewards?.map((e) => ValidatorCurrentRewardsRecord.fromPartial(e)) || [];
622
- message.delegatorStartingInfos =
623
- object.delegatorStartingInfos?.map((e) => DelegatorStartingInfoRecord.fromPartial(e)) || [];
624
- message.validatorSlashEvents = object.validatorSlashEvents?.map((e) => ValidatorSlashEventRecord.fromPartial(e))
625
- || [];
626
- return message;
627
- },
628
- };
629
- var globalThis = (() => {
630
- if (typeof globalThis !== "undefined") {
631
- return globalThis;
632
- }
633
- if (typeof self !== "undefined") {
634
- return self;
635
- }
636
- if (typeof window !== "undefined") {
637
- return window;
638
- }
639
- if (typeof global !== "undefined") {
640
- return global;
641
- }
642
- throw "Unable to locate global object";
643
- })();
644
- function longToNumber(long) {
645
- if (long.gt(Number.MAX_SAFE_INTEGER)) {
646
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
647
- }
648
- return long.toNumber();
649
- }
650
- if (_m0.util.Long !== Long) {
651
- _m0.util.Long = Long;
652
- _m0.configure();
653
- }
654
- function isSet(value) {
655
- return value !== null && value !== undefined;
656
- }