@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,254 +0,0 @@
1
- /* eslint-disable */
2
- import Long from "long";
3
- import _m0 from "protobufjs/minimal";
4
- import { PublicKey } from "../crypto/keys";
5
- export const protobufPackage = "tendermint.types";
6
- function createBaseValidatorSet() {
7
- return { validators: [], proposer: undefined, totalVotingPower: 0 };
8
- }
9
- export const ValidatorSet = {
10
- encode(message, writer = _m0.Writer.create()) {
11
- for (const v of message.validators) {
12
- Validator.encode(v, writer.uint32(10).fork()).ldelim();
13
- }
14
- if (message.proposer !== undefined) {
15
- Validator.encode(message.proposer, writer.uint32(18).fork()).ldelim();
16
- }
17
- if (message.totalVotingPower !== 0) {
18
- writer.uint32(24).int64(message.totalVotingPower);
19
- }
20
- return writer;
21
- },
22
- decode(input, length) {
23
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
24
- let end = length === undefined ? reader.len : reader.pos + length;
25
- const message = createBaseValidatorSet();
26
- while (reader.pos < end) {
27
- const tag = reader.uint32();
28
- switch (tag >>> 3) {
29
- case 1:
30
- message.validators.push(Validator.decode(reader, reader.uint32()));
31
- break;
32
- case 2:
33
- message.proposer = Validator.decode(reader, reader.uint32());
34
- break;
35
- case 3:
36
- message.totalVotingPower = longToNumber(reader.int64());
37
- break;
38
- default:
39
- reader.skipType(tag & 7);
40
- break;
41
- }
42
- }
43
- return message;
44
- },
45
- fromJSON(object) {
46
- return {
47
- validators: Array.isArray(object?.validators) ? object.validators.map((e) => Validator.fromJSON(e)) : [],
48
- proposer: isSet(object.proposer) ? Validator.fromJSON(object.proposer) : undefined,
49
- totalVotingPower: isSet(object.totalVotingPower) ? Number(object.totalVotingPower) : 0,
50
- };
51
- },
52
- toJSON(message) {
53
- const obj = {};
54
- if (message.validators) {
55
- obj.validators = message.validators.map((e) => e ? Validator.toJSON(e) : undefined);
56
- }
57
- else {
58
- obj.validators = [];
59
- }
60
- message.proposer !== undefined
61
- && (obj.proposer = message.proposer ? Validator.toJSON(message.proposer) : undefined);
62
- message.totalVotingPower !== undefined && (obj.totalVotingPower = Math.round(message.totalVotingPower));
63
- return obj;
64
- },
65
- fromPartial(object) {
66
- const message = createBaseValidatorSet();
67
- message.validators = object.validators?.map((e) => Validator.fromPartial(e)) || [];
68
- message.proposer = (object.proposer !== undefined && object.proposer !== null)
69
- ? Validator.fromPartial(object.proposer)
70
- : undefined;
71
- message.totalVotingPower = object.totalVotingPower ?? 0;
72
- return message;
73
- },
74
- };
75
- function createBaseValidator() {
76
- return { address: new Uint8Array(), pubKey: undefined, votingPower: 0, proposerPriority: 0 };
77
- }
78
- export const Validator = {
79
- encode(message, writer = _m0.Writer.create()) {
80
- if (message.address.length !== 0) {
81
- writer.uint32(10).bytes(message.address);
82
- }
83
- if (message.pubKey !== undefined) {
84
- PublicKey.encode(message.pubKey, writer.uint32(18).fork()).ldelim();
85
- }
86
- if (message.votingPower !== 0) {
87
- writer.uint32(24).int64(message.votingPower);
88
- }
89
- if (message.proposerPriority !== 0) {
90
- writer.uint32(32).int64(message.proposerPriority);
91
- }
92
- return writer;
93
- },
94
- decode(input, length) {
95
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
96
- let end = length === undefined ? reader.len : reader.pos + length;
97
- const message = createBaseValidator();
98
- while (reader.pos < end) {
99
- const tag = reader.uint32();
100
- switch (tag >>> 3) {
101
- case 1:
102
- message.address = reader.bytes();
103
- break;
104
- case 2:
105
- message.pubKey = PublicKey.decode(reader, reader.uint32());
106
- break;
107
- case 3:
108
- message.votingPower = longToNumber(reader.int64());
109
- break;
110
- case 4:
111
- message.proposerPriority = longToNumber(reader.int64());
112
- break;
113
- default:
114
- reader.skipType(tag & 7);
115
- break;
116
- }
117
- }
118
- return message;
119
- },
120
- fromJSON(object) {
121
- return {
122
- address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array(),
123
- pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined,
124
- votingPower: isSet(object.votingPower) ? Number(object.votingPower) : 0,
125
- proposerPriority: isSet(object.proposerPriority) ? Number(object.proposerPriority) : 0,
126
- };
127
- },
128
- toJSON(message) {
129
- const obj = {};
130
- message.address !== undefined
131
- && (obj.address = base64FromBytes(message.address !== undefined ? message.address : new Uint8Array()));
132
- message.pubKey !== undefined && (obj.pubKey = message.pubKey ? PublicKey.toJSON(message.pubKey) : undefined);
133
- message.votingPower !== undefined && (obj.votingPower = Math.round(message.votingPower));
134
- message.proposerPriority !== undefined && (obj.proposerPriority = Math.round(message.proposerPriority));
135
- return obj;
136
- },
137
- fromPartial(object) {
138
- const message = createBaseValidator();
139
- message.address = object.address ?? new Uint8Array();
140
- message.pubKey = (object.pubKey !== undefined && object.pubKey !== null)
141
- ? PublicKey.fromPartial(object.pubKey)
142
- : undefined;
143
- message.votingPower = object.votingPower ?? 0;
144
- message.proposerPriority = object.proposerPriority ?? 0;
145
- return message;
146
- },
147
- };
148
- function createBaseSimpleValidator() {
149
- return { pubKey: undefined, votingPower: 0 };
150
- }
151
- export const SimpleValidator = {
152
- encode(message, writer = _m0.Writer.create()) {
153
- if (message.pubKey !== undefined) {
154
- PublicKey.encode(message.pubKey, writer.uint32(10).fork()).ldelim();
155
- }
156
- if (message.votingPower !== 0) {
157
- writer.uint32(16).int64(message.votingPower);
158
- }
159
- return writer;
160
- },
161
- decode(input, length) {
162
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
163
- let end = length === undefined ? reader.len : reader.pos + length;
164
- const message = createBaseSimpleValidator();
165
- while (reader.pos < end) {
166
- const tag = reader.uint32();
167
- switch (tag >>> 3) {
168
- case 1:
169
- message.pubKey = PublicKey.decode(reader, reader.uint32());
170
- break;
171
- case 2:
172
- message.votingPower = longToNumber(reader.int64());
173
- break;
174
- default:
175
- reader.skipType(tag & 7);
176
- break;
177
- }
178
- }
179
- return message;
180
- },
181
- fromJSON(object) {
182
- return {
183
- pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined,
184
- votingPower: isSet(object.votingPower) ? Number(object.votingPower) : 0,
185
- };
186
- },
187
- toJSON(message) {
188
- const obj = {};
189
- message.pubKey !== undefined && (obj.pubKey = message.pubKey ? PublicKey.toJSON(message.pubKey) : undefined);
190
- message.votingPower !== undefined && (obj.votingPower = Math.round(message.votingPower));
191
- return obj;
192
- },
193
- fromPartial(object) {
194
- const message = createBaseSimpleValidator();
195
- message.pubKey = (object.pubKey !== undefined && object.pubKey !== null)
196
- ? PublicKey.fromPartial(object.pubKey)
197
- : undefined;
198
- message.votingPower = object.votingPower ?? 0;
199
- return message;
200
- },
201
- };
202
- var globalThis = (() => {
203
- if (typeof globalThis !== "undefined") {
204
- return globalThis;
205
- }
206
- if (typeof self !== "undefined") {
207
- return self;
208
- }
209
- if (typeof window !== "undefined") {
210
- return window;
211
- }
212
- if (typeof global !== "undefined") {
213
- return global;
214
- }
215
- throw "Unable to locate global object";
216
- })();
217
- function bytesFromBase64(b64) {
218
- if (globalThis.Buffer) {
219
- return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
220
- }
221
- else {
222
- const bin = globalThis.atob(b64);
223
- const arr = new Uint8Array(bin.length);
224
- for (let i = 0; i < bin.length; ++i) {
225
- arr[i] = bin.charCodeAt(i);
226
- }
227
- return arr;
228
- }
229
- }
230
- function base64FromBytes(arr) {
231
- if (globalThis.Buffer) {
232
- return globalThis.Buffer.from(arr).toString("base64");
233
- }
234
- else {
235
- const bin = [];
236
- arr.forEach((byte) => {
237
- bin.push(String.fromCharCode(byte));
238
- });
239
- return globalThis.btoa(bin.join(""));
240
- }
241
- }
242
- function longToNumber(long) {
243
- if (long.gt(Number.MAX_SAFE_INTEGER)) {
244
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
245
- }
246
- return long.toNumber();
247
- }
248
- if (_m0.util.Long !== Long) {
249
- _m0.util.Long = Long;
250
- _m0.configure();
251
- }
252
- function isSet(value) {
253
- return value !== null && value !== undefined;
254
- }
@@ -1,133 +0,0 @@
1
- /* eslint-disable */
2
- import Long from "long";
3
- import _m0 from "protobufjs/minimal";
4
- export const protobufPackage = "tendermint.version";
5
- function createBaseApp() {
6
- return { protocol: 0, software: "" };
7
- }
8
- export const App = {
9
- encode(message, writer = _m0.Writer.create()) {
10
- if (message.protocol !== 0) {
11
- writer.uint32(8).uint64(message.protocol);
12
- }
13
- if (message.software !== "") {
14
- writer.uint32(18).string(message.software);
15
- }
16
- return writer;
17
- },
18
- decode(input, length) {
19
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
20
- let end = length === undefined ? reader.len : reader.pos + length;
21
- const message = createBaseApp();
22
- while (reader.pos < end) {
23
- const tag = reader.uint32();
24
- switch (tag >>> 3) {
25
- case 1:
26
- message.protocol = longToNumber(reader.uint64());
27
- break;
28
- case 2:
29
- message.software = reader.string();
30
- break;
31
- default:
32
- reader.skipType(tag & 7);
33
- break;
34
- }
35
- }
36
- return message;
37
- },
38
- fromJSON(object) {
39
- return {
40
- protocol: isSet(object.protocol) ? Number(object.protocol) : 0,
41
- software: isSet(object.software) ? String(object.software) : "",
42
- };
43
- },
44
- toJSON(message) {
45
- const obj = {};
46
- message.protocol !== undefined && (obj.protocol = Math.round(message.protocol));
47
- message.software !== undefined && (obj.software = message.software);
48
- return obj;
49
- },
50
- fromPartial(object) {
51
- const message = createBaseApp();
52
- message.protocol = object.protocol ?? 0;
53
- message.software = object.software ?? "";
54
- return message;
55
- },
56
- };
57
- function createBaseConsensus() {
58
- return { block: 0, app: 0 };
59
- }
60
- export const Consensus = {
61
- encode(message, writer = _m0.Writer.create()) {
62
- if (message.block !== 0) {
63
- writer.uint32(8).uint64(message.block);
64
- }
65
- if (message.app !== 0) {
66
- writer.uint32(16).uint64(message.app);
67
- }
68
- return writer;
69
- },
70
- decode(input, length) {
71
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
72
- let end = length === undefined ? reader.len : reader.pos + length;
73
- const message = createBaseConsensus();
74
- while (reader.pos < end) {
75
- const tag = reader.uint32();
76
- switch (tag >>> 3) {
77
- case 1:
78
- message.block = longToNumber(reader.uint64());
79
- break;
80
- case 2:
81
- message.app = longToNumber(reader.uint64());
82
- break;
83
- default:
84
- reader.skipType(tag & 7);
85
- break;
86
- }
87
- }
88
- return message;
89
- },
90
- fromJSON(object) {
91
- return { block: isSet(object.block) ? Number(object.block) : 0, app: isSet(object.app) ? Number(object.app) : 0 };
92
- },
93
- toJSON(message) {
94
- const obj = {};
95
- message.block !== undefined && (obj.block = Math.round(message.block));
96
- message.app !== undefined && (obj.app = Math.round(message.app));
97
- return obj;
98
- },
99
- fromPartial(object) {
100
- const message = createBaseConsensus();
101
- message.block = object.block ?? 0;
102
- message.app = object.app ?? 0;
103
- return message;
104
- },
105
- };
106
- var globalThis = (() => {
107
- if (typeof globalThis !== "undefined") {
108
- return globalThis;
109
- }
110
- if (typeof self !== "undefined") {
111
- return self;
112
- }
113
- if (typeof window !== "undefined") {
114
- return window;
115
- }
116
- if (typeof global !== "undefined") {
117
- return global;
118
- }
119
- throw "Unable to locate global object";
120
- })();
121
- function longToNumber(long) {
122
- if (long.gt(Number.MAX_SAFE_INTEGER)) {
123
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
124
- }
125
- return long.toNumber();
126
- }
127
- if (_m0.util.Long !== Long) {
128
- _m0.util.Long = Long;
129
- _m0.configure();
130
- }
131
- function isSet(value) {
132
- return value !== null && value !== undefined;
133
- }
@@ -1,8 +0,0 @@
1
- import { Validator } from "./types/cosmos/base/tendermint/v1beta1/query";
2
- import { VersionInfo } from "./types/cosmos/base/tendermint/v1beta1/query";
3
- import { Module } from "./types/cosmos/base/tendermint/v1beta1/query";
4
- import { ProofOp } from "./types/cosmos/base/tendermint/v1beta1/query";
5
- import { ProofOps } from "./types/cosmos/base/tendermint/v1beta1/query";
6
- import { Block } from "./types/cosmos/base/tendermint/v1beta1/types";
7
- import { Header } from "./types/cosmos/base/tendermint/v1beta1/types";
8
- export { Validator, VersionInfo, Module, ProofOp, ProofOps, Block, Header, };
@@ -1,5 +0,0 @@
1
- import Module from './module';
2
- import { txClient, queryClient, registry } from './module';
3
- import { msgTypes } from './registry';
4
- export * from "./types";
5
- export { Module, msgTypes, txClient, queryClient, registry };
@@ -1,81 +0,0 @@
1
- // Generated by Ignite ignite.com/cli
2
- import { SigningStargateClient } from "@cosmjs/stargate";
3
- import { Registry } from "@cosmjs/proto-signing";
4
- import { msgTypes } from './registry';
5
- import { Api } from "./rest";
6
- import { MsgUpdateParams } from "./types/cosmos/consensus/v1/tx";
7
- export { MsgUpdateParams };
8
- export const registry = new Registry(msgTypes);
9
- function getStructure(template) {
10
- const structure = { fields: [] };
11
- for (let [key, value] of Object.entries(template)) {
12
- let field = { name: key, type: typeof value };
13
- structure.fields.push(field);
14
- }
15
- return structure;
16
- }
17
- const defaultFee = {
18
- amount: [],
19
- gas: "200000",
20
- };
21
- export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
22
- return {
23
- async sendMsgUpdateParams({ value, fee, memo }) {
24
- if (!signer) {
25
- throw new Error('TxClient:sendMsgUpdateParams: Unable to sign Tx. Signer is not present.');
26
- }
27
- try {
28
- const { address } = (await signer.getAccounts())[0];
29
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
30
- let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) });
31
- return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
32
- }
33
- catch (e) {
34
- throw new Error('TxClient:sendMsgUpdateParams: Could not broadcast Tx: ' + e.message);
35
- }
36
- },
37
- msgUpdateParams({ value }) {
38
- try {
39
- return { typeUrl: "/cosmos.consensus.v1.MsgUpdateParams", value: MsgUpdateParams.fromPartial(value) };
40
- }
41
- catch (e) {
42
- throw new Error('TxClient:MsgUpdateParams: Could not create message: ' + e.message);
43
- }
44
- },
45
- };
46
- };
47
- export const queryClient = ({ addr: addr } = { addr: "http://localhost:1317" }) => {
48
- return new Api({ baseURL: addr });
49
- };
50
- class SDKModule {
51
- constructor(client) {
52
- this.registry = [];
53
- this.query = queryClient({ addr: client.env.apiURL });
54
- this.updateTX(client);
55
- this.structure = {};
56
- client.on('signer-changed', (signer) => {
57
- this.updateTX(client);
58
- });
59
- }
60
- updateTX(client) {
61
- const methods = txClient({
62
- signer: client.signer,
63
- addr: client.env.rpcURL,
64
- prefix: client.env.prefix ?? "cosmos",
65
- });
66
- this.tx = methods;
67
- for (let m in methods) {
68
- this.tx[m] = methods[m].bind(this.tx);
69
- }
70
- }
71
- }
72
- ;
73
- const Module = (test) => {
74
- return {
75
- module: {
76
- CosmosConsensusV1: new SDKModule(test)
77
- },
78
- registry: msgTypes
79
- };
80
- };
81
- export default Module;
@@ -1,5 +0,0 @@
1
- import { MsgUpdateParams } from "./types/cosmos/consensus/v1/tx";
2
- const msgTypes = [
3
- ["/cosmos.consensus.v1.MsgUpdateParams", MsgUpdateParams],
4
- ];
5
- export { msgTypes };
@@ -1,100 +0,0 @@
1
- /* eslint-disable */
2
- /* tslint:disable */
3
- /*
4
- * ---------------------------------------------------------------
5
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
6
- * ## ##
7
- * ## AUTHOR: acacode ##
8
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
9
- * ---------------------------------------------------------------
10
- */
11
- import axios from "axios";
12
- export var ContentType;
13
- (function (ContentType) {
14
- ContentType["Json"] = "application/json";
15
- ContentType["FormData"] = "multipart/form-data";
16
- ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
17
- })(ContentType || (ContentType = {}));
18
- export class HttpClient {
19
- constructor({ securityWorker, secure, format, ...axiosConfig } = {}) {
20
- this.securityData = null;
21
- this.setSecurityData = (data) => {
22
- this.securityData = data;
23
- };
24
- this.request = async ({ secure, path, type, query, format, body, ...params }) => {
25
- const secureParams = ((typeof secure === "boolean" ? secure : this.secure) &&
26
- this.securityWorker &&
27
- (await this.securityWorker(this.securityData))) ||
28
- {};
29
- const requestParams = this.mergeRequestParams(params, secureParams);
30
- const responseFormat = (format && this.format) || void 0;
31
- if (type === ContentType.FormData && body && body !== null && typeof body === "object") {
32
- requestParams.headers.common = { Accept: "*/*" };
33
- requestParams.headers.post = {};
34
- requestParams.headers.put = {};
35
- body = this.createFormData(body);
36
- }
37
- return this.instance.request({
38
- ...requestParams,
39
- headers: {
40
- ...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
41
- ...(requestParams.headers || {}),
42
- },
43
- params: query,
44
- responseType: responseFormat,
45
- data: body,
46
- url: path,
47
- });
48
- };
49
- this.instance = axios.create({ ...axiosConfig, baseURL: axiosConfig.baseURL || "" });
50
- this.secure = secure;
51
- this.format = format;
52
- this.securityWorker = securityWorker;
53
- }
54
- mergeRequestParams(params1, params2) {
55
- return {
56
- ...this.instance.defaults,
57
- ...params1,
58
- ...(params2 || {}),
59
- headers: {
60
- ...(this.instance.defaults.headers || {}),
61
- ...(params1.headers || {}),
62
- ...((params2 && params2.headers) || {}),
63
- },
64
- };
65
- }
66
- createFormData(input) {
67
- return Object.keys(input || {}).reduce((formData, key) => {
68
- const property = input[key];
69
- formData.append(key, property instanceof Blob
70
- ? property
71
- : typeof property === "object" && property !== null
72
- ? JSON.stringify(property)
73
- : `${property}`);
74
- return formData;
75
- }, new FormData());
76
- }
77
- }
78
- /**
79
- * @title cosmos/consensus/v1/query.proto
80
- * @version version not set
81
- */
82
- export class Api extends HttpClient {
83
- constructor() {
84
- super(...arguments);
85
- /**
86
- * No description
87
- *
88
- * @tags Query
89
- * @name QueryParams
90
- * @summary Params queries the parameters of x/consensus_param module.
91
- * @request GET:/cosmos/consensus/v1/params
92
- */
93
- this.queryParams = (params = {}) => this.request({
94
- path: `/cosmos/consensus/v1/params`,
95
- method: "GET",
96
- format: "json",
97
- ...params,
98
- });
99
- }
100
- }
@@ -1,94 +0,0 @@
1
- /* eslint-disable */
2
- import _m0 from "protobufjs/minimal";
3
- import { ConsensusParams } from "../../../tendermint/types/params";
4
- export const protobufPackage = "cosmos.consensus.v1";
5
- function createBaseQueryParamsRequest() {
6
- return {};
7
- }
8
- export const QueryParamsRequest = {
9
- encode(_, writer = _m0.Writer.create()) {
10
- return writer;
11
- },
12
- decode(input, length) {
13
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
14
- let end = length === undefined ? reader.len : reader.pos + length;
15
- const message = createBaseQueryParamsRequest();
16
- while (reader.pos < end) {
17
- const tag = reader.uint32();
18
- switch (tag >>> 3) {
19
- default:
20
- reader.skipType(tag & 7);
21
- break;
22
- }
23
- }
24
- return message;
25
- },
26
- fromJSON(_) {
27
- return {};
28
- },
29
- toJSON(_) {
30
- const obj = {};
31
- return obj;
32
- },
33
- fromPartial(_) {
34
- const message = createBaseQueryParamsRequest();
35
- return message;
36
- },
37
- };
38
- function createBaseQueryParamsResponse() {
39
- return { params: undefined };
40
- }
41
- export const QueryParamsResponse = {
42
- encode(message, writer = _m0.Writer.create()) {
43
- if (message.params !== undefined) {
44
- ConsensusParams.encode(message.params, writer.uint32(10).fork()).ldelim();
45
- }
46
- return writer;
47
- },
48
- decode(input, length) {
49
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
50
- let end = length === undefined ? reader.len : reader.pos + length;
51
- const message = createBaseQueryParamsResponse();
52
- while (reader.pos < end) {
53
- const tag = reader.uint32();
54
- switch (tag >>> 3) {
55
- case 1:
56
- message.params = ConsensusParams.decode(reader, reader.uint32());
57
- break;
58
- default:
59
- reader.skipType(tag & 7);
60
- break;
61
- }
62
- }
63
- return message;
64
- },
65
- fromJSON(object) {
66
- return { params: isSet(object.params) ? ConsensusParams.fromJSON(object.params) : undefined };
67
- },
68
- toJSON(message) {
69
- const obj = {};
70
- message.params !== undefined && (obj.params = message.params ? ConsensusParams.toJSON(message.params) : undefined);
71
- return obj;
72
- },
73
- fromPartial(object) {
74
- const message = createBaseQueryParamsResponse();
75
- message.params = (object.params !== undefined && object.params !== null)
76
- ? ConsensusParams.fromPartial(object.params)
77
- : undefined;
78
- return message;
79
- },
80
- };
81
- export class QueryClientImpl {
82
- constructor(rpc) {
83
- this.rpc = rpc;
84
- this.Params = this.Params.bind(this);
85
- }
86
- Params(request) {
87
- const data = QueryParamsRequest.encode(request).finish();
88
- const promise = this.rpc.request("cosmos.consensus.v1.Query", "Params", data);
89
- return promise.then((data) => QueryParamsResponse.decode(new _m0.Reader(data)));
90
- }
91
- }
92
- function isSet(value) {
93
- return value !== null && value !== undefined;
94
- }