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,224 @@
1
+ import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin";
2
+ import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, Params, ParamsSDKType, FeePool, FeePoolSDKType } from "./distribution";
3
+ import * as _m0 from "protobufjs/minimal";
4
+ import { DeepPartial, Long } from "@osmonauts/helpers";
5
+ /**
6
+ * DelegatorWithdrawInfo is the address for where distributions rewards are
7
+ * withdrawn to by default this struct is only used at genesis to feed in
8
+ * default withdraw addresses.
9
+ */
10
+ export interface DelegatorWithdrawInfo {
11
+ /** delegator_address is the address of the delegator. */
12
+ delegatorAddress: string;
13
+ /** withdraw_address is the address to withdraw the delegation rewards to. */
14
+ withdrawAddress: string;
15
+ }
16
+ /**
17
+ * DelegatorWithdrawInfo is the address for where distributions rewards are
18
+ * withdrawn to by default this struct is only used at genesis to feed in
19
+ * default withdraw addresses.
20
+ */
21
+ export interface DelegatorWithdrawInfoSDKType {
22
+ /** delegator_address is the address of the delegator. */
23
+ delegator_address: string;
24
+ /** withdraw_address is the address to withdraw the delegation rewards to. */
25
+ withdraw_address: string;
26
+ }
27
+ /** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */
28
+ export interface ValidatorOutstandingRewardsRecord {
29
+ /** validator_address is the address of the validator. */
30
+ validatorAddress: string;
31
+ /** outstanding_rewards represents the oustanding rewards of a validator. */
32
+ outstandingRewards: DecCoin[];
33
+ }
34
+ /** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */
35
+ export interface ValidatorOutstandingRewardsRecordSDKType {
36
+ /** validator_address is the address of the validator. */
37
+ validator_address: string;
38
+ /** outstanding_rewards represents the oustanding rewards of a validator. */
39
+ outstanding_rewards: DecCoinSDKType[];
40
+ }
41
+ /**
42
+ * ValidatorAccumulatedCommissionRecord is used for import / export via genesis
43
+ * json.
44
+ */
45
+ export interface ValidatorAccumulatedCommissionRecord {
46
+ /** validator_address is the address of the validator. */
47
+ validatorAddress: string;
48
+ /** accumulated is the accumulated commission of a validator. */
49
+ accumulated: ValidatorAccumulatedCommission;
50
+ }
51
+ /**
52
+ * ValidatorAccumulatedCommissionRecord is used for import / export via genesis
53
+ * json.
54
+ */
55
+ export interface ValidatorAccumulatedCommissionRecordSDKType {
56
+ /** validator_address is the address of the validator. */
57
+ validator_address: string;
58
+ /** accumulated is the accumulated commission of a validator. */
59
+ accumulated: ValidatorAccumulatedCommissionSDKType;
60
+ }
61
+ /**
62
+ * ValidatorHistoricalRewardsRecord is used for import / export via genesis
63
+ * json.
64
+ */
65
+ export interface ValidatorHistoricalRewardsRecord {
66
+ /** validator_address is the address of the validator. */
67
+ validatorAddress: string;
68
+ /** period defines the period the historical rewards apply to. */
69
+ period: Long;
70
+ /** rewards defines the historical rewards of a validator. */
71
+ rewards: ValidatorHistoricalRewards;
72
+ }
73
+ /**
74
+ * ValidatorHistoricalRewardsRecord is used for import / export via genesis
75
+ * json.
76
+ */
77
+ export interface ValidatorHistoricalRewardsRecordSDKType {
78
+ /** validator_address is the address of the validator. */
79
+ validator_address: string;
80
+ /** period defines the period the historical rewards apply to. */
81
+ period: Long;
82
+ /** rewards defines the historical rewards of a validator. */
83
+ rewards: ValidatorHistoricalRewardsSDKType;
84
+ }
85
+ /** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */
86
+ export interface ValidatorCurrentRewardsRecord {
87
+ /** validator_address is the address of the validator. */
88
+ validatorAddress: string;
89
+ /** rewards defines the current rewards of a validator. */
90
+ rewards: ValidatorCurrentRewards;
91
+ }
92
+ /** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */
93
+ export interface ValidatorCurrentRewardsRecordSDKType {
94
+ /** validator_address is the address of the validator. */
95
+ validator_address: string;
96
+ /** rewards defines the current rewards of a validator. */
97
+ rewards: ValidatorCurrentRewardsSDKType;
98
+ }
99
+ /** DelegatorStartingInfoRecord used for import / export via genesis json. */
100
+ export interface DelegatorStartingInfoRecord {
101
+ /** delegator_address is the address of the delegator. */
102
+ delegatorAddress: string;
103
+ /** validator_address is the address of the validator. */
104
+ validatorAddress: string;
105
+ /** starting_info defines the starting info of a delegator. */
106
+ startingInfo: DelegatorStartingInfo;
107
+ }
108
+ /** DelegatorStartingInfoRecord used for import / export via genesis json. */
109
+ export interface DelegatorStartingInfoRecordSDKType {
110
+ /** delegator_address is the address of the delegator. */
111
+ delegator_address: string;
112
+ /** validator_address is the address of the validator. */
113
+ validator_address: string;
114
+ /** starting_info defines the starting info of a delegator. */
115
+ starting_info: DelegatorStartingInfoSDKType;
116
+ }
117
+ /** ValidatorSlashEventRecord is used for import / export via genesis json. */
118
+ export interface ValidatorSlashEventRecord {
119
+ /** validator_address is the address of the validator. */
120
+ validatorAddress: string;
121
+ /** height defines the block height at which the slash event occured. */
122
+ height: Long;
123
+ /** period is the period of the slash event. */
124
+ period: Long;
125
+ /** validator_slash_event describes the slash event. */
126
+ validatorSlashEvent: ValidatorSlashEvent;
127
+ }
128
+ /** ValidatorSlashEventRecord is used for import / export via genesis json. */
129
+ export interface ValidatorSlashEventRecordSDKType {
130
+ /** validator_address is the address of the validator. */
131
+ validator_address: string;
132
+ /** height defines the block height at which the slash event occured. */
133
+ height: Long;
134
+ /** period is the period of the slash event. */
135
+ period: Long;
136
+ /** validator_slash_event describes the slash event. */
137
+ validator_slash_event: ValidatorSlashEventSDKType;
138
+ }
139
+ /** GenesisState defines the distribution module's genesis state. */
140
+ export interface GenesisState {
141
+ /** params defines all the paramaters of the module. */
142
+ params: Params;
143
+ /** fee_pool defines the fee pool at genesis. */
144
+ feePool: FeePool;
145
+ /** fee_pool defines the delegator withdraw infos at genesis. */
146
+ delegatorWithdrawInfos: DelegatorWithdrawInfo[];
147
+ /** fee_pool defines the previous proposer at genesis. */
148
+ previousProposer: string;
149
+ /** fee_pool defines the outstanding rewards of all validators at genesis. */
150
+ outstandingRewards: ValidatorOutstandingRewardsRecord[];
151
+ /** fee_pool defines the accumulated commisions of all validators at genesis. */
152
+ validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[];
153
+ /** fee_pool defines the historical rewards of all validators at genesis. */
154
+ validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[];
155
+ /** fee_pool defines the current rewards of all validators at genesis. */
156
+ validatorCurrentRewards: ValidatorCurrentRewardsRecord[];
157
+ /** fee_pool defines the delegator starting infos at genesis. */
158
+ delegatorStartingInfos: DelegatorStartingInfoRecord[];
159
+ /** fee_pool defines the validator slash events at genesis. */
160
+ validatorSlashEvents: ValidatorSlashEventRecord[];
161
+ }
162
+ /** GenesisState defines the distribution module's genesis state. */
163
+ export interface GenesisStateSDKType {
164
+ /** params defines all the paramaters of the module. */
165
+ params: ParamsSDKType;
166
+ /** fee_pool defines the fee pool at genesis. */
167
+ fee_pool: FeePoolSDKType;
168
+ /** fee_pool defines the delegator withdraw infos at genesis. */
169
+ delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[];
170
+ /** fee_pool defines the previous proposer at genesis. */
171
+ previous_proposer: string;
172
+ /** fee_pool defines the outstanding rewards of all validators at genesis. */
173
+ outstanding_rewards: ValidatorOutstandingRewardsRecordSDKType[];
174
+ /** fee_pool defines the accumulated commisions of all validators at genesis. */
175
+ validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordSDKType[];
176
+ /** fee_pool defines the historical rewards of all validators at genesis. */
177
+ validator_historical_rewards: ValidatorHistoricalRewardsRecordSDKType[];
178
+ /** fee_pool defines the current rewards of all validators at genesis. */
179
+ validator_current_rewards: ValidatorCurrentRewardsRecordSDKType[];
180
+ /** fee_pool defines the delegator starting infos at genesis. */
181
+ delegator_starting_infos: DelegatorStartingInfoRecordSDKType[];
182
+ /** fee_pool defines the validator slash events at genesis. */
183
+ validator_slash_events: ValidatorSlashEventRecordSDKType[];
184
+ }
185
+ export declare const DelegatorWithdrawInfo: {
186
+ encode(message: DelegatorWithdrawInfo, writer?: _m0.Writer): _m0.Writer;
187
+ decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorWithdrawInfo;
188
+ fromPartial(object: DeepPartial<DelegatorWithdrawInfo>): DelegatorWithdrawInfo;
189
+ };
190
+ export declare const ValidatorOutstandingRewardsRecord: {
191
+ encode(message: ValidatorOutstandingRewardsRecord, writer?: _m0.Writer): _m0.Writer;
192
+ decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewardsRecord;
193
+ fromPartial(object: DeepPartial<ValidatorOutstandingRewardsRecord>): ValidatorOutstandingRewardsRecord;
194
+ };
195
+ export declare const ValidatorAccumulatedCommissionRecord: {
196
+ encode(message: ValidatorAccumulatedCommissionRecord, writer?: _m0.Writer): _m0.Writer;
197
+ decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommissionRecord;
198
+ fromPartial(object: DeepPartial<ValidatorAccumulatedCommissionRecord>): ValidatorAccumulatedCommissionRecord;
199
+ };
200
+ export declare const ValidatorHistoricalRewardsRecord: {
201
+ encode(message: ValidatorHistoricalRewardsRecord, writer?: _m0.Writer): _m0.Writer;
202
+ decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewardsRecord;
203
+ fromPartial(object: DeepPartial<ValidatorHistoricalRewardsRecord>): ValidatorHistoricalRewardsRecord;
204
+ };
205
+ export declare const ValidatorCurrentRewardsRecord: {
206
+ encode(message: ValidatorCurrentRewardsRecord, writer?: _m0.Writer): _m0.Writer;
207
+ decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewardsRecord;
208
+ fromPartial(object: DeepPartial<ValidatorCurrentRewardsRecord>): ValidatorCurrentRewardsRecord;
209
+ };
210
+ export declare const DelegatorStartingInfoRecord: {
211
+ encode(message: DelegatorStartingInfoRecord, writer?: _m0.Writer): _m0.Writer;
212
+ decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfoRecord;
213
+ fromPartial(object: DeepPartial<DelegatorStartingInfoRecord>): DelegatorStartingInfoRecord;
214
+ };
215
+ export declare const ValidatorSlashEventRecord: {
216
+ encode(message: ValidatorSlashEventRecord, writer?: _m0.Writer): _m0.Writer;
217
+ decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEventRecord;
218
+ fromPartial(object: DeepPartial<ValidatorSlashEventRecord>): ValidatorSlashEventRecord;
219
+ };
220
+ export declare const GenesisState: {
221
+ encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
222
+ decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
223
+ fromPartial(object: DeepPartial<GenesisState>): GenesisState;
224
+ };
@@ -0,0 +1,385 @@
1
+ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
2
+ import { Params, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardSDKType } from "./distribution";
3
+ import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin";
4
+ import * as _m0 from "protobufjs/minimal";
5
+ import { DeepPartial, Long } from "@osmonauts/helpers";
6
+ /** QueryParamsRequest is the request type for the Query/Params RPC method. */
7
+ export interface QueryParamsRequest {
8
+ }
9
+ /** QueryParamsRequest is the request type for the Query/Params RPC method. */
10
+ export interface QueryParamsRequestSDKType {
11
+ }
12
+ /** QueryParamsResponse is the response type for the Query/Params RPC method. */
13
+ export interface QueryParamsResponse {
14
+ /** params defines the parameters of the module. */
15
+ params: Params;
16
+ }
17
+ /** QueryParamsResponse is the response type for the Query/Params RPC method. */
18
+ export interface QueryParamsResponseSDKType {
19
+ /** params defines the parameters of the module. */
20
+ params: ParamsSDKType;
21
+ }
22
+ /**
23
+ * QueryValidatorOutstandingRewardsRequest is the request type for the
24
+ * Query/ValidatorOutstandingRewards RPC method.
25
+ */
26
+ export interface QueryValidatorOutstandingRewardsRequest {
27
+ /** validator_address defines the validator address to query for. */
28
+ validatorAddress: string;
29
+ }
30
+ /**
31
+ * QueryValidatorOutstandingRewardsRequest is the request type for the
32
+ * Query/ValidatorOutstandingRewards RPC method.
33
+ */
34
+ export interface QueryValidatorOutstandingRewardsRequestSDKType {
35
+ /** validator_address defines the validator address to query for. */
36
+ validator_address: string;
37
+ }
38
+ /**
39
+ * QueryValidatorOutstandingRewardsResponse is the response type for the
40
+ * Query/ValidatorOutstandingRewards RPC method.
41
+ */
42
+ export interface QueryValidatorOutstandingRewardsResponse {
43
+ rewards: ValidatorOutstandingRewards;
44
+ }
45
+ /**
46
+ * QueryValidatorOutstandingRewardsResponse is the response type for the
47
+ * Query/ValidatorOutstandingRewards RPC method.
48
+ */
49
+ export interface QueryValidatorOutstandingRewardsResponseSDKType {
50
+ rewards: ValidatorOutstandingRewardsSDKType;
51
+ }
52
+ /**
53
+ * QueryValidatorCommissionRequest is the request type for the
54
+ * Query/ValidatorCommission RPC method
55
+ */
56
+ export interface QueryValidatorCommissionRequest {
57
+ /** validator_address defines the validator address to query for. */
58
+ validatorAddress: string;
59
+ }
60
+ /**
61
+ * QueryValidatorCommissionRequest is the request type for the
62
+ * Query/ValidatorCommission RPC method
63
+ */
64
+ export interface QueryValidatorCommissionRequestSDKType {
65
+ /** validator_address defines the validator address to query for. */
66
+ validator_address: string;
67
+ }
68
+ /**
69
+ * QueryValidatorCommissionResponse is the response type for the
70
+ * Query/ValidatorCommission RPC method
71
+ */
72
+ export interface QueryValidatorCommissionResponse {
73
+ /** commission defines the commision the validator received. */
74
+ commission: ValidatorAccumulatedCommission;
75
+ }
76
+ /**
77
+ * QueryValidatorCommissionResponse is the response type for the
78
+ * Query/ValidatorCommission RPC method
79
+ */
80
+ export interface QueryValidatorCommissionResponseSDKType {
81
+ /** commission defines the commision the validator received. */
82
+ commission: ValidatorAccumulatedCommissionSDKType;
83
+ }
84
+ /**
85
+ * QueryValidatorSlashesRequest is the request type for the
86
+ * Query/ValidatorSlashes RPC method
87
+ */
88
+ export interface QueryValidatorSlashesRequest {
89
+ /** validator_address defines the validator address to query for. */
90
+ validatorAddress: string;
91
+ /** starting_height defines the optional starting height to query the slashes. */
92
+ startingHeight?: Long;
93
+ /** starting_height defines the optional ending height to query the slashes. */
94
+ endingHeight?: Long;
95
+ /** pagination defines an optional pagination for the request. */
96
+ pagination?: PageRequest;
97
+ }
98
+ /**
99
+ * QueryValidatorSlashesRequest is the request type for the
100
+ * Query/ValidatorSlashes RPC method
101
+ */
102
+ export interface QueryValidatorSlashesRequestSDKType {
103
+ /** validator_address defines the validator address to query for. */
104
+ validator_address: string;
105
+ /** starting_height defines the optional starting height to query the slashes. */
106
+ starting_height?: Long;
107
+ /** starting_height defines the optional ending height to query the slashes. */
108
+ ending_height?: Long;
109
+ /** pagination defines an optional pagination for the request. */
110
+ pagination?: PageRequestSDKType;
111
+ }
112
+ /**
113
+ * QueryValidatorSlashesResponse is the response type for the
114
+ * Query/ValidatorSlashes RPC method.
115
+ */
116
+ export interface QueryValidatorSlashesResponse {
117
+ /** slashes defines the slashes the validator received. */
118
+ slashes: ValidatorSlashEvent[];
119
+ /** pagination defines the pagination in the response. */
120
+ pagination?: PageResponse;
121
+ }
122
+ /**
123
+ * QueryValidatorSlashesResponse is the response type for the
124
+ * Query/ValidatorSlashes RPC method.
125
+ */
126
+ export interface QueryValidatorSlashesResponseSDKType {
127
+ /** slashes defines the slashes the validator received. */
128
+ slashes: ValidatorSlashEventSDKType[];
129
+ /** pagination defines the pagination in the response. */
130
+ pagination?: PageResponseSDKType;
131
+ }
132
+ /**
133
+ * QueryDelegationRewardsRequest is the request type for the
134
+ * Query/DelegationRewards RPC method.
135
+ */
136
+ export interface QueryDelegationRewardsRequest {
137
+ /** delegator_address defines the delegator address to query for. */
138
+ delegatorAddress: string;
139
+ /** validator_address defines the validator address to query for. */
140
+ validatorAddress: string;
141
+ }
142
+ /**
143
+ * QueryDelegationRewardsRequest is the request type for the
144
+ * Query/DelegationRewards RPC method.
145
+ */
146
+ export interface QueryDelegationRewardsRequestSDKType {
147
+ /** delegator_address defines the delegator address to query for. */
148
+ delegator_address: string;
149
+ /** validator_address defines the validator address to query for. */
150
+ validator_address: string;
151
+ }
152
+ /**
153
+ * QueryDelegationRewardsResponse is the response type for the
154
+ * Query/DelegationRewards RPC method.
155
+ */
156
+ export interface QueryDelegationRewardsResponse {
157
+ /** rewards defines the rewards accrued by a delegation. */
158
+ rewards: DecCoin[];
159
+ }
160
+ /**
161
+ * QueryDelegationRewardsResponse is the response type for the
162
+ * Query/DelegationRewards RPC method.
163
+ */
164
+ export interface QueryDelegationRewardsResponseSDKType {
165
+ /** rewards defines the rewards accrued by a delegation. */
166
+ rewards: DecCoinSDKType[];
167
+ }
168
+ /**
169
+ * QueryDelegationTotalRewardsRequest is the request type for the
170
+ * Query/DelegationTotalRewards RPC method.
171
+ */
172
+ export interface QueryDelegationTotalRewardsRequest {
173
+ /** delegator_address defines the delegator address to query for. */
174
+ delegatorAddress: string;
175
+ }
176
+ /**
177
+ * QueryDelegationTotalRewardsRequest is the request type for the
178
+ * Query/DelegationTotalRewards RPC method.
179
+ */
180
+ export interface QueryDelegationTotalRewardsRequestSDKType {
181
+ /** delegator_address defines the delegator address to query for. */
182
+ delegator_address: string;
183
+ }
184
+ /**
185
+ * QueryDelegationTotalRewardsResponse is the response type for the
186
+ * Query/DelegationTotalRewards RPC method.
187
+ */
188
+ export interface QueryDelegationTotalRewardsResponse {
189
+ /** rewards defines all the rewards accrued by a delegator. */
190
+ rewards: DelegationDelegatorReward[];
191
+ /** total defines the sum of all the rewards. */
192
+ total: DecCoin[];
193
+ }
194
+ /**
195
+ * QueryDelegationTotalRewardsResponse is the response type for the
196
+ * Query/DelegationTotalRewards RPC method.
197
+ */
198
+ export interface QueryDelegationTotalRewardsResponseSDKType {
199
+ /** rewards defines all the rewards accrued by a delegator. */
200
+ rewards: DelegationDelegatorRewardSDKType[];
201
+ /** total defines the sum of all the rewards. */
202
+ total: DecCoinSDKType[];
203
+ }
204
+ /**
205
+ * QueryDelegatorValidatorsRequest is the request type for the
206
+ * Query/DelegatorValidators RPC method.
207
+ */
208
+ export interface QueryDelegatorValidatorsRequest {
209
+ /** delegator_address defines the delegator address to query for. */
210
+ delegatorAddress: string;
211
+ }
212
+ /**
213
+ * QueryDelegatorValidatorsRequest is the request type for the
214
+ * Query/DelegatorValidators RPC method.
215
+ */
216
+ export interface QueryDelegatorValidatorsRequestSDKType {
217
+ /** delegator_address defines the delegator address to query for. */
218
+ delegator_address: string;
219
+ }
220
+ /**
221
+ * QueryDelegatorValidatorsResponse is the response type for the
222
+ * Query/DelegatorValidators RPC method.
223
+ */
224
+ export interface QueryDelegatorValidatorsResponse {
225
+ /** validators defines the validators a delegator is delegating for. */
226
+ validators: string[];
227
+ }
228
+ /**
229
+ * QueryDelegatorValidatorsResponse is the response type for the
230
+ * Query/DelegatorValidators RPC method.
231
+ */
232
+ export interface QueryDelegatorValidatorsResponseSDKType {
233
+ /** validators defines the validators a delegator is delegating for. */
234
+ validators: string[];
235
+ }
236
+ /**
237
+ * QueryDelegatorWithdrawAddressRequest is the request type for the
238
+ * Query/DelegatorWithdrawAddress RPC method.
239
+ */
240
+ export interface QueryDelegatorWithdrawAddressRequest {
241
+ /** delegator_address defines the delegator address to query for. */
242
+ delegatorAddress: string;
243
+ }
244
+ /**
245
+ * QueryDelegatorWithdrawAddressRequest is the request type for the
246
+ * Query/DelegatorWithdrawAddress RPC method.
247
+ */
248
+ export interface QueryDelegatorWithdrawAddressRequestSDKType {
249
+ /** delegator_address defines the delegator address to query for. */
250
+ delegator_address: string;
251
+ }
252
+ /**
253
+ * QueryDelegatorWithdrawAddressResponse is the response type for the
254
+ * Query/DelegatorWithdrawAddress RPC method.
255
+ */
256
+ export interface QueryDelegatorWithdrawAddressResponse {
257
+ /** withdraw_address defines the delegator address to query for. */
258
+ withdrawAddress: string;
259
+ }
260
+ /**
261
+ * QueryDelegatorWithdrawAddressResponse is the response type for the
262
+ * Query/DelegatorWithdrawAddress RPC method.
263
+ */
264
+ export interface QueryDelegatorWithdrawAddressResponseSDKType {
265
+ /** withdraw_address defines the delegator address to query for. */
266
+ withdraw_address: string;
267
+ }
268
+ /**
269
+ * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC
270
+ * method.
271
+ */
272
+ export interface QueryCommunityPoolRequest {
273
+ }
274
+ /**
275
+ * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC
276
+ * method.
277
+ */
278
+ export interface QueryCommunityPoolRequestSDKType {
279
+ }
280
+ /**
281
+ * QueryCommunityPoolResponse is the response type for the Query/CommunityPool
282
+ * RPC method.
283
+ */
284
+ export interface QueryCommunityPoolResponse {
285
+ /** pool defines community pool's coins. */
286
+ pool: DecCoin[];
287
+ }
288
+ /**
289
+ * QueryCommunityPoolResponse is the response type for the Query/CommunityPool
290
+ * RPC method.
291
+ */
292
+ export interface QueryCommunityPoolResponseSDKType {
293
+ /** pool defines community pool's coins. */
294
+ pool: DecCoinSDKType[];
295
+ }
296
+ export declare const QueryParamsRequest: {
297
+ encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
298
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
299
+ fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
300
+ };
301
+ export declare const QueryParamsResponse: {
302
+ encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
303
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType;
304
+ fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse;
305
+ };
306
+ export declare const QueryValidatorOutstandingRewardsRequest: {
307
+ encode(message: QueryValidatorOutstandingRewardsRequest, writer?: _m0.Writer): _m0.Writer;
308
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest;
309
+ fromPartial(object: DeepPartial<QueryValidatorOutstandingRewardsRequest>): QueryValidatorOutstandingRewardsRequest;
310
+ };
311
+ export declare const QueryValidatorOutstandingRewardsResponse: {
312
+ encode(message: QueryValidatorOutstandingRewardsResponse, writer?: _m0.Writer): _m0.Writer;
313
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponseSDKType;
314
+ fromPartial(object: DeepPartial<QueryValidatorOutstandingRewardsResponse>): QueryValidatorOutstandingRewardsResponse;
315
+ };
316
+ export declare const QueryValidatorCommissionRequest: {
317
+ encode(message: QueryValidatorCommissionRequest, writer?: _m0.Writer): _m0.Writer;
318
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionRequest;
319
+ fromPartial(object: DeepPartial<QueryValidatorCommissionRequest>): QueryValidatorCommissionRequest;
320
+ };
321
+ export declare const QueryValidatorCommissionResponse: {
322
+ encode(message: QueryValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer;
323
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponseSDKType;
324
+ fromPartial(object: DeepPartial<QueryValidatorCommissionResponse>): QueryValidatorCommissionResponse;
325
+ };
326
+ export declare const QueryValidatorSlashesRequest: {
327
+ encode(message: QueryValidatorSlashesRequest, writer?: _m0.Writer): _m0.Writer;
328
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesRequest;
329
+ fromPartial(object: DeepPartial<QueryValidatorSlashesRequest>): QueryValidatorSlashesRequest;
330
+ };
331
+ export declare const QueryValidatorSlashesResponse: {
332
+ encode(message: QueryValidatorSlashesResponse, writer?: _m0.Writer): _m0.Writer;
333
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponseSDKType;
334
+ fromPartial(object: DeepPartial<QueryValidatorSlashesResponse>): QueryValidatorSlashesResponse;
335
+ };
336
+ export declare const QueryDelegationRewardsRequest: {
337
+ encode(message: QueryDelegationRewardsRequest, writer?: _m0.Writer): _m0.Writer;
338
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsRequest;
339
+ fromPartial(object: DeepPartial<QueryDelegationRewardsRequest>): QueryDelegationRewardsRequest;
340
+ };
341
+ export declare const QueryDelegationRewardsResponse: {
342
+ encode(message: QueryDelegationRewardsResponse, writer?: _m0.Writer): _m0.Writer;
343
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponseSDKType;
344
+ fromPartial(object: DeepPartial<QueryDelegationRewardsResponse>): QueryDelegationRewardsResponse;
345
+ };
346
+ export declare const QueryDelegationTotalRewardsRequest: {
347
+ encode(message: QueryDelegationTotalRewardsRequest, writer?: _m0.Writer): _m0.Writer;
348
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest;
349
+ fromPartial(object: DeepPartial<QueryDelegationTotalRewardsRequest>): QueryDelegationTotalRewardsRequest;
350
+ };
351
+ export declare const QueryDelegationTotalRewardsResponse: {
352
+ encode(message: QueryDelegationTotalRewardsResponse, writer?: _m0.Writer): _m0.Writer;
353
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponseSDKType;
354
+ fromPartial(object: DeepPartial<QueryDelegationTotalRewardsResponse>): QueryDelegationTotalRewardsResponse;
355
+ };
356
+ export declare const QueryDelegatorValidatorsRequest: {
357
+ encode(message: QueryDelegatorValidatorsRequest, writer?: _m0.Writer): _m0.Writer;
358
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest;
359
+ fromPartial(object: DeepPartial<QueryDelegatorValidatorsRequest>): QueryDelegatorValidatorsRequest;
360
+ };
361
+ export declare const QueryDelegatorValidatorsResponse: {
362
+ encode(message: QueryDelegatorValidatorsResponse, writer?: _m0.Writer): _m0.Writer;
363
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponseSDKType;
364
+ fromPartial(object: DeepPartial<QueryDelegatorValidatorsResponse>): QueryDelegatorValidatorsResponse;
365
+ };
366
+ export declare const QueryDelegatorWithdrawAddressRequest: {
367
+ encode(message: QueryDelegatorWithdrawAddressRequest, writer?: _m0.Writer): _m0.Writer;
368
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest;
369
+ fromPartial(object: DeepPartial<QueryDelegatorWithdrawAddressRequest>): QueryDelegatorWithdrawAddressRequest;
370
+ };
371
+ export declare const QueryDelegatorWithdrawAddressResponse: {
372
+ encode(message: QueryDelegatorWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer;
373
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponseSDKType;
374
+ fromPartial(object: DeepPartial<QueryDelegatorWithdrawAddressResponse>): QueryDelegatorWithdrawAddressResponse;
375
+ };
376
+ export declare const QueryCommunityPoolRequest: {
377
+ encode(_: QueryCommunityPoolRequest, writer?: _m0.Writer): _m0.Writer;
378
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolRequest;
379
+ fromPartial(_: DeepPartial<QueryCommunityPoolRequest>): QueryCommunityPoolRequest;
380
+ };
381
+ export declare const QueryCommunityPoolResponse: {
382
+ encode(message: QueryCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer;
383
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponseSDKType;
384
+ fromPartial(object: DeepPartial<QueryCommunityPoolResponse>): QueryCommunityPoolResponse;
385
+ };
@@ -0,0 +1,17 @@
1
+ import { LCDClient } from "@osmonauts/lcd";
2
+ import { QueryParamsRequest, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolResponseSDKType } from "./query";
3
+ export declare class LCDQueryClient {
4
+ req: LCDClient;
5
+ constructor({ requestClient }: {
6
+ requestClient: LCDClient;
7
+ });
8
+ params(_params?: QueryParamsRequest): Promise<QueryParamsResponseSDKType>;
9
+ validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise<QueryValidatorOutstandingRewardsResponseSDKType>;
10
+ validatorCommission(params: QueryValidatorCommissionRequest): Promise<QueryValidatorCommissionResponseSDKType>;
11
+ validatorSlashes(params: QueryValidatorSlashesRequest): Promise<QueryValidatorSlashesResponseSDKType>;
12
+ delegationRewards(params: QueryDelegationRewardsRequest): Promise<QueryDelegationRewardsResponseSDKType>;
13
+ delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise<QueryDelegationTotalRewardsResponseSDKType>;
14
+ delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponseSDKType>;
15
+ delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise<QueryDelegatorWithdrawAddressResponseSDKType>;
16
+ communityPool(_params?: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponseSDKType>;
17
+ }
@@ -0,0 +1,39 @@
1
+ import { Rpc } from "@osmonauts/helpers";
2
+ import { QueryClient } from "@cosmjs/stargate";
3
+ import { QueryParamsRequest, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolResponseSDKType } from "./query";
4
+ /** Query defines the RPC service */
5
+ export interface Query {
6
+ params(request?: QueryParamsRequest): Promise<QueryParamsResponseSDKType>;
7
+ validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise<QueryValidatorOutstandingRewardsResponseSDKType>;
8
+ validatorCommission(request: QueryValidatorCommissionRequest): Promise<QueryValidatorCommissionResponseSDKType>;
9
+ validatorSlashes(request: QueryValidatorSlashesRequest): Promise<QueryValidatorSlashesResponseSDKType>;
10
+ delegationRewards(request: QueryDelegationRewardsRequest): Promise<QueryDelegationRewardsResponseSDKType>;
11
+ delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise<QueryDelegationTotalRewardsResponseSDKType>;
12
+ delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponseSDKType>;
13
+ delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise<QueryDelegatorWithdrawAddressResponseSDKType>;
14
+ communityPool(request?: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponseSDKType>;
15
+ }
16
+ export declare class QueryClientImpl implements Query {
17
+ private readonly rpc;
18
+ constructor(rpc: Rpc);
19
+ params(request?: QueryParamsRequest): Promise<QueryParamsResponseSDKType>;
20
+ validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise<QueryValidatorOutstandingRewardsResponseSDKType>;
21
+ validatorCommission(request: QueryValidatorCommissionRequest): Promise<QueryValidatorCommissionResponseSDKType>;
22
+ validatorSlashes(request: QueryValidatorSlashesRequest): Promise<QueryValidatorSlashesResponseSDKType>;
23
+ delegationRewards(request: QueryDelegationRewardsRequest): Promise<QueryDelegationRewardsResponseSDKType>;
24
+ delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise<QueryDelegationTotalRewardsResponseSDKType>;
25
+ delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponseSDKType>;
26
+ delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise<QueryDelegatorWithdrawAddressResponseSDKType>;
27
+ communityPool(request?: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponseSDKType>;
28
+ }
29
+ export declare const createRpcQueryExtension: (base: QueryClient) => {
30
+ params(request?: QueryParamsRequest): Promise<QueryParamsResponseSDKType>;
31
+ validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise<QueryValidatorOutstandingRewardsResponseSDKType>;
32
+ validatorCommission(request: QueryValidatorCommissionRequest): Promise<QueryValidatorCommissionResponseSDKType>;
33
+ validatorSlashes(request: QueryValidatorSlashesRequest): Promise<QueryValidatorSlashesResponseSDKType>;
34
+ delegationRewards(request: QueryDelegationRewardsRequest): Promise<QueryDelegationRewardsResponseSDKType>;
35
+ delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise<QueryDelegationTotalRewardsResponseSDKType>;
36
+ delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponseSDKType>;
37
+ delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise<QueryDelegatorWithdrawAddressResponseSDKType>;
38
+ communityPool(request?: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponseSDKType>;
39
+ };