decentralcardgame-cardchain-client-ts 0.0.6 → 0.0.7

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 (485) hide show
  1. package/DecentralCardGame.cardchain.cardchain/module.ts +448 -448
  2. package/DecentralCardGame.cardchain.cardchain/registry.ts +60 -60
  3. package/package.json +1 -1
  4. package/tsconfig.json +1 -0
  5. package/DecentralCardGame.cardchain.cardchain/index.js +0 -5
  6. package/DecentralCardGame.cardchain.cardchain/module.js +0 -1046
  7. package/DecentralCardGame.cardchain.cardchain/registry.js +0 -85
  8. package/DecentralCardGame.cardchain.cardchain/rest.js +0 -396
  9. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +0 -562
  10. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection.js +0 -365
  11. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection_proposal.js +0 -93
  12. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +0 -102
  13. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +0 -350
  14. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +0 -254
  15. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +0 -88
  16. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +0 -210
  17. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +0 -67
  18. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +0 -73
  19. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +0 -275
  20. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +0 -1980
  21. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +0 -85
  22. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +0 -148
  23. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +0 -93
  24. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +0 -4294
  25. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +0 -496
  26. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/vote_right.js +0 -84
  27. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_result.js +0 -127
  28. package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_results.js +0 -148
  29. package/DecentralCardGame.cardchain.cardchain/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  30. package/DecentralCardGame.cardchain.cardchain/types/cosmos/base/v1beta1/coin.js +0 -192
  31. package/DecentralCardGame.cardchain.cardchain/types/cosmos_proto/cosmos.js +0 -171
  32. package/DecentralCardGame.cardchain.cardchain/types/gogoproto/gogo.js +0 -2
  33. package/DecentralCardGame.cardchain.cardchain/types/google/api/annotations.js +0 -2
  34. package/DecentralCardGame.cardchain.cardchain/types/google/api/http.js +0 -260
  35. package/DecentralCardGame.cardchain.cardchain/types/google/protobuf/descriptor.js +0 -2830
  36. package/DecentralCardGame.cardchain.cardchain/types.js +0 -23
  37. package/cosmos.auth.v1beta1/index.js +0 -5
  38. package/cosmos.auth.v1beta1/module.js +0 -62
  39. package/cosmos.auth.v1beta1/registry.js +0 -2
  40. package/cosmos.auth.v1beta1/rest.js +0 -213
  41. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
  42. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +0 -67
  43. package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +0 -868
  44. package/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  45. package/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  46. package/cosmos.auth.v1beta1/types/gogoproto/gogo.js +0 -2
  47. package/cosmos.auth.v1beta1/types/google/api/annotations.js +0 -2
  48. package/cosmos.auth.v1beta1/types/google/api/http.js +0 -260
  49. package/cosmos.auth.v1beta1/types/google/protobuf/any.js +0 -99
  50. package/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  51. package/cosmos.auth.v1beta1/types.js +0 -4
  52. package/cosmos.authz.v1beta1/index.js +0 -5
  53. package/cosmos.authz.v1beta1/module.js +0 -140
  54. package/cosmos.authz.v1beta1/registry.js +0 -9
  55. package/cosmos.authz.v1beta1/rest.js +0 -131
  56. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +0 -244
  57. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +0 -128
  58. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +0 -54
  59. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +0 -394
  60. package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +0 -362
  61. package/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  62. package/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  63. package/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  64. package/cosmos.authz.v1beta1/types/gogoproto/gogo.js +0 -2
  65. package/cosmos.authz.v1beta1/types/google/api/annotations.js +0 -2
  66. package/cosmos.authz.v1beta1/types/google/api/http.js +0 -260
  67. package/cosmos.authz.v1beta1/types/google/protobuf/any.js +0 -99
  68. package/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  69. package/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +0 -84
  70. package/cosmos.authz.v1beta1/types.js +0 -7
  71. package/cosmos.bank.v1beta1/index.js +0 -5
  72. package/cosmos.bank.v1beta1/module.js +0 -125
  73. package/cosmos.bank.v1beta1/registry.js +0 -7
  74. package/cosmos.bank.v1beta1/rest.js +0 -222
  75. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +0 -50
  76. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +0 -455
  77. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +0 -154
  78. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +0 -1014
  79. package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +0 -219
  80. package/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  81. package/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  82. package/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  83. package/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  84. package/cosmos.bank.v1beta1/types/gogoproto/gogo.js +0 -2
  85. package/cosmos.bank.v1beta1/types/google/api/annotations.js +0 -2
  86. package/cosmos.bank.v1beta1/types/google/api/http.js +0 -260
  87. package/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  88. package/cosmos.bank.v1beta1/types.js +0 -11
  89. package/cosmos.base.tendermint.v1beta1/index.js +0 -5
  90. package/cosmos.base.tendermint.v1beta1/module.js +0 -70
  91. package/cosmos.base.tendermint.v1beta1/registry.js +0 -2
  92. package/cosmos.base.tendermint.v1beta1/rest.js +0 -209
  93. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  94. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +0 -1281
  95. package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +0 -350
  96. package/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  97. package/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +0 -2
  98. package/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +0 -2
  99. package/cosmos.base.tendermint.v1beta1/types/google/api/http.js +0 -260
  100. package/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +0 -99
  101. package/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  102. package/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +0 -84
  103. package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +0 -100
  104. package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +0 -356
  105. package/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +0 -352
  106. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +0 -86
  107. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +0 -343
  108. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +0 -1207
  109. package/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +0 -254
  110. package/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +0 -133
  111. package/cosmos.base.tendermint.v1beta1/types.js +0 -8
  112. package/cosmos.crisis.v1beta1/index.js +0 -5
  113. package/cosmos.crisis.v1beta1/module.js +0 -81
  114. package/cosmos.crisis.v1beta1/registry.js +0 -5
  115. package/cosmos.crisis.v1beta1/rest.js +0 -83
  116. package/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  117. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +0 -51
  118. package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -111
  119. package/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  120. package/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  121. package/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +0 -2
  122. package/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  123. package/cosmos.crisis.v1beta1/types.js +0 -1
  124. package/cosmos.distribution.v1beta1/index.js +0 -5
  125. package/cosmos.distribution.v1beta1/module.js +0 -189
  126. package/cosmos.distribution.v1beta1/registry.js +0 -11
  127. package/cosmos.distribution.v1beta1/rest.js +0 -214
  128. package/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  129. package/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  130. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +0 -737
  131. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +0 -656
  132. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -926
  133. package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -396
  134. package/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  135. package/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  136. package/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +0 -2
  137. package/cosmos.distribution.v1beta1/types/google/api/annotations.js +0 -2
  138. package/cosmos.distribution.v1beta1/types/google/api/http.js +0 -260
  139. package/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  140. package/cosmos.distribution.v1beta1/types.js +0 -20
  141. package/cosmos.evidence.v1beta1/index.js +0 -5
  142. package/cosmos.evidence.v1beta1/module.js +0 -84
  143. package/cosmos.evidence.v1beta1/registry.js +0 -5
  144. package/cosmos.evidence.v1beta1/rest.js +0 -115
  145. package/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  146. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +0 -124
  147. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +0 -50
  148. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +0 -254
  149. package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +0 -154
  150. package/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  151. package/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  152. package/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +0 -2
  153. package/cosmos.evidence.v1beta1/types/google/api/annotations.js +0 -2
  154. package/cosmos.evidence.v1beta1/types/google/api/http.js +0 -260
  155. package/cosmos.evidence.v1beta1/types/google/protobuf/any.js +0 -99
  156. package/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  157. package/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +0 -84
  158. package/cosmos.evidence.v1beta1/types.js +0 -2
  159. package/cosmos.feegrant.v1beta1/index.js +0 -5
  160. package/cosmos.feegrant.v1beta1/module.js +0 -113
  161. package/cosmos.feegrant.v1beta1/registry.js +0 -7
  162. package/cosmos.feegrant.v1beta1/rest.js +0 -130
  163. package/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  164. package/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  165. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +0 -307
  166. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +0 -52
  167. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +0 -357
  168. package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +0 -205
  169. package/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  170. package/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  171. package/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +0 -2
  172. package/cosmos.feegrant.v1beta1/types/google/api/annotations.js +0 -2
  173. package/cosmos.feegrant.v1beta1/types/google/api/http.js +0 -260
  174. package/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +0 -99
  175. package/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  176. package/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +0 -84
  177. package/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +0 -84
  178. package/cosmos.feegrant.v1beta1/types.js +0 -5
  179. package/cosmos.gov.v1/index.js +0 -5
  180. package/cosmos.gov.v1/module.js +0 -167
  181. package/cosmos.gov.v1/registry.js +0 -11
  182. package/cosmos.gov.v1/rest.js +0 -242
  183. package/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  184. package/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +0 -192
  185. package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +0 -162
  186. package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -766
  187. package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +0 -917
  188. package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +0 -590
  189. package/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +0 -2
  190. package/cosmos.gov.v1/types/cosmos_proto/cosmos.js +0 -171
  191. package/cosmos.gov.v1/types/gogoproto/gogo.js +0 -2
  192. package/cosmos.gov.v1/types/google/api/annotations.js +0 -2
  193. package/cosmos.gov.v1/types/google/api/http.js +0 -260
  194. package/cosmos.gov.v1/types/google/protobuf/any.js +0 -99
  195. package/cosmos.gov.v1/types/google/protobuf/descriptor.js +0 -2830
  196. package/cosmos.gov.v1/types/google/protobuf/duration.js +0 -84
  197. package/cosmos.gov.v1/types/google/protobuf/timestamp.js +0 -84
  198. package/cosmos.gov.v1/types.js +0 -9
  199. package/cosmos.gov.v1beta1/index.js +0 -5
  200. package/cosmos.gov.v1beta1/module.js +0 -169
  201. package/cosmos.gov.v1beta1/registry.js +0 -11
  202. package/cosmos.gov.v1beta1/rest.js +0 -242
  203. package/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  204. package/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  205. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +0 -162
  206. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +0 -832
  207. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +0 -917
  208. package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +0 -467
  209. package/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  210. package/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  211. package/cosmos.gov.v1beta1/types/gogoproto/gogo.js +0 -2
  212. package/cosmos.gov.v1beta1/types/google/api/annotations.js +0 -2
  213. package/cosmos.gov.v1beta1/types/google/api/http.js +0 -260
  214. package/cosmos.gov.v1beta1/types/google/protobuf/any.js +0 -99
  215. package/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  216. package/cosmos.gov.v1beta1/types/google/protobuf/duration.js +0 -84
  217. package/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +0 -84
  218. package/cosmos.gov.v1beta1/types.js +0 -10
  219. package/cosmos.group.v1/index.js +0 -5
  220. package/cosmos.group.v1/module.js +0 -421
  221. package/cosmos.group.v1/registry.js +0 -31
  222. package/cosmos.group.v1/rest.js +0 -366
  223. package/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  224. package/cosmos.group.v1/types/cosmos/group/v1/events.js +0 -433
  225. package/cosmos.group.v1/types/cosmos/group/v1/genesis.js +0 -177
  226. package/cosmos.group.v1/types/cosmos/group/v1/query.js +0 -1578
  227. package/cosmos.group.v1/types/cosmos/group/v1/tx.js +0 -1621
  228. package/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -1105
  229. package/cosmos.group.v1/types/cosmos/msg/v1/msg.js +0 -2
  230. package/cosmos.group.v1/types/cosmos_proto/cosmos.js +0 -171
  231. package/cosmos.group.v1/types/gogoproto/gogo.js +0 -2
  232. package/cosmos.group.v1/types/google/api/annotations.js +0 -2
  233. package/cosmos.group.v1/types/google/api/http.js +0 -260
  234. package/cosmos.group.v1/types/google/protobuf/any.js +0 -99
  235. package/cosmos.group.v1/types/google/protobuf/descriptor.js +0 -2830
  236. package/cosmos.group.v1/types/google/protobuf/duration.js +0 -84
  237. package/cosmos.group.v1/types/google/protobuf/timestamp.js +0 -84
  238. package/cosmos.group.v1/types.js +0 -21
  239. package/cosmos.mint.v1beta1/index.js +0 -5
  240. package/cosmos.mint.v1beta1/module.js +0 -60
  241. package/cosmos.mint.v1beta1/registry.js +0 -2
  242. package/cosmos.mint.v1beta1/rest.js +0 -128
  243. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +0 -63
  244. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +0 -179
  245. package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +0 -298
  246. package/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  247. package/cosmos.mint.v1beta1/types/gogoproto/gogo.js +0 -2
  248. package/cosmos.mint.v1beta1/types/google/api/annotations.js +0 -2
  249. package/cosmos.mint.v1beta1/types/google/api/http.js +0 -260
  250. package/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  251. package/cosmos.mint.v1beta1/types.js +0 -3
  252. package/cosmos.nft.v1beta1/index.js +0 -5
  253. package/cosmos.nft.v1beta1/module.js +0 -68
  254. package/cosmos.nft.v1beta1/registry.js +0 -2
  255. package/cosmos.nft.v1beta1/rest.js +0 -187
  256. package/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  257. package/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  258. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +0 -198
  259. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +0 -126
  260. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +0 -183
  261. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +0 -752
  262. package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +0 -120
  263. package/cosmos.nft.v1beta1/types/google/api/annotations.js +0 -2
  264. package/cosmos.nft.v1beta1/types/google/api/http.js +0 -260
  265. package/cosmos.nft.v1beta1/types/google/protobuf/any.js +0 -99
  266. package/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  267. package/cosmos.nft.v1beta1/types.js +0 -7
  268. package/cosmos.params.v1beta1/index.js +0 -5
  269. package/cosmos.params.v1beta1/module.js +0 -62
  270. package/cosmos.params.v1beta1/registry.js +0 -2
  271. package/cosmos.params.v1beta1/rest.js +0 -116
  272. package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +0 -133
  273. package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +0 -257
  274. package/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  275. package/cosmos.params.v1beta1/types/gogoproto/gogo.js +0 -2
  276. package/cosmos.params.v1beta1/types/google/api/annotations.js +0 -2
  277. package/cosmos.params.v1beta1/types/google/api/http.js +0 -260
  278. package/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  279. package/cosmos.params.v1beta1/types.js +0 -4
  280. package/cosmos.slashing.v1beta1/index.js +0 -5
  281. package/cosmos.slashing.v1beta1/module.js +0 -92
  282. package/cosmos.slashing.v1beta1/registry.js +0 -5
  283. package/cosmos.slashing.v1beta1/rest.js +0 -129
  284. package/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  285. package/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  286. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +0 -279
  287. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +0 -300
  288. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +0 -275
  289. package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -91
  290. package/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  291. package/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +0 -2
  292. package/cosmos.slashing.v1beta1/types/google/api/annotations.js +0 -2
  293. package/cosmos.slashing.v1beta1/types/google/api/http.js +0 -260
  294. package/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  295. package/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +0 -84
  296. package/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +0 -84
  297. package/cosmos.slashing.v1beta1/types.js +0 -6
  298. package/cosmos.staking.v1beta1/index.js +0 -5
  299. package/cosmos.staking.v1beta1/module.js +0 -243
  300. package/cosmos.staking.v1beta1/registry.js +0 -15
  301. package/cosmos.staking.v1beta1/rest.js +0 -308
  302. package/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  303. package/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  304. package/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  305. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +0 -184
  306. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +0 -259
  307. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +0 -1568
  308. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +0 -1436
  309. package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +0 -768
  310. package/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  311. package/cosmos.staking.v1beta1/types/gogoproto/gogo.js +0 -2
  312. package/cosmos.staking.v1beta1/types/google/api/annotations.js +0 -2
  313. package/cosmos.staking.v1beta1/types/google/api/http.js +0 -260
  314. package/cosmos.staking.v1beta1/types/google/protobuf/any.js +0 -99
  315. package/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  316. package/cosmos.staking.v1beta1/types/google/protobuf/duration.js +0 -84
  317. package/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +0 -84
  318. package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +0 -100
  319. package/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +0 -356
  320. package/cosmos.staking.v1beta1/types/tendermint/types/types.js +0 -1207
  321. package/cosmos.staking.v1beta1/types/tendermint/types/validator.js +0 -254
  322. package/cosmos.staking.v1beta1/types/tendermint/version/types.js +0 -133
  323. package/cosmos.staking.v1beta1/types.js +0 -24
  324. package/cosmos.tx.v1beta1/index.js +0 -5
  325. package/cosmos.tx.v1beta1/module.js +0 -82
  326. package/cosmos.tx.v1beta1/registry.js +0 -2
  327. package/cosmos.tx.v1beta1/rest.js +0 -256
  328. package/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -803
  329. package/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  330. package/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  331. package/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +0 -147
  332. package/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +0 -449
  333. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +0 -802
  334. package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +0 -959
  335. package/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  336. package/cosmos.tx.v1beta1/types/gogoproto/gogo.js +0 -2
  337. package/cosmos.tx.v1beta1/types/google/api/annotations.js +0 -2
  338. package/cosmos.tx.v1beta1/types/google/api/http.js +0 -260
  339. package/cosmos.tx.v1beta1/types/google/protobuf/any.js +0 -99
  340. package/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  341. package/cosmos.tx.v1beta1/types/google/protobuf/duration.js +0 -84
  342. package/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +0 -84
  343. package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +0 -3486
  344. package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +0 -100
  345. package/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +0 -356
  346. package/cosmos.tx.v1beta1/types/tendermint/types/block.js +0 -86
  347. package/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +0 -343
  348. package/cosmos.tx.v1beta1/types/tendermint/types/params.js +0 -378
  349. package/cosmos.tx.v1beta1/types/tendermint/types/types.js +0 -1207
  350. package/cosmos.tx.v1beta1/types/tendermint/types/validator.js +0 -254
  351. package/cosmos.tx.v1beta1/types/tendermint/version/types.js +0 -133
  352. package/cosmos.tx.v1beta1/types.js +0 -14
  353. package/cosmos.upgrade.v1beta1/index.js +0 -5
  354. package/cosmos.upgrade.v1beta1/module.js +0 -113
  355. package/cosmos.upgrade.v1beta1/registry.js +0 -7
  356. package/cosmos.upgrade.v1beta1/rest.js +0 -162
  357. package/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  358. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +0 -501
  359. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +0 -183
  360. package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  361. package/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  362. package/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +0 -2
  363. package/cosmos.upgrade.v1beta1/types/google/api/annotations.js +0 -2
  364. package/cosmos.upgrade.v1beta1/types/google/api/http.js +0 -260
  365. package/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +0 -99
  366. package/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  367. package/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +0 -84
  368. package/cosmos.upgrade.v1beta1/types.js +0 -5
  369. package/cosmos.vesting.v1beta1/index.js +0 -5
  370. package/cosmos.vesting.v1beta1/module.js +0 -140
  371. package/cosmos.vesting.v1beta1/registry.js +0 -9
  372. package/cosmos.vesting.v1beta1/rest.js +0 -83
  373. package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
  374. package/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
  375. package/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
  376. package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +0 -383
  377. package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +0 -422
  378. package/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +0 -171
  379. package/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +0 -2
  380. package/cosmos.vesting.v1beta1/types/google/protobuf/any.js +0 -99
  381. package/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +0 -2830
  382. package/cosmos.vesting.v1beta1/types.js +0 -7
  383. package/ibc.applications.interchain_accounts.controller.v1/index.js +0 -5
  384. package/ibc.applications.interchain_accounts.controller.v1/module.js +0 -58
  385. package/ibc.applications.interchain_accounts.controller.v1/registry.js +0 -2
  386. package/ibc.applications.interchain_accounts.controller.v1/rest.js +0 -123
  387. package/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +0 -2
  388. package/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +0 -2
  389. package/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +0 -260
  390. package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.js +0 -99
  391. package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +0 -2830
  392. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +0 -47
  393. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +0 -193
  394. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +0 -266
  395. package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +0 -192
  396. package/ibc.applications.interchain_accounts.controller.v1/types.js +0 -2
  397. package/ibc.applications.interchain_accounts.host.v1/index.js +0 -5
  398. package/ibc.applications.interchain_accounts.host.v1/module.js +0 -58
  399. package/ibc.applications.interchain_accounts.host.v1/registry.js +0 -2
  400. package/ibc.applications.interchain_accounts.host.v1/rest.js +0 -100
  401. package/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +0 -2
  402. package/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +0 -2
  403. package/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +0 -260
  404. package/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +0 -2830
  405. package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +0 -63
  406. package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +0 -94
  407. package/ibc.applications.interchain_accounts.host.v1/types.js +0 -2
  408. package/ibc.applications.transfer.v1/index.js +0 -5
  409. package/ibc.applications.transfer.v1/module.js +0 -86
  410. package/ibc.applications.transfer.v1/registry.js +0 -5
  411. package/ibc.applications.transfer.v1/rest.js +0 -157
  412. package/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  413. package/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +0 -192
  414. package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  415. package/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +0 -171
  416. package/ibc.applications.transfer.v1/types/gogoproto/gogo.js +0 -2
  417. package/ibc.applications.transfer.v1/types/google/api/annotations.js +0 -2
  418. package/ibc.applications.transfer.v1/types/google/api/http.js +0 -260
  419. package/ibc.applications.transfer.v1/types/google/protobuf/any.js +0 -99
  420. package/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +0 -2830
  421. package/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +0 -84
  422. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +0 -75
  423. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -483
  424. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +0 -110
  425. package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +0 -204
  426. package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +0 -448
  427. package/ibc.applications.transfer.v1/types.js +0 -3
  428. package/ibc.core.channel.v1/index.js +0 -5
  429. package/ibc.core.channel.v1/module.js +0 -72
  430. package/ibc.core.channel.v1/registry.js +0 -2
  431. package/ibc.core.channel.v1/rest.js +0 -323
  432. package/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  433. package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  434. package/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +0 -171
  435. package/ibc.core.channel.v1/types/gogoproto/gogo.js +0 -2
  436. package/ibc.core.channel.v1/types/google/api/annotations.js +0 -2
  437. package/ibc.core.channel.v1/types/google/api/http.js +0 -260
  438. package/ibc.core.channel.v1/types/google/protobuf/any.js +0 -99
  439. package/ibc.core.channel.v1/types/google/protobuf/descriptor.js +0 -2830
  440. package/ibc.core.channel.v1/types/google/protobuf/timestamp.js +0 -84
  441. package/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +0 -714
  442. package/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +0 -254
  443. package/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +0 -1866
  444. package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +0 -1425
  445. package/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +0 -448
  446. package/ibc.core.channel.v1/types.js +0 -9
  447. package/ibc.core.client.v1/index.js +0 -5
  448. package/ibc.core.client.v1/module.js +0 -74
  449. package/ibc.core.client.v1/registry.js +0 -2
  450. package/ibc.core.client.v1/rest.js +0 -218
  451. package/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  452. package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  453. package/ibc.core.client.v1/types/cosmos_proto/cosmos.js +0 -171
  454. package/ibc.core.client.v1/types/gogoproto/gogo.js +0 -2
  455. package/ibc.core.client.v1/types/google/api/annotations.js +0 -2
  456. package/ibc.core.client.v1/types/google/api/http.js +0 -260
  457. package/ibc.core.client.v1/types/google/protobuf/any.js +0 -99
  458. package/ibc.core.client.v1/types/google/protobuf/descriptor.js +0 -2830
  459. package/ibc.core.client.v1/types/google/protobuf/timestamp.js +0 -84
  460. package/ibc.core.client.v1/types/ibc/core/client/v1/client.js +0 -448
  461. package/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +0 -287
  462. package/ibc.core.client.v1/types/ibc/core/client/v1/query.js +0 -1026
  463. package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +0 -509
  464. package/ibc.core.client.v1/types.js +0 -10
  465. package/ibc.core.connection.v1/index.js +0 -5
  466. package/ibc.core.connection.v1/module.js +0 -70
  467. package/ibc.core.connection.v1/registry.js +0 -2
  468. package/ibc.core.connection.v1/rest.js +0 -191
  469. package/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
  470. package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
  471. package/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +0 -171
  472. package/ibc.core.connection.v1/types/gogoproto/gogo.js +0 -2
  473. package/ibc.core.connection.v1/types/google/api/annotations.js +0 -2
  474. package/ibc.core.connection.v1/types/google/api/http.js +0 -260
  475. package/ibc.core.connection.v1/types/google/protobuf/any.js +0 -99
  476. package/ibc.core.connection.v1/types/google/protobuf/descriptor.js +0 -2830
  477. package/ibc.core.connection.v1/types/google/protobuf/timestamp.js +0 -84
  478. package/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +0 -448
  479. package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +0 -223
  480. package/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +0 -537
  481. package/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +0 -120
  482. package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +0 -766
  483. package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -705
  484. package/ibc.core.connection.v1/types/proofs.js +0 -1126
  485. package/ibc.core.connection.v1/types.js +0 -8
@@ -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,24 +0,0 @@
1
- import { StakeAuthorization } from "./types/cosmos/staking/v1beta1/authz";
2
- import { StakeAuthorization_Validators } from "./types/cosmos/staking/v1beta1/authz";
3
- import { LastValidatorPower } from "./types/cosmos/staking/v1beta1/genesis";
4
- import { HistoricalInfo } from "./types/cosmos/staking/v1beta1/staking";
5
- import { CommissionRates } from "./types/cosmos/staking/v1beta1/staking";
6
- import { Commission } from "./types/cosmos/staking/v1beta1/staking";
7
- import { Description } from "./types/cosmos/staking/v1beta1/staking";
8
- import { Validator } from "./types/cosmos/staking/v1beta1/staking";
9
- import { ValAddresses } from "./types/cosmos/staking/v1beta1/staking";
10
- import { DVPair } from "./types/cosmos/staking/v1beta1/staking";
11
- import { DVPairs } from "./types/cosmos/staking/v1beta1/staking";
12
- import { DVVTriplet } from "./types/cosmos/staking/v1beta1/staking";
13
- import { DVVTriplets } from "./types/cosmos/staking/v1beta1/staking";
14
- import { Delegation } from "./types/cosmos/staking/v1beta1/staking";
15
- import { UnbondingDelegation } from "./types/cosmos/staking/v1beta1/staking";
16
- import { UnbondingDelegationEntry } from "./types/cosmos/staking/v1beta1/staking";
17
- import { RedelegationEntry } from "./types/cosmos/staking/v1beta1/staking";
18
- import { Redelegation } from "./types/cosmos/staking/v1beta1/staking";
19
- import { Params } from "./types/cosmos/staking/v1beta1/staking";
20
- import { DelegationResponse } from "./types/cosmos/staking/v1beta1/staking";
21
- import { RedelegationEntryResponse } from "./types/cosmos/staking/v1beta1/staking";
22
- import { RedelegationResponse } from "./types/cosmos/staking/v1beta1/staking";
23
- import { Pool } from "./types/cosmos/staking/v1beta1/staking";
24
- export { StakeAuthorization, StakeAuthorization_Validators, LastValidatorPower, HistoricalInfo, CommissionRates, Commission, Description, Validator, ValAddresses, DVPair, DVPairs, DVVTriplet, DVVTriplets, Delegation, UnbondingDelegation, UnbondingDelegationEntry, RedelegationEntry, Redelegation, Params, DelegationResponse, RedelegationEntryResponse, RedelegationResponse, Pool, };
@@ -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,82 +0,0 @@
1
- // Generated by Ignite ignite.com/cli
2
- import { Registry } from "@cosmjs/proto-signing";
3
- import { msgTypes } from './registry';
4
- import { Api } from "./rest";
5
- import { Tx as typeTx } from "./types";
6
- import { TxRaw as typeTxRaw } from "./types";
7
- import { SignDoc as typeSignDoc } from "./types";
8
- import { SignDocDirectAux as typeSignDocDirectAux } from "./types";
9
- import { TxBody as typeTxBody } from "./types";
10
- import { AuthInfo as typeAuthInfo } from "./types";
11
- import { SignerInfo as typeSignerInfo } from "./types";
12
- import { ModeInfo as typeModeInfo } from "./types";
13
- import { ModeInfo_Single as typeModeInfo_Single } from "./types";
14
- import { ModeInfo_Multi as typeModeInfo_Multi } from "./types";
15
- import { Fee as typeFee } from "./types";
16
- import { Tip as typeTip } from "./types";
17
- import { AuxSignerData as typeAuxSignerData } from "./types";
18
- export const registry = new Registry(msgTypes);
19
- function getStructure(template) {
20
- const structure = { fields: [] };
21
- for (let [key, value] of Object.entries(template)) {
22
- let field = { name: key, type: typeof value };
23
- structure.fields.push(field);
24
- }
25
- return structure;
26
- }
27
- const defaultFee = {
28
- amount: [],
29
- gas: "200000",
30
- };
31
- export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
32
- return {};
33
- };
34
- export const queryClient = ({ addr: addr } = { addr: "http://localhost:1317" }) => {
35
- return new Api({ baseURL: addr });
36
- };
37
- class SDKModule {
38
- constructor(client) {
39
- this.registry = [];
40
- this.query = queryClient({ addr: client.env.apiURL });
41
- this.updateTX(client);
42
- this.structure = {
43
- Tx: getStructure(typeTx.fromPartial({})),
44
- TxRaw: getStructure(typeTxRaw.fromPartial({})),
45
- SignDoc: getStructure(typeSignDoc.fromPartial({})),
46
- SignDocDirectAux: getStructure(typeSignDocDirectAux.fromPartial({})),
47
- TxBody: getStructure(typeTxBody.fromPartial({})),
48
- AuthInfo: getStructure(typeAuthInfo.fromPartial({})),
49
- SignerInfo: getStructure(typeSignerInfo.fromPartial({})),
50
- ModeInfo: getStructure(typeModeInfo.fromPartial({})),
51
- ModeInfo_Single: getStructure(typeModeInfo_Single.fromPartial({})),
52
- ModeInfo_Multi: getStructure(typeModeInfo_Multi.fromPartial({})),
53
- Fee: getStructure(typeFee.fromPartial({})),
54
- Tip: getStructure(typeTip.fromPartial({})),
55
- AuxSignerData: getStructure(typeAuxSignerData.fromPartial({})),
56
- };
57
- client.on('signer-changed', (signer) => {
58
- this.updateTX(client);
59
- });
60
- }
61
- updateTX(client) {
62
- const methods = txClient({
63
- signer: client.signer,
64
- addr: client.env.rpcURL,
65
- prefix: client.env.prefix ?? "cosmos",
66
- });
67
- this.tx = methods;
68
- for (let m in methods) {
69
- this.tx[m] = methods[m].bind(this.tx);
70
- }
71
- }
72
- }
73
- ;
74
- const Module = (test) => {
75
- return {
76
- module: {
77
- CosmosTxV1Beta1: new SDKModule(test)
78
- },
79
- registry: msgTypes
80
- };
81
- };
82
- export default Module;
@@ -1,2 +0,0 @@
1
- const msgTypes = [];
2
- export { msgTypes };