@sparkdreamnft/sparkdreamjs 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (793) hide show
  1. package/binary.d.ts +1 -1
  2. package/binary.js +1 -1
  3. package/cosmos/app/runtime/v1alpha1/module.d.ts +75 -10
  4. package/cosmos/app/runtime/v1alpha1/module.js +44 -1
  5. package/cosmos/app/v1alpha1/module.d.ts +55 -6
  6. package/cosmos/app/v1alpha1/module.js +19 -0
  7. package/cosmos/auth/module/v1/module.d.ts +72 -12
  8. package/cosmos/auth/module/v1/module.js +25 -1
  9. package/cosmos/auth/v1beta1/auth.d.ts +68 -10
  10. package/cosmos/auth/v1beta1/auth.js +26 -0
  11. package/cosmos/auth/v1beta1/genesis.d.ts +30 -6
  12. package/cosmos/auth/v1beta1/genesis.js +6 -0
  13. package/cosmos/auth/v1beta1/query.d.ts +334 -92
  14. package/cosmos/auth/v1beta1/query.js +120 -0
  15. package/cosmos/auth/v1beta1/query.lcd.js +7 -21
  16. package/cosmos/auth/v1beta1/query.rpc.Query.d.ts +6 -32
  17. package/cosmos/auth/v1beta1/query.rpc.Query.js +7 -21
  18. package/cosmos/auth/v1beta1/tx.d.ts +31 -10
  19. package/cosmos/auth/v1beta1/tx.js +13 -0
  20. package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +0 -2
  21. package/cosmos/auth/v1beta1/tx.rpc.msg.js +1 -3
  22. package/cosmos/authz/module/v1/module.d.ts +18 -2
  23. package/cosmos/authz/module/v1/module.js +6 -0
  24. package/cosmos/authz/v1beta1/authz.d.ts +69 -6
  25. package/cosmos/authz/v1beta1/authz.js +27 -0
  26. package/cosmos/authz/v1beta1/event.d.ts +72 -16
  27. package/cosmos/authz/v1beta1/event.js +12 -0
  28. package/cosmos/authz/v1beta1/genesis.d.ts +18 -2
  29. package/cosmos/authz/v1beta1/genesis.js +6 -0
  30. package/cosmos/authz/v1beta1/query.d.ts +168 -32
  31. package/cosmos/authz/v1beta1/query.js +36 -0
  32. package/cosmos/authz/v1beta1/query.lcd.js +2 -6
  33. package/cosmos/authz/v1beta1/query.rpc.Query.d.ts +2 -10
  34. package/cosmos/authz/v1beta1/query.rpc.Query.js +2 -6
  35. package/cosmos/authz/v1beta1/tx.d.ts +94 -6
  36. package/cosmos/authz/v1beta1/tx.js +40 -0
  37. package/cosmos/bank/module/v1/module.d.ts +24 -4
  38. package/cosmos/bank/module/v1/module.js +6 -0
  39. package/cosmos/bank/v1beta1/authz.d.ts +13 -8
  40. package/cosmos/bank/v1beta1/authz.js +7 -0
  41. package/cosmos/bank/v1beta1/bank.d.ts +136 -34
  42. package/cosmos/bank/v1beta1/bank.js +48 -0
  43. package/cosmos/bank/v1beta1/genesis.d.ts +61 -16
  44. package/cosmos/bank/v1beta1/genesis.js +13 -0
  45. package/cosmos/bank/v1beta1/query.d.ts +599 -138
  46. package/cosmos/bank/v1beta1/query.js +179 -0
  47. package/cosmos/bank/v1beta1/query.lcd.d.ts +2 -2
  48. package/cosmos/bank/v1beta1/query.lcd.js +28 -29
  49. package/cosmos/bank/v1beta1/query.rpc.Query.d.ts +7 -17
  50. package/cosmos/bank/v1beta1/query.rpc.Query.js +17 -27
  51. package/cosmos/bank/v1beta1/tx.d.ts +143 -30
  52. package/cosmos/bank/v1beta1/tx.js +53 -0
  53. package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +0 -4
  54. package/cosmos/bank/v1beta1/tx.rpc.msg.js +2 -6
  55. package/cosmos/base/abci/v1beta1/abci.d.ts +331 -80
  56. package/cosmos/base/abci/v1beta1/abci.js +73 -0
  57. package/cosmos/base/node/v1beta1/query.d.ts +102 -18
  58. package/cosmos/base/node/v1beta1/query.js +24 -0
  59. package/cosmos/base/query/v1beta1/pagination.d.ts +36 -4
  60. package/cosmos/base/query/v1beta1/pagination.js +24 -0
  61. package/cosmos/base/reflection/v2alpha1/reflection.d.ts +613 -98
  62. package/cosmos/base/reflection/v2alpha1/reflection.js +163 -0
  63. package/cosmos/base/v1beta1/coin.d.ts +56 -0
  64. package/cosmos/base/v1beta1/coin.js +32 -0
  65. package/cosmos/benchmark/module/v1/module.d.ts +102 -26
  66. package/cosmos/benchmark/module/v1/module.js +12 -0
  67. package/cosmos/benchmark/v1/benchmark.d.ts +18 -2
  68. package/cosmos/benchmark/v1/benchmark.js +6 -0
  69. package/cosmos/benchmark/v1/tx.d.ts +36 -4
  70. package/cosmos/benchmark/v1/tx.js +12 -0
  71. package/cosmos/bundle.d.ts +2284 -2422
  72. package/cosmos/bundle.js +242 -261
  73. package/cosmos/circuit/module/v1/module.d.ts +24 -4
  74. package/cosmos/circuit/module/v1/module.js +6 -0
  75. package/cosmos/circuit/v1/query.d.ts +120 -16
  76. package/cosmos/circuit/v1/query.js +36 -0
  77. package/cosmos/circuit/v1/tx.d.ts +126 -18
  78. package/cosmos/circuit/v1/tx.js +36 -0
  79. package/cosmos/circuit/v1/types.d.ts +55 -6
  80. package/cosmos/circuit/v1/types.js +19 -0
  81. package/cosmos/consensus/module/v1/module.d.ts +24 -4
  82. package/cosmos/consensus/module/v1/module.js +6 -0
  83. package/cosmos/consensus/v1/query.d.ts +36 -4
  84. package/cosmos/consensus/v1/query.js +12 -0
  85. package/cosmos/consensus/v1/tx.d.ts +37 -6
  86. package/cosmos/consensus/v1/tx.js +13 -0
  87. package/cosmos/consensus/v1/tx.rpc.msg.d.ts +0 -2
  88. package/cosmos/consensus/v1/tx.rpc.msg.js +1 -3
  89. package/cosmos/counter/module/v1/module.d.ts +24 -4
  90. package/cosmos/counter/module/v1/module.js +6 -0
  91. package/cosmos/counter/v1/query.d.ts +36 -4
  92. package/cosmos/counter/v1/query.js +12 -0
  93. package/cosmos/counter/v1/tx.d.ts +54 -10
  94. package/cosmos/counter/v1/tx.js +12 -0
  95. package/cosmos/crisis/module/v1/module.d.ts +30 -6
  96. package/cosmos/crisis/module/v1/module.js +6 -0
  97. package/cosmos/crypto/ed25519/keys.d.ts +29 -0
  98. package/cosmos/crypto/ed25519/keys.js +17 -0
  99. package/cosmos/crypto/hd/v1/hd.d.ts +42 -10
  100. package/cosmos/crypto/hd/v1/hd.js +6 -0
  101. package/cosmos/crypto/keyring/v1/record.d.ts +121 -20
  102. package/cosmos/crypto/keyring/v1/record.js +31 -0
  103. package/cosmos/crypto/multisig/keys.d.ts +14 -0
  104. package/cosmos/crypto/multisig/keys.js +8 -0
  105. package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +29 -0
  106. package/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
  107. package/cosmos/crypto/secp256k1/keys.d.ts +34 -2
  108. package/cosmos/crypto/secp256k1/keys.js +16 -0
  109. package/cosmos/crypto/secp256r1/keys.d.ts +42 -6
  110. package/cosmos/crypto/secp256r1/keys.js +12 -0
  111. package/cosmos/distribution/module/v1/module.d.ts +24 -4
  112. package/cosmos/distribution/module/v1/module.js +6 -0
  113. package/cosmos/distribution/v1beta1/distribution.d.ts +201 -12
  114. package/cosmos/distribution/v1beta1/distribution.js +105 -0
  115. package/cosmos/distribution/v1beta1/genesis.d.ts +298 -66
  116. package/cosmos/distribution/v1beta1/genesis.js +52 -0
  117. package/cosmos/distribution/v1beta1/query.d.ts +430 -58
  118. package/cosmos/distribution/v1beta1/query.js +136 -0
  119. package/cosmos/distribution/v1beta1/query.lcd.js +3 -1
  120. package/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +5 -1
  121. package/cosmos/distribution/v1beta1/query.rpc.Query.js +3 -1
  122. package/cosmos/distribution/v1beta1/tx.d.ts +199 -34
  123. package/cosmos/distribution/v1beta1/tx.js +97 -0
  124. package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +3 -5
  125. package/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
  126. package/cosmos/epochs/module/v1/module.d.ts +18 -2
  127. package/cosmos/epochs/module/v1/module.js +6 -0
  128. package/cosmos/epochs/v1beta1/events.d.ts +36 -4
  129. package/cosmos/epochs/v1beta1/events.js +12 -0
  130. package/cosmos/epochs/v1beta1/genesis.d.ts +37 -4
  131. package/cosmos/epochs/v1beta1/genesis.js +13 -0
  132. package/cosmos/epochs/v1beta1/query.d.ts +52 -0
  133. package/cosmos/epochs/v1beta1/query.js +28 -0
  134. package/cosmos/evidence/module/v1/module.d.ts +18 -2
  135. package/cosmos/evidence/module/v1/module.js +6 -0
  136. package/cosmos/feegrant/module/v1/module.d.ts +18 -2
  137. package/cosmos/feegrant/module/v1/module.js +6 -0
  138. package/cosmos/feegrant/v1beta1/feegrant.d.ts +118 -22
  139. package/cosmos/feegrant/v1beta1/feegrant.js +26 -0
  140. package/cosmos/feegrant/v1beta1/genesis.d.ts +18 -2
  141. package/cosmos/feegrant/v1beta1/genesis.js +6 -0
  142. package/cosmos/feegrant/v1beta1/query.d.ts +150 -34
  143. package/cosmos/feegrant/v1beta1/query.js +36 -0
  144. package/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
  145. package/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +1 -5
  146. package/cosmos/feegrant/v1beta1/query.rpc.Query.js +1 -3
  147. package/cosmos/feegrant/v1beta1/tx.d.ts +131 -27
  148. package/cosmos/feegrant/v1beta1/tx.js +37 -0
  149. package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +1 -5
  150. package/cosmos/feegrant/v1beta1/tx.rpc.msg.js +1 -3
  151. package/cosmos/genutil/module/v1/module.d.ts +18 -2
  152. package/cosmos/genutil/module/v1/module.js +6 -0
  153. package/cosmos/gov/module/v1/module.d.ts +24 -4
  154. package/cosmos/gov/module/v1/module.js +6 -0
  155. package/cosmos/gov/v1/genesis.d.ts +48 -24
  156. package/cosmos/gov/v1/genesis.js +6 -0
  157. package/cosmos/gov/v1/gov.d.ts +341 -124
  158. package/cosmos/gov/v1/gov.js +59 -0
  159. package/cosmos/gov/v1/query.d.ts +469 -92
  160. package/cosmos/gov/v1/query.js +109 -0
  161. package/cosmos/gov/v1/tx.d.ts +368 -93
  162. package/cosmos/gov/v1/tx.js +88 -0
  163. package/cosmos/gov/v1/tx.rpc.msg.d.ts +1 -7
  164. package/cosmos/gov/v1/tx.rpc.msg.js +2 -6
  165. package/cosmos/gov/v1beta1/genesis.d.ts +60 -16
  166. package/cosmos/gov/v1beta1/genesis.js +6 -0
  167. package/cosmos/gov/v1beta1/gov.d.ts +291 -69
  168. package/cosmos/gov/v1beta1/gov.js +57 -0
  169. package/cosmos/gov/v1beta1/query.d.ts +439 -82
  170. package/cosmos/gov/v1beta1/query.js +97 -0
  171. package/cosmos/gov/v1beta1/tx.d.ts +209 -45
  172. package/cosmos/gov/v1beta1/tx.js +49 -0
  173. package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +1 -5
  174. package/cosmos/gov/v1beta1/tx.rpc.msg.js +1 -3
  175. package/cosmos/group/module/v1/module.d.ts +18 -2
  176. package/cosmos/group/module/v1/module.js +6 -0
  177. package/cosmos/group/v1/events.d.ts +300 -56
  178. package/cosmos/group/v1/events.js +66 -0
  179. package/cosmos/group/v1/genesis.d.ts +48 -12
  180. package/cosmos/group/v1/genesis.js +6 -0
  181. package/cosmos/group/v1/query.d.ts +768 -152
  182. package/cosmos/group/v1/query.js +168 -0
  183. package/cosmos/group/v1/query.lcd.js +1 -3
  184. package/cosmos/group/v1/query.rpc.Query.d.ts +1 -5
  185. package/cosmos/group/v1/query.rpc.Query.js +1 -3
  186. package/cosmos/group/v1/tx.d.ts +804 -163
  187. package/cosmos/group/v1/tx.js +168 -0
  188. package/cosmos/group/v1/types.d.ts +398 -91
  189. package/cosmos/group/v1/types.js +82 -0
  190. package/cosmos/ics23/v1/proofs.d.ts +294 -22
  191. package/cosmos/ics23/v1/proofs.js +138 -0
  192. package/cosmos/mint/module/v1/module.d.ts +24 -4
  193. package/cosmos/mint/module/v1/module.js +6 -0
  194. package/cosmos/mint/v1beta1/genesis.d.ts +30 -6
  195. package/cosmos/mint/v1beta1/genesis.js +6 -0
  196. package/cosmos/mint/v1beta1/mint.d.ts +84 -20
  197. package/cosmos/mint/v1beta1/mint.js +12 -0
  198. package/cosmos/mint/v1beta1/query.d.ts +111 -12
  199. package/cosmos/mint/v1beta1/query.js +39 -0
  200. package/cosmos/mint/v1beta1/tx.d.ts +31 -10
  201. package/cosmos/mint/v1beta1/tx.js +13 -0
  202. package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +0 -2
  203. package/cosmos/mint/v1beta1/tx.rpc.msg.js +1 -3
  204. package/cosmos/nft/module/v1/module.d.ts +18 -2
  205. package/cosmos/nft/module/v1/module.js +6 -0
  206. package/cosmos/params/module/v1/module.d.ts +18 -2
  207. package/cosmos/params/module/v1/module.js +6 -0
  208. package/cosmos/params/v1beta1/params.d.ts +31 -2
  209. package/cosmos/params/v1beta1/params.js +13 -0
  210. package/cosmos/params/v1beta1/query.d.ts +93 -22
  211. package/cosmos/params/v1beta1/query.js +33 -0
  212. package/cosmos/params/v1beta1/query.lcd.js +1 -3
  213. package/cosmos/params/v1beta1/query.rpc.Query.d.ts +1 -5
  214. package/cosmos/params/v1beta1/query.rpc.Query.js +1 -3
  215. package/cosmos/protocolpool/module/v1/module.d.ts +24 -4
  216. package/cosmos/protocolpool/module/v1/module.js +6 -0
  217. package/cosmos/protocolpool/v1/genesis.d.ts +24 -4
  218. package/cosmos/protocolpool/v1/genesis.js +6 -0
  219. package/cosmos/protocolpool/v1/query.d.ts +138 -12
  220. package/cosmos/protocolpool/v1/query.js +54 -0
  221. package/cosmos/protocolpool/v1/tx.d.ts +217 -30
  222. package/cosmos/protocolpool/v1/tx.js +67 -0
  223. package/cosmos/protocolpool/v1/types.d.ts +54 -10
  224. package/cosmos/protocolpool/v1/types.js +12 -0
  225. package/cosmos/reflection/v1/reflection.d.ts +42 -6
  226. package/cosmos/reflection/v1/reflection.js +12 -0
  227. package/cosmos/rpc.query.d.ts +1 -9
  228. package/cosmos/rpc.query.js +0 -5
  229. package/cosmos/slashing/module/v1/module.d.ts +24 -4
  230. package/cosmos/slashing/module/v1/module.js +6 -0
  231. package/cosmos/staking/module/v1/module.d.ts +36 -8
  232. package/cosmos/staking/module/v1/module.js +6 -0
  233. package/cosmos/staking/v1beta1/authz.d.ts +43 -15
  234. package/cosmos/staking/v1beta1/authz.js +13 -5
  235. package/cosmos/staking/v1beta1/genesis.d.ts +84 -20
  236. package/cosmos/staking/v1beta1/genesis.js +12 -0
  237. package/cosmos/staking/v1beta1/query.d.ts +660 -102
  238. package/cosmos/staking/v1beta1/query.js +186 -0
  239. package/cosmos/staking/v1beta1/staking.d.ts +631 -121
  240. package/cosmos/staking/v1beta1/staking.js +153 -0
  241. package/cosmos/staking/v1beta1/tx.d.ts +234 -42
  242. package/cosmos/staking/v1beta1/tx.js +88 -0
  243. package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +0 -3
  244. package/cosmos/staking/v1beta1/tx.rpc.msg.js +2 -5
  245. package/cosmos/store/internal/kv/v1beta1/kv.d.ts +36 -4
  246. package/cosmos/store/internal/kv/v1beta1/kv.js +12 -0
  247. package/cosmos/store/snapshots/v1/snapshot.d.ts +114 -30
  248. package/cosmos/store/snapshots/v1/snapshot.js +42 -0
  249. package/cosmos/store/streaming/abci/grpc.d.ts +78 -10
  250. package/cosmos/store/streaming/abci/grpc.js +24 -0
  251. package/cosmos/store/v1beta1/commit_info.d.ts +39 -0
  252. package/cosmos/store/v1beta1/commit_info.js +21 -0
  253. package/cosmos/store/v1beta1/listening.d.ts +45 -10
  254. package/cosmos/store/v1beta1/listening.js +15 -0
  255. package/cosmos/tx/config/v1/config.d.ts +18 -2
  256. package/cosmos/tx/config/v1/config.js +6 -0
  257. package/cosmos/tx/signing/v1beta1/signing.d.ts +135 -24
  258. package/cosmos/tx/signing/v1beta1/signing.js +33 -0
  259. package/cosmos/tx/v1beta1/service.d.ts +355 -94
  260. package/cosmos/tx/v1beta1/service.js +125 -0
  261. package/cosmos/tx/v1beta1/service.lcd.js +1 -3
  262. package/cosmos/tx/v1beta1/service.rpc.Service.d.ts +5 -25
  263. package/cosmos/tx/v1beta1/service.rpc.Service.js +5 -15
  264. package/cosmos/tx/v1beta1/tx.d.ts +371 -80
  265. package/cosmos/tx/v1beta1/tx.js +118 -0
  266. package/cosmos/upgrade/module/v1/module.d.ts +24 -4
  267. package/cosmos/upgrade/module/v1/module.js +6 -0
  268. package/cosmos/upgrade/v1beta1/query.d.ts +158 -30
  269. package/cosmos/upgrade/v1beta1/query.js +70 -0
  270. package/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
  271. package/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +2 -10
  272. package/cosmos/upgrade/v1beta1/query.rpc.Query.js +2 -6
  273. package/cosmos/upgrade/v1beta1/tx.d.ts +66 -22
  274. package/cosmos/upgrade/v1beta1/tx.js +24 -0
  275. package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +1 -7
  276. package/cosmos/upgrade/v1beta1/tx.rpc.msg.js +2 -6
  277. package/cosmos/upgrade/v1beta1/upgrade.d.ts +118 -30
  278. package/cosmos/upgrade/v1beta1/upgrade.js +32 -0
  279. package/cosmos/vesting/module/v1/module.d.ts +18 -2
  280. package/cosmos/vesting/module/v1/module.js +6 -0
  281. package/cosmos/vesting/v1beta1/tx.d.ts +94 -22
  282. package/cosmos/vesting/v1beta1/tx.js +40 -0
  283. package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +0 -4
  284. package/cosmos/vesting/v1beta1/tx.rpc.msg.js +2 -6
  285. package/cosmos/vesting/v1beta1/vesting.d.ts +103 -12
  286. package/cosmos/vesting/v1beta1/vesting.js +43 -0
  287. package/cosmos_proto/cosmos.d.ts +31 -0
  288. package/cosmos_proto/cosmos.js +19 -0
  289. package/esm/binary.js +1 -1
  290. package/esm/cosmos/app/runtime/v1alpha1/module.js +44 -1
  291. package/esm/cosmos/app/v1alpha1/module.js +19 -0
  292. package/esm/cosmos/auth/module/v1/module.js +25 -1
  293. package/esm/cosmos/auth/v1beta1/auth.js +26 -0
  294. package/esm/cosmos/auth/v1beta1/genesis.js +6 -0
  295. package/esm/cosmos/auth/v1beta1/query.js +120 -0
  296. package/esm/cosmos/auth/v1beta1/query.lcd.js +7 -21
  297. package/esm/cosmos/auth/v1beta1/query.rpc.Query.js +7 -21
  298. package/esm/cosmos/auth/v1beta1/tx.js +13 -0
  299. package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +1 -3
  300. package/esm/cosmos/authz/module/v1/module.js +6 -0
  301. package/esm/cosmos/authz/v1beta1/authz.js +27 -0
  302. package/esm/cosmos/authz/v1beta1/event.js +12 -0
  303. package/esm/cosmos/authz/v1beta1/genesis.js +6 -0
  304. package/esm/cosmos/authz/v1beta1/query.js +36 -0
  305. package/esm/cosmos/authz/v1beta1/query.lcd.js +2 -6
  306. package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +2 -6
  307. package/esm/cosmos/authz/v1beta1/tx.js +40 -0
  308. package/esm/cosmos/bank/module/v1/module.js +6 -0
  309. package/esm/cosmos/bank/v1beta1/authz.js +7 -0
  310. package/esm/cosmos/bank/v1beta1/bank.js +48 -0
  311. package/esm/cosmos/bank/v1beta1/genesis.js +13 -0
  312. package/esm/cosmos/bank/v1beta1/query.js +179 -0
  313. package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -29
  314. package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +18 -28
  315. package/esm/cosmos/bank/v1beta1/tx.js +53 -0
  316. package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +2 -6
  317. package/esm/cosmos/base/abci/v1beta1/abci.js +73 -0
  318. package/esm/cosmos/base/node/v1beta1/query.js +24 -0
  319. package/esm/cosmos/base/query/v1beta1/pagination.js +24 -0
  320. package/esm/cosmos/base/reflection/v2alpha1/reflection.js +163 -0
  321. package/esm/cosmos/base/v1beta1/coin.js +32 -0
  322. package/esm/cosmos/benchmark/module/v1/module.js +12 -0
  323. package/esm/cosmos/benchmark/v1/benchmark.js +6 -0
  324. package/esm/cosmos/benchmark/v1/tx.js +12 -0
  325. package/esm/cosmos/bundle.js +242 -261
  326. package/esm/cosmos/circuit/module/v1/module.js +6 -0
  327. package/esm/cosmos/circuit/v1/query.js +36 -0
  328. package/esm/cosmos/circuit/v1/tx.js +36 -0
  329. package/esm/cosmos/circuit/v1/types.js +19 -0
  330. package/esm/cosmos/consensus/module/v1/module.js +6 -0
  331. package/esm/cosmos/consensus/v1/query.js +12 -0
  332. package/esm/cosmos/consensus/v1/tx.js +13 -0
  333. package/esm/cosmos/consensus/v1/tx.rpc.msg.js +1 -3
  334. package/esm/cosmos/counter/module/v1/module.js +6 -0
  335. package/esm/cosmos/counter/v1/query.js +12 -0
  336. package/esm/cosmos/counter/v1/tx.js +12 -0
  337. package/esm/cosmos/crisis/module/v1/module.js +6 -0
  338. package/esm/cosmos/crypto/ed25519/keys.js +17 -0
  339. package/esm/cosmos/crypto/hd/v1/hd.js +6 -0
  340. package/esm/cosmos/crypto/keyring/v1/record.js +31 -0
  341. package/esm/cosmos/crypto/multisig/keys.js +8 -0
  342. package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
  343. package/esm/cosmos/crypto/secp256k1/keys.js +16 -0
  344. package/esm/cosmos/crypto/secp256r1/keys.js +12 -0
  345. package/esm/cosmos/distribution/module/v1/module.js +6 -0
  346. package/esm/cosmos/distribution/v1beta1/distribution.js +105 -0
  347. package/esm/cosmos/distribution/v1beta1/genesis.js +52 -0
  348. package/esm/cosmos/distribution/v1beta1/query.js +136 -0
  349. package/esm/cosmos/distribution/v1beta1/query.lcd.js +3 -1
  350. package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +3 -1
  351. package/esm/cosmos/distribution/v1beta1/tx.js +97 -0
  352. package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
  353. package/esm/cosmos/epochs/module/v1/module.js +6 -0
  354. package/esm/cosmos/epochs/v1beta1/events.js +12 -0
  355. package/esm/cosmos/epochs/v1beta1/genesis.js +13 -0
  356. package/esm/cosmos/epochs/v1beta1/query.js +28 -0
  357. package/esm/cosmos/evidence/module/v1/module.js +6 -0
  358. package/esm/cosmos/feegrant/module/v1/module.js +6 -0
  359. package/esm/cosmos/feegrant/v1beta1/feegrant.js +26 -0
  360. package/esm/cosmos/feegrant/v1beta1/genesis.js +6 -0
  361. package/esm/cosmos/feegrant/v1beta1/query.js +36 -0
  362. package/esm/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
  363. package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +1 -3
  364. package/esm/cosmos/feegrant/v1beta1/tx.js +37 -0
  365. package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +1 -3
  366. package/esm/cosmos/genutil/module/v1/module.js +6 -0
  367. package/esm/cosmos/gov/module/v1/module.js +6 -0
  368. package/esm/cosmos/gov/v1/genesis.js +6 -0
  369. package/esm/cosmos/gov/v1/gov.js +59 -0
  370. package/esm/cosmos/gov/v1/query.js +109 -0
  371. package/esm/cosmos/gov/v1/tx.js +88 -0
  372. package/esm/cosmos/gov/v1/tx.rpc.msg.js +2 -6
  373. package/esm/cosmos/gov/v1beta1/genesis.js +6 -0
  374. package/esm/cosmos/gov/v1beta1/gov.js +57 -0
  375. package/esm/cosmos/gov/v1beta1/query.js +97 -0
  376. package/esm/cosmos/gov/v1beta1/tx.js +49 -0
  377. package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +1 -3
  378. package/esm/cosmos/group/module/v1/module.js +6 -0
  379. package/esm/cosmos/group/v1/events.js +66 -0
  380. package/esm/cosmos/group/v1/genesis.js +6 -0
  381. package/esm/cosmos/group/v1/query.js +168 -0
  382. package/esm/cosmos/group/v1/query.lcd.js +1 -3
  383. package/esm/cosmos/group/v1/query.rpc.Query.js +1 -3
  384. package/esm/cosmos/group/v1/tx.js +168 -0
  385. package/esm/cosmos/group/v1/types.js +82 -0
  386. package/esm/cosmos/ics23/v1/proofs.js +138 -0
  387. package/esm/cosmos/mint/module/v1/module.js +6 -0
  388. package/esm/cosmos/mint/v1beta1/genesis.js +6 -0
  389. package/esm/cosmos/mint/v1beta1/mint.js +12 -0
  390. package/esm/cosmos/mint/v1beta1/query.js +39 -0
  391. package/esm/cosmos/mint/v1beta1/tx.js +13 -0
  392. package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +1 -3
  393. package/esm/cosmos/nft/module/v1/module.js +6 -0
  394. package/esm/cosmos/params/module/v1/module.js +6 -0
  395. package/esm/cosmos/params/v1beta1/params.js +13 -0
  396. package/esm/cosmos/params/v1beta1/query.js +33 -0
  397. package/esm/cosmos/params/v1beta1/query.lcd.js +1 -3
  398. package/esm/cosmos/params/v1beta1/query.rpc.Query.js +1 -3
  399. package/esm/cosmos/protocolpool/module/v1/module.js +6 -0
  400. package/esm/cosmos/protocolpool/v1/genesis.js +6 -0
  401. package/esm/cosmos/protocolpool/v1/query.js +54 -0
  402. package/esm/cosmos/protocolpool/v1/tx.js +67 -0
  403. package/esm/cosmos/protocolpool/v1/types.js +12 -0
  404. package/esm/cosmos/reflection/v1/reflection.js +12 -0
  405. package/esm/cosmos/rpc.query.js +0 -5
  406. package/esm/cosmos/slashing/module/v1/module.js +6 -0
  407. package/esm/cosmos/staking/module/v1/module.js +6 -0
  408. package/esm/cosmos/staking/v1beta1/authz.js +13 -5
  409. package/esm/cosmos/staking/v1beta1/genesis.js +12 -0
  410. package/esm/cosmos/staking/v1beta1/query.js +186 -0
  411. package/esm/cosmos/staking/v1beta1/staking.js +153 -0
  412. package/esm/cosmos/staking/v1beta1/tx.js +88 -0
  413. package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +2 -5
  414. package/esm/cosmos/store/internal/kv/v1beta1/kv.js +12 -0
  415. package/esm/cosmos/store/snapshots/v1/snapshot.js +42 -0
  416. package/esm/cosmos/store/streaming/abci/grpc.js +24 -0
  417. package/esm/cosmos/store/v1beta1/commit_info.js +21 -0
  418. package/esm/cosmos/store/v1beta1/listening.js +15 -0
  419. package/esm/cosmos/tx/config/v1/config.js +6 -0
  420. package/esm/cosmos/tx/signing/v1beta1/signing.js +33 -0
  421. package/esm/cosmos/tx/v1beta1/service.js +125 -0
  422. package/esm/cosmos/tx/v1beta1/service.lcd.js +1 -3
  423. package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +5 -15
  424. package/esm/cosmos/tx/v1beta1/tx.js +119 -1
  425. package/esm/cosmos/upgrade/module/v1/module.js +6 -0
  426. package/esm/cosmos/upgrade/v1beta1/query.js +70 -0
  427. package/esm/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
  428. package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +2 -6
  429. package/esm/cosmos/upgrade/v1beta1/tx.js +24 -0
  430. package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +2 -6
  431. package/esm/cosmos/upgrade/v1beta1/upgrade.js +32 -0
  432. package/esm/cosmos/vesting/module/v1/module.js +6 -0
  433. package/esm/cosmos/vesting/v1beta1/tx.js +40 -0
  434. package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +2 -6
  435. package/esm/cosmos/vesting/v1beta1/vesting.js +43 -0
  436. package/esm/cosmos_proto/cosmos.js +19 -0
  437. package/esm/gogoproto/bundle.js +2 -2
  438. package/esm/google/api/http.js +283 -0
  439. package/esm/google/bundle.js +7 -7
  440. package/esm/google/protobuf/any.js +90 -0
  441. package/esm/google/protobuf/descriptor.js +220 -0
  442. package/esm/google/protobuf/duration.js +63 -0
  443. package/esm/google/protobuf/timestamp.js +94 -0
  444. package/esm/helpers.js +1 -1
  445. package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +7 -0
  446. package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +24 -0
  447. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +36 -0
  448. package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +31 -0
  449. package/esm/ibc/applications/interchain_accounts/host/v1/host.js +14 -0
  450. package/esm/ibc/applications/interchain_accounts/host/v1/query.js +12 -0
  451. package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +24 -0
  452. package/esm/ibc/applications/interchain_accounts/v1/account.js +6 -0
  453. package/esm/ibc/applications/interchain_accounts/v1/metadata.js +7 -0
  454. package/esm/ibc/applications/interchain_accounts/v1/packet.js +12 -0
  455. package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +18 -0
  456. package/esm/ibc/applications/rate_limiting/v1/genesis.js +139 -0
  457. package/esm/ibc/applications/rate_limiting/v1/query.js +903 -0
  458. package/esm/ibc/applications/rate_limiting/v1/query.lcd.js +44 -0
  459. package/esm/ibc/applications/rate_limiting/v1/query.rpc.Query.js +71 -0
  460. package/esm/ibc/applications/rate_limiting/v1/rate_limiting.js +632 -0
  461. package/esm/ibc/applications/rate_limiting/v1/tx.amino.js +24 -0
  462. package/esm/ibc/applications/rate_limiting/v1/tx.js +726 -0
  463. package/esm/ibc/applications/rate_limiting/v1/tx.registry.js +87 -0
  464. package/esm/ibc/applications/rate_limiting/v1/tx.rpc.msg.js +35 -0
  465. package/esm/ibc/applications/transfer/v1/authz.js +13 -0
  466. package/esm/ibc/applications/transfer/v1/denomtrace.js +8 -0
  467. package/esm/ibc/applications/transfer/v1/genesis.js +6 -0
  468. package/esm/ibc/applications/transfer/v1/packet.js +8 -0
  469. package/esm/ibc/applications/transfer/v1/query.js +78 -0
  470. package/esm/ibc/applications/transfer/v1/token.js +18 -0
  471. package/esm/ibc/applications/transfer/v1/transfer.js +9 -0
  472. package/esm/ibc/applications/transfer/v1/tx.js +40 -1
  473. package/esm/ibc/bundle.js +196 -173
  474. package/esm/ibc/client.js +4 -1
  475. package/esm/ibc/core/channel/v1/channel.js +64 -0
  476. package/esm/ibc/core/channel/v1/genesis.js +13 -0
  477. package/esm/ibc/core/channel/v1/query.js +197 -0
  478. package/esm/ibc/core/channel/v1/tx.js +129 -0
  479. package/esm/ibc/core/channel/v2/genesis.js +21 -0
  480. package/esm/ibc/core/channel/v2/packet.js +29 -0
  481. package/esm/ibc/core/channel/v2/query.js +100 -0
  482. package/esm/ibc/core/channel/v2/tx.js +48 -0
  483. package/esm/ibc/core/client/v1/client.js +45 -0
  484. package/esm/ibc/core/client/v1/genesis.js +20 -0
  485. package/esm/ibc/core/client/v1/query.js +154 -0
  486. package/esm/ibc/core/client/v1/tx.amino.js +1 -6
  487. package/esm/ibc/core/client/v1/tx.js +86 -151
  488. package/esm/ibc/core/client/v1/tx.registry.js +2 -20
  489. package/esm/ibc/core/client/v1/tx.rpc.msg.js +1 -7
  490. package/esm/ibc/core/client/v2/config.js +9 -0
  491. package/esm/ibc/core/client/v2/counterparty.js +6 -0
  492. package/esm/ibc/core/client/v2/genesis.js +12 -0
  493. package/esm/ibc/core/client/v2/query.js +26 -0
  494. package/esm/ibc/core/client/v2/tx.js +24 -0
  495. package/esm/ibc/core/commitment/v1/commitment.js +25 -0
  496. package/esm/ibc/core/commitment/v2/commitment.js +36 -0
  497. package/esm/ibc/core/connection/v1/connection.js +47 -0
  498. package/esm/ibc/core/connection/v1/genesis.js +6 -0
  499. package/esm/ibc/core/connection/v1/query.js +83 -0
  500. package/esm/ibc/core/connection/v1/tx.js +66 -0
  501. package/esm/ibc/lcd.js +5 -0
  502. package/esm/ibc/lightclients/solomachine/v2/solomachine.js +109 -0
  503. package/esm/ibc/lightclients/solomachine/v3/solomachine.js +54 -0
  504. package/esm/ibc/lightclients/tendermint/v1/tendermint.js +44 -0
  505. package/esm/ibc/lightclients/wasm/v1/genesis.js +12 -0
  506. package/esm/ibc/lightclients/wasm/v1/query.js +24 -0
  507. package/esm/ibc/lightclients/wasm/v1/tx.js +36 -0
  508. package/esm/ibc/lightclients/wasm/v1/wasm.js +18 -73
  509. package/esm/ibc/rpc.query.js +3 -5
  510. package/esm/ibc/rpc.tx.js +3 -0
  511. package/esm/index.js +1 -1
  512. package/esm/sparkdream/blog/module/{module.js → v1/module.js} +9 -3
  513. package/esm/sparkdream/blog/{genesis.js → v1/genesis.js} +9 -3
  514. package/esm/sparkdream/blog/{params.js → v1/params.js} +9 -3
  515. package/esm/sparkdream/blog/{post.js → v1/post.js} +9 -3
  516. package/esm/sparkdream/blog/{query.js → v1/query.js} +50 -14
  517. package/esm/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
  518. package/esm/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
  519. package/esm/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
  520. package/esm/sparkdream/blog/{tx.js → v1/tx.js} +66 -17
  521. package/esm/sparkdream/blog/{tx.registry.js → v1/tx.registry.js} +13 -13
  522. package/esm/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
  523. package/esm/sparkdream/bundle.js +68 -48
  524. package/esm/sparkdream/client.js +7 -7
  525. package/esm/sparkdream/lcd.js +10 -6
  526. package/esm/sparkdream/rpc.query.js +6 -7
  527. package/esm/sparkdream/rpc.tx.js +6 -2
  528. package/esm/sparkdream/sparkdream/module/{module.js → v1/module.js} +9 -3
  529. package/esm/sparkdream/sparkdream/{genesis.js → v1/genesis.js} +9 -3
  530. package/esm/sparkdream/sparkdream/{params.js → v1/params.js} +9 -3
  531. package/esm/sparkdream/sparkdream/{query.js → v1/query.js} +17 -5
  532. package/esm/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
  533. package/esm/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
  534. package/esm/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
  535. package/esm/sparkdream/sparkdream/{tx.js → v1/tx.js} +18 -5
  536. package/esm/sparkdream/sparkdream/{tx.registry.js → v1/tx.registry.js} +4 -4
  537. package/esm/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
  538. package/esm/tendermint/abci/types.js +255 -0
  539. package/esm/tendermint/bundle.js +20 -20
  540. package/esm/tendermint/crypto/keys.js +6 -0
  541. package/esm/tendermint/crypto/proof.js +29 -0
  542. package/esm/tendermint/p2p/types.js +20 -0
  543. package/esm/tendermint/types/block.js +5 -0
  544. package/esm/tendermint/types/evidence.js +22 -0
  545. package/esm/tendermint/types/params.js +46 -0
  546. package/esm/tendermint/types/types.js +87 -0
  547. package/esm/tendermint/types/validator.js +15 -0
  548. package/esm/tendermint/version/types.js +16 -0
  549. package/esm/types.js +1 -1
  550. package/esm/utf8.js +1 -1
  551. package/esm/varint.js +1 -1
  552. package/gogoproto/bundle.js +2 -2
  553. package/google/api/http.d.ts +343 -14
  554. package/google/api/http.js +283 -0
  555. package/google/bundle.d.ts +418 -418
  556. package/google/bundle.js +7 -7
  557. package/google/protobuf/any.d.ts +102 -2
  558. package/google/protobuf/any.js +90 -0
  559. package/google/protobuf/descriptor.d.ts +738 -90
  560. package/google/protobuf/descriptor.js +220 -0
  561. package/google/protobuf/duration.d.ts +69 -0
  562. package/google/protobuf/duration.js +63 -0
  563. package/google/protobuf/timestamp.d.ts +100 -0
  564. package/google/protobuf/timestamp.js +94 -0
  565. package/helpers.d.ts +1 -1
  566. package/helpers.js +1 -1
  567. package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +19 -2
  568. package/ibc/applications/interchain_accounts/controller/v1/controller.js +7 -0
  569. package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +78 -10
  570. package/ibc/applications/interchain_accounts/controller/v1/query.js +24 -0
  571. package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +114 -14
  572. package/ibc/applications/interchain_accounts/controller/v1/tx.js +36 -0
  573. package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +85 -8
  574. package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +31 -0
  575. package/ibc/applications/interchain_accounts/host/v1/host.d.ts +38 -4
  576. package/ibc/applications/interchain_accounts/host/v1/host.js +14 -0
  577. package/ibc/applications/interchain_accounts/host/v1/query.d.ts +42 -6
  578. package/ibc/applications/interchain_accounts/host/v1/query.js +12 -0
  579. package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +102 -18
  580. package/ibc/applications/interchain_accounts/host/v1/tx.js +24 -0
  581. package/ibc/applications/interchain_accounts/v1/account.d.ts +18 -2
  582. package/ibc/applications/interchain_accounts/v1/account.js +6 -0
  583. package/ibc/applications/interchain_accounts/v1/metadata.d.ts +43 -10
  584. package/ibc/applications/interchain_accounts/v1/metadata.js +7 -0
  585. package/ibc/applications/interchain_accounts/v1/packet.d.ts +36 -4
  586. package/ibc/applications/interchain_accounts/v1/packet.js +12 -0
  587. package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +46 -2
  588. package/ibc/applications/packet_forward_middleware/v1/genesis.js +18 -0
  589. package/ibc/applications/rate_limiting/v1/genesis.d.ts +57 -0
  590. package/ibc/applications/rate_limiting/v1/genesis.js +142 -0
  591. package/ibc/applications/rate_limiting/v1/query.d.ts +551 -0
  592. package/ibc/applications/rate_limiting/v1/query.js +906 -0
  593. package/ibc/applications/rate_limiting/v1/query.lcd.d.ts +14 -0
  594. package/ibc/applications/rate_limiting/v1/query.lcd.js +48 -0
  595. package/ibc/applications/rate_limiting/v1/query.rpc.Query.d.ts +40 -0
  596. package/ibc/applications/rate_limiting/v1/query.rpc.Query.js +76 -0
  597. package/ibc/applications/rate_limiting/v1/rate_limiting.d.ts +374 -0
  598. package/ibc/applications/rate_limiting/v1/rate_limiting.js +637 -0
  599. package/ibc/applications/rate_limiting/v1/tx.amino.d.ts +23 -0
  600. package/ibc/applications/rate_limiting/v1/tx.amino.js +27 -0
  601. package/ibc/applications/rate_limiting/v1/tx.d.ts +518 -0
  602. package/ibc/applications/rate_limiting/v1/tx.js +729 -0
  603. package/ibc/applications/rate_limiting/v1/tx.registry.d.ts +61 -0
  604. package/ibc/applications/rate_limiting/v1/tx.registry.js +91 -0
  605. package/ibc/applications/rate_limiting/v1/tx.rpc.msg.d.ts +22 -0
  606. package/ibc/applications/rate_limiting/v1/tx.rpc.msg.js +40 -0
  607. package/ibc/applications/transfer/v1/authz.d.ts +61 -12
  608. package/ibc/applications/transfer/v1/authz.js +13 -0
  609. package/ibc/applications/transfer/v1/denomtrace.d.ts +22 -4
  610. package/ibc/applications/transfer/v1/denomtrace.js +8 -0
  611. package/ibc/applications/transfer/v1/genesis.d.ts +18 -2
  612. package/ibc/applications/transfer/v1/genesis.js +6 -0
  613. package/ibc/applications/transfer/v1/packet.d.ts +44 -10
  614. package/ibc/applications/transfer/v1/packet.js +8 -0
  615. package/ibc/applications/transfer/v1/query.d.ts +252 -34
  616. package/ibc/applications/transfer/v1/query.js +78 -0
  617. package/ibc/applications/transfer/v1/token.d.ts +78 -14
  618. package/ibc/applications/transfer/v1/token.js +18 -0
  619. package/ibc/applications/transfer/v1/transfer.d.ts +15 -0
  620. package/ibc/applications/transfer/v1/transfer.js +9 -0
  621. package/ibc/applications/transfer/v1/tx.d.ts +135 -22
  622. package/ibc/applications/transfer/v1/tx.js +40 -1
  623. package/ibc/bundle.d.ts +3830 -3396
  624. package/ibc/bundle.js +196 -173
  625. package/ibc/client.d.ts +20 -5
  626. package/ibc/client.js +4 -1
  627. package/ibc/core/channel/v1/channel.d.ts +292 -60
  628. package/ibc/core/channel/v1/channel.js +64 -0
  629. package/ibc/core/channel/v1/genesis.d.ts +37 -4
  630. package/ibc/core/channel/v1/genesis.js +13 -0
  631. package/ibc/core/channel/v1/query.d.ts +839 -158
  632. package/ibc/core/channel/v1/query.js +197 -0
  633. package/ibc/core/channel/v1/tx.d.ts +335 -30
  634. package/ibc/core/channel/v1/tx.js +129 -0
  635. package/ibc/core/channel/v2/genesis.d.ts +81 -14
  636. package/ibc/core/channel/v2/genesis.js +21 -0
  637. package/ibc/core/channel/v2/packet.d.ts +137 -28
  638. package/ibc/core/channel/v2/packet.js +29 -0
  639. package/ibc/core/channel/v2/query.d.ts +490 -98
  640. package/ibc/core/channel/v2/query.js +100 -0
  641. package/ibc/core/channel/v2/tx.d.ts +144 -16
  642. package/ibc/core/channel/v2/tx.js +48 -0
  643. package/ibc/core/client/v1/client.d.ts +129 -18
  644. package/ibc/core/client/v1/client.js +45 -0
  645. package/ibc/core/client/v1/genesis.d.ts +82 -16
  646. package/ibc/core/client/v1/genesis.js +20 -0
  647. package/ibc/core/client/v1/query.d.ts +508 -74
  648. package/ibc/core/client/v1/query.js +154 -0
  649. package/ibc/core/client/v1/tx.amino.d.ts +1 -6
  650. package/ibc/core/client/v1/tx.amino.js +0 -5
  651. package/ibc/core/client/v1/tx.d.ts +336 -138
  652. package/ibc/core/client/v1/tx.js +87 -152
  653. package/ibc/core/client/v1/tx.registry.d.ts +1 -13
  654. package/ibc/core/client/v1/tx.registry.js +1 -19
  655. package/ibc/core/client/v1/tx.rpc.msg.d.ts +1 -4
  656. package/ibc/core/client/v1/tx.rpc.msg.js +0 -6
  657. package/ibc/core/client/v2/config.d.ts +21 -2
  658. package/ibc/core/client/v2/config.js +9 -0
  659. package/ibc/core/client/v2/counterparty.d.ts +30 -6
  660. package/ibc/core/client/v2/counterparty.js +6 -0
  661. package/ibc/core/client/v2/genesis.d.ts +54 -10
  662. package/ibc/core/client/v2/genesis.js +12 -0
  663. package/ibc/core/client/v2/query.d.ts +74 -8
  664. package/ibc/core/client/v2/query.js +26 -0
  665. package/ibc/core/client/v2/tx.d.ts +108 -20
  666. package/ibc/core/client/v2/tx.js +24 -0
  667. package/ibc/core/commitment/v1/commitment.d.ts +43 -0
  668. package/ibc/core/commitment/v1/commitment.js +25 -0
  669. package/ibc/core/commitment/v2/commitment.d.ts +42 -0
  670. package/ibc/core/commitment/v2/commitment.js +36 -0
  671. package/ibc/core/connection/v1/connection.d.ts +197 -36
  672. package/ibc/core/connection/v1/connection.js +47 -0
  673. package/ibc/core/connection/v1/genesis.d.ts +24 -4
  674. package/ibc/core/connection/v1/genesis.js +6 -0
  675. package/ibc/core/connection/v1/query.d.ts +293 -46
  676. package/ibc/core/connection/v1/query.js +83 -0
  677. package/ibc/core/connection/v1/tx.d.ts +250 -56
  678. package/ibc/core/connection/v1/tx.js +66 -0
  679. package/ibc/lcd.d.ts +3 -0
  680. package/ibc/lcd.js +5 -0
  681. package/ibc/lightclients/solomachine/v2/solomachine.d.ts +277 -24
  682. package/ibc/lightclients/solomachine/v2/solomachine.js +109 -0
  683. package/ibc/lightclients/solomachine/v3/solomachine.d.ts +180 -26
  684. package/ibc/lightclients/solomachine/v3/solomachine.js +54 -0
  685. package/ibc/lightclients/tendermint/v1/tendermint.d.ts +140 -26
  686. package/ibc/lightclients/tendermint/v1/tendermint.js +44 -0
  687. package/ibc/lightclients/wasm/v1/genesis.d.ts +48 -8
  688. package/ibc/lightclients/wasm/v1/genesis.js +12 -0
  689. package/ibc/lightclients/wasm/v1/query.d.ts +96 -16
  690. package/ibc/lightclients/wasm/v1/query.js +24 -0
  691. package/ibc/lightclients/wasm/v1/tx.d.ts +162 -30
  692. package/ibc/lightclients/wasm/v1/tx.js +36 -0
  693. package/ibc/lightclients/wasm/v1/wasm.d.ts +52 -46
  694. package/ibc/lightclients/wasm/v1/wasm.js +19 -74
  695. package/ibc/rpc.query.d.ts +11 -9
  696. package/ibc/rpc.query.js +3 -5
  697. package/ibc/rpc.tx.d.ts +3 -0
  698. package/ibc/rpc.tx.js +3 -0
  699. package/index.d.ts +1 -1
  700. package/index.js +1 -1
  701. package/package.json +1 -1
  702. package/sparkdream/blog/module/v1/module.d.ts +54 -0
  703. package/sparkdream/{sparkdream/module → blog/module/v1}/module.js +9 -3
  704. package/sparkdream/{sparkdream → blog/v1}/genesis.d.ts +28 -8
  705. package/sparkdream/{sparkdream → blog/v1}/genesis.js +9 -3
  706. package/sparkdream/blog/{params.d.ts → v1/params.d.ts} +21 -5
  707. package/sparkdream/blog/{params.js → v1/params.js} +9 -3
  708. package/sparkdream/blog/{post.d.ts → v1/post.d.ts} +22 -4
  709. package/sparkdream/blog/{post.js → v1/post.js} +9 -3
  710. package/sparkdream/blog/{query.d.ts → v1/query.d.ts} +129 -21
  711. package/sparkdream/blog/{query.js → v1/query.js} +50 -14
  712. package/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
  713. package/sparkdream/blog/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +3 -3
  714. package/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
  715. package/sparkdream/blog/{tx.amino.d.ts → v1/tx.amino.d.ts} +4 -4
  716. package/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
  717. package/sparkdream/blog/{tx.d.ts → v1/tx.d.ts} +168 -23
  718. package/sparkdream/blog/{tx.js → v1/tx.js} +66 -17
  719. package/sparkdream/blog/{tx.registry.d.ts → v1/tx.registry.d.ts} +1 -1
  720. package/sparkdream/blog/{tx.registry.js → v1/tx.registry.js} +13 -13
  721. package/sparkdream/blog/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +4 -1
  722. package/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
  723. package/sparkdream/bundle.d.ts +461 -419
  724. package/sparkdream/bundle.js +68 -48
  725. package/sparkdream/client.d.ts +15 -15
  726. package/sparkdream/client.js +7 -7
  727. package/sparkdream/lcd.d.ts +6 -2
  728. package/sparkdream/lcd.js +10 -6
  729. package/sparkdream/rpc.query.d.ts +9 -13
  730. package/sparkdream/rpc.query.js +6 -7
  731. package/sparkdream/rpc.tx.d.ts +6 -2
  732. package/sparkdream/rpc.tx.js +6 -2
  733. package/sparkdream/sparkdream/module/v1/module.d.ts +54 -0
  734. package/sparkdream/{blog/module → sparkdream/module/v1}/module.js +9 -3
  735. package/sparkdream/sparkdream/v1/genesis.d.ts +53 -0
  736. package/sparkdream/{blog → sparkdream/v1}/genesis.js +9 -3
  737. package/sparkdream/sparkdream/{params.d.ts → v1/params.d.ts} +21 -5
  738. package/sparkdream/sparkdream/{params.js → v1/params.js} +9 -3
  739. package/sparkdream/sparkdream/{query.d.ts → v1/query.d.ts} +48 -12
  740. package/sparkdream/sparkdream/{query.js → v1/query.js} +17 -5
  741. package/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
  742. package/sparkdream/sparkdream/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +1 -1
  743. package/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
  744. package/sparkdream/sparkdream/{tx.amino.d.ts → v1/tx.amino.d.ts} +1 -1
  745. package/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
  746. package/sparkdream/sparkdream/{tx.d.ts → v1/tx.d.ts} +42 -9
  747. package/sparkdream/sparkdream/{tx.js → v1/tx.js} +18 -5
  748. package/sparkdream/sparkdream/{tx.registry.d.ts → v1/tx.registry.d.ts} +1 -1
  749. package/sparkdream/sparkdream/{tx.registry.js → v1/tx.registry.js} +4 -4
  750. package/sparkdream/sparkdream/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +1 -1
  751. package/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
  752. package/tendermint/abci/types.d.ts +971 -98
  753. package/tendermint/abci/types.js +255 -0
  754. package/tendermint/bundle.d.ts +844 -844
  755. package/tendermint/bundle.js +20 -20
  756. package/tendermint/crypto/keys.d.ts +18 -2
  757. package/tendermint/crypto/keys.js +6 -0
  758. package/tendermint/crypto/proof.d.ts +89 -6
  759. package/tendermint/crypto/proof.js +29 -0
  760. package/tendermint/p2p/types.d.ts +60 -0
  761. package/tendermint/p2p/types.js +20 -0
  762. package/tendermint/types/block.d.ts +15 -0
  763. package/tendermint/types/block.js +5 -0
  764. package/tendermint/types/evidence.d.ts +66 -4
  765. package/tendermint/types/evidence.js +22 -0
  766. package/tendermint/types/params.d.ts +112 -8
  767. package/tendermint/types/params.js +46 -0
  768. package/tendermint/types/types.d.ts +327 -42
  769. package/tendermint/types/types.js +87 -0
  770. package/tendermint/types/validator.d.ts +45 -0
  771. package/tendermint/types/validator.js +15 -0
  772. package/tendermint/version/types.d.ts +28 -0
  773. package/tendermint/version/types.js +16 -0
  774. package/types.d.ts +1 -1
  775. package/types.js +1 -1
  776. package/utf8.d.ts +1 -1
  777. package/utf8.js +1 -1
  778. package/varint.d.ts +1 -1
  779. package/varint.js +1 -1
  780. package/cosmos/orm/module/v1alpha1/module.d.ts +0 -38
  781. package/cosmos/orm/module/v1alpha1/module.js +0 -62
  782. package/cosmos/orm/query/v1alpha1/query.d.ts +0 -353
  783. package/cosmos/orm/query/v1alpha1/query.js +0 -695
  784. package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +0 -20
  785. package/cosmos/orm/query/v1alpha1/query.rpc.Query.js +0 -38
  786. package/esm/cosmos/orm/module/v1alpha1/module.js +0 -59
  787. package/esm/cosmos/orm/query/v1alpha1/query.js +0 -692
  788. package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +0 -33
  789. package/sparkdream/blog/genesis.d.ts +0 -33
  790. package/sparkdream/blog/module/module.d.ts +0 -32
  791. package/sparkdream/sparkdream/module/module.d.ts +0 -32
  792. /package/sparkdream/blog/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
  793. /package/sparkdream/sparkdream/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
@@ -0,0 +1,14 @@
1
+ import { LCDClient } from "@cosmology/lcd";
2
+ import { QueryAllRateLimitsRequest, QueryAllRateLimitsResponse, QueryRateLimitRequest, QueryRateLimitResponse, QueryRateLimitsByChainIDRequest, QueryRateLimitsByChainIDResponse, QueryRateLimitsByChannelOrClientIDRequest, QueryRateLimitsByChannelOrClientIDResponse, QueryAllBlacklistedDenomsRequest, QueryAllBlacklistedDenomsResponse, QueryAllWhitelistedAddressesRequest, QueryAllWhitelistedAddressesResponse } from "./query";
3
+ export declare class LCDQueryClient {
4
+ req: LCDClient;
5
+ constructor({ requestClient }: {
6
+ requestClient: LCDClient;
7
+ });
8
+ allRateLimits: (_params?: QueryAllRateLimitsRequest) => Promise<QueryAllRateLimitsResponse>;
9
+ rateLimit: (params: QueryRateLimitRequest) => Promise<QueryRateLimitResponse>;
10
+ rateLimitsByChainID: (params: QueryRateLimitsByChainIDRequest) => Promise<QueryRateLimitsByChainIDResponse>;
11
+ rateLimitsByChannelOrClientID: (params: QueryRateLimitsByChannelOrClientIDRequest) => Promise<QueryRateLimitsByChannelOrClientIDResponse>;
12
+ allBlacklistedDenoms: (_params?: QueryAllBlacklistedDenomsRequest) => Promise<QueryAllBlacklistedDenomsResponse>;
13
+ allWhitelistedAddresses: (_params?: QueryAllWhitelistedAddressesRequest) => Promise<QueryAllWhitelistedAddressesResponse>;
14
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LCDQueryClient = void 0;
4
+ class LCDQueryClient {
5
+ req;
6
+ constructor({ requestClient }) {
7
+ this.req = requestClient;
8
+ }
9
+ /* Queries all rate limits */
10
+ allRateLimits = async (_params = {}) => {
11
+ const endpoint = `ibc/apps/rate-limiting/v1/ratelimits`;
12
+ return await this.req.get(endpoint);
13
+ };
14
+ /* Queries a specific rate limit by channel ID and denom
15
+ Ex:
16
+ - /ratelimit/{channel_or_client_id}/by_denom?denom={denom} */
17
+ rateLimit = async (params) => {
18
+ const options = {
19
+ params: {}
20
+ };
21
+ if (typeof params?.denom !== "undefined") {
22
+ options.params.denom = params.denom;
23
+ }
24
+ const endpoint = `ibc/apps/rate-limiting/v1/ratelimit/ratelimit/${params.channelOrClientId}/by_denom`;
25
+ return await this.req.get(endpoint, options);
26
+ };
27
+ /* Queries all the rate limits for a given chain */
28
+ rateLimitsByChainID = async (params) => {
29
+ const endpoint = `ibc/apps/rate-limiting/v1/ratelimit/ratelimits/${params.chainId}`;
30
+ return await this.req.get(endpoint);
31
+ };
32
+ /* Queries all the rate limits for a given channel ID */
33
+ rateLimitsByChannelOrClientID = async (params) => {
34
+ const endpoint = `ibc/apps/rate-limiting/v1/ratelimit/ratelimits/${params.channelOrClientId}`;
35
+ return await this.req.get(endpoint);
36
+ };
37
+ /* Queries all blacklisted denoms */
38
+ allBlacklistedDenoms = async (_params = {}) => {
39
+ const endpoint = `ibc/apps/rate-limiting/v1/ratelimit/blacklisted_denoms`;
40
+ return await this.req.get(endpoint);
41
+ };
42
+ /* Queries all whitelisted address pairs */
43
+ allWhitelistedAddresses = async (_params = {}) => {
44
+ const endpoint = `ibc/apps/rate-limiting/v1/ratelimit/whitelisted_addresses`;
45
+ return await this.req.get(endpoint);
46
+ };
47
+ }
48
+ exports.LCDQueryClient = LCDQueryClient;
@@ -0,0 +1,40 @@
1
+ import { TxRpc } from "../../../../types";
2
+ import { QueryClient } from "@cosmjs/stargate";
3
+ import { QueryAllRateLimitsRequest, QueryAllRateLimitsResponse, QueryRateLimitRequest, QueryRateLimitResponse, QueryRateLimitsByChainIDRequest, QueryRateLimitsByChainIDResponse, QueryRateLimitsByChannelOrClientIDRequest, QueryRateLimitsByChannelOrClientIDResponse, QueryAllBlacklistedDenomsRequest, QueryAllBlacklistedDenomsResponse, QueryAllWhitelistedAddressesRequest, QueryAllWhitelistedAddressesResponse } from "./query";
4
+ /** Query defines the gRPC querier service. */
5
+ export interface Query {
6
+ /** Queries all rate limits */
7
+ allRateLimits(request?: QueryAllRateLimitsRequest): Promise<QueryAllRateLimitsResponse>;
8
+ /**
9
+ * Queries a specific rate limit by channel ID and denom
10
+ * Ex:
11
+ * - /ratelimit/{channel_or_client_id}/by_denom?denom={denom}
12
+ */
13
+ rateLimit(request: QueryRateLimitRequest): Promise<QueryRateLimitResponse>;
14
+ /** Queries all the rate limits for a given chain */
15
+ rateLimitsByChainID(request: QueryRateLimitsByChainIDRequest): Promise<QueryRateLimitsByChainIDResponse>;
16
+ /** Queries all the rate limits for a given channel ID */
17
+ rateLimitsByChannelOrClientID(request: QueryRateLimitsByChannelOrClientIDRequest): Promise<QueryRateLimitsByChannelOrClientIDResponse>;
18
+ /** Queries all blacklisted denoms */
19
+ allBlacklistedDenoms(request?: QueryAllBlacklistedDenomsRequest): Promise<QueryAllBlacklistedDenomsResponse>;
20
+ /** Queries all whitelisted address pairs */
21
+ allWhitelistedAddresses(request?: QueryAllWhitelistedAddressesRequest): Promise<QueryAllWhitelistedAddressesResponse>;
22
+ }
23
+ export declare class QueryClientImpl implements Query {
24
+ private readonly rpc;
25
+ constructor(rpc: TxRpc);
26
+ allRateLimits: (request?: QueryAllRateLimitsRequest) => Promise<QueryAllRateLimitsResponse>;
27
+ rateLimit: (request: QueryRateLimitRequest) => Promise<QueryRateLimitResponse>;
28
+ rateLimitsByChainID: (request: QueryRateLimitsByChainIDRequest) => Promise<QueryRateLimitsByChainIDResponse>;
29
+ rateLimitsByChannelOrClientID: (request: QueryRateLimitsByChannelOrClientIDRequest) => Promise<QueryRateLimitsByChannelOrClientIDResponse>;
30
+ allBlacklistedDenoms: (request?: QueryAllBlacklistedDenomsRequest) => Promise<QueryAllBlacklistedDenomsResponse>;
31
+ allWhitelistedAddresses: (request?: QueryAllWhitelistedAddressesRequest) => Promise<QueryAllWhitelistedAddressesResponse>;
32
+ }
33
+ export declare const createRpcQueryExtension: (base: QueryClient) => {
34
+ allRateLimits(request?: QueryAllRateLimitsRequest): Promise<QueryAllRateLimitsResponse>;
35
+ rateLimit(request: QueryRateLimitRequest): Promise<QueryRateLimitResponse>;
36
+ rateLimitsByChainID(request: QueryRateLimitsByChainIDRequest): Promise<QueryRateLimitsByChainIDResponse>;
37
+ rateLimitsByChannelOrClientID(request: QueryRateLimitsByChannelOrClientIDRequest): Promise<QueryRateLimitsByChannelOrClientIDResponse>;
38
+ allBlacklistedDenoms(request?: QueryAllBlacklistedDenomsRequest): Promise<QueryAllBlacklistedDenomsResponse>;
39
+ allWhitelistedAddresses(request?: QueryAllWhitelistedAddressesRequest): Promise<QueryAllWhitelistedAddressesResponse>;
40
+ };
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createRpcQueryExtension = exports.QueryClientImpl = void 0;
4
+ const binary_1 = require("../../../../binary");
5
+ const stargate_1 = require("@cosmjs/stargate");
6
+ const query_1 = require("./query");
7
+ class QueryClientImpl {
8
+ rpc;
9
+ constructor(rpc) {
10
+ this.rpc = rpc;
11
+ }
12
+ /* Queries all rate limits */
13
+ allRateLimits = async (request = {}) => {
14
+ const data = query_1.QueryAllRateLimitsRequest.encode(request).finish();
15
+ const promise = this.rpc.request("ibc.applications.rate_limiting.v1.Query", "AllRateLimits", data);
16
+ return promise.then(data => query_1.QueryAllRateLimitsResponse.decode(new binary_1.BinaryReader(data)));
17
+ };
18
+ /* Queries a specific rate limit by channel ID and denom
19
+ Ex:
20
+ - /ratelimit/{channel_or_client_id}/by_denom?denom={denom} */
21
+ rateLimit = async (request) => {
22
+ const data = query_1.QueryRateLimitRequest.encode(request).finish();
23
+ const promise = this.rpc.request("ibc.applications.rate_limiting.v1.Query", "RateLimit", data);
24
+ return promise.then(data => query_1.QueryRateLimitResponse.decode(new binary_1.BinaryReader(data)));
25
+ };
26
+ /* Queries all the rate limits for a given chain */
27
+ rateLimitsByChainID = async (request) => {
28
+ const data = query_1.QueryRateLimitsByChainIDRequest.encode(request).finish();
29
+ const promise = this.rpc.request("ibc.applications.rate_limiting.v1.Query", "RateLimitsByChainID", data);
30
+ return promise.then(data => query_1.QueryRateLimitsByChainIDResponse.decode(new binary_1.BinaryReader(data)));
31
+ };
32
+ /* Queries all the rate limits for a given channel ID */
33
+ rateLimitsByChannelOrClientID = async (request) => {
34
+ const data = query_1.QueryRateLimitsByChannelOrClientIDRequest.encode(request).finish();
35
+ const promise = this.rpc.request("ibc.applications.rate_limiting.v1.Query", "RateLimitsByChannelOrClientID", data);
36
+ return promise.then(data => query_1.QueryRateLimitsByChannelOrClientIDResponse.decode(new binary_1.BinaryReader(data)));
37
+ };
38
+ /* Queries all blacklisted denoms */
39
+ allBlacklistedDenoms = async (request = {}) => {
40
+ const data = query_1.QueryAllBlacklistedDenomsRequest.encode(request).finish();
41
+ const promise = this.rpc.request("ibc.applications.rate_limiting.v1.Query", "AllBlacklistedDenoms", data);
42
+ return promise.then(data => query_1.QueryAllBlacklistedDenomsResponse.decode(new binary_1.BinaryReader(data)));
43
+ };
44
+ /* Queries all whitelisted address pairs */
45
+ allWhitelistedAddresses = async (request = {}) => {
46
+ const data = query_1.QueryAllWhitelistedAddressesRequest.encode(request).finish();
47
+ const promise = this.rpc.request("ibc.applications.rate_limiting.v1.Query", "AllWhitelistedAddresses", data);
48
+ return promise.then(data => query_1.QueryAllWhitelistedAddressesResponse.decode(new binary_1.BinaryReader(data)));
49
+ };
50
+ }
51
+ exports.QueryClientImpl = QueryClientImpl;
52
+ const createRpcQueryExtension = (base) => {
53
+ const rpc = (0, stargate_1.createProtobufRpcClient)(base);
54
+ const queryService = new QueryClientImpl(rpc);
55
+ return {
56
+ allRateLimits(request) {
57
+ return queryService.allRateLimits(request);
58
+ },
59
+ rateLimit(request) {
60
+ return queryService.rateLimit(request);
61
+ },
62
+ rateLimitsByChainID(request) {
63
+ return queryService.rateLimitsByChainID(request);
64
+ },
65
+ rateLimitsByChannelOrClientID(request) {
66
+ return queryService.rateLimitsByChannelOrClientID(request);
67
+ },
68
+ allBlacklistedDenoms(request) {
69
+ return queryService.allBlacklistedDenoms(request);
70
+ },
71
+ allWhitelistedAddresses(request) {
72
+ return queryService.allWhitelistedAddresses(request);
73
+ }
74
+ };
75
+ };
76
+ exports.createRpcQueryExtension = createRpcQueryExtension;
@@ -0,0 +1,374 @@
1
+ import { Duration, DurationAmino } from "../../../../google/protobuf/duration";
2
+ import { BinaryReader, BinaryWriter } from "../../../../binary";
3
+ import { DeepPartial } from "../../../../helpers";
4
+ /**
5
+ * PacketDirection defines whether the transfer packet is being sent from
6
+ * this chain or is being received on this chain
7
+ */
8
+ export declare enum PacketDirection {
9
+ PACKET_SEND = 0,
10
+ PACKET_RECV = 1,
11
+ UNRECOGNIZED = -1
12
+ }
13
+ export declare const PacketDirectionAmino: typeof PacketDirection;
14
+ export declare function packetDirectionFromJSON(object: any): PacketDirection;
15
+ export declare function packetDirectionToJSON(object: PacketDirection): string;
16
+ /**
17
+ * Path holds the denom and channelID that define the rate limited route
18
+ * @name Path
19
+ * @package ibc.applications.rate_limiting.v1
20
+ * @see proto type: ibc.applications.rate_limiting.v1.Path
21
+ */
22
+ export interface Path {
23
+ denom: string;
24
+ channelOrClientId: string;
25
+ }
26
+ export interface PathProtoMsg {
27
+ typeUrl: "/ibc.applications.rate_limiting.v1.Path";
28
+ value: Uint8Array;
29
+ }
30
+ /**
31
+ * Path holds the denom and channelID that define the rate limited route
32
+ * @name PathAmino
33
+ * @package ibc.applications.rate_limiting.v1
34
+ * @see proto type: ibc.applications.rate_limiting.v1.Path
35
+ */
36
+ export interface PathAmino {
37
+ denom?: string;
38
+ channel_or_client_id?: string;
39
+ }
40
+ export interface PathAminoMsg {
41
+ type: "cosmos-sdk/Path";
42
+ value: PathAmino;
43
+ }
44
+ /**
45
+ * Quota defines the rate limit thresholds for transfer packets
46
+ * @name Quota
47
+ * @package ibc.applications.rate_limiting.v1
48
+ * @see proto type: ibc.applications.rate_limiting.v1.Quota
49
+ */
50
+ export interface Quota {
51
+ /**
52
+ * MaxPercentSend defines the threshold for outflows
53
+ * The threshold is defined as a percentage (e.g. 10 indicates 10%)
54
+ */
55
+ maxPercentSend: string;
56
+ /**
57
+ * MaxPercentSend defines the threshold for inflows
58
+ * The threshold is defined as a percentage (e.g. 10 indicates 10%)
59
+ */
60
+ maxPercentRecv: string;
61
+ /**
62
+ * DurationHours specifies the number of hours before the rate limit
63
+ * is reset (e.g. 24 indicates that the rate limit is reset each day)
64
+ */
65
+ durationHours: bigint;
66
+ }
67
+ export interface QuotaProtoMsg {
68
+ typeUrl: "/ibc.applications.rate_limiting.v1.Quota";
69
+ value: Uint8Array;
70
+ }
71
+ /**
72
+ * Quota defines the rate limit thresholds for transfer packets
73
+ * @name QuotaAmino
74
+ * @package ibc.applications.rate_limiting.v1
75
+ * @see proto type: ibc.applications.rate_limiting.v1.Quota
76
+ */
77
+ export interface QuotaAmino {
78
+ /**
79
+ * MaxPercentSend defines the threshold for outflows
80
+ * The threshold is defined as a percentage (e.g. 10 indicates 10%)
81
+ */
82
+ max_percent_send?: string;
83
+ /**
84
+ * MaxPercentSend defines the threshold for inflows
85
+ * The threshold is defined as a percentage (e.g. 10 indicates 10%)
86
+ */
87
+ max_percent_recv?: string;
88
+ /**
89
+ * DurationHours specifies the number of hours before the rate limit
90
+ * is reset (e.g. 24 indicates that the rate limit is reset each day)
91
+ */
92
+ duration_hours?: string;
93
+ }
94
+ export interface QuotaAminoMsg {
95
+ type: "cosmos-sdk/Quota";
96
+ value: QuotaAmino;
97
+ }
98
+ /**
99
+ * Flow tracks all the inflows and outflows of a channel.
100
+ * @name Flow
101
+ * @package ibc.applications.rate_limiting.v1
102
+ * @see proto type: ibc.applications.rate_limiting.v1.Flow
103
+ */
104
+ export interface Flow {
105
+ /**
106
+ * Inflow defines the total amount of inbound transfers for the given
107
+ * rate limit in the current window
108
+ */
109
+ inflow: string;
110
+ /**
111
+ * Outflow defines the total amount of outbound transfers for the given
112
+ * rate limit in the current window
113
+ */
114
+ outflow: string;
115
+ /**
116
+ * ChannelValue stores the total supply of the denom at the start of
117
+ * the rate limit. This is used as the denominator when checking
118
+ * the rate limit threshold
119
+ * The ChannelValue is fixed for the duration of the rate limit window
120
+ */
121
+ channelValue: string;
122
+ }
123
+ export interface FlowProtoMsg {
124
+ typeUrl: "/ibc.applications.rate_limiting.v1.Flow";
125
+ value: Uint8Array;
126
+ }
127
+ /**
128
+ * Flow tracks all the inflows and outflows of a channel.
129
+ * @name FlowAmino
130
+ * @package ibc.applications.rate_limiting.v1
131
+ * @see proto type: ibc.applications.rate_limiting.v1.Flow
132
+ */
133
+ export interface FlowAmino {
134
+ /**
135
+ * Inflow defines the total amount of inbound transfers for the given
136
+ * rate limit in the current window
137
+ */
138
+ inflow?: string;
139
+ /**
140
+ * Outflow defines the total amount of outbound transfers for the given
141
+ * rate limit in the current window
142
+ */
143
+ outflow?: string;
144
+ /**
145
+ * ChannelValue stores the total supply of the denom at the start of
146
+ * the rate limit. This is used as the denominator when checking
147
+ * the rate limit threshold
148
+ * The ChannelValue is fixed for the duration of the rate limit window
149
+ */
150
+ channel_value?: string;
151
+ }
152
+ export interface FlowAminoMsg {
153
+ type: "cosmos-sdk/Flow";
154
+ value: FlowAmino;
155
+ }
156
+ /**
157
+ * RateLimit stores all the context about a given rate limit, including
158
+ * the relevant denom and channel, rate limit thresholds, and current
159
+ * progress towards the limits
160
+ * @name RateLimit
161
+ * @package ibc.applications.rate_limiting.v1
162
+ * @see proto type: ibc.applications.rate_limiting.v1.RateLimit
163
+ */
164
+ export interface RateLimit {
165
+ path?: Path;
166
+ quota?: Quota;
167
+ flow?: Flow;
168
+ }
169
+ export interface RateLimitProtoMsg {
170
+ typeUrl: "/ibc.applications.rate_limiting.v1.RateLimit";
171
+ value: Uint8Array;
172
+ }
173
+ /**
174
+ * RateLimit stores all the context about a given rate limit, including
175
+ * the relevant denom and channel, rate limit thresholds, and current
176
+ * progress towards the limits
177
+ * @name RateLimitAmino
178
+ * @package ibc.applications.rate_limiting.v1
179
+ * @see proto type: ibc.applications.rate_limiting.v1.RateLimit
180
+ */
181
+ export interface RateLimitAmino {
182
+ path?: PathAmino;
183
+ quota?: QuotaAmino;
184
+ flow?: FlowAmino;
185
+ }
186
+ export interface RateLimitAminoMsg {
187
+ type: "cosmos-sdk/RateLimit";
188
+ value: RateLimitAmino;
189
+ }
190
+ /**
191
+ * WhitelistedAddressPair represents a sender-receiver combo that is
192
+ * not subject to rate limit restrictions
193
+ * @name WhitelistedAddressPair
194
+ * @package ibc.applications.rate_limiting.v1
195
+ * @see proto type: ibc.applications.rate_limiting.v1.WhitelistedAddressPair
196
+ */
197
+ export interface WhitelistedAddressPair {
198
+ sender: string;
199
+ receiver: string;
200
+ }
201
+ export interface WhitelistedAddressPairProtoMsg {
202
+ typeUrl: "/ibc.applications.rate_limiting.v1.WhitelistedAddressPair";
203
+ value: Uint8Array;
204
+ }
205
+ /**
206
+ * WhitelistedAddressPair represents a sender-receiver combo that is
207
+ * not subject to rate limit restrictions
208
+ * @name WhitelistedAddressPairAmino
209
+ * @package ibc.applications.rate_limiting.v1
210
+ * @see proto type: ibc.applications.rate_limiting.v1.WhitelistedAddressPair
211
+ */
212
+ export interface WhitelistedAddressPairAmino {
213
+ sender?: string;
214
+ receiver?: string;
215
+ }
216
+ export interface WhitelistedAddressPairAminoMsg {
217
+ type: "cosmos-sdk/WhitelistedAddressPair";
218
+ value: WhitelistedAddressPairAmino;
219
+ }
220
+ /**
221
+ * HourEpoch is the epoch type.
222
+ * @name HourEpoch
223
+ * @package ibc.applications.rate_limiting.v1
224
+ * @see proto type: ibc.applications.rate_limiting.v1.HourEpoch
225
+ */
226
+ export interface HourEpoch {
227
+ epochNumber: bigint;
228
+ duration: Duration;
229
+ epochStartTime: Date;
230
+ epochStartHeight: bigint;
231
+ }
232
+ export interface HourEpochProtoMsg {
233
+ typeUrl: "/ibc.applications.rate_limiting.v1.HourEpoch";
234
+ value: Uint8Array;
235
+ }
236
+ /**
237
+ * HourEpoch is the epoch type.
238
+ * @name HourEpochAmino
239
+ * @package ibc.applications.rate_limiting.v1
240
+ * @see proto type: ibc.applications.rate_limiting.v1.HourEpoch
241
+ */
242
+ export interface HourEpochAmino {
243
+ epoch_number?: string;
244
+ duration?: DurationAmino;
245
+ epoch_start_time?: string;
246
+ epoch_start_height?: string;
247
+ }
248
+ export interface HourEpochAminoMsg {
249
+ type: "cosmos-sdk/HourEpoch";
250
+ value: HourEpochAmino;
251
+ }
252
+ /**
253
+ * Path holds the denom and channelID that define the rate limited route
254
+ * @name Path
255
+ * @package ibc.applications.rate_limiting.v1
256
+ * @see proto type: ibc.applications.rate_limiting.v1.Path
257
+ */
258
+ export declare const Path: {
259
+ typeUrl: string;
260
+ aminoType: string;
261
+ encode(message: Path, writer?: BinaryWriter): BinaryWriter;
262
+ decode(input: BinaryReader | Uint8Array, length?: number): Path;
263
+ fromPartial(object: DeepPartial<Path>): Path;
264
+ fromAmino(object: PathAmino): Path;
265
+ toAmino(message: Path): PathAmino;
266
+ fromAminoMsg(object: PathAminoMsg): Path;
267
+ toAminoMsg(message: Path): PathAminoMsg;
268
+ fromProtoMsg(message: PathProtoMsg): Path;
269
+ toProto(message: Path): Uint8Array;
270
+ toProtoMsg(message: Path): PathProtoMsg;
271
+ };
272
+ /**
273
+ * Quota defines the rate limit thresholds for transfer packets
274
+ * @name Quota
275
+ * @package ibc.applications.rate_limiting.v1
276
+ * @see proto type: ibc.applications.rate_limiting.v1.Quota
277
+ */
278
+ export declare const Quota: {
279
+ typeUrl: string;
280
+ aminoType: string;
281
+ encode(message: Quota, writer?: BinaryWriter): BinaryWriter;
282
+ decode(input: BinaryReader | Uint8Array, length?: number): Quota;
283
+ fromPartial(object: DeepPartial<Quota>): Quota;
284
+ fromAmino(object: QuotaAmino): Quota;
285
+ toAmino(message: Quota): QuotaAmino;
286
+ fromAminoMsg(object: QuotaAminoMsg): Quota;
287
+ toAminoMsg(message: Quota): QuotaAminoMsg;
288
+ fromProtoMsg(message: QuotaProtoMsg): Quota;
289
+ toProto(message: Quota): Uint8Array;
290
+ toProtoMsg(message: Quota): QuotaProtoMsg;
291
+ };
292
+ /**
293
+ * Flow tracks all the inflows and outflows of a channel.
294
+ * @name Flow
295
+ * @package ibc.applications.rate_limiting.v1
296
+ * @see proto type: ibc.applications.rate_limiting.v1.Flow
297
+ */
298
+ export declare const Flow: {
299
+ typeUrl: string;
300
+ aminoType: string;
301
+ encode(message: Flow, writer?: BinaryWriter): BinaryWriter;
302
+ decode(input: BinaryReader | Uint8Array, length?: number): Flow;
303
+ fromPartial(object: DeepPartial<Flow>): Flow;
304
+ fromAmino(object: FlowAmino): Flow;
305
+ toAmino(message: Flow): FlowAmino;
306
+ fromAminoMsg(object: FlowAminoMsg): Flow;
307
+ toAminoMsg(message: Flow): FlowAminoMsg;
308
+ fromProtoMsg(message: FlowProtoMsg): Flow;
309
+ toProto(message: Flow): Uint8Array;
310
+ toProtoMsg(message: Flow): FlowProtoMsg;
311
+ };
312
+ /**
313
+ * RateLimit stores all the context about a given rate limit, including
314
+ * the relevant denom and channel, rate limit thresholds, and current
315
+ * progress towards the limits
316
+ * @name RateLimit
317
+ * @package ibc.applications.rate_limiting.v1
318
+ * @see proto type: ibc.applications.rate_limiting.v1.RateLimit
319
+ */
320
+ export declare const RateLimit: {
321
+ typeUrl: string;
322
+ aminoType: string;
323
+ encode(message: RateLimit, writer?: BinaryWriter): BinaryWriter;
324
+ decode(input: BinaryReader | Uint8Array, length?: number): RateLimit;
325
+ fromPartial(object: DeepPartial<RateLimit>): RateLimit;
326
+ fromAmino(object: RateLimitAmino): RateLimit;
327
+ toAmino(message: RateLimit): RateLimitAmino;
328
+ fromAminoMsg(object: RateLimitAminoMsg): RateLimit;
329
+ toAminoMsg(message: RateLimit): RateLimitAminoMsg;
330
+ fromProtoMsg(message: RateLimitProtoMsg): RateLimit;
331
+ toProto(message: RateLimit): Uint8Array;
332
+ toProtoMsg(message: RateLimit): RateLimitProtoMsg;
333
+ };
334
+ /**
335
+ * WhitelistedAddressPair represents a sender-receiver combo that is
336
+ * not subject to rate limit restrictions
337
+ * @name WhitelistedAddressPair
338
+ * @package ibc.applications.rate_limiting.v1
339
+ * @see proto type: ibc.applications.rate_limiting.v1.WhitelistedAddressPair
340
+ */
341
+ export declare const WhitelistedAddressPair: {
342
+ typeUrl: string;
343
+ aminoType: string;
344
+ encode(message: WhitelistedAddressPair, writer?: BinaryWriter): BinaryWriter;
345
+ decode(input: BinaryReader | Uint8Array, length?: number): WhitelistedAddressPair;
346
+ fromPartial(object: DeepPartial<WhitelistedAddressPair>): WhitelistedAddressPair;
347
+ fromAmino(object: WhitelistedAddressPairAmino): WhitelistedAddressPair;
348
+ toAmino(message: WhitelistedAddressPair): WhitelistedAddressPairAmino;
349
+ fromAminoMsg(object: WhitelistedAddressPairAminoMsg): WhitelistedAddressPair;
350
+ toAminoMsg(message: WhitelistedAddressPair): WhitelistedAddressPairAminoMsg;
351
+ fromProtoMsg(message: WhitelistedAddressPairProtoMsg): WhitelistedAddressPair;
352
+ toProto(message: WhitelistedAddressPair): Uint8Array;
353
+ toProtoMsg(message: WhitelistedAddressPair): WhitelistedAddressPairProtoMsg;
354
+ };
355
+ /**
356
+ * HourEpoch is the epoch type.
357
+ * @name HourEpoch
358
+ * @package ibc.applications.rate_limiting.v1
359
+ * @see proto type: ibc.applications.rate_limiting.v1.HourEpoch
360
+ */
361
+ export declare const HourEpoch: {
362
+ typeUrl: string;
363
+ aminoType: string;
364
+ encode(message: HourEpoch, writer?: BinaryWriter): BinaryWriter;
365
+ decode(input: BinaryReader | Uint8Array, length?: number): HourEpoch;
366
+ fromPartial(object: DeepPartial<HourEpoch>): HourEpoch;
367
+ fromAmino(object: HourEpochAmino): HourEpoch;
368
+ toAmino(message: HourEpoch): HourEpochAmino;
369
+ fromAminoMsg(object: HourEpochAminoMsg): HourEpoch;
370
+ toAminoMsg(message: HourEpoch): HourEpochAminoMsg;
371
+ fromProtoMsg(message: HourEpochProtoMsg): HourEpoch;
372
+ toProto(message: HourEpoch): Uint8Array;
373
+ toProtoMsg(message: HourEpoch): HourEpochProtoMsg;
374
+ };