juno-network 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (287) hide show
  1. package/main/codegen/cosmos/client.js +11 -5
  2. package/main/codegen/cosmwasm/client.js +11 -5
  3. package/main/codegen/ibc/client.js +11 -5
  4. package/package.json +3 -3
  5. package/types/codegen/JunoSwap.client.d.ts +120 -0
  6. package/types/codegen/JunoSwap.types.d.ts +124 -0
  7. package/types/codegen/confio/proofs.d.ts +495 -0
  8. package/types/codegen/contracts.d.ts +12 -0
  9. package/types/codegen/cosmos/app/v1alpha1/config.d.ts +51 -0
  10. package/types/codegen/cosmos/app/v1alpha1/module.d.ts +105 -0
  11. package/types/codegen/cosmos/app/v1alpha1/query.d.ts +25 -0
  12. package/types/codegen/cosmos/app/v1alpha1/query.rpc.query.d.ts +11 -0
  13. package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +49 -0
  14. package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +18 -0
  15. package/types/codegen/cosmos/auth/v1beta1/query.d.ts +171 -0
  16. package/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts +14 -0
  17. package/types/codegen/cosmos/auth/v1beta1/query.rpc.query.d.ts +23 -0
  18. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
  19. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
  20. package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
  21. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
  22. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
  23. package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +21 -0
  24. package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +54 -0
  25. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
  26. package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +76 -0
  27. package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +15 -0
  28. package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
  29. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
  30. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
  31. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
  32. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
  33. package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +39 -0
  34. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
  35. package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
  36. package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
  37. package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +13 -0
  38. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
  39. package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +25 -0
  40. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
  41. package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +53 -0
  42. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
  43. package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +118 -0
  44. package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +47 -0
  45. package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +24 -0
  46. package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +197 -0
  47. package/types/codegen/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +13 -0
  48. package/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.d.ts +21 -0
  49. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
  50. package/types/codegen/cosmos/bundle.d.ts +6233 -0
  51. package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +45 -0
  52. package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +34 -0
  53. package/types/codegen/cosmos/client.d.ts +473 -0
  54. package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +18 -0
  55. package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +17 -0
  56. package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +25 -0
  57. package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +36 -0
  58. package/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +11 -0
  59. package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
  60. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
  61. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
  62. package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
  63. package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
  64. package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
  65. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
  66. package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
  67. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
  68. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
  69. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
  70. package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +39 -0
  71. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
  72. package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
  73. package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
  74. package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +17 -0
  75. package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +19 -0
  76. package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +15 -0
  77. package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +60 -0
  78. package/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts +9 -0
  79. package/types/codegen/cosmos/evidence/v1beta1/query.rpc.query.d.ts +13 -0
  80. package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +19 -0
  81. package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +30 -0
  82. package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +36 -0
  83. package/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +11 -0
  84. package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +89 -0
  85. package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +14 -0
  86. package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +84 -0
  87. package/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts +10 -0
  88. package/types/codegen/cosmos/feegrant/v1beta1/query.rpc.query.d.ts +15 -0
  89. package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +32 -0
  90. package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +56 -0
  91. package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +56 -0
  92. package/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +13 -0
  93. package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +14 -0
  94. package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
  95. package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
  96. package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
  97. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
  98. package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +36 -0
  99. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
  100. package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
  101. package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
  102. package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +19 -0
  103. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
  104. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
  105. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
  106. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  107. package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +36 -0
  108. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
  109. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
  110. package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
  111. package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +17 -0
  112. package/types/codegen/cosmos/group/v1/events.d.ts +115 -0
  113. package/types/codegen/cosmos/group/v1/genesis.d.ts +38 -0
  114. package/types/codegen/cosmos/group/v1/query.d.ts +350 -0
  115. package/types/codegen/cosmos/group/v1/query.lcd.d.ts +20 -0
  116. package/types/codegen/cosmos/group/v1/query.rpc.query.d.ts +35 -0
  117. package/types/codegen/cosmos/group/v1/tx.amino.d.ts +227 -0
  118. package/types/codegen/cosmos/group/v1/tx.d.ts +419 -0
  119. package/types/codegen/cosmos/group/v1/tx.registry.d.ts +296 -0
  120. package/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts +37 -0
  121. package/types/codegen/cosmos/group/v1/types.d.ts +324 -0
  122. package/types/codegen/cosmos/lcd.d.ts +28 -0
  123. package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +17 -0
  124. package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +38 -0
  125. package/types/codegen/cosmos/mint/v1beta1/query.d.ts +78 -0
  126. package/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts +10 -0
  127. package/types/codegen/cosmos/mint/v1beta1/query.rpc.query.d.ts +15 -0
  128. package/types/codegen/cosmos/msg/v1/msg.d.ts +1 -0
  129. package/types/codegen/cosmos/nft/v1beta1/event.d.ts +42 -0
  130. package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +30 -0
  131. package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +47 -0
  132. package/types/codegen/cosmos/nft/v1beta1/query.d.ts +166 -0
  133. package/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts +14 -0
  134. package/types/codegen/cosmos/nft/v1beta1/query.rpc.query.d.ts +23 -0
  135. package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +18 -0
  136. package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +30 -0
  137. package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +36 -0
  138. package/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +11 -0
  139. package/types/codegen/cosmos/orm/v1/orm.d.ts +117 -0
  140. package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +90 -0
  141. package/types/codegen/cosmos/params/v1beta1/params.d.ts +31 -0
  142. package/types/codegen/cosmos/params/v1beta1/query.d.ts +71 -0
  143. package/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts +9 -0
  144. package/types/codegen/cosmos/params/v1beta1/query.rpc.query.d.ts +13 -0
  145. package/types/codegen/cosmos/rpc.query.d.ts +97 -0
  146. package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
  147. package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +70 -0
  148. package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +85 -0
  149. package/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts +10 -0
  150. package/types/codegen/cosmos/slashing/v1beta1/query.rpc.query.d.ts +15 -0
  151. package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +52 -0
  152. package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +15 -0
  153. package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +23 -0
  154. package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +36 -0
  155. package/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +11 -0
  156. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
  157. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
  158. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
  159. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
  160. package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +54 -0
  161. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
  162. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
  163. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
  164. package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
  165. package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +19 -0
  166. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
  167. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
  168. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
  169. package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +27 -0
  170. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
  171. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
  172. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
  173. package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +27 -0
  174. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
  175. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
  176. package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
  177. package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +13 -0
  178. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
  179. package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +58 -0
  180. package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +88 -0
  181. package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +76 -0
  182. package/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +15 -0
  183. package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +97 -0
  184. package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
  185. package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
  186. package/types/codegen/cosmwasm/bundle.d.ts +1109 -0
  187. package/types/codegen/cosmwasm/client.d.ts +120 -0
  188. package/types/codegen/cosmwasm/lcd.d.ts +33 -0
  189. package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
  190. package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
  191. package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
  192. package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
  193. package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
  194. package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
  195. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
  196. package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +39 -0
  197. package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
  198. package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
  199. package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
  200. package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +21 -0
  201. package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
  202. package/types/codegen/gogoproto/bundle.d.ts +1 -0
  203. package/types/codegen/gogoproto/gogo.d.ts +1 -0
  204. package/types/codegen/google/api/annotations.d.ts +1 -0
  205. package/types/codegen/google/api/http.d.ts +375 -0
  206. package/types/codegen/google/bundle.d.ts +1545 -0
  207. package/types/codegen/google/protobuf/any.d.ts +237 -0
  208. package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
  209. package/types/codegen/google/protobuf/duration.d.ts +161 -0
  210. package/types/codegen/google/protobuf/empty.d.ts +33 -0
  211. package/types/codegen/google/protobuf/field_mask.d.ts +417 -0
  212. package/types/codegen/google/protobuf/struct.d.ts +148 -0
  213. package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
  214. package/types/codegen/google/protobuf/wrappers.d.ts +209 -0
  215. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  216. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
  217. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  218. package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +21 -0
  219. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
  220. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  221. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
  222. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  223. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +11 -0
  224. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
  225. package/types/codegen/ibc/bundle.d.ts +3781 -0
  226. package/types/codegen/ibc/client.d.ts +559 -0
  227. package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
  228. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
  229. package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
  230. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  231. package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +51 -0
  232. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  233. package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
  234. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  235. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +29 -0
  236. package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
  237. package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
  238. package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
  239. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  240. package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +36 -0
  241. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  242. package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
  243. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  244. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +17 -0
  245. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  246. package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
  247. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
  248. package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
  249. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  250. package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +27 -0
  251. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  252. package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
  253. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  254. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +17 -0
  255. package/types/codegen/ibc/core/port/v1/query.d.ts +37 -0
  256. package/types/codegen/ibc/core/port/v1/query.rpc.query.d.ts +11 -0
  257. package/types/codegen/ibc/core/types/v1/genesis.d.ts +21 -0
  258. package/types/codegen/ibc/lcd.d.ts +46 -0
  259. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
  260. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
  261. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
  262. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
  263. package/types/codegen/ibc/rpc.query.d.ts +148 -0
  264. package/types/codegen/ibc/rpc.tx.d.ts +44 -0
  265. package/types/codegen/ics23/bundle.d.ts +545 -0
  266. package/types/codegen/index.d.ts +18 -0
  267. package/types/codegen/juno/bundle.d.ts +226 -0
  268. package/types/codegen/juno/lcd.d.ts +31 -0
  269. package/types/codegen/juno/mint/genesis.d.ts +22 -0
  270. package/types/codegen/juno/mint/mint.d.ts +44 -0
  271. package/types/codegen/juno/mint/query.d.ts +99 -0
  272. package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
  273. package/types/codegen/juno/mint/query.rpc.query.d.ts +21 -0
  274. package/types/codegen/juno/rpc.query.d.ts +104 -0
  275. package/types/codegen/tendermint/abci/types.d.ts +902 -0
  276. package/types/codegen/tendermint/bundle.d.ts +2065 -0
  277. package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
  278. package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
  279. package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
  280. package/types/codegen/tendermint/p2p/types.d.ts +87 -0
  281. package/types/codegen/tendermint/types/block.d.ts +21 -0
  282. package/types/codegen/tendermint/types/evidence.d.ts +70 -0
  283. package/types/codegen/tendermint/types/params.d.ts +181 -0
  284. package/types/codegen/tendermint/types/types.d.ts +326 -0
  285. package/types/codegen/tendermint/types/validator.d.ts +48 -0
  286. package/types/codegen/tendermint/version/types.d.ts +48 -0
  287. package/types/index.d.ts +1 -0
@@ -0,0 +1,296 @@
1
+ import { GeneratedType, Registry } from "@cosmjs/proto-signing";
2
+ import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx";
3
+ export declare const registry: ReadonlyArray<[string, GeneratedType]>;
4
+ export declare const load: (protoRegistry: Registry) => void;
5
+ export declare const MessageComposer: {
6
+ encoded: {
7
+ createGroup(value: MsgCreateGroup): {
8
+ typeUrl: string;
9
+ value: Uint8Array;
10
+ };
11
+ updateGroupMembers(value: MsgUpdateGroupMembers): {
12
+ typeUrl: string;
13
+ value: Uint8Array;
14
+ };
15
+ updateGroupAdmin(value: MsgUpdateGroupAdmin): {
16
+ typeUrl: string;
17
+ value: Uint8Array;
18
+ };
19
+ updateGroupMetadata(value: MsgUpdateGroupMetadata): {
20
+ typeUrl: string;
21
+ value: Uint8Array;
22
+ };
23
+ createGroupPolicy(value: MsgCreateGroupPolicy): {
24
+ typeUrl: string;
25
+ value: Uint8Array;
26
+ };
27
+ createGroupWithPolicy(value: MsgCreateGroupWithPolicy): {
28
+ typeUrl: string;
29
+ value: Uint8Array;
30
+ };
31
+ updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): {
32
+ typeUrl: string;
33
+ value: Uint8Array;
34
+ };
35
+ updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): {
36
+ typeUrl: string;
37
+ value: Uint8Array;
38
+ };
39
+ updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): {
40
+ typeUrl: string;
41
+ value: Uint8Array;
42
+ };
43
+ submitProposal(value: MsgSubmitProposal): {
44
+ typeUrl: string;
45
+ value: Uint8Array;
46
+ };
47
+ withdrawProposal(value: MsgWithdrawProposal): {
48
+ typeUrl: string;
49
+ value: Uint8Array;
50
+ };
51
+ vote(value: MsgVote): {
52
+ typeUrl: string;
53
+ value: Uint8Array;
54
+ };
55
+ exec(value: MsgExec): {
56
+ typeUrl: string;
57
+ value: Uint8Array;
58
+ };
59
+ leaveGroup(value: MsgLeaveGroup): {
60
+ typeUrl: string;
61
+ value: Uint8Array;
62
+ };
63
+ };
64
+ withTypeUrl: {
65
+ createGroup(value: MsgCreateGroup): {
66
+ typeUrl: string;
67
+ value: MsgCreateGroup;
68
+ };
69
+ updateGroupMembers(value: MsgUpdateGroupMembers): {
70
+ typeUrl: string;
71
+ value: MsgUpdateGroupMembers;
72
+ };
73
+ updateGroupAdmin(value: MsgUpdateGroupAdmin): {
74
+ typeUrl: string;
75
+ value: MsgUpdateGroupAdmin;
76
+ };
77
+ updateGroupMetadata(value: MsgUpdateGroupMetadata): {
78
+ typeUrl: string;
79
+ value: MsgUpdateGroupMetadata;
80
+ };
81
+ createGroupPolicy(value: MsgCreateGroupPolicy): {
82
+ typeUrl: string;
83
+ value: MsgCreateGroupPolicy;
84
+ };
85
+ createGroupWithPolicy(value: MsgCreateGroupWithPolicy): {
86
+ typeUrl: string;
87
+ value: MsgCreateGroupWithPolicy;
88
+ };
89
+ updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): {
90
+ typeUrl: string;
91
+ value: MsgUpdateGroupPolicyAdmin;
92
+ };
93
+ updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): {
94
+ typeUrl: string;
95
+ value: MsgUpdateGroupPolicyDecisionPolicy;
96
+ };
97
+ updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): {
98
+ typeUrl: string;
99
+ value: MsgUpdateGroupPolicyMetadata;
100
+ };
101
+ submitProposal(value: MsgSubmitProposal): {
102
+ typeUrl: string;
103
+ value: MsgSubmitProposal;
104
+ };
105
+ withdrawProposal(value: MsgWithdrawProposal): {
106
+ typeUrl: string;
107
+ value: MsgWithdrawProposal;
108
+ };
109
+ vote(value: MsgVote): {
110
+ typeUrl: string;
111
+ value: MsgVote;
112
+ };
113
+ exec(value: MsgExec): {
114
+ typeUrl: string;
115
+ value: MsgExec;
116
+ };
117
+ leaveGroup(value: MsgLeaveGroup): {
118
+ typeUrl: string;
119
+ value: MsgLeaveGroup;
120
+ };
121
+ };
122
+ toJSON: {
123
+ createGroup(value: MsgCreateGroup): {
124
+ typeUrl: string;
125
+ value: unknown;
126
+ };
127
+ updateGroupMembers(value: MsgUpdateGroupMembers): {
128
+ typeUrl: string;
129
+ value: unknown;
130
+ };
131
+ updateGroupAdmin(value: MsgUpdateGroupAdmin): {
132
+ typeUrl: string;
133
+ value: unknown;
134
+ };
135
+ updateGroupMetadata(value: MsgUpdateGroupMetadata): {
136
+ typeUrl: string;
137
+ value: unknown;
138
+ };
139
+ createGroupPolicy(value: MsgCreateGroupPolicy): {
140
+ typeUrl: string;
141
+ value: unknown;
142
+ };
143
+ createGroupWithPolicy(value: MsgCreateGroupWithPolicy): {
144
+ typeUrl: string;
145
+ value: unknown;
146
+ };
147
+ updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): {
148
+ typeUrl: string;
149
+ value: unknown;
150
+ };
151
+ updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): {
152
+ typeUrl: string;
153
+ value: unknown;
154
+ };
155
+ updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): {
156
+ typeUrl: string;
157
+ value: unknown;
158
+ };
159
+ submitProposal(value: MsgSubmitProposal): {
160
+ typeUrl: string;
161
+ value: unknown;
162
+ };
163
+ withdrawProposal(value: MsgWithdrawProposal): {
164
+ typeUrl: string;
165
+ value: unknown;
166
+ };
167
+ vote(value: MsgVote): {
168
+ typeUrl: string;
169
+ value: unknown;
170
+ };
171
+ exec(value: MsgExec): {
172
+ typeUrl: string;
173
+ value: unknown;
174
+ };
175
+ leaveGroup(value: MsgLeaveGroup): {
176
+ typeUrl: string;
177
+ value: unknown;
178
+ };
179
+ };
180
+ fromJSON: {
181
+ createGroup(value: any): {
182
+ typeUrl: string;
183
+ value: MsgCreateGroup;
184
+ };
185
+ updateGroupMembers(value: any): {
186
+ typeUrl: string;
187
+ value: MsgUpdateGroupMembers;
188
+ };
189
+ updateGroupAdmin(value: any): {
190
+ typeUrl: string;
191
+ value: MsgUpdateGroupAdmin;
192
+ };
193
+ updateGroupMetadata(value: any): {
194
+ typeUrl: string;
195
+ value: MsgUpdateGroupMetadata;
196
+ };
197
+ createGroupPolicy(value: any): {
198
+ typeUrl: string;
199
+ value: MsgCreateGroupPolicy;
200
+ };
201
+ createGroupWithPolicy(value: any): {
202
+ typeUrl: string;
203
+ value: MsgCreateGroupWithPolicy;
204
+ };
205
+ updateGroupPolicyAdmin(value: any): {
206
+ typeUrl: string;
207
+ value: MsgUpdateGroupPolicyAdmin;
208
+ };
209
+ updateGroupPolicyDecisionPolicy(value: any): {
210
+ typeUrl: string;
211
+ value: MsgUpdateGroupPolicyDecisionPolicy;
212
+ };
213
+ updateGroupPolicyMetadata(value: any): {
214
+ typeUrl: string;
215
+ value: MsgUpdateGroupPolicyMetadata;
216
+ };
217
+ submitProposal(value: any): {
218
+ typeUrl: string;
219
+ value: MsgSubmitProposal;
220
+ };
221
+ withdrawProposal(value: any): {
222
+ typeUrl: string;
223
+ value: MsgWithdrawProposal;
224
+ };
225
+ vote(value: any): {
226
+ typeUrl: string;
227
+ value: MsgVote;
228
+ };
229
+ exec(value: any): {
230
+ typeUrl: string;
231
+ value: MsgExec;
232
+ };
233
+ leaveGroup(value: any): {
234
+ typeUrl: string;
235
+ value: MsgLeaveGroup;
236
+ };
237
+ };
238
+ fromPartial: {
239
+ createGroup(value: MsgCreateGroup): {
240
+ typeUrl: string;
241
+ value: MsgCreateGroup;
242
+ };
243
+ updateGroupMembers(value: MsgUpdateGroupMembers): {
244
+ typeUrl: string;
245
+ value: MsgUpdateGroupMembers;
246
+ };
247
+ updateGroupAdmin(value: MsgUpdateGroupAdmin): {
248
+ typeUrl: string;
249
+ value: MsgUpdateGroupAdmin;
250
+ };
251
+ updateGroupMetadata(value: MsgUpdateGroupMetadata): {
252
+ typeUrl: string;
253
+ value: MsgUpdateGroupMetadata;
254
+ };
255
+ createGroupPolicy(value: MsgCreateGroupPolicy): {
256
+ typeUrl: string;
257
+ value: MsgCreateGroupPolicy;
258
+ };
259
+ createGroupWithPolicy(value: MsgCreateGroupWithPolicy): {
260
+ typeUrl: string;
261
+ value: MsgCreateGroupWithPolicy;
262
+ };
263
+ updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): {
264
+ typeUrl: string;
265
+ value: MsgUpdateGroupPolicyAdmin;
266
+ };
267
+ updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): {
268
+ typeUrl: string;
269
+ value: MsgUpdateGroupPolicyDecisionPolicy;
270
+ };
271
+ updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): {
272
+ typeUrl: string;
273
+ value: MsgUpdateGroupPolicyMetadata;
274
+ };
275
+ submitProposal(value: MsgSubmitProposal): {
276
+ typeUrl: string;
277
+ value: MsgSubmitProposal;
278
+ };
279
+ withdrawProposal(value: MsgWithdrawProposal): {
280
+ typeUrl: string;
281
+ value: MsgWithdrawProposal;
282
+ };
283
+ vote(value: MsgVote): {
284
+ typeUrl: string;
285
+ value: MsgVote;
286
+ };
287
+ exec(value: MsgExec): {
288
+ typeUrl: string;
289
+ value: MsgExec;
290
+ };
291
+ leaveGroup(value: MsgLeaveGroup): {
292
+ typeUrl: string;
293
+ value: MsgLeaveGroup;
294
+ };
295
+ };
296
+ };
@@ -0,0 +1,37 @@
1
+ import { Rpc } from "@osmonauts/helpers";
2
+ import { MsgCreateGroup, MsgCreateGroupResponse, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupAdmin, MsgUpdateGroupAdminResponse, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataResponse, MsgCreateGroupPolicy, MsgCreateGroupPolicyResponse, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicyResponse, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminResponse, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataResponse, MsgSubmitProposal, MsgSubmitProposalResponse, MsgWithdrawProposal, MsgWithdrawProposalResponse, MsgVote, MsgVoteResponse, MsgExec, MsgExecResponse, MsgLeaveGroup, MsgLeaveGroupResponse } from "./tx";
3
+ /** Msg defines the RPC service */
4
+ export interface Msg {
5
+ createGroup(request: MsgCreateGroup): Promise<MsgCreateGroupResponse>;
6
+ updateGroupMembers(request: MsgUpdateGroupMembers): Promise<MsgUpdateGroupMembersResponse>;
7
+ updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise<MsgUpdateGroupAdminResponse>;
8
+ updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise<MsgUpdateGroupMetadataResponse>;
9
+ createGroupPolicy(request: MsgCreateGroupPolicy): Promise<MsgCreateGroupPolicyResponse>;
10
+ createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise<MsgCreateGroupWithPolicyResponse>;
11
+ updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise<MsgUpdateGroupPolicyAdminResponse>;
12
+ updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise<MsgUpdateGroupPolicyDecisionPolicyResponse>;
13
+ updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise<MsgUpdateGroupPolicyMetadataResponse>;
14
+ submitProposal(request: MsgSubmitProposal): Promise<MsgSubmitProposalResponse>;
15
+ withdrawProposal(request: MsgWithdrawProposal): Promise<MsgWithdrawProposalResponse>;
16
+ vote(request: MsgVote): Promise<MsgVoteResponse>;
17
+ exec(request: MsgExec): Promise<MsgExecResponse>;
18
+ leaveGroup(request: MsgLeaveGroup): Promise<MsgLeaveGroupResponse>;
19
+ }
20
+ export declare class MsgClientImpl implements Msg {
21
+ private readonly rpc;
22
+ constructor(rpc: Rpc);
23
+ createGroup(request: MsgCreateGroup): Promise<MsgCreateGroupResponse>;
24
+ updateGroupMembers(request: MsgUpdateGroupMembers): Promise<MsgUpdateGroupMembersResponse>;
25
+ updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise<MsgUpdateGroupAdminResponse>;
26
+ updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise<MsgUpdateGroupMetadataResponse>;
27
+ createGroupPolicy(request: MsgCreateGroupPolicy): Promise<MsgCreateGroupPolicyResponse>;
28
+ createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise<MsgCreateGroupWithPolicyResponse>;
29
+ updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise<MsgUpdateGroupPolicyAdminResponse>;
30
+ updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise<MsgUpdateGroupPolicyDecisionPolicyResponse>;
31
+ updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise<MsgUpdateGroupPolicyMetadataResponse>;
32
+ submitProposal(request: MsgSubmitProposal): Promise<MsgSubmitProposalResponse>;
33
+ withdrawProposal(request: MsgWithdrawProposal): Promise<MsgWithdrawProposalResponse>;
34
+ vote(request: MsgVote): Promise<MsgVoteResponse>;
35
+ exec(request: MsgExec): Promise<MsgExecResponse>;
36
+ leaveGroup(request: MsgLeaveGroup): Promise<MsgLeaveGroupResponse>;
37
+ }
@@ -0,0 +1,324 @@
1
+ import { Duration } from "../../../google/protobuf/duration";
2
+ import { Any } from "../../../google/protobuf/any";
3
+ import * as _m0 from "protobufjs/minimal";
4
+ import { DeepPartial, Long } from "@osmonauts/helpers";
5
+ /** VoteOption enumerates the valid vote options for a given proposal. */
6
+ export declare enum VoteOption {
7
+ /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */
8
+ VOTE_OPTION_UNSPECIFIED = 0,
9
+ /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
10
+ VOTE_OPTION_YES = 1,
11
+ /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
12
+ VOTE_OPTION_ABSTAIN = 2,
13
+ /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
14
+ VOTE_OPTION_NO = 3,
15
+ /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
16
+ VOTE_OPTION_NO_WITH_VETO = 4,
17
+ UNRECOGNIZED = -1
18
+ }
19
+ export declare function voteOptionFromJSON(object: any): VoteOption;
20
+ export declare function voteOptionToJSON(object: VoteOption): string;
21
+ /** ProposalStatus defines proposal statuses. */
22
+ export declare enum ProposalStatus {
23
+ /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */
24
+ PROPOSAL_STATUS_UNSPECIFIED = 0,
25
+ /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when persisted. */
26
+ PROPOSAL_STATUS_SUBMITTED = 1,
27
+ /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */
28
+ PROPOSAL_STATUS_CLOSED = 2,
29
+ /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */
30
+ PROPOSAL_STATUS_ABORTED = 3,
31
+ /**
32
+ * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status
33
+ * is Withdrawn.
34
+ */
35
+ PROPOSAL_STATUS_WITHDRAWN = 4,
36
+ UNRECOGNIZED = -1
37
+ }
38
+ export declare function proposalStatusFromJSON(object: any): ProposalStatus;
39
+ export declare function proposalStatusToJSON(object: ProposalStatus): string;
40
+ /** ProposalResult defines types of proposal results. */
41
+ export declare enum ProposalResult {
42
+ /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */
43
+ PROPOSAL_RESULT_UNSPECIFIED = 0,
44
+ /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */
45
+ PROPOSAL_RESULT_UNFINALIZED = 1,
46
+ /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */
47
+ PROPOSAL_RESULT_ACCEPTED = 2,
48
+ /** PROPOSAL_RESULT_REJECTED - Final result of the tally */
49
+ PROPOSAL_RESULT_REJECTED = 3,
50
+ UNRECOGNIZED = -1
51
+ }
52
+ export declare function proposalResultFromJSON(object: any): ProposalResult;
53
+ export declare function proposalResultToJSON(object: ProposalResult): string;
54
+ /** ProposalExecutorResult defines types of proposal executor results. */
55
+ export declare enum ProposalExecutorResult {
56
+ /** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */
57
+ PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0,
58
+ /** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */
59
+ PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1,
60
+ /** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */
61
+ PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2,
62
+ /** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */
63
+ PROPOSAL_EXECUTOR_RESULT_FAILURE = 3,
64
+ UNRECOGNIZED = -1
65
+ }
66
+ export declare function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult;
67
+ export declare function proposalExecutorResultToJSON(object: ProposalExecutorResult): string;
68
+ /**
69
+ * Member represents a group member with an account address,
70
+ * non-zero weight and metadata.
71
+ */
72
+ export interface Member {
73
+ /** address is the member's account address. */
74
+ address: string;
75
+ /** weight is the member's voting weight that should be greater than 0. */
76
+ weight: string;
77
+ /** metadata is any arbitrary metadata to attached to the member. */
78
+ metadata: string;
79
+ /** added_at is a timestamp specifying when a member was added. */
80
+ added_at: Date;
81
+ }
82
+ /** Members defines a repeated slice of Member objects. */
83
+ export interface Members {
84
+ /** members is the list of members. */
85
+ members: Member[];
86
+ }
87
+ /** ThresholdDecisionPolicy implements the DecisionPolicy interface */
88
+ export interface ThresholdDecisionPolicy {
89
+ /** threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. */
90
+ threshold: string;
91
+ /** windows defines the different windows for voting and execution. */
92
+ windows: DecisionPolicyWindows;
93
+ }
94
+ /** PercentageDecisionPolicy implements the DecisionPolicy interface */
95
+ export interface PercentageDecisionPolicy {
96
+ /** percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. */
97
+ percentage: string;
98
+ /** windows defines the different windows for voting and execution. */
99
+ windows: DecisionPolicyWindows;
100
+ }
101
+ /** DecisionPolicyWindows defines the different windows for voting and execution. */
102
+ export interface DecisionPolicyWindows {
103
+ /**
104
+ * voting_period is the duration from submission of a proposal to the end of voting period
105
+ * Within this times votes can be submitted with MsgVote.
106
+ */
107
+ voting_period: Duration;
108
+ /**
109
+ * min_execution_period is the minimum duration after the proposal submission
110
+ * where members can start sending MsgExec. This means that the window for
111
+ * sending a MsgExec transaction is:
112
+ * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
113
+ * where max_execution_period is a app-specific config, defined in the keeper.
114
+ * If not set, min_execution_period will default to 0.
115
+ *
116
+ * Please make sure to set a `min_execution_period` that is smaller than
117
+ * `voting_period + max_execution_period`, or else the above execution window
118
+ * is empty, meaning that all proposals created with this decision policy
119
+ * won't be able to be executed.
120
+ */
121
+ min_execution_period: Duration;
122
+ }
123
+ /** GroupInfo represents the high-level on-chain information for a group. */
124
+ export interface GroupInfo {
125
+ /** id is the unique ID of the group. */
126
+ id: Long;
127
+ /** admin is the account address of the group's admin. */
128
+ admin: string;
129
+ /** metadata is any arbitrary metadata to attached to the group. */
130
+ metadata: string;
131
+ /**
132
+ * version is used to track changes to a group's membership structure that
133
+ * would break existing proposals. Whenever any members weight is changed,
134
+ * or any member is added or removed this version is incremented and will
135
+ * cause proposals based on older versions of this group to fail
136
+ */
137
+ version: Long;
138
+ /** total_weight is the sum of the group members' weights. */
139
+ total_weight: string;
140
+ /** created_at is a timestamp specifying when a group was created. */
141
+ created_at: Date;
142
+ }
143
+ /** GroupMember represents the relationship between a group and a member. */
144
+ export interface GroupMember {
145
+ /** group_id is the unique ID of the group. */
146
+ group_id: Long;
147
+ /** member is the member data. */
148
+ member: Member;
149
+ }
150
+ /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
151
+ export interface GroupPolicyInfo {
152
+ /** address is the account address of group policy. */
153
+ address: string;
154
+ /** group_id is the unique ID of the group. */
155
+ group_id: Long;
156
+ /** admin is the account address of the group admin. */
157
+ admin: string;
158
+ /** metadata is any arbitrary metadata to attached to the group policy. */
159
+ metadata: string;
160
+ /**
161
+ * version is used to track changes to a group's GroupPolicyInfo structure that
162
+ * would create a different result on a running proposal.
163
+ */
164
+ version: Long;
165
+ /** decision_policy specifies the group policy's decision policy. */
166
+ decision_policy: Any;
167
+ /** created_at is a timestamp specifying when a group policy was created. */
168
+ created_at: Date;
169
+ }
170
+ /**
171
+ * Proposal defines a group proposal. Any member of a group can submit a proposal
172
+ * for a group policy to decide upon.
173
+ * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
174
+ * passes as well as some optional metadata associated with the proposal.
175
+ */
176
+ export interface Proposal {
177
+ /** id is the unique id of the proposal. */
178
+ id: Long;
179
+ /** address is the account address of group policy. */
180
+ address: string;
181
+ /** metadata is any arbitrary metadata to attached to the proposal. */
182
+ metadata: string;
183
+ /** proposers are the account addresses of the proposers. */
184
+ proposers: string[];
185
+ /** submit_time is a timestamp specifying when a proposal was submitted. */
186
+ submit_time: Date;
187
+ /**
188
+ * group_version tracks the version of the group that this proposal corresponds to.
189
+ * When group membership is changed, existing proposals from previous group versions will become invalid.
190
+ */
191
+ group_version: Long;
192
+ /**
193
+ * group_policy_version tracks the version of the group policy that this proposal corresponds to.
194
+ * When a decision policy is changed, existing proposals from previous policy versions will become invalid.
195
+ */
196
+ group_policy_version: Long;
197
+ /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */
198
+ status: ProposalStatus;
199
+ /**
200
+ * result is the final result based on the votes and election rule. Initial value is unfinalized.
201
+ * The result is persisted so that clients can always rely on this state and not have to replicate the logic.
202
+ */
203
+ result: ProposalResult;
204
+ /**
205
+ * final_tally_result contains the sums of all weighted votes for this
206
+ * proposal for each vote option, after tallying. When querying a proposal
207
+ * via gRPC, this field is not populated until the proposal's voting period
208
+ * has ended.
209
+ */
210
+ final_tally_result: TallyResult;
211
+ /**
212
+ * voting_period_end is the timestamp before which voting must be done.
213
+ * Unless a successfull MsgExec is called before (to execute a proposal whose
214
+ * tally is successful before the voting period ends), tallying will be done
215
+ * at this point, and the `final_tally_result`, as well
216
+ * as `status` and `result` fields will be accordingly updated.
217
+ */
218
+ voting_period_end: Date;
219
+ /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */
220
+ executor_result: ProposalExecutorResult;
221
+ /** messages is a list of Msgs that will be executed if the proposal passes. */
222
+ messages: Any[];
223
+ }
224
+ /** TallyResult represents the sum of weighted votes for each vote option. */
225
+ export interface TallyResult {
226
+ /** yes_count is the weighted sum of yes votes. */
227
+ yes_count: string;
228
+ /** abstain_count is the weighted sum of abstainers. */
229
+ abstain_count: string;
230
+ /** no is the weighted sum of no votes. */
231
+ no_count: string;
232
+ /** no_with_veto_count is the weighted sum of veto. */
233
+ no_with_veto_count: string;
234
+ }
235
+ /** Vote represents a vote for a proposal. */
236
+ export interface Vote {
237
+ /** proposal is the unique ID of the proposal. */
238
+ proposal_id: Long;
239
+ /** voter is the account address of the voter. */
240
+ voter: string;
241
+ /** option is the voter's choice on the proposal. */
242
+ option: VoteOption;
243
+ /** metadata is any arbitrary metadata to attached to the vote. */
244
+ metadata: string;
245
+ /** submit_time is the timestamp when the vote was submitted. */
246
+ submit_time: Date;
247
+ }
248
+ export declare const Member: {
249
+ encode(message: Member, writer?: _m0.Writer): _m0.Writer;
250
+ decode(input: _m0.Reader | Uint8Array, length?: number): Member;
251
+ fromJSON(object: any): Member;
252
+ toJSON(message: Member): unknown;
253
+ fromPartial(object: DeepPartial<Member>): Member;
254
+ };
255
+ export declare const Members: {
256
+ encode(message: Members, writer?: _m0.Writer): _m0.Writer;
257
+ decode(input: _m0.Reader | Uint8Array, length?: number): Members;
258
+ fromJSON(object: any): Members;
259
+ toJSON(message: Members): unknown;
260
+ fromPartial(object: DeepPartial<Members>): Members;
261
+ };
262
+ export declare const ThresholdDecisionPolicy: {
263
+ encode(message: ThresholdDecisionPolicy, writer?: _m0.Writer): _m0.Writer;
264
+ decode(input: _m0.Reader | Uint8Array, length?: number): ThresholdDecisionPolicy;
265
+ fromJSON(object: any): ThresholdDecisionPolicy;
266
+ toJSON(message: ThresholdDecisionPolicy): unknown;
267
+ fromPartial(object: DeepPartial<ThresholdDecisionPolicy>): ThresholdDecisionPolicy;
268
+ };
269
+ export declare const PercentageDecisionPolicy: {
270
+ encode(message: PercentageDecisionPolicy, writer?: _m0.Writer): _m0.Writer;
271
+ decode(input: _m0.Reader | Uint8Array, length?: number): PercentageDecisionPolicy;
272
+ fromJSON(object: any): PercentageDecisionPolicy;
273
+ toJSON(message: PercentageDecisionPolicy): unknown;
274
+ fromPartial(object: DeepPartial<PercentageDecisionPolicy>): PercentageDecisionPolicy;
275
+ };
276
+ export declare const DecisionPolicyWindows: {
277
+ encode(message: DecisionPolicyWindows, writer?: _m0.Writer): _m0.Writer;
278
+ decode(input: _m0.Reader | Uint8Array, length?: number): DecisionPolicyWindows;
279
+ fromJSON(object: any): DecisionPolicyWindows;
280
+ toJSON(message: DecisionPolicyWindows): unknown;
281
+ fromPartial(object: DeepPartial<DecisionPolicyWindows>): DecisionPolicyWindows;
282
+ };
283
+ export declare const GroupInfo: {
284
+ encode(message: GroupInfo, writer?: _m0.Writer): _m0.Writer;
285
+ decode(input: _m0.Reader | Uint8Array, length?: number): GroupInfo;
286
+ fromJSON(object: any): GroupInfo;
287
+ toJSON(message: GroupInfo): unknown;
288
+ fromPartial(object: DeepPartial<GroupInfo>): GroupInfo;
289
+ };
290
+ export declare const GroupMember: {
291
+ encode(message: GroupMember, writer?: _m0.Writer): _m0.Writer;
292
+ decode(input: _m0.Reader | Uint8Array, length?: number): GroupMember;
293
+ fromJSON(object: any): GroupMember;
294
+ toJSON(message: GroupMember): unknown;
295
+ fromPartial(object: DeepPartial<GroupMember>): GroupMember;
296
+ };
297
+ export declare const GroupPolicyInfo: {
298
+ encode(message: GroupPolicyInfo, writer?: _m0.Writer): _m0.Writer;
299
+ decode(input: _m0.Reader | Uint8Array, length?: number): GroupPolicyInfo;
300
+ fromJSON(object: any): GroupPolicyInfo;
301
+ toJSON(message: GroupPolicyInfo): unknown;
302
+ fromPartial(object: DeepPartial<GroupPolicyInfo>): GroupPolicyInfo;
303
+ };
304
+ export declare const Proposal: {
305
+ encode(message: Proposal, writer?: _m0.Writer): _m0.Writer;
306
+ decode(input: _m0.Reader | Uint8Array, length?: number): Proposal;
307
+ fromJSON(object: any): Proposal;
308
+ toJSON(message: Proposal): unknown;
309
+ fromPartial(object: DeepPartial<Proposal>): Proposal;
310
+ };
311
+ export declare const TallyResult: {
312
+ encode(message: TallyResult, writer?: _m0.Writer): _m0.Writer;
313
+ decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult;
314
+ fromJSON(object: any): TallyResult;
315
+ toJSON(message: TallyResult): unknown;
316
+ fromPartial(object: DeepPartial<TallyResult>): TallyResult;
317
+ };
318
+ export declare const Vote: {
319
+ encode(message: Vote, writer?: _m0.Writer): _m0.Writer;
320
+ decode(input: _m0.Reader | Uint8Array, length?: number): Vote;
321
+ fromJSON(object: any): Vote;
322
+ toJSON(message: Vote): unknown;
323
+ fromPartial(object: DeepPartial<Vote>): Vote;
324
+ };
@@ -0,0 +1,28 @@
1
+ export declare const createLCDClient: ({ restEndpoint }: {
2
+ restEndpoint: string;
3
+ }) => Promise<{
4
+ cosmos: {
5
+ authz: {
6
+ v1beta1: import("./authz/v1beta1/query.lcd").LCDQueryClient;
7
+ };
8
+ bank: {
9
+ v1beta1: import("./bank/v1beta1/query.lcd").LCDQueryClient;
10
+ };
11
+ distribution: {
12
+ v1beta1: import("./distribution/v1beta1/query.lcd").LCDQueryClient;
13
+ };
14
+ gov: {
15
+ v1: import("./gov/v1/query.lcd").LCDQueryClient;
16
+ v1beta1: import("./gov/v1beta1/query.lcd").LCDQueryClient;
17
+ };
18
+ staking: {
19
+ v1beta1: import("./staking/v1beta1/query.lcd").LCDQueryClient;
20
+ };
21
+ tx: {
22
+ v1beta1: import("./tx/v1beta1/service.lcd").LCDQueryClient;
23
+ };
24
+ upgrade: {
25
+ v1beta1: import("./upgrade/v1beta1/query.lcd").LCDQueryClient;
26
+ };
27
+ };
28
+ }>;