juno-network 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (452) hide show
  1. package/main/codegen/confio/proofs.js +100 -315
  2. package/main/codegen/cosmos/authz/v1beta1/authz.js +5 -63
  3. package/main/codegen/cosmos/authz/v1beta1/event.js +12 -42
  4. package/main/codegen/cosmos/authz/v1beta1/genesis.js +0 -20
  5. package/main/codegen/cosmos/authz/v1beta1/query.js +6 -114
  6. package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +14 -26
  7. package/main/codegen/cosmos/authz/v1beta1/query.rpc.query.js +22 -2
  8. package/main/codegen/cosmos/authz/v1beta1/tx.js +6 -92
  9. package/main/codegen/cosmos/bank/v1beta1/authz.js +5 -25
  10. package/main/codegen/cosmos/bank/v1beta1/bank.js +20 -178
  11. package/main/codegen/cosmos/bank/v1beta1/genesis.js +5 -73
  12. package/main/codegen/cosmos/bank/v1beta1/query.js +5 -264
  13. package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +24 -30
  14. package/main/codegen/cosmos/bank/v1beta1/query.rpc.query.js +53 -5
  15. package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +6 -6
  16. package/main/codegen/cosmos/bank/v1beta1/tx.js +11 -82
  17. package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +0 -28
  18. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +68 -312
  19. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +12 -42
  20. package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +65 -418
  21. package/main/codegen/cosmos/base/v1beta1/coin.js +0 -46
  22. package/main/codegen/cosmos/bundle.js +101 -401
  23. package/main/codegen/cosmos/client.js +11 -37
  24. package/main/codegen/cosmos/crypto/ed25519/keys.js +0 -22
  25. package/main/codegen/cosmos/crypto/hd/v1/hd.js +11 -31
  26. package/main/codegen/cosmos/crypto/keyring/v1/record.js +16 -74
  27. package/main/codegen/cosmos/crypto/multisig/keys.js +5 -29
  28. package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +6 -40
  29. package/main/codegen/cosmos/crypto/secp256k1/keys.js +0 -22
  30. package/main/codegen/cosmos/crypto/secp256r1/keys.js +0 -22
  31. package/main/codegen/cosmos/distribution/v1beta1/distribution.js +57 -289
  32. package/main/codegen/cosmos/distribution/v1beta1/genesis.js +105 -300
  33. package/main/codegen/cosmos/distribution/v1beta1/query.js +63 -308
  34. package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +35 -41
  35. package/main/codegen/cosmos/distribution/v1beta1/query.rpc.query.js +46 -4
  36. package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +15 -15
  37. package/main/codegen/cosmos/distribution/v1beta1/tx.js +28 -140
  38. package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +0 -52
  39. package/main/codegen/cosmos/gov/v1/genesis.js +20 -70
  40. package/main/codegen/cosmos/gov/v1/gov.js +113 -256
  41. package/main/codegen/cosmos/gov/v1/query.js +57 -271
  42. package/main/codegen/cosmos/gov/v1/query.lcd.js +31 -38
  43. package/main/codegen/cosmos/gov/v1/query.rpc.query.js +37 -2
  44. package/main/codegen/cosmos/gov/v1/tx.amino.js +16 -16
  45. package/main/codegen/cosmos/gov/v1/tx.js +25 -176
  46. package/main/codegen/cosmos/gov/v1/tx.registry.js +0 -64
  47. package/main/codegen/cosmos/gov/v1beta1/genesis.js +20 -70
  48. package/main/codegen/cosmos/gov/v1beta1/gov.js +103 -246
  49. package/main/codegen/cosmos/gov/v1beta1/query.js +57 -271
  50. package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +31 -38
  51. package/main/codegen/cosmos/gov/v1beta1/query.rpc.query.js +37 -2
  52. package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +14 -14
  53. package/main/codegen/cosmos/gov/v1beta1/tx.js +25 -142
  54. package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +0 -52
  55. package/main/codegen/cosmos/lcd.js +65 -198
  56. package/main/codegen/cosmos/rpc.query.js +58 -197
  57. package/main/codegen/cosmos/rpc.tx.js +31 -122
  58. package/main/codegen/cosmos/staking/v1beta1/authz.js +38 -59
  59. package/main/codegen/cosmos/staking/v1beta1/genesis.js +14 -96
  60. package/main/codegen/cosmos/staking/v1beta1/query.js +115 -497
  61. package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +48 -49
  62. package/main/codegen/cosmos/staking/v1beta1/query.rpc.query.js +61 -4
  63. package/main/codegen/cosmos/staking/v1beta1/staking.js +222 -565
  64. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +47 -47
  65. package/main/codegen/cosmos/staking/v1beta1/tx.js +82 -205
  66. package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +0 -64
  67. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +29 -86
  68. package/main/codegen/cosmos/tx/v1beta1/service.js +69 -207
  69. package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +14 -26
  70. package/main/codegen/cosmos/tx/v1beta1/service.rpc.svc.js +33 -7
  71. package/main/codegen/cosmos/tx/v1beta1/tx.js +102 -381
  72. package/main/codegen/cosmos/upgrade/v1beta1/query.js +22 -126
  73. package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +19 -29
  74. package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +34 -4
  75. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +4 -4
  76. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +0 -38
  77. package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -28
  78. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +5 -61
  79. package/main/codegen/cosmos_proto/cosmos.js +17 -45
  80. package/main/codegen/cosmwasm/bundle.js +16 -16
  81. package/main/codegen/cosmwasm/client.js +11 -5
  82. package/main/codegen/cosmwasm/lcd.js +76 -209
  83. package/main/codegen/cosmwasm/rpc.query.js +66 -207
  84. package/main/codegen/cosmwasm/rpc.tx.js +41 -132
  85. package/main/codegen/cosmwasm/wasm/v1/genesis.js +57 -178
  86. package/main/codegen/cosmwasm/wasm/v1/ibc.js +10 -36
  87. package/main/codegen/cosmwasm/wasm/v1/proposal.js +56 -250
  88. package/main/codegen/cosmwasm/wasm/v1/query.js +54 -322
  89. package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +28 -34
  90. package/main/codegen/cosmwasm/wasm/v1/query.rpc.query.js +50 -4
  91. package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +16 -16
  92. package/main/codegen/cosmwasm/wasm/v1/tx.js +32 -200
  93. package/main/codegen/cosmwasm/wasm/v1/tx.registry.js +0 -76
  94. package/main/codegen/cosmwasm/wasm/v1/types.js +80 -166
  95. package/main/codegen/gogoproto/bundle.js +2 -2
  96. package/main/codegen/google/bundle.js +9 -15
  97. package/main/codegen/google/protobuf/any.js +6 -20
  98. package/main/codegen/google/protobuf/descriptor.js +407 -1134
  99. package/main/codegen/google/protobuf/duration.js +0 -12
  100. package/main/codegen/google/protobuf/empty.js +0 -7
  101. package/main/codegen/google/protobuf/field_mask.js +0 -20
  102. package/main/codegen/google/protobuf/struct.js +51 -118
  103. package/main/codegen/google/protobuf/timestamp.js +0 -12
  104. package/main/codegen/google/protobuf/wrappers.js +0 -90
  105. package/main/codegen/ibc/applications/transfer/v1/genesis.js +10 -36
  106. package/main/codegen/ibc/applications/transfer/v1/query.js +10 -81
  107. package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +12 -24
  108. package/main/codegen/ibc/applications/transfer/v1/query.rpc.query.js +30 -4
  109. package/main/codegen/ibc/applications/transfer/v1/transfer.js +17 -43
  110. package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +14 -14
  111. package/main/codegen/ibc/applications/transfer/v1/tx.js +21 -50
  112. package/main/codegen/ibc/applications/transfer/v1/tx.registry.js +0 -16
  113. package/main/codegen/ibc/applications/transfer/v2/packet.js +0 -18
  114. package/main/codegen/ibc/bundle.js +56 -74
  115. package/main/codegen/ibc/client.js +11 -5
  116. package/main/codegen/ibc/core/channel/v1/channel.js +103 -198
  117. package/main/codegen/ibc/core/channel/v1/genesis.js +29 -131
  118. package/main/codegen/ibc/core/channel/v1/query.js +202 -646
  119. package/main/codegen/ibc/core/channel/v1/query.lcd.js +45 -47
  120. package/main/codegen/ibc/core/channel/v1/query.rpc.query.js +57 -3
  121. package/main/codegen/ibc/core/channel/v1/tx.amino.js +183 -183
  122. package/main/codegen/ibc/core/channel/v1/tx.js +175 -425
  123. package/main/codegen/ibc/core/channel/v1/tx.registry.js +0 -124
  124. package/main/codegen/ibc/core/client/v1/client.js +57 -167
  125. package/main/codegen/ibc/core/client/v1/genesis.js +29 -111
  126. package/main/codegen/ibc/core/client/v1/query.js +79 -270
  127. package/main/codegen/ibc/core/client/v1/query.lcd.js +28 -35
  128. package/main/codegen/ibc/core/client/v1/query.rpc.query.js +51 -6
  129. package/main/codegen/ibc/core/client/v1/tx.amino.js +39 -39
  130. package/main/codegen/ibc/core/client/v1/tx.js +48 -140
  131. package/main/codegen/ibc/core/client/v1/tx.registry.js +0 -52
  132. package/main/codegen/ibc/core/commitment/v1/commitment.js +11 -73
  133. package/main/codegen/ibc/core/connection/v1/connection.js +61 -191
  134. package/main/codegen/ibc/core/connection/v1/genesis.js +10 -45
  135. package/main/codegen/ibc/core/connection/v1/query.js +75 -221
  136. package/main/codegen/ibc/core/connection/v1/query.lcd.js +20 -30
  137. package/main/codegen/ibc/core/connection/v1/query.rpc.query.js +33 -3
  138. package/main/codegen/ibc/core/connection/v1/tx.amino.js +95 -95
  139. package/main/codegen/ibc/core/connection/v1/tx.js +118 -250
  140. package/main/codegen/ibc/core/connection/v1/tx.registry.js +0 -52
  141. package/main/codegen/ibc/lcd.js +107 -240
  142. package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +6 -20
  143. package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +115 -309
  144. package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +115 -309
  145. package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +86 -191
  146. package/main/codegen/ibc/rpc.query.js +88 -248
  147. package/main/codegen/ibc/rpc.tx.js +69 -160
  148. package/main/codegen/juno/bundle.js +9 -9
  149. package/main/codegen/juno/lcd.js +74 -207
  150. package/main/codegen/juno/mint/genesis.js +0 -14
  151. package/main/codegen/juno/mint/mint.js +22 -50
  152. package/main/codegen/juno/mint/query.js +6 -59
  153. package/main/codegen/juno/mint/query.lcd.js +12 -24
  154. package/main/codegen/juno/mint/query.rpc.query.js +31 -5
  155. package/main/codegen/juno/rpc.query.js +64 -205
  156. package/main/codegen/tendermint/abci/types.js +296 -1020
  157. package/main/codegen/tendermint/bundle.js +17 -17
  158. package/main/codegen/tendermint/crypto/keys.js +0 -14
  159. package/main/codegen/tendermint/crypto/proof.js +6 -92
  160. package/main/codegen/tendermint/libs/bits/types.js +0 -22
  161. package/main/codegen/tendermint/p2p/types.js +53 -143
  162. package/main/codegen/tendermint/types/block.js +5 -23
  163. package/main/codegen/tendermint/types/evidence.js +50 -128
  164. package/main/codegen/tendermint/types/params.js +51 -137
  165. package/main/codegen/tendermint/types/types.js +162 -372
  166. package/main/codegen/tendermint/types/validator.js +30 -82
  167. package/main/codegen/tendermint/version/types.js +0 -24
  168. package/main/index.js +1 -5
  169. package/package.json +5 -5
  170. package/types/codegen/JunoSwap.client.d.ts +120 -0
  171. package/types/codegen/JunoSwap.types.d.ts +124 -0
  172. package/types/codegen/confio/proofs.d.ts +495 -0
  173. package/types/codegen/contracts.d.ts +12 -0
  174. package/types/codegen/cosmos/app/v1alpha1/config.d.ts +51 -0
  175. package/types/codegen/cosmos/app/v1alpha1/module.d.ts +105 -0
  176. package/types/codegen/cosmos/app/v1alpha1/query.d.ts +25 -0
  177. package/types/codegen/cosmos/app/v1alpha1/query.rpc.query.d.ts +11 -0
  178. package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +49 -0
  179. package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +18 -0
  180. package/types/codegen/cosmos/auth/v1beta1/query.d.ts +171 -0
  181. package/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts +14 -0
  182. package/types/codegen/cosmos/auth/v1beta1/query.rpc.query.d.ts +23 -0
  183. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
  184. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
  185. package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
  186. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
  187. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
  188. package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +21 -0
  189. package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +54 -0
  190. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
  191. package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +76 -0
  192. package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +15 -0
  193. package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
  194. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
  195. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
  196. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
  197. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
  198. package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +39 -0
  199. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
  200. package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
  201. package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
  202. package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +13 -0
  203. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
  204. package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +25 -0
  205. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
  206. package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +53 -0
  207. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
  208. package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +118 -0
  209. package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +47 -0
  210. package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +24 -0
  211. package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +197 -0
  212. package/types/codegen/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +13 -0
  213. package/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.d.ts +21 -0
  214. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
  215. package/types/codegen/cosmos/bundle.d.ts +6233 -0
  216. package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +45 -0
  217. package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +34 -0
  218. package/types/codegen/cosmos/client.d.ts +473 -0
  219. package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +18 -0
  220. package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +17 -0
  221. package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +25 -0
  222. package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +36 -0
  223. package/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +11 -0
  224. package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
  225. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
  226. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
  227. package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
  228. package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
  229. package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
  230. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
  231. package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
  232. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
  233. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
  234. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
  235. package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +39 -0
  236. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
  237. package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
  238. package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
  239. package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +17 -0
  240. package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +19 -0
  241. package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +15 -0
  242. package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +60 -0
  243. package/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts +9 -0
  244. package/types/codegen/cosmos/evidence/v1beta1/query.rpc.query.d.ts +13 -0
  245. package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +19 -0
  246. package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +30 -0
  247. package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +36 -0
  248. package/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +11 -0
  249. package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +89 -0
  250. package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +14 -0
  251. package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +84 -0
  252. package/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts +10 -0
  253. package/types/codegen/cosmos/feegrant/v1beta1/query.rpc.query.d.ts +15 -0
  254. package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +32 -0
  255. package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +56 -0
  256. package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +56 -0
  257. package/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +13 -0
  258. package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +14 -0
  259. package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
  260. package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
  261. package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
  262. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
  263. package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +36 -0
  264. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
  265. package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
  266. package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
  267. package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +19 -0
  268. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
  269. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
  270. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
  271. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  272. package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +36 -0
  273. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
  274. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
  275. package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
  276. package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +17 -0
  277. package/types/codegen/cosmos/group/v1/events.d.ts +115 -0
  278. package/types/codegen/cosmos/group/v1/genesis.d.ts +38 -0
  279. package/types/codegen/cosmos/group/v1/query.d.ts +350 -0
  280. package/types/codegen/cosmos/group/v1/query.lcd.d.ts +20 -0
  281. package/types/codegen/cosmos/group/v1/query.rpc.query.d.ts +35 -0
  282. package/types/codegen/cosmos/group/v1/tx.amino.d.ts +227 -0
  283. package/types/codegen/cosmos/group/v1/tx.d.ts +419 -0
  284. package/types/codegen/cosmos/group/v1/tx.registry.d.ts +296 -0
  285. package/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts +37 -0
  286. package/types/codegen/cosmos/group/v1/types.d.ts +324 -0
  287. package/types/codegen/cosmos/lcd.d.ts +28 -0
  288. package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +17 -0
  289. package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +38 -0
  290. package/types/codegen/cosmos/mint/v1beta1/query.d.ts +78 -0
  291. package/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts +10 -0
  292. package/types/codegen/cosmos/mint/v1beta1/query.rpc.query.d.ts +15 -0
  293. package/types/codegen/cosmos/msg/v1/msg.d.ts +1 -0
  294. package/types/codegen/cosmos/nft/v1beta1/event.d.ts +42 -0
  295. package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +30 -0
  296. package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +47 -0
  297. package/types/codegen/cosmos/nft/v1beta1/query.d.ts +166 -0
  298. package/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts +14 -0
  299. package/types/codegen/cosmos/nft/v1beta1/query.rpc.query.d.ts +23 -0
  300. package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +18 -0
  301. package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +30 -0
  302. package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +36 -0
  303. package/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +11 -0
  304. package/types/codegen/cosmos/orm/v1/orm.d.ts +117 -0
  305. package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +90 -0
  306. package/types/codegen/cosmos/params/v1beta1/params.d.ts +31 -0
  307. package/types/codegen/cosmos/params/v1beta1/query.d.ts +71 -0
  308. package/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts +9 -0
  309. package/types/codegen/cosmos/params/v1beta1/query.rpc.query.d.ts +13 -0
  310. package/types/codegen/cosmos/rpc.query.d.ts +97 -0
  311. package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
  312. package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +70 -0
  313. package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +85 -0
  314. package/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts +10 -0
  315. package/types/codegen/cosmos/slashing/v1beta1/query.rpc.query.d.ts +15 -0
  316. package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +52 -0
  317. package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +15 -0
  318. package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +23 -0
  319. package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +36 -0
  320. package/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +11 -0
  321. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
  322. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
  323. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
  324. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
  325. package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +54 -0
  326. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
  327. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
  328. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
  329. package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
  330. package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +19 -0
  331. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
  332. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
  333. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
  334. package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +27 -0
  335. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
  336. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
  337. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
  338. package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +27 -0
  339. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
  340. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
  341. package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
  342. package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +13 -0
  343. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
  344. package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +58 -0
  345. package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +88 -0
  346. package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +76 -0
  347. package/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +15 -0
  348. package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +97 -0
  349. package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
  350. package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
  351. package/types/codegen/cosmwasm/bundle.d.ts +1109 -0
  352. package/types/codegen/cosmwasm/client.d.ts +120 -0
  353. package/types/codegen/cosmwasm/lcd.d.ts +33 -0
  354. package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
  355. package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
  356. package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
  357. package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
  358. package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
  359. package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
  360. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
  361. package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +39 -0
  362. package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
  363. package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
  364. package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
  365. package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +21 -0
  366. package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
  367. package/types/codegen/gogoproto/bundle.d.ts +1 -0
  368. package/types/codegen/gogoproto/gogo.d.ts +1 -0
  369. package/types/codegen/google/api/annotations.d.ts +1 -0
  370. package/types/codegen/google/api/http.d.ts +375 -0
  371. package/types/codegen/google/bundle.d.ts +1545 -0
  372. package/types/codegen/google/protobuf/any.d.ts +237 -0
  373. package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
  374. package/types/codegen/google/protobuf/duration.d.ts +161 -0
  375. package/types/codegen/google/protobuf/empty.d.ts +33 -0
  376. package/types/codegen/google/protobuf/field_mask.d.ts +417 -0
  377. package/types/codegen/google/protobuf/struct.d.ts +148 -0
  378. package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
  379. package/types/codegen/google/protobuf/wrappers.d.ts +209 -0
  380. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  381. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
  382. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  383. package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +21 -0
  384. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
  385. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  386. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
  387. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  388. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +11 -0
  389. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
  390. package/types/codegen/ibc/bundle.d.ts +3781 -0
  391. package/types/codegen/ibc/client.d.ts +559 -0
  392. package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
  393. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
  394. package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
  395. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  396. package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +51 -0
  397. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  398. package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
  399. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  400. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +29 -0
  401. package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
  402. package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
  403. package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
  404. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  405. package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +36 -0
  406. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  407. package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
  408. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  409. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +17 -0
  410. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  411. package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
  412. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
  413. package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
  414. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  415. package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +27 -0
  416. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  417. package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
  418. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  419. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +17 -0
  420. package/types/codegen/ibc/core/port/v1/query.d.ts +37 -0
  421. package/types/codegen/ibc/core/port/v1/query.rpc.query.d.ts +11 -0
  422. package/types/codegen/ibc/core/types/v1/genesis.d.ts +21 -0
  423. package/types/codegen/ibc/lcd.d.ts +46 -0
  424. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
  425. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
  426. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
  427. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
  428. package/types/codegen/ibc/rpc.query.d.ts +148 -0
  429. package/types/codegen/ibc/rpc.tx.d.ts +44 -0
  430. package/types/codegen/ics23/bundle.d.ts +545 -0
  431. package/types/codegen/index.d.ts +18 -0
  432. package/types/codegen/juno/bundle.d.ts +226 -0
  433. package/types/codegen/juno/lcd.d.ts +31 -0
  434. package/types/codegen/juno/mint/genesis.d.ts +22 -0
  435. package/types/codegen/juno/mint/mint.d.ts +44 -0
  436. package/types/codegen/juno/mint/query.d.ts +99 -0
  437. package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
  438. package/types/codegen/juno/mint/query.rpc.query.d.ts +21 -0
  439. package/types/codegen/juno/rpc.query.d.ts +104 -0
  440. package/types/codegen/tendermint/abci/types.d.ts +902 -0
  441. package/types/codegen/tendermint/bundle.d.ts +2065 -0
  442. package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
  443. package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
  444. package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
  445. package/types/codegen/tendermint/p2p/types.d.ts +87 -0
  446. package/types/codegen/tendermint/types/block.d.ts +21 -0
  447. package/types/codegen/tendermint/types/evidence.d.ts +70 -0
  448. package/types/codegen/tendermint/types/params.d.ts +181 -0
  449. package/types/codegen/tendermint/types/types.d.ts +326 -0
  450. package/types/codegen/tendermint/types/validator.d.ts +48 -0
  451. package/types/codegen/tendermint/version/types.d.ts +48 -0
  452. package/types/index.d.ts +1 -0
@@ -0,0 +1,568 @@
1
+ import { Header, HeaderSDKType } from "../../../tendermint/types/types";
2
+ import { Any, AnySDKType } from "../../../google/protobuf/any";
3
+ import { Duration, DurationSDKType } from "../../../google/protobuf/duration";
4
+ import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
5
+ import * as _m0 from "protobufjs/minimal";
6
+ import { DeepPartial, Long } from "@osmonauts/helpers";
7
+ /** BondStatus is the status of a validator. */
8
+ export declare enum BondStatus {
9
+ /** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */
10
+ BOND_STATUS_UNSPECIFIED = 0,
11
+ /** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */
12
+ BOND_STATUS_UNBONDED = 1,
13
+ /** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */
14
+ BOND_STATUS_UNBONDING = 2,
15
+ /** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */
16
+ BOND_STATUS_BONDED = 3,
17
+ UNRECOGNIZED = -1
18
+ }
19
+ /** BondStatus is the status of a validator. */
20
+ export declare enum BondStatusSDKType {
21
+ /** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */
22
+ BOND_STATUS_UNSPECIFIED = 0,
23
+ /** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */
24
+ BOND_STATUS_UNBONDED = 1,
25
+ /** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */
26
+ BOND_STATUS_UNBONDING = 2,
27
+ /** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */
28
+ BOND_STATUS_BONDED = 3,
29
+ UNRECOGNIZED = -1
30
+ }
31
+ export declare function bondStatusFromJSON(object: any): BondStatus;
32
+ export declare function bondStatusToJSON(object: BondStatus): string;
33
+ /**
34
+ * HistoricalInfo contains header and validator information for a given block.
35
+ * It is stored as part of staking module's state, which persists the `n` most
36
+ * recent HistoricalInfo
37
+ * (`n` is set by the staking module's `historical_entries` parameter).
38
+ */
39
+ export interface HistoricalInfo {
40
+ header: Header;
41
+ valset: Validator[];
42
+ }
43
+ /**
44
+ * HistoricalInfo contains header and validator information for a given block.
45
+ * It is stored as part of staking module's state, which persists the `n` most
46
+ * recent HistoricalInfo
47
+ * (`n` is set by the staking module's `historical_entries` parameter).
48
+ */
49
+ export interface HistoricalInfoSDKType {
50
+ header: HeaderSDKType;
51
+ valset: ValidatorSDKType[];
52
+ }
53
+ /**
54
+ * CommissionRates defines the initial commission rates to be used for creating
55
+ * a validator.
56
+ */
57
+ export interface CommissionRates {
58
+ /** rate is the commission rate charged to delegators, as a fraction. */
59
+ rate: string;
60
+ /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */
61
+ maxRate: string;
62
+ /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */
63
+ maxChangeRate: string;
64
+ }
65
+ /**
66
+ * CommissionRates defines the initial commission rates to be used for creating
67
+ * a validator.
68
+ */
69
+ export interface CommissionRatesSDKType {
70
+ /** rate is the commission rate charged to delegators, as a fraction. */
71
+ rate: string;
72
+ /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */
73
+ max_rate: string;
74
+ /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */
75
+ max_change_rate: string;
76
+ }
77
+ /** Commission defines commission parameters for a given validator. */
78
+ export interface Commission {
79
+ /** commission_rates defines the initial commission rates to be used for creating a validator. */
80
+ commissionRates: CommissionRates;
81
+ /** update_time is the last time the commission rate was changed. */
82
+ updateTime: Date;
83
+ }
84
+ /** Commission defines commission parameters for a given validator. */
85
+ export interface CommissionSDKType {
86
+ /** commission_rates defines the initial commission rates to be used for creating a validator. */
87
+ commission_rates: CommissionRatesSDKType;
88
+ /** update_time is the last time the commission rate was changed. */
89
+ update_time: Date;
90
+ }
91
+ /** Description defines a validator description. */
92
+ export interface Description {
93
+ /** moniker defines a human-readable name for the validator. */
94
+ moniker: string;
95
+ /** identity defines an optional identity signature (ex. UPort or Keybase). */
96
+ identity: string;
97
+ /** website defines an optional website link. */
98
+ website: string;
99
+ /** security_contact defines an optional email for security contact. */
100
+ securityContact: string;
101
+ /** details define other optional details. */
102
+ details: string;
103
+ }
104
+ /** Description defines a validator description. */
105
+ export interface DescriptionSDKType {
106
+ /** moniker defines a human-readable name for the validator. */
107
+ moniker: string;
108
+ /** identity defines an optional identity signature (ex. UPort or Keybase). */
109
+ identity: string;
110
+ /** website defines an optional website link. */
111
+ website: string;
112
+ /** security_contact defines an optional email for security contact. */
113
+ security_contact: string;
114
+ /** details define other optional details. */
115
+ details: string;
116
+ }
117
+ /**
118
+ * Validator defines a validator, together with the total amount of the
119
+ * Validator's bond shares and their exchange rate to coins. Slashing results in
120
+ * a decrease in the exchange rate, allowing correct calculation of future
121
+ * undelegations without iterating over delegators. When coins are delegated to
122
+ * this validator, the validator is credited with a delegation whose number of
123
+ * bond shares is based on the amount of coins delegated divided by the current
124
+ * exchange rate. Voting power can be calculated as total bonded shares
125
+ * multiplied by exchange rate.
126
+ */
127
+ export interface Validator {
128
+ /** operator_address defines the address of the validator's operator; bech encoded in JSON. */
129
+ operatorAddress: string;
130
+ /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */
131
+ consensusPubkey: Any;
132
+ /** jailed defined whether the validator has been jailed from bonded status or not. */
133
+ jailed: boolean;
134
+ /** status is the validator status (bonded/unbonding/unbonded). */
135
+ status: BondStatus;
136
+ /** tokens define the delegated tokens (incl. self-delegation). */
137
+ tokens: string;
138
+ /** delegator_shares defines total shares issued to a validator's delegators. */
139
+ delegatorShares: string;
140
+ /** description defines the description terms for the validator. */
141
+ description: Description;
142
+ /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */
143
+ unbondingHeight: Long;
144
+ /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */
145
+ unbondingTime: Date;
146
+ /** commission defines the commission parameters. */
147
+ commission: Commission;
148
+ /** min_self_delegation is the validator's self declared minimum self delegation. */
149
+ minSelfDelegation: string;
150
+ }
151
+ /**
152
+ * Validator defines a validator, together with the total amount of the
153
+ * Validator's bond shares and their exchange rate to coins. Slashing results in
154
+ * a decrease in the exchange rate, allowing correct calculation of future
155
+ * undelegations without iterating over delegators. When coins are delegated to
156
+ * this validator, the validator is credited with a delegation whose number of
157
+ * bond shares is based on the amount of coins delegated divided by the current
158
+ * exchange rate. Voting power can be calculated as total bonded shares
159
+ * multiplied by exchange rate.
160
+ */
161
+ export interface ValidatorSDKType {
162
+ /** operator_address defines the address of the validator's operator; bech encoded in JSON. */
163
+ operator_address: string;
164
+ /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */
165
+ consensus_pubkey: AnySDKType;
166
+ /** jailed defined whether the validator has been jailed from bonded status or not. */
167
+ jailed: boolean;
168
+ /** status is the validator status (bonded/unbonding/unbonded). */
169
+ status: BondStatusSDKType;
170
+ /** tokens define the delegated tokens (incl. self-delegation). */
171
+ tokens: string;
172
+ /** delegator_shares defines total shares issued to a validator's delegators. */
173
+ delegator_shares: string;
174
+ /** description defines the description terms for the validator. */
175
+ description: DescriptionSDKType;
176
+ /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */
177
+ unbonding_height: Long;
178
+ /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */
179
+ unbonding_time: Date;
180
+ /** commission defines the commission parameters. */
181
+ commission: CommissionSDKType;
182
+ /** min_self_delegation is the validator's self declared minimum self delegation. */
183
+ min_self_delegation: string;
184
+ }
185
+ /** ValAddresses defines a repeated set of validator addresses. */
186
+ export interface ValAddresses {
187
+ addresses: string[];
188
+ }
189
+ /** ValAddresses defines a repeated set of validator addresses. */
190
+ export interface ValAddressesSDKType {
191
+ addresses: string[];
192
+ }
193
+ /**
194
+ * DVPair is struct that just has a delegator-validator pair with no other data.
195
+ * It is intended to be used as a marshalable pointer. For example, a DVPair can
196
+ * be used to construct the key to getting an UnbondingDelegation from state.
197
+ */
198
+ export interface DVPair {
199
+ delegatorAddress: string;
200
+ validatorAddress: string;
201
+ }
202
+ /**
203
+ * DVPair is struct that just has a delegator-validator pair with no other data.
204
+ * It is intended to be used as a marshalable pointer. For example, a DVPair can
205
+ * be used to construct the key to getting an UnbondingDelegation from state.
206
+ */
207
+ export interface DVPairSDKType {
208
+ delegator_address: string;
209
+ validator_address: string;
210
+ }
211
+ /** DVPairs defines an array of DVPair objects. */
212
+ export interface DVPairs {
213
+ pairs: DVPair[];
214
+ }
215
+ /** DVPairs defines an array of DVPair objects. */
216
+ export interface DVPairsSDKType {
217
+ pairs: DVPairSDKType[];
218
+ }
219
+ /**
220
+ * DVVTriplet is struct that just has a delegator-validator-validator triplet
221
+ * with no other data. It is intended to be used as a marshalable pointer. For
222
+ * example, a DVVTriplet can be used to construct the key to getting a
223
+ * Redelegation from state.
224
+ */
225
+ export interface DVVTriplet {
226
+ delegatorAddress: string;
227
+ validatorSrcAddress: string;
228
+ validatorDstAddress: string;
229
+ }
230
+ /**
231
+ * DVVTriplet is struct that just has a delegator-validator-validator triplet
232
+ * with no other data. It is intended to be used as a marshalable pointer. For
233
+ * example, a DVVTriplet can be used to construct the key to getting a
234
+ * Redelegation from state.
235
+ */
236
+ export interface DVVTripletSDKType {
237
+ delegator_address: string;
238
+ validator_src_address: string;
239
+ validator_dst_address: string;
240
+ }
241
+ /** DVVTriplets defines an array of DVVTriplet objects. */
242
+ export interface DVVTriplets {
243
+ triplets: DVVTriplet[];
244
+ }
245
+ /** DVVTriplets defines an array of DVVTriplet objects. */
246
+ export interface DVVTripletsSDKType {
247
+ triplets: DVVTripletSDKType[];
248
+ }
249
+ /**
250
+ * Delegation represents the bond with tokens held by an account. It is
251
+ * owned by one delegator, and is associated with the voting power of one
252
+ * validator.
253
+ */
254
+ export interface Delegation {
255
+ /** delegator_address is the bech32-encoded address of the delegator. */
256
+ delegatorAddress: string;
257
+ /** validator_address is the bech32-encoded address of the validator. */
258
+ validatorAddress: string;
259
+ /** shares define the delegation shares received. */
260
+ shares: string;
261
+ }
262
+ /**
263
+ * Delegation represents the bond with tokens held by an account. It is
264
+ * owned by one delegator, and is associated with the voting power of one
265
+ * validator.
266
+ */
267
+ export interface DelegationSDKType {
268
+ /** delegator_address is the bech32-encoded address of the delegator. */
269
+ delegator_address: string;
270
+ /** validator_address is the bech32-encoded address of the validator. */
271
+ validator_address: string;
272
+ /** shares define the delegation shares received. */
273
+ shares: string;
274
+ }
275
+ /**
276
+ * UnbondingDelegation stores all of a single delegator's unbonding bonds
277
+ * for a single validator in an time-ordered list.
278
+ */
279
+ export interface UnbondingDelegation {
280
+ /** delegator_address is the bech32-encoded address of the delegator. */
281
+ delegatorAddress: string;
282
+ /** validator_address is the bech32-encoded address of the validator. */
283
+ validatorAddress: string;
284
+ /** entries are the unbonding delegation entries. */
285
+ entries: UnbondingDelegationEntry[];
286
+ }
287
+ /**
288
+ * UnbondingDelegation stores all of a single delegator's unbonding bonds
289
+ * for a single validator in an time-ordered list.
290
+ */
291
+ export interface UnbondingDelegationSDKType {
292
+ /** delegator_address is the bech32-encoded address of the delegator. */
293
+ delegator_address: string;
294
+ /** validator_address is the bech32-encoded address of the validator. */
295
+ validator_address: string;
296
+ /** entries are the unbonding delegation entries. */
297
+ entries: UnbondingDelegationEntrySDKType[];
298
+ }
299
+ /** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
300
+ export interface UnbondingDelegationEntry {
301
+ /** creation_height is the height which the unbonding took place. */
302
+ creationHeight: Long;
303
+ /** completion_time is the unix time for unbonding completion. */
304
+ completionTime: Date;
305
+ /** initial_balance defines the tokens initially scheduled to receive at completion. */
306
+ initialBalance: string;
307
+ /** balance defines the tokens to receive at completion. */
308
+ balance: string;
309
+ }
310
+ /** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
311
+ export interface UnbondingDelegationEntrySDKType {
312
+ /** creation_height is the height which the unbonding took place. */
313
+ creation_height: Long;
314
+ /** completion_time is the unix time for unbonding completion. */
315
+ completion_time: Date;
316
+ /** initial_balance defines the tokens initially scheduled to receive at completion. */
317
+ initial_balance: string;
318
+ /** balance defines the tokens to receive at completion. */
319
+ balance: string;
320
+ }
321
+ /** RedelegationEntry defines a redelegation object with relevant metadata. */
322
+ export interface RedelegationEntry {
323
+ /** creation_height defines the height which the redelegation took place. */
324
+ creationHeight: Long;
325
+ /** completion_time defines the unix time for redelegation completion. */
326
+ completionTime: Date;
327
+ /** initial_balance defines the initial balance when redelegation started. */
328
+ initialBalance: string;
329
+ /** shares_dst is the amount of destination-validator shares created by redelegation. */
330
+ sharesDst: string;
331
+ }
332
+ /** RedelegationEntry defines a redelegation object with relevant metadata. */
333
+ export interface RedelegationEntrySDKType {
334
+ /** creation_height defines the height which the redelegation took place. */
335
+ creation_height: Long;
336
+ /** completion_time defines the unix time for redelegation completion. */
337
+ completion_time: Date;
338
+ /** initial_balance defines the initial balance when redelegation started. */
339
+ initial_balance: string;
340
+ /** shares_dst is the amount of destination-validator shares created by redelegation. */
341
+ shares_dst: string;
342
+ }
343
+ /**
344
+ * Redelegation contains the list of a particular delegator's redelegating bonds
345
+ * from a particular source validator to a particular destination validator.
346
+ */
347
+ export interface Redelegation {
348
+ /** delegator_address is the bech32-encoded address of the delegator. */
349
+ delegatorAddress: string;
350
+ /** validator_src_address is the validator redelegation source operator address. */
351
+ validatorSrcAddress: string;
352
+ /** validator_dst_address is the validator redelegation destination operator address. */
353
+ validatorDstAddress: string;
354
+ /** entries are the redelegation entries. */
355
+ entries: RedelegationEntry[];
356
+ }
357
+ /**
358
+ * Redelegation contains the list of a particular delegator's redelegating bonds
359
+ * from a particular source validator to a particular destination validator.
360
+ */
361
+ export interface RedelegationSDKType {
362
+ /** delegator_address is the bech32-encoded address of the delegator. */
363
+ delegator_address: string;
364
+ /** validator_src_address is the validator redelegation source operator address. */
365
+ validator_src_address: string;
366
+ /** validator_dst_address is the validator redelegation destination operator address. */
367
+ validator_dst_address: string;
368
+ /** entries are the redelegation entries. */
369
+ entries: RedelegationEntrySDKType[];
370
+ }
371
+ /** Params defines the parameters for the staking module. */
372
+ export interface Params {
373
+ /** unbonding_time is the time duration of unbonding. */
374
+ unbondingTime: Duration;
375
+ /** max_validators is the maximum number of validators. */
376
+ maxValidators: number;
377
+ /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */
378
+ maxEntries: number;
379
+ /** historical_entries is the number of historical entries to persist. */
380
+ historicalEntries: number;
381
+ /** bond_denom defines the bondable coin denomination. */
382
+ bondDenom: string;
383
+ /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */
384
+ minCommissionRate: string;
385
+ }
386
+ /** Params defines the parameters for the staking module. */
387
+ export interface ParamsSDKType {
388
+ /** unbonding_time is the time duration of unbonding. */
389
+ unbonding_time: DurationSDKType;
390
+ /** max_validators is the maximum number of validators. */
391
+ max_validators: number;
392
+ /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */
393
+ max_entries: number;
394
+ /** historical_entries is the number of historical entries to persist. */
395
+ historical_entries: number;
396
+ /** bond_denom defines the bondable coin denomination. */
397
+ bond_denom: string;
398
+ /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */
399
+ min_commission_rate: string;
400
+ }
401
+ /**
402
+ * DelegationResponse is equivalent to Delegation except that it contains a
403
+ * balance in addition to shares which is more suitable for client responses.
404
+ */
405
+ export interface DelegationResponse {
406
+ delegation: Delegation;
407
+ balance: Coin;
408
+ }
409
+ /**
410
+ * DelegationResponse is equivalent to Delegation except that it contains a
411
+ * balance in addition to shares which is more suitable for client responses.
412
+ */
413
+ export interface DelegationResponseSDKType {
414
+ delegation: DelegationSDKType;
415
+ balance: CoinSDKType;
416
+ }
417
+ /**
418
+ * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it
419
+ * contains a balance in addition to shares which is more suitable for client
420
+ * responses.
421
+ */
422
+ export interface RedelegationEntryResponse {
423
+ redelegationEntry: RedelegationEntry;
424
+ balance: string;
425
+ }
426
+ /**
427
+ * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it
428
+ * contains a balance in addition to shares which is more suitable for client
429
+ * responses.
430
+ */
431
+ export interface RedelegationEntryResponseSDKType {
432
+ redelegation_entry: RedelegationEntrySDKType;
433
+ balance: string;
434
+ }
435
+ /**
436
+ * RedelegationResponse is equivalent to a Redelegation except that its entries
437
+ * contain a balance in addition to shares which is more suitable for client
438
+ * responses.
439
+ */
440
+ export interface RedelegationResponse {
441
+ redelegation: Redelegation;
442
+ entries: RedelegationEntryResponse[];
443
+ }
444
+ /**
445
+ * RedelegationResponse is equivalent to a Redelegation except that its entries
446
+ * contain a balance in addition to shares which is more suitable for client
447
+ * responses.
448
+ */
449
+ export interface RedelegationResponseSDKType {
450
+ redelegation: RedelegationSDKType;
451
+ entries: RedelegationEntryResponseSDKType[];
452
+ }
453
+ /**
454
+ * Pool is used for tracking bonded and not-bonded token supply of the bond
455
+ * denomination.
456
+ */
457
+ export interface Pool {
458
+ notBondedTokens: string;
459
+ bondedTokens: string;
460
+ }
461
+ /**
462
+ * Pool is used for tracking bonded and not-bonded token supply of the bond
463
+ * denomination.
464
+ */
465
+ export interface PoolSDKType {
466
+ not_bonded_tokens: string;
467
+ bonded_tokens: string;
468
+ }
469
+ export declare const HistoricalInfo: {
470
+ encode(message: HistoricalInfo, writer?: _m0.Writer): _m0.Writer;
471
+ decode(input: _m0.Reader | Uint8Array, length?: number): HistoricalInfo;
472
+ fromPartial(object: DeepPartial<HistoricalInfo>): HistoricalInfo;
473
+ };
474
+ export declare const CommissionRates: {
475
+ encode(message: CommissionRates, writer?: _m0.Writer): _m0.Writer;
476
+ decode(input: _m0.Reader | Uint8Array, length?: number): CommissionRates;
477
+ fromPartial(object: DeepPartial<CommissionRates>): CommissionRates;
478
+ };
479
+ export declare const Commission: {
480
+ encode(message: Commission, writer?: _m0.Writer): _m0.Writer;
481
+ decode(input: _m0.Reader | Uint8Array, length?: number): Commission;
482
+ fromPartial(object: DeepPartial<Commission>): Commission;
483
+ };
484
+ export declare const Description: {
485
+ encode(message: Description, writer?: _m0.Writer): _m0.Writer;
486
+ decode(input: _m0.Reader | Uint8Array, length?: number): Description;
487
+ fromPartial(object: DeepPartial<Description>): Description;
488
+ };
489
+ export declare const Validator: {
490
+ encode(message: Validator, writer?: _m0.Writer): _m0.Writer;
491
+ decode(input: _m0.Reader | Uint8Array, length?: number): Validator;
492
+ fromPartial(object: DeepPartial<Validator>): Validator;
493
+ };
494
+ export declare const ValAddresses: {
495
+ encode(message: ValAddresses, writer?: _m0.Writer): _m0.Writer;
496
+ decode(input: _m0.Reader | Uint8Array, length?: number): ValAddresses;
497
+ fromPartial(object: DeepPartial<ValAddresses>): ValAddresses;
498
+ };
499
+ export declare const DVPair: {
500
+ encode(message: DVPair, writer?: _m0.Writer): _m0.Writer;
501
+ decode(input: _m0.Reader | Uint8Array, length?: number): DVPair;
502
+ fromPartial(object: DeepPartial<DVPair>): DVPair;
503
+ };
504
+ export declare const DVPairs: {
505
+ encode(message: DVPairs, writer?: _m0.Writer): _m0.Writer;
506
+ decode(input: _m0.Reader | Uint8Array, length?: number): DVPairs;
507
+ fromPartial(object: DeepPartial<DVPairs>): DVPairs;
508
+ };
509
+ export declare const DVVTriplet: {
510
+ encode(message: DVVTriplet, writer?: _m0.Writer): _m0.Writer;
511
+ decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplet;
512
+ fromPartial(object: DeepPartial<DVVTriplet>): DVVTriplet;
513
+ };
514
+ export declare const DVVTriplets: {
515
+ encode(message: DVVTriplets, writer?: _m0.Writer): _m0.Writer;
516
+ decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplets;
517
+ fromPartial(object: DeepPartial<DVVTriplets>): DVVTriplets;
518
+ };
519
+ export declare const Delegation: {
520
+ encode(message: Delegation, writer?: _m0.Writer): _m0.Writer;
521
+ decode(input: _m0.Reader | Uint8Array, length?: number): Delegation;
522
+ fromPartial(object: DeepPartial<Delegation>): Delegation;
523
+ };
524
+ export declare const UnbondingDelegation: {
525
+ encode(message: UnbondingDelegation, writer?: _m0.Writer): _m0.Writer;
526
+ decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegation;
527
+ fromPartial(object: DeepPartial<UnbondingDelegation>): UnbondingDelegation;
528
+ };
529
+ export declare const UnbondingDelegationEntry: {
530
+ encode(message: UnbondingDelegationEntry, writer?: _m0.Writer): _m0.Writer;
531
+ decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegationEntry;
532
+ fromPartial(object: DeepPartial<UnbondingDelegationEntry>): UnbondingDelegationEntry;
533
+ };
534
+ export declare const RedelegationEntry: {
535
+ encode(message: RedelegationEntry, writer?: _m0.Writer): _m0.Writer;
536
+ decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntry;
537
+ fromPartial(object: DeepPartial<RedelegationEntry>): RedelegationEntry;
538
+ };
539
+ export declare const Redelegation: {
540
+ encode(message: Redelegation, writer?: _m0.Writer): _m0.Writer;
541
+ decode(input: _m0.Reader | Uint8Array, length?: number): Redelegation;
542
+ fromPartial(object: DeepPartial<Redelegation>): Redelegation;
543
+ };
544
+ export declare const Params: {
545
+ encode(message: Params, writer?: _m0.Writer): _m0.Writer;
546
+ decode(input: _m0.Reader | Uint8Array, length?: number): Params;
547
+ fromPartial(object: DeepPartial<Params>): Params;
548
+ };
549
+ export declare const DelegationResponse: {
550
+ encode(message: DelegationResponse, writer?: _m0.Writer): _m0.Writer;
551
+ decode(input: _m0.Reader | Uint8Array, length?: number): DelegationResponse;
552
+ fromPartial(object: DeepPartial<DelegationResponse>): DelegationResponse;
553
+ };
554
+ export declare const RedelegationEntryResponse: {
555
+ encode(message: RedelegationEntryResponse, writer?: _m0.Writer): _m0.Writer;
556
+ decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntryResponse;
557
+ fromPartial(object: DeepPartial<RedelegationEntryResponse>): RedelegationEntryResponse;
558
+ };
559
+ export declare const RedelegationResponse: {
560
+ encode(message: RedelegationResponse, writer?: _m0.Writer): _m0.Writer;
561
+ decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationResponse;
562
+ fromPartial(object: DeepPartial<RedelegationResponse>): RedelegationResponse;
563
+ };
564
+ export declare const Pool: {
565
+ encode(message: Pool, writer?: _m0.Writer): _m0.Writer;
566
+ decode(input: _m0.Reader | Uint8Array, length?: number): Pool;
567
+ fromPartial(object: DeepPartial<Pool>): Pool;
568
+ };
@@ -0,0 +1,106 @@
1
+ import { AminoMsg } from "@cosmjs/amino";
2
+ import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx";
3
+ export interface AminoMsgCreateValidator extends AminoMsg {
4
+ type: "cosmos-sdk/MsgCreateValidator";
5
+ value: {
6
+ description: {
7
+ moniker: string;
8
+ identity: string;
9
+ website: string;
10
+ security_contact: string;
11
+ details: string;
12
+ };
13
+ commission: {
14
+ rate: string;
15
+ max_rate: string;
16
+ max_change_rate: string;
17
+ };
18
+ min_self_delegation: string;
19
+ delegator_address: string;
20
+ validator_address: string;
21
+ pubkey: {
22
+ type_url: string;
23
+ value: Uint8Array;
24
+ };
25
+ value: {
26
+ denom: string;
27
+ amount: string;
28
+ };
29
+ };
30
+ }
31
+ export interface AminoMsgEditValidator extends AminoMsg {
32
+ type: "cosmos-sdk/MsgEditValidator";
33
+ value: {
34
+ description: {
35
+ moniker: string;
36
+ identity: string;
37
+ website: string;
38
+ security_contact: string;
39
+ details: string;
40
+ };
41
+ validator_address: string;
42
+ commission_rate: string;
43
+ min_self_delegation: string;
44
+ };
45
+ }
46
+ export interface AminoMsgDelegate extends AminoMsg {
47
+ type: "cosmos-sdk/MsgDelegate";
48
+ value: {
49
+ delegator_address: string;
50
+ validator_address: string;
51
+ amount: {
52
+ denom: string;
53
+ amount: string;
54
+ };
55
+ };
56
+ }
57
+ export interface AminoMsgBeginRedelegate extends AminoMsg {
58
+ type: "cosmos-sdk/MsgBeginRedelegate";
59
+ value: {
60
+ delegator_address: string;
61
+ validator_src_address: string;
62
+ validator_dst_address: string;
63
+ amount: {
64
+ denom: string;
65
+ amount: string;
66
+ };
67
+ };
68
+ }
69
+ export interface AminoMsgUndelegate extends AminoMsg {
70
+ type: "cosmos-sdk/MsgUndelegate";
71
+ value: {
72
+ delegator_address: string;
73
+ validator_address: string;
74
+ amount: {
75
+ denom: string;
76
+ amount: string;
77
+ };
78
+ };
79
+ }
80
+ export declare const AminoConverter: {
81
+ "/cosmos.staking.v1beta1.MsgCreateValidator": {
82
+ aminoType: string;
83
+ toAmino: ({ description, commission, minSelfDelegation, delegatorAddress, validatorAddress, pubkey, value }: MsgCreateValidator) => AminoMsgCreateValidator["value"];
84
+ fromAmino: ({ description, commission, min_self_delegation, delegator_address, validator_address, pubkey, value }: AminoMsgCreateValidator["value"]) => MsgCreateValidator;
85
+ };
86
+ "/cosmos.staking.v1beta1.MsgEditValidator": {
87
+ aminoType: string;
88
+ toAmino: ({ description, validatorAddress, commissionRate, minSelfDelegation }: MsgEditValidator) => AminoMsgEditValidator["value"];
89
+ fromAmino: ({ description, validator_address, commission_rate, min_self_delegation }: AminoMsgEditValidator["value"]) => MsgEditValidator;
90
+ };
91
+ "/cosmos.staking.v1beta1.MsgDelegate": {
92
+ aminoType: string;
93
+ toAmino: ({ delegatorAddress, validatorAddress, amount }: MsgDelegate) => AminoMsgDelegate["value"];
94
+ fromAmino: ({ delegator_address, validator_address, amount }: AminoMsgDelegate["value"]) => MsgDelegate;
95
+ };
96
+ "/cosmos.staking.v1beta1.MsgBeginRedelegate": {
97
+ aminoType: string;
98
+ toAmino: ({ delegatorAddress, validatorSrcAddress, validatorDstAddress, amount }: MsgBeginRedelegate) => AminoMsgBeginRedelegate["value"];
99
+ fromAmino: ({ delegator_address, validator_src_address, validator_dst_address, amount }: AminoMsgBeginRedelegate["value"]) => MsgBeginRedelegate;
100
+ };
101
+ "/cosmos.staking.v1beta1.MsgUndelegate": {
102
+ aminoType: string;
103
+ toAmino: ({ delegatorAddress, validatorAddress, amount }: MsgUndelegate) => AminoMsgUndelegate["value"];
104
+ fromAmino: ({ delegator_address, validator_address, amount }: AminoMsgUndelegate["value"]) => MsgUndelegate;
105
+ };
106
+ };