@sparkdreamnft/sparkdreamjs 0.0.2 → 0.0.4

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 (906) hide show
  1. package/cosmos/app/runtime/v1alpha1/module.d.ts +5 -22
  2. package/cosmos/app/runtime/v1alpha1/module.js +2 -0
  3. package/cosmos/app/v1alpha1/module.d.ts +7 -21
  4. package/cosmos/app/v1alpha1/module.js +3 -0
  5. package/cosmos/auth/module/v1/module.d.ts +5 -13
  6. package/cosmos/auth/module/v1/module.js +2 -0
  7. package/cosmos/auth/v1beta1/auth.d.ts +10 -43
  8. package/cosmos/auth/v1beta1/auth.js +4 -2
  9. package/cosmos/auth/v1beta1/genesis.d.ts +5 -8
  10. package/cosmos/auth/v1beta1/genesis.js +1 -0
  11. package/cosmos/auth/v1beta1/query.d.ts +44 -159
  12. package/cosmos/auth/v1beta1/query.js +20 -0
  13. package/cosmos/auth/v1beta1/query.lcd.d.ts +11 -11
  14. package/cosmos/auth/v1beta1/query.lcd.js +21 -31
  15. package/cosmos/auth/v1beta1/query.rpc.Query.d.ts +12 -12
  16. package/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
  17. package/cosmos/auth/v1beta1/tx.d.ts +6 -20
  18. package/cosmos/auth/v1beta1/tx.js +2 -0
  19. package/cosmos/auth/v1beta1/tx.registry.d.ts +2 -24
  20. package/cosmos/auth/v1beta1/tx.registry.js +1 -33
  21. package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +4 -3
  22. package/cosmos/auth/v1beta1/tx.rpc.msg.js +11 -4
  23. package/cosmos/authz/module/v1/module.d.ts +3 -4
  24. package/cosmos/authz/module/v1/module.js +1 -0
  25. package/cosmos/authz/v1beta1/authz.d.ts +13 -39
  26. package/cosmos/authz/v1beta1/authz.js +4 -1
  27. package/cosmos/authz/v1beta1/event.d.ts +5 -14
  28. package/cosmos/authz/v1beta1/event.js +2 -0
  29. package/cosmos/authz/v1beta1/genesis.d.ts +4 -6
  30. package/cosmos/authz/v1beta1/genesis.js +1 -0
  31. package/cosmos/authz/v1beta1/query.d.ts +15 -40
  32. package/cosmos/authz/v1beta1/query.js +6 -0
  33. package/cosmos/authz/v1beta1/query.lcd.d.ts +4 -4
  34. package/cosmos/authz/v1beta1/query.lcd.js +6 -9
  35. package/cosmos/authz/v1beta1/query.rpc.Query.d.ts +5 -5
  36. package/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
  37. package/cosmos/authz/v1beta1/tx.d.ts +15 -45
  38. package/cosmos/authz/v1beta1/tx.js +6 -0
  39. package/cosmos/authz/v1beta1/tx.registry.d.ts +2 -48
  40. package/cosmos/authz/v1beta1/tx.registry.js +1 -69
  41. package/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +6 -5
  42. package/cosmos/authz/v1beta1/tx.rpc.msg.js +20 -10
  43. package/cosmos/bank/module/v1/module.d.ts +3 -7
  44. package/cosmos/bank/module/v1/module.js +1 -0
  45. package/cosmos/bank/v1beta1/authz.d.ts +4 -14
  46. package/cosmos/bank/v1beta1/authz.js +1 -1
  47. package/cosmos/bank/v1beta1/bank.d.ts +16 -66
  48. package/cosmos/bank/v1beta1/bank.js +7 -1
  49. package/cosmos/bank/v1beta1/genesis.d.ts +7 -20
  50. package/cosmos/bank/v1beta1/genesis.js +2 -0
  51. package/cosmos/bank/v1beta1/query.d.ts +58 -226
  52. package/cosmos/bank/v1beta1/query.js +27 -0
  53. package/cosmos/bank/v1beta1/query.lcd.d.ts +14 -14
  54. package/cosmos/bank/v1beta1/query.lcd.js +28 -41
  55. package/cosmos/bank/v1beta1/query.rpc.Query.d.ts +15 -15
  56. package/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
  57. package/cosmos/bank/v1beta1/tx.d.ts +19 -65
  58. package/cosmos/bank/v1beta1/tx.js +8 -0
  59. package/cosmos/bank/v1beta1/tx.registry.d.ts +2 -60
  60. package/cosmos/bank/v1beta1/tx.registry.js +1 -87
  61. package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +7 -6
  62. package/cosmos/bank/v1beta1/tx.rpc.msg.js +25 -13
  63. package/cosmos/base/abci/v1beta1/abci.d.ts +26 -112
  64. package/cosmos/base/abci/v1beta1/abci.js +11 -0
  65. package/cosmos/base/node/v1beta1/query.d.ts +9 -25
  66. package/cosmos/base/node/v1beta1/query.js +4 -0
  67. package/cosmos/base/node/v1beta1/query.lcd.d.ts +3 -3
  68. package/cosmos/base/node/v1beta1/query.lcd.js +4 -6
  69. package/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +4 -4
  70. package/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
  71. package/cosmos/base/query/v1beta1/pagination.d.ts +5 -31
  72. package/cosmos/base/query/v1beta1/pagination.js +2 -0
  73. package/cosmos/base/reflection/v2alpha1/reflection.d.ts +53 -154
  74. package/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
  75. package/cosmos/base/v1beta1/coin.d.ts +9 -38
  76. package/cosmos/base/v1beta1/coin.js +5 -1
  77. package/cosmos/benchmark/module/v1/module.d.ts +5 -20
  78. package/cosmos/benchmark/module/v1/module.js +2 -0
  79. package/cosmos/benchmark/v1/benchmark.d.ts +3 -11
  80. package/cosmos/benchmark/v1/benchmark.js +1 -0
  81. package/cosmos/benchmark/v1/tx.d.ts +6 -13
  82. package/cosmos/benchmark/v1/tx.js +2 -0
  83. package/cosmos/benchmark/v1/tx.registry.d.ts +2 -24
  84. package/cosmos/benchmark/v1/tx.registry.js +1 -33
  85. package/cosmos/benchmark/v1/tx.rpc.msg.d.ts +4 -3
  86. package/cosmos/benchmark/v1/tx.rpc.msg.js +8 -4
  87. package/cosmos/bundle.d.ts +1344 -1649
  88. package/cosmos/circuit/module/v1/module.d.ts +3 -5
  89. package/cosmos/circuit/module/v1/module.js +1 -0
  90. package/cosmos/circuit/v1/query.d.ts +15 -32
  91. package/cosmos/circuit/v1/query.js +6 -0
  92. package/cosmos/circuit/v1/query.lcd.d.ts +4 -4
  93. package/cosmos/circuit/v1/query.lcd.js +7 -10
  94. package/cosmos/circuit/v1/query.rpc.Query.d.ts +5 -5
  95. package/cosmos/circuit/v1/query.rpc.Query.js +10 -10
  96. package/cosmos/circuit/v1/tx.d.ts +14 -35
  97. package/cosmos/circuit/v1/tx.js +6 -0
  98. package/cosmos/circuit/v1/tx.registry.d.ts +2 -48
  99. package/cosmos/circuit/v1/tx.registry.js +1 -69
  100. package/cosmos/circuit/v1/tx.rpc.msg.d.ts +6 -5
  101. package/cosmos/circuit/v1/tx.rpc.msg.js +16 -10
  102. package/cosmos/circuit/v1/types.d.ts +7 -22
  103. package/cosmos/circuit/v1/types.js +4 -2
  104. package/cosmos/consensus/module/v1/module.d.ts +3 -5
  105. package/cosmos/consensus/module/v1/module.js +1 -0
  106. package/cosmos/consensus/v1/query.d.ts +6 -10
  107. package/cosmos/consensus/v1/query.js +2 -0
  108. package/cosmos/consensus/v1/query.lcd.d.ts +2 -2
  109. package/cosmos/consensus/v1/query.lcd.js +2 -3
  110. package/cosmos/consensus/v1/query.rpc.Query.d.ts +3 -3
  111. package/cosmos/consensus/v1/query.rpc.Query.js +3 -3
  112. package/cosmos/consensus/v1/tx.d.ts +6 -17
  113. package/cosmos/consensus/v1/tx.js +2 -0
  114. package/cosmos/consensus/v1/tx.registry.d.ts +2 -24
  115. package/cosmos/consensus/v1/tx.registry.js +1 -33
  116. package/cosmos/consensus/v1/tx.rpc.msg.d.ts +4 -3
  117. package/cosmos/consensus/v1/tx.rpc.msg.js +11 -4
  118. package/cosmos/counter/module/v1/module.d.ts +3 -5
  119. package/cosmos/counter/module/v1/module.js +1 -0
  120. package/cosmos/counter/v1/query.d.ts +5 -9
  121. package/cosmos/counter/v1/query.js +2 -0
  122. package/cosmos/counter/v1/query.rpc.Query.d.ts +3 -3
  123. package/cosmos/counter/v1/query.rpc.Query.js +3 -3
  124. package/cosmos/counter/v1/tx.d.ts +5 -11
  125. package/cosmos/counter/v1/tx.js +2 -0
  126. package/cosmos/counter/v1/tx.registry.d.ts +2 -24
  127. package/cosmos/counter/v1/tx.registry.js +1 -33
  128. package/cosmos/counter/v1/tx.rpc.msg.d.ts +4 -3
  129. package/cosmos/counter/v1/tx.rpc.msg.js +8 -4
  130. package/cosmos/crisis/module/v1/module.d.ts +3 -6
  131. package/cosmos/crisis/module/v1/module.js +1 -0
  132. package/cosmos/crypto/ed25519/keys.d.ts +5 -19
  133. package/cosmos/crypto/ed25519/keys.js +2 -0
  134. package/cosmos/crypto/hd/v1/hd.d.ts +3 -9
  135. package/cosmos/crypto/hd/v1/hd.js +1 -0
  136. package/cosmos/crypto/keyring/v1/record.d.ts +13 -33
  137. package/cosmos/crypto/keyring/v1/record.js +5 -0
  138. package/cosmos/crypto/multisig/keys.d.ts +4 -11
  139. package/cosmos/crypto/multisig/keys.js +1 -0
  140. package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +5 -20
  141. package/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
  142. package/cosmos/crypto/secp256k1/keys.d.ts +5 -16
  143. package/cosmos/crypto/secp256k1/keys.js +2 -0
  144. package/cosmos/crypto/secp256r1/keys.d.ts +5 -10
  145. package/cosmos/crypto/secp256r1/keys.js +2 -0
  146. package/cosmos/distribution/module/v1/module.d.ts +3 -6
  147. package/cosmos/distribution/module/v1/module.js +1 -0
  148. package/cosmos/distribution/v1beta1/distribution.d.ts +26 -134
  149. package/cosmos/distribution/v1beta1/distribution.js +13 -3
  150. package/cosmos/distribution/v1beta1/genesis.d.ts +19 -72
  151. package/cosmos/distribution/v1beta1/genesis.js +8 -0
  152. package/cosmos/distribution/v1beta1/query.d.ts +44 -157
  153. package/cosmos/distribution/v1beta1/query.js +20 -0
  154. package/cosmos/distribution/v1beta1/query.lcd.d.ts +11 -11
  155. package/cosmos/distribution/v1beta1/query.lcd.js +20 -30
  156. package/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +12 -12
  157. package/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
  158. package/cosmos/distribution/v1beta1/tx.d.ts +31 -126
  159. package/cosmos/distribution/v1beta1/tx.js +14 -0
  160. package/cosmos/distribution/v1beta1/tx.registry.d.ts +2 -96
  161. package/cosmos/distribution/v1beta1/tx.registry.js +1 -141
  162. package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +10 -9
  163. package/cosmos/distribution/v1beta1/tx.rpc.msg.js +41 -22
  164. package/cosmos/epochs/module/v1/module.d.ts +3 -4
  165. package/cosmos/epochs/module/v1/module.js +1 -0
  166. package/cosmos/epochs/v1beta1/events.d.ts +5 -11
  167. package/cosmos/epochs/v1beta1/events.js +2 -0
  168. package/cosmos/epochs/v1beta1/genesis.d.ts +6 -20
  169. package/cosmos/epochs/v1beta1/genesis.js +2 -0
  170. package/cosmos/epochs/v1beta1/query.d.ts +10 -32
  171. package/cosmos/epochs/v1beta1/query.js +4 -0
  172. package/cosmos/epochs/v1beta1/query.lcd.d.ts +3 -3
  173. package/cosmos/epochs/v1beta1/query.lcd.js +4 -6
  174. package/cosmos/epochs/v1beta1/query.rpc.Query.d.ts +4 -4
  175. package/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
  176. package/cosmos/evidence/module/v1/module.d.ts +3 -4
  177. package/cosmos/evidence/module/v1/module.js +1 -0
  178. package/cosmos/feegrant/module/v1/module.d.ts +3 -4
  179. package/cosmos/feegrant/module/v1/module.js +1 -0
  180. package/cosmos/feegrant/v1beta1/feegrant.d.ts +12 -43
  181. package/cosmos/feegrant/v1beta1/feegrant.js +4 -3
  182. package/cosmos/feegrant/v1beta1/genesis.d.ts +4 -6
  183. package/cosmos/feegrant/v1beta1/genesis.js +1 -0
  184. package/cosmos/feegrant/v1beta1/query.d.ts +15 -45
  185. package/cosmos/feegrant/v1beta1/query.js +6 -0
  186. package/cosmos/feegrant/v1beta1/query.lcd.d.ts +4 -4
  187. package/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
  188. package/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +5 -5
  189. package/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
  190. package/cosmos/feegrant/v1beta1/tx.d.ts +15 -43
  191. package/cosmos/feegrant/v1beta1/tx.js +6 -0
  192. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +2 -48
  193. package/cosmos/feegrant/v1beta1/tx.registry.js +1 -69
  194. package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +6 -5
  195. package/cosmos/feegrant/v1beta1/tx.rpc.msg.js +18 -10
  196. package/cosmos/genutil/module/v1/module.d.ts +3 -4
  197. package/cosmos/genutil/module/v1/module.js +1 -0
  198. package/cosmos/gov/module/v1/module.d.ts +3 -6
  199. package/cosmos/gov/module/v1/module.js +1 -0
  200. package/cosmos/gov/v1/genesis.d.ts +4 -17
  201. package/cosmos/gov/v1/genesis.js +1 -0
  202. package/cosmos/gov/v1/gov.d.ts +22 -104
  203. package/cosmos/gov/v1/gov.js +10 -3
  204. package/cosmos/gov/v1/query.d.ts +39 -110
  205. package/cosmos/gov/v1/query.js +18 -0
  206. package/cosmos/gov/v1/query.lcd.d.ts +10 -10
  207. package/cosmos/gov/v1/query.lcd.js +18 -27
  208. package/cosmos/gov/v1/query.rpc.Query.d.ts +11 -11
  209. package/cosmos/gov/v1/query.rpc.Query.js +27 -27
  210. package/cosmos/gov/v1/tx.d.ts +36 -115
  211. package/cosmos/gov/v1/tx.js +14 -0
  212. package/cosmos/gov/v1/tx.registry.d.ts +2 -96
  213. package/cosmos/gov/v1/tx.registry.js +1 -141
  214. package/cosmos/gov/v1/tx.rpc.msg.d.ts +10 -9
  215. package/cosmos/gov/v1/tx.rpc.msg.js +32 -22
  216. package/cosmos/gov/v1beta1/genesis.d.ts +4 -12
  217. package/cosmos/gov/v1beta1/genesis.js +1 -0
  218. package/cosmos/gov/v1beta1/gov.d.ts +25 -90
  219. package/cosmos/gov/v1beta1/gov.js +11 -5
  220. package/cosmos/gov/v1beta1/query.d.ts +35 -97
  221. package/cosmos/gov/v1beta1/query.js +16 -0
  222. package/cosmos/gov/v1beta1/query.lcd.d.ts +9 -9
  223. package/cosmos/gov/v1beta1/query.lcd.js +16 -24
  224. package/cosmos/gov/v1beta1/query.rpc.Query.d.ts +10 -10
  225. package/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
  226. package/cosmos/gov/v1beta1/tx.d.ts +23 -62
  227. package/cosmos/gov/v1beta1/tx.js +8 -0
  228. package/cosmos/gov/v1beta1/tx.registry.d.ts +2 -60
  229. package/cosmos/gov/v1beta1/tx.registry.js +1 -87
  230. package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +7 -6
  231. package/cosmos/gov/v1beta1/tx.rpc.msg.js +19 -13
  232. package/cosmos/group/module/v1/module.d.ts +4 -7
  233. package/cosmos/group/module/v1/module.js +1 -0
  234. package/cosmos/group/v1/events.d.ts +24 -62
  235. package/cosmos/group/v1/events.js +11 -0
  236. package/cosmos/group/v1/genesis.d.ts +4 -13
  237. package/cosmos/group/v1/genesis.js +1 -0
  238. package/cosmos/group/v1/query.d.ts +59 -168
  239. package/cosmos/group/v1/query.js +28 -0
  240. package/cosmos/group/v1/query.lcd.d.ts +15 -15
  241. package/cosmos/group/v1/query.lcd.js +29 -43
  242. package/cosmos/group/v1/query.rpc.Query.d.ts +16 -16
  243. package/cosmos/group/v1/query.rpc.Query.js +49 -43
  244. package/cosmos/group/v1/tx.d.ts +59 -170
  245. package/cosmos/group/v1/tx.js +29 -2
  246. package/cosmos/group/v1/tx.registry.d.ts +2 -180
  247. package/cosmos/group/v1/tx.registry.js +1 -267
  248. package/cosmos/group/v1/tx.rpc.msg.d.ts +17 -16
  249. package/cosmos/group/v1/tx.rpc.msg.js +47 -43
  250. package/cosmos/group/v1/types.d.ts +25 -130
  251. package/cosmos/group/v1/types.js +12 -6
  252. package/cosmos/ics23/v1/proofs.d.ts +27 -170
  253. package/cosmos/ics23/v1/proofs.js +14 -3
  254. package/cosmos/mint/module/v1/module.d.ts +3 -6
  255. package/cosmos/mint/module/v1/module.js +1 -0
  256. package/cosmos/mint/v1beta1/genesis.d.ts +4 -7
  257. package/cosmos/mint/v1beta1/genesis.js +1 -0
  258. package/cosmos/mint/v1beta1/mint.d.ts +5 -16
  259. package/cosmos/mint/v1beta1/mint.js +3 -1
  260. package/cosmos/mint/v1beta1/query.d.ts +14 -37
  261. package/cosmos/mint/v1beta1/query.js +6 -0
  262. package/cosmos/mint/v1beta1/query.lcd.d.ts +4 -4
  263. package/cosmos/mint/v1beta1/query.lcd.js +6 -9
  264. package/cosmos/mint/v1beta1/query.rpc.Query.d.ts +5 -5
  265. package/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
  266. package/cosmos/mint/v1beta1/tx.d.ts +6 -20
  267. package/cosmos/mint/v1beta1/tx.js +2 -0
  268. package/cosmos/mint/v1beta1/tx.registry.d.ts +2 -24
  269. package/cosmos/mint/v1beta1/tx.registry.js +1 -33
  270. package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +4 -3
  271. package/cosmos/mint/v1beta1/tx.rpc.msg.js +11 -4
  272. package/cosmos/nft/module/v1/module.d.ts +3 -4
  273. package/cosmos/nft/module/v1/module.js +1 -0
  274. package/cosmos/orm/module/v1alpha1/module.d.ts +3 -8
  275. package/cosmos/orm/module/v1alpha1/module.js +1 -0
  276. package/cosmos/orm/query/v1alpha1/query.d.ts +18 -53
  277. package/cosmos/orm/query/v1alpha1/query.js +7 -0
  278. package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +4 -4
  279. package/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
  280. package/cosmos/params/module/v1/module.d.ts +3 -4
  281. package/cosmos/params/module/v1/module.js +1 -0
  282. package/cosmos/params/v1beta1/params.d.ts +5 -19
  283. package/cosmos/params/v1beta1/params.js +2 -1
  284. package/cosmos/params/v1beta1/query.d.ts +12 -42
  285. package/cosmos/params/v1beta1/query.js +5 -0
  286. package/cosmos/params/v1beta1/query.lcd.d.ts +3 -3
  287. package/cosmos/params/v1beta1/query.lcd.js +4 -6
  288. package/cosmos/params/v1beta1/query.rpc.Query.d.ts +4 -4
  289. package/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
  290. package/cosmos/protocolpool/module/v1/module.d.ts +3 -5
  291. package/cosmos/protocolpool/module/v1/module.js +1 -0
  292. package/cosmos/protocolpool/v1/genesis.d.ts +4 -7
  293. package/cosmos/protocolpool/v1/genesis.js +1 -0
  294. package/cosmos/protocolpool/v1/query.d.ts +19 -57
  295. package/cosmos/protocolpool/v1/query.js +8 -0
  296. package/cosmos/protocolpool/v1/query.lcd.d.ts +5 -5
  297. package/cosmos/protocolpool/v1/query.lcd.js +8 -12
  298. package/cosmos/protocolpool/v1/query.rpc.Query.d.ts +6 -6
  299. package/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
  300. package/cosmos/protocolpool/v1/tx.d.ts +23 -77
  301. package/cosmos/protocolpool/v1/tx.js +11 -1
  302. package/cosmos/protocolpool/v1/tx.registry.d.ts +2 -72
  303. package/cosmos/protocolpool/v1/tx.registry.js +1 -105
  304. package/cosmos/protocolpool/v1/tx.rpc.msg.d.ts +8 -7
  305. package/cosmos/protocolpool/v1/tx.rpc.msg.js +28 -16
  306. package/cosmos/protocolpool/v1/types.d.ts +5 -13
  307. package/cosmos/protocolpool/v1/types.js +3 -1
  308. package/cosmos/reflection/v1/reflection.d.ts +6 -10
  309. package/cosmos/reflection/v1/reflection.js +2 -0
  310. package/cosmos/slashing/module/v1/module.d.ts +3 -5
  311. package/cosmos/slashing/module/v1/module.js +1 -0
  312. package/cosmos/staking/module/v1/module.d.ts +3 -8
  313. package/cosmos/staking/module/v1/module.js +1 -0
  314. package/cosmos/staking/v1beta1/authz.d.ts +6 -21
  315. package/cosmos/staking/v1beta1/authz.js +3 -3
  316. package/cosmos/staking/v1beta1/genesis.d.ts +6 -19
  317. package/cosmos/staking/v1beta1/genesis.js +2 -0
  318. package/cosmos/staking/v1beta1/query.d.ts +59 -213
  319. package/cosmos/staking/v1beta1/query.js +28 -0
  320. package/cosmos/staking/v1beta1/query.lcd.d.ts +15 -15
  321. package/cosmos/staking/v1beta1/query.lcd.js +28 -42
  322. package/cosmos/staking/v1beta1/query.rpc.Query.d.ts +16 -16
  323. package/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
  324. package/cosmos/staking/v1beta1/staking.d.ts +48 -214
  325. package/cosmos/staking/v1beta1/staking.js +28 -9
  326. package/cosmos/staking/v1beta1/tx.d.ts +32 -116
  327. package/cosmos/staking/v1beta1/tx.js +20 -6
  328. package/cosmos/staking/v1beta1/tx.registry.d.ts +2 -96
  329. package/cosmos/staking/v1beta1/tx.registry.js +1 -141
  330. package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +10 -9
  331. package/cosmos/staking/v1beta1/tx.rpc.msg.js +34 -22
  332. package/cosmos/store/internal/kv/v1beta1/kv.d.ts +5 -11
  333. package/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
  334. package/cosmos/store/snapshots/v1/snapshot.d.ts +15 -66
  335. package/cosmos/store/snapshots/v1/snapshot.js +7 -0
  336. package/cosmos/store/streaming/abci/grpc.d.ts +11 -23
  337. package/cosmos/store/streaming/abci/grpc.js +4 -0
  338. package/cosmos/store/v1beta1/commit_info.d.ts +7 -28
  339. package/cosmos/store/v1beta1/commit_info.js +3 -0
  340. package/cosmos/store/v1beta1/listening.d.ts +6 -25
  341. package/cosmos/store/v1beta1/listening.js +2 -0
  342. package/cosmos/tx/config/v1/config.d.ts +3 -6
  343. package/cosmos/tx/config/v1/config.js +1 -0
  344. package/cosmos/tx/signing/v1beta1/signing.d.ts +13 -38
  345. package/cosmos/tx/signing/v1beta1/signing.js +6 -2
  346. package/cosmos/tx/v1beta1/service.d.ts +42 -188
  347. package/cosmos/tx/v1beta1/service.js +19 -3
  348. package/cosmos/tx/v1beta1/service.lcd.d.ts +4 -4
  349. package/cosmos/tx/v1beta1/service.lcd.js +6 -9
  350. package/cosmos/tx/v1beta1/service.rpc.Service.d.ts +11 -11
  351. package/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
  352. package/cosmos/tx/v1beta1/tx.d.ts +30 -136
  353. package/cosmos/tx/v1beta1/tx.js +13 -0
  354. package/cosmos/upgrade/module/v1/module.d.ts +3 -5
  355. package/cosmos/upgrade/module/v1/module.js +1 -0
  356. package/cosmos/upgrade/v1beta1/query.d.ts +22 -87
  357. package/cosmos/upgrade/v1beta1/query.js +10 -0
  358. package/cosmos/upgrade/v1beta1/query.lcd.d.ts +6 -6
  359. package/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
  360. package/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +7 -7
  361. package/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
  362. package/cosmos/upgrade/v1beta1/tx.d.ts +10 -36
  363. package/cosmos/upgrade/v1beta1/tx.js +4 -0
  364. package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -36
  365. package/cosmos/upgrade/v1beta1/tx.registry.js +1 -51
  366. package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +5 -4
  367. package/cosmos/upgrade/v1beta1/tx.rpc.msg.js +16 -7
  368. package/cosmos/upgrade/v1beta1/upgrade.d.ts +10 -51
  369. package/cosmos/upgrade/v1beta1/upgrade.js +4 -2
  370. package/cosmos/vesting/module/v1/module.d.ts +3 -4
  371. package/cosmos/vesting/module/v1/module.js +1 -0
  372. package/cosmos/vesting/v1beta1/tx.d.ts +15 -60
  373. package/cosmos/vesting/v1beta1/tx.js +6 -0
  374. package/cosmos/vesting/v1beta1/tx.registry.d.ts +2 -48
  375. package/cosmos/vesting/v1beta1/tx.registry.js +1 -69
  376. package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +6 -5
  377. package/cosmos/vesting/v1beta1/tx.rpc.msg.js +21 -10
  378. package/cosmos/vesting/v1beta1/vesting.d.ts +15 -59
  379. package/cosmos/vesting/v1beta1/vesting.js +6 -0
  380. package/cosmos_proto/bundle.d.ts +2 -3
  381. package/cosmos_proto/cosmos.d.ts +3 -25
  382. package/cosmos_proto/cosmos.js +1 -2
  383. package/esm/cosmos/app/runtime/v1alpha1/module.js +2 -0
  384. package/esm/cosmos/app/v1alpha1/module.js +3 -0
  385. package/esm/cosmos/auth/module/v1/module.js +2 -0
  386. package/esm/cosmos/auth/v1beta1/auth.js +4 -2
  387. package/esm/cosmos/auth/v1beta1/genesis.js +1 -0
  388. package/esm/cosmos/auth/v1beta1/query.js +20 -0
  389. package/esm/cosmos/auth/v1beta1/query.lcd.js +21 -31
  390. package/esm/cosmos/auth/v1beta1/query.rpc.Query.js +48 -31
  391. package/esm/cosmos/auth/v1beta1/tx.js +2 -0
  392. package/esm/cosmos/auth/v1beta1/tx.registry.js +0 -31
  393. package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +9 -3
  394. package/esm/cosmos/authz/module/v1/module.js +1 -0
  395. package/esm/cosmos/authz/v1beta1/authz.js +4 -1
  396. package/esm/cosmos/authz/v1beta1/event.js +2 -0
  397. package/esm/cosmos/authz/v1beta1/genesis.js +1 -0
  398. package/esm/cosmos/authz/v1beta1/query.js +6 -0
  399. package/esm/cosmos/authz/v1beta1/query.lcd.js +6 -9
  400. package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +13 -9
  401. package/esm/cosmos/authz/v1beta1/tx.js +6 -0
  402. package/esm/cosmos/authz/v1beta1/tx.registry.js +0 -67
  403. package/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +18 -9
  404. package/esm/cosmos/bank/module/v1/module.js +1 -0
  405. package/esm/cosmos/bank/v1beta1/authz.js +1 -1
  406. package/esm/cosmos/bank/v1beta1/bank.js +7 -1
  407. package/esm/cosmos/bank/v1beta1/genesis.js +2 -0
  408. package/esm/cosmos/bank/v1beta1/query.js +27 -0
  409. package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -41
  410. package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +78 -41
  411. package/esm/cosmos/bank/v1beta1/tx.js +8 -0
  412. package/esm/cosmos/bank/v1beta1/tx.registry.js +0 -85
  413. package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +23 -12
  414. package/esm/cosmos/base/abci/v1beta1/abci.js +11 -0
  415. package/esm/cosmos/base/node/v1beta1/query.js +4 -0
  416. package/esm/cosmos/base/node/v1beta1/query.lcd.js +4 -6
  417. package/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +6 -6
  418. package/esm/cosmos/base/query/v1beta1/pagination.js +2 -0
  419. package/esm/cosmos/base/reflection/v2alpha1/reflection.js +26 -0
  420. package/esm/cosmos/base/v1beta1/coin.js +5 -1
  421. package/esm/cosmos/benchmark/module/v1/module.js +2 -0
  422. package/esm/cosmos/benchmark/v1/benchmark.js +1 -0
  423. package/esm/cosmos/benchmark/v1/tx.js +2 -0
  424. package/esm/cosmos/benchmark/v1/tx.registry.js +0 -31
  425. package/esm/cosmos/benchmark/v1/tx.rpc.msg.js +6 -3
  426. package/esm/cosmos/circuit/module/v1/module.js +1 -0
  427. package/esm/cosmos/circuit/v1/query.js +6 -0
  428. package/esm/cosmos/circuit/v1/query.lcd.js +7 -10
  429. package/esm/cosmos/circuit/v1/query.rpc.Query.js +10 -10
  430. package/esm/cosmos/circuit/v1/tx.js +6 -0
  431. package/esm/cosmos/circuit/v1/tx.registry.js +0 -67
  432. package/esm/cosmos/circuit/v1/tx.rpc.msg.js +14 -9
  433. package/esm/cosmos/circuit/v1/types.js +3 -1
  434. package/esm/cosmos/consensus/module/v1/module.js +1 -0
  435. package/esm/cosmos/consensus/v1/query.js +2 -0
  436. package/esm/cosmos/consensus/v1/query.lcd.js +2 -3
  437. package/esm/cosmos/consensus/v1/query.rpc.Query.js +3 -3
  438. package/esm/cosmos/consensus/v1/tx.js +2 -0
  439. package/esm/cosmos/consensus/v1/tx.registry.js +0 -31
  440. package/esm/cosmos/consensus/v1/tx.rpc.msg.js +9 -3
  441. package/esm/cosmos/counter/module/v1/module.js +1 -0
  442. package/esm/cosmos/counter/v1/query.js +2 -0
  443. package/esm/cosmos/counter/v1/query.rpc.Query.js +3 -3
  444. package/esm/cosmos/counter/v1/tx.js +2 -0
  445. package/esm/cosmos/counter/v1/tx.registry.js +0 -31
  446. package/esm/cosmos/counter/v1/tx.rpc.msg.js +6 -3
  447. package/esm/cosmos/crisis/module/v1/module.js +1 -0
  448. package/esm/cosmos/crypto/ed25519/keys.js +2 -0
  449. package/esm/cosmos/crypto/hd/v1/hd.js +1 -0
  450. package/esm/cosmos/crypto/keyring/v1/record.js +5 -0
  451. package/esm/cosmos/crypto/multisig/keys.js +1 -0
  452. package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +2 -0
  453. package/esm/cosmos/crypto/secp256k1/keys.js +2 -0
  454. package/esm/cosmos/crypto/secp256r1/keys.js +2 -0
  455. package/esm/cosmos/distribution/module/v1/module.js +1 -0
  456. package/esm/cosmos/distribution/v1beta1/distribution.js +13 -3
  457. package/esm/cosmos/distribution/v1beta1/genesis.js +8 -0
  458. package/esm/cosmos/distribution/v1beta1/query.js +20 -0
  459. package/esm/cosmos/distribution/v1beta1/query.lcd.js +20 -30
  460. package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +31 -30
  461. package/esm/cosmos/distribution/v1beta1/tx.js +14 -0
  462. package/esm/cosmos/distribution/v1beta1/tx.registry.js +0 -139
  463. package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +39 -21
  464. package/esm/cosmos/epochs/module/v1/module.js +1 -0
  465. package/esm/cosmos/epochs/v1beta1/events.js +2 -0
  466. package/esm/cosmos/epochs/v1beta1/genesis.js +2 -0
  467. package/esm/cosmos/epochs/v1beta1/query.js +4 -0
  468. package/esm/cosmos/epochs/v1beta1/query.lcd.js +4 -6
  469. package/esm/cosmos/epochs/v1beta1/query.rpc.Query.js +6 -6
  470. package/esm/cosmos/evidence/module/v1/module.js +1 -0
  471. package/esm/cosmos/feegrant/module/v1/module.js +1 -0
  472. package/esm/cosmos/feegrant/v1beta1/feegrant.js +4 -3
  473. package/esm/cosmos/feegrant/v1beta1/genesis.js +1 -0
  474. package/esm/cosmos/feegrant/v1beta1/query.js +6 -0
  475. package/esm/cosmos/feegrant/v1beta1/query.lcd.js +6 -9
  476. package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +11 -9
  477. package/esm/cosmos/feegrant/v1beta1/tx.js +6 -0
  478. package/esm/cosmos/feegrant/v1beta1/tx.registry.js +0 -67
  479. package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +16 -9
  480. package/esm/cosmos/genutil/module/v1/module.js +1 -0
  481. package/esm/cosmos/gov/module/v1/module.js +1 -0
  482. package/esm/cosmos/gov/v1/genesis.js +1 -0
  483. package/esm/cosmos/gov/v1/gov.js +9 -2
  484. package/esm/cosmos/gov/v1/query.js +18 -0
  485. package/esm/cosmos/gov/v1/query.lcd.js +18 -27
  486. package/esm/cosmos/gov/v1/query.rpc.Query.js +27 -27
  487. package/esm/cosmos/gov/v1/tx.js +14 -0
  488. package/esm/cosmos/gov/v1/tx.registry.js +0 -139
  489. package/esm/cosmos/gov/v1/tx.rpc.msg.js +30 -21
  490. package/esm/cosmos/gov/v1beta1/genesis.js +1 -0
  491. package/esm/cosmos/gov/v1beta1/gov.js +10 -4
  492. package/esm/cosmos/gov/v1beta1/query.js +16 -0
  493. package/esm/cosmos/gov/v1beta1/query.lcd.js +16 -24
  494. package/esm/cosmos/gov/v1beta1/query.rpc.Query.js +24 -24
  495. package/esm/cosmos/gov/v1beta1/tx.js +8 -0
  496. package/esm/cosmos/gov/v1beta1/tx.registry.js +0 -85
  497. package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +17 -12
  498. package/esm/cosmos/group/module/v1/module.js +1 -0
  499. package/esm/cosmos/group/v1/events.js +11 -0
  500. package/esm/cosmos/group/v1/genesis.js +1 -0
  501. package/esm/cosmos/group/v1/query.js +28 -0
  502. package/esm/cosmos/group/v1/query.lcd.js +29 -43
  503. package/esm/cosmos/group/v1/query.rpc.Query.js +49 -43
  504. package/esm/cosmos/group/v1/tx.js +28 -1
  505. package/esm/cosmos/group/v1/tx.registry.js +0 -265
  506. package/esm/cosmos/group/v1/tx.rpc.msg.js +45 -42
  507. package/esm/cosmos/group/v1/types.js +11 -5
  508. package/esm/cosmos/ics23/v1/proofs.js +13 -2
  509. package/esm/cosmos/mint/module/v1/module.js +1 -0
  510. package/esm/cosmos/mint/v1beta1/genesis.js +1 -0
  511. package/esm/cosmos/mint/v1beta1/mint.js +3 -1
  512. package/esm/cosmos/mint/v1beta1/query.js +6 -0
  513. package/esm/cosmos/mint/v1beta1/query.lcd.js +6 -9
  514. package/esm/cosmos/mint/v1beta1/query.rpc.Query.js +9 -9
  515. package/esm/cosmos/mint/v1beta1/tx.js +2 -0
  516. package/esm/cosmos/mint/v1beta1/tx.registry.js +0 -31
  517. package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +9 -3
  518. package/esm/cosmos/nft/module/v1/module.js +1 -0
  519. package/esm/cosmos/orm/module/v1alpha1/module.js +1 -0
  520. package/esm/cosmos/orm/query/v1alpha1/query.js +7 -0
  521. package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +6 -6
  522. package/esm/cosmos/params/module/v1/module.js +1 -0
  523. package/esm/cosmos/params/v1beta1/params.js +2 -1
  524. package/esm/cosmos/params/v1beta1/query.js +5 -0
  525. package/esm/cosmos/params/v1beta1/query.lcd.js +4 -6
  526. package/esm/cosmos/params/v1beta1/query.rpc.Query.js +9 -6
  527. package/esm/cosmos/protocolpool/module/v1/module.js +1 -0
  528. package/esm/cosmos/protocolpool/v1/genesis.js +1 -0
  529. package/esm/cosmos/protocolpool/v1/query.js +8 -0
  530. package/esm/cosmos/protocolpool/v1/query.lcd.js +8 -12
  531. package/esm/cosmos/protocolpool/v1/query.rpc.Query.js +12 -12
  532. package/esm/cosmos/protocolpool/v1/tx.js +11 -1
  533. package/esm/cosmos/protocolpool/v1/tx.registry.js +0 -103
  534. package/esm/cosmos/protocolpool/v1/tx.rpc.msg.js +26 -15
  535. package/esm/cosmos/protocolpool/v1/types.js +3 -1
  536. package/esm/cosmos/reflection/v1/reflection.js +2 -0
  537. package/esm/cosmos/slashing/module/v1/module.js +1 -0
  538. package/esm/cosmos/staking/module/v1/module.js +1 -0
  539. package/esm/cosmos/staking/v1beta1/authz.js +2 -2
  540. package/esm/cosmos/staking/v1beta1/genesis.js +2 -0
  541. package/esm/cosmos/staking/v1beta1/query.js +28 -0
  542. package/esm/cosmos/staking/v1beta1/query.lcd.js +28 -42
  543. package/esm/cosmos/staking/v1beta1/query.rpc.Query.js +67 -42
  544. package/esm/cosmos/staking/v1beta1/staking.js +23 -4
  545. package/esm/cosmos/staking/v1beta1/tx.js +16 -2
  546. package/esm/cosmos/staking/v1beta1/tx.registry.js +0 -139
  547. package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +32 -21
  548. package/esm/cosmos/store/internal/kv/v1beta1/kv.js +2 -0
  549. package/esm/cosmos/store/snapshots/v1/snapshot.js +7 -0
  550. package/esm/cosmos/store/streaming/abci/grpc.js +4 -0
  551. package/esm/cosmos/store/v1beta1/commit_info.js +3 -0
  552. package/esm/cosmos/store/v1beta1/listening.js +2 -0
  553. package/esm/cosmos/tx/config/v1/config.js +1 -0
  554. package/esm/cosmos/tx/signing/v1beta1/signing.js +5 -1
  555. package/esm/cosmos/tx/v1beta1/service.js +18 -2
  556. package/esm/cosmos/tx/v1beta1/service.lcd.js +6 -9
  557. package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +37 -27
  558. package/esm/cosmos/tx/v1beta1/tx.js +13 -0
  559. package/esm/cosmos/upgrade/module/v1/module.js +1 -0
  560. package/esm/cosmos/upgrade/v1beta1/query.js +10 -0
  561. package/esm/cosmos/upgrade/v1beta1/query.lcd.js +10 -15
  562. package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +24 -15
  563. package/esm/cosmos/upgrade/v1beta1/tx.js +4 -0
  564. package/esm/cosmos/upgrade/v1beta1/tx.registry.js +0 -49
  565. package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +14 -6
  566. package/esm/cosmos/upgrade/v1beta1/upgrade.js +4 -2
  567. package/esm/cosmos/vesting/module/v1/module.js +1 -0
  568. package/esm/cosmos/vesting/v1beta1/tx.js +6 -0
  569. package/esm/cosmos/vesting/v1beta1/tx.registry.js +0 -67
  570. package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +19 -9
  571. package/esm/cosmos/vesting/v1beta1/vesting.js +6 -0
  572. package/esm/cosmos_proto/cosmos.js +0 -1
  573. package/esm/google/protobuf/any.js +0 -1
  574. package/esm/google/protobuf/descriptor.js +4 -24
  575. package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
  576. package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
  577. package/esm/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
  578. package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
  579. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
  580. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +0 -67
  581. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +12 -9
  582. package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
  583. package/esm/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
  584. package/esm/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
  585. package/esm/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
  586. package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
  587. package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
  588. package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +0 -49
  589. package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +9 -6
  590. package/esm/ibc/applications/interchain_accounts/v1/account.js +1 -1
  591. package/esm/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
  592. package/esm/ibc/applications/interchain_accounts/v1/packet.js +2 -1
  593. package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
  594. package/esm/ibc/applications/transfer/v1/authz.js +2 -1
  595. package/esm/ibc/applications/transfer/v1/denomtrace.js +1 -0
  596. package/esm/ibc/applications/transfer/v1/genesis.js +1 -0
  597. package/esm/ibc/applications/transfer/v1/packet.js +1 -0
  598. package/esm/ibc/applications/transfer/v1/query.js +12 -0
  599. package/esm/ibc/applications/transfer/v1/query.lcd.js +13 -19
  600. package/esm/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
  601. package/esm/ibc/applications/transfer/v1/token.js +3 -0
  602. package/esm/ibc/applications/transfer/v1/transfer.js +1 -0
  603. package/esm/ibc/applications/transfer/v1/tx.js +4 -0
  604. package/esm/ibc/applications/transfer/v1/tx.registry.js +0 -49
  605. package/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +9 -6
  606. package/esm/ibc/core/channel/v1/channel.js +8 -2
  607. package/esm/ibc/core/channel/v1/genesis.js +2 -0
  608. package/esm/ibc/core/channel/v1/query.js +28 -0
  609. package/esm/ibc/core/channel/v1/query.lcd.js +29 -43
  610. package/esm/ibc/core/channel/v1/query.rpc.Query.js +51 -43
  611. package/esm/ibc/core/channel/v1/tx.js +20 -1
  612. package/esm/ibc/core/channel/v1/tx.registry.js +0 -193
  613. package/esm/ibc/core/channel/v1/tx.rpc.msg.js +34 -30
  614. package/esm/ibc/core/channel/v2/genesis.js +3 -0
  615. package/esm/ibc/core/channel/v2/packet.js +4 -1
  616. package/esm/ibc/core/channel/v2/query.js +16 -0
  617. package/esm/ibc/core/channel/v2/query.lcd.js +16 -24
  618. package/esm/ibc/core/channel/v2/query.rpc.Query.js +24 -24
  619. package/esm/ibc/core/channel/v2/tx.js +8 -1
  620. package/esm/ibc/core/channel/v2/tx.registry.js +0 -85
  621. package/esm/ibc/core/channel/v2/tx.rpc.msg.js +15 -12
  622. package/esm/ibc/core/client/v1/client.js +5 -0
  623. package/esm/ibc/core/client/v1/genesis.js +3 -0
  624. package/esm/ibc/core/client/v1/query.js +22 -0
  625. package/esm/ibc/core/client/v1/query.lcd.js +21 -31
  626. package/esm/ibc/core/client/v1/query.rpc.Query.js +36 -34
  627. package/esm/ibc/core/client/v1/tx.js +16 -0
  628. package/esm/ibc/core/client/v1/tx.registry.js +0 -157
  629. package/esm/ibc/core/client/v1/tx.rpc.msg.js +27 -24
  630. package/esm/ibc/core/client/v2/config.js +1 -0
  631. package/esm/ibc/core/client/v2/counterparty.js +1 -0
  632. package/esm/ibc/core/client/v2/genesis.js +2 -0
  633. package/esm/ibc/core/client/v2/query.js +4 -0
  634. package/esm/ibc/core/client/v2/query.lcd.js +4 -6
  635. package/esm/ibc/core/client/v2/query.rpc.Query.js +6 -6
  636. package/esm/ibc/core/client/v2/tx.js +4 -0
  637. package/esm/ibc/core/client/v2/tx.registry.js +0 -49
  638. package/esm/ibc/core/client/v2/tx.rpc.msg.js +9 -6
  639. package/esm/ibc/core/commitment/v1/commitment.js +3 -0
  640. package/esm/ibc/core/commitment/v2/commitment.js +1 -0
  641. package/esm/ibc/core/connection/v1/connection.js +7 -1
  642. package/esm/ibc/core/connection/v1/genesis.js +1 -0
  643. package/esm/ibc/core/connection/v1/query.js +12 -0
  644. package/esm/ibc/core/connection/v1/query.lcd.js +13 -19
  645. package/esm/ibc/core/connection/v1/query.rpc.Query.js +22 -19
  646. package/esm/ibc/core/connection/v1/tx.js +10 -0
  647. package/esm/ibc/core/connection/v1/tx.registry.js +0 -103
  648. package/esm/ibc/core/connection/v1/tx.rpc.msg.js +20 -15
  649. package/esm/ibc/lightclients/solomachine/v2/solomachine.js +16 -1
  650. package/esm/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
  651. package/esm/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
  652. package/esm/ibc/lightclients/wasm/v1/genesis.js +2 -0
  653. package/esm/ibc/lightclients/wasm/v1/query.js +4 -0
  654. package/esm/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
  655. package/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
  656. package/esm/ibc/lightclients/wasm/v1/tx.js +6 -0
  657. package/esm/ibc/lightclients/wasm/v1/tx.registry.js +0 -67
  658. package/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +12 -9
  659. package/esm/ibc/lightclients/wasm/v1/wasm.js +4 -0
  660. package/esm/index.js +1 -0
  661. package/esm/sparkdream/blog/params.js +1 -0
  662. package/esm/sparkdream/blog/query.lcd.js +7 -10
  663. package/esm/sparkdream/blog/query.rpc.Query.js +10 -10
  664. package/esm/sparkdream/blog/tx.js +1 -0
  665. package/esm/sparkdream/blog/tx.registry.js +0 -85
  666. package/esm/sparkdream/blog/tx.rpc.msg.js +16 -12
  667. package/esm/sparkdream/sparkdream/params.js +1 -0
  668. package/esm/sparkdream/sparkdream/query.lcd.js +2 -3
  669. package/esm/sparkdream/sparkdream/query.rpc.Query.js +3 -3
  670. package/esm/sparkdream/sparkdream/tx.js +1 -0
  671. package/esm/sparkdream/sparkdream/tx.registry.js +0 -31
  672. package/esm/sparkdream/sparkdream/tx.rpc.msg.js +7 -3
  673. package/esm/tendermint/abci/types.js +0 -6
  674. package/esm/tendermint/types/types.js +0 -1
  675. package/esm/tendermint/types/validator.js +0 -1
  676. package/esm/types.js +7 -0
  677. package/google/api/http.d.ts +4 -295
  678. package/google/bundle.d.ts +37 -57
  679. package/google/protobuf/any.d.ts +2 -94
  680. package/google/protobuf/any.js +0 -1
  681. package/google/protobuf/descriptor.d.ts +35 -370
  682. package/google/protobuf/descriptor.js +6 -26
  683. package/google/protobuf/duration.d.ts +2 -65
  684. package/google/protobuf/timestamp.d.ts +2 -96
  685. package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +3 -8
  686. package/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -0
  687. package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +10 -21
  688. package/ibc/applications/interchain_accounts/controller/v1/query.js +4 -0
  689. package/ibc/applications/interchain_accounts/controller/v1/query.lcd.d.ts +3 -3
  690. package/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +4 -6
  691. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.d.ts +4 -4
  692. package/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +6 -6
  693. package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +15 -39
  694. package/ibc/applications/interchain_accounts/controller/v1/tx.js +6 -0
  695. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +2 -48
  696. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +1 -69
  697. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.d.ts +6 -5
  698. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +14 -10
  699. package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +11 -42
  700. package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +5 -0
  701. package/ibc/applications/interchain_accounts/host/v1/host.d.ts +5 -18
  702. package/ibc/applications/interchain_accounts/host/v1/host.js +2 -0
  703. package/ibc/applications/interchain_accounts/host/v1/query.d.ts +6 -10
  704. package/ibc/applications/interchain_accounts/host/v1/query.js +2 -0
  705. package/ibc/applications/interchain_accounts/host/v1/query.lcd.d.ts +2 -2
  706. package/ibc/applications/interchain_accounts/host/v1/query.lcd.js +2 -3
  707. package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.d.ts +3 -3
  708. package/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +3 -3
  709. package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +10 -23
  710. package/ibc/applications/interchain_accounts/host/v1/tx.js +4 -0
  711. package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -36
  712. package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +1 -51
  713. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.d.ts +5 -4
  714. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +11 -7
  715. package/ibc/applications/interchain_accounts/v1/account.d.ts +4 -9
  716. package/ibc/applications/interchain_accounts/v1/account.js +1 -1
  717. package/ibc/applications/interchain_accounts/v1/metadata.d.ts +3 -13
  718. package/ibc/applications/interchain_accounts/v1/metadata.js +1 -0
  719. package/ibc/applications/interchain_accounts/v1/packet.d.ts +6 -14
  720. package/ibc/applications/interchain_accounts/v1/packet.js +3 -2
  721. package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +6 -31
  722. package/ibc/applications/packet_forward_middleware/v1/genesis.js +2 -0
  723. package/ibc/applications/transfer/v1/authz.d.ts +6 -20
  724. package/ibc/applications/transfer/v1/authz.js +2 -1
  725. package/ibc/applications/transfer/v1/denomtrace.d.ts +3 -10
  726. package/ibc/applications/transfer/v1/denomtrace.js +1 -0
  727. package/ibc/applications/transfer/v1/genesis.d.ts +6 -11
  728. package/ibc/applications/transfer/v1/genesis.js +1 -0
  729. package/ibc/applications/transfer/v1/packet.d.ts +3 -13
  730. package/ibc/applications/transfer/v1/packet.js +1 -0
  731. package/ibc/applications/transfer/v1/query.d.ts +29 -83
  732. package/ibc/applications/transfer/v1/query.js +12 -0
  733. package/ibc/applications/transfer/v1/query.lcd.d.ts +7 -7
  734. package/ibc/applications/transfer/v1/query.lcd.js +13 -19
  735. package/ibc/applications/transfer/v1/query.rpc.Query.d.ts +8 -8
  736. package/ibc/applications/transfer/v1/query.rpc.Query.js +19 -19
  737. package/ibc/applications/transfer/v1/token.d.ts +7 -18
  738. package/ibc/applications/transfer/v1/token.js +3 -0
  739. package/ibc/applications/transfer/v1/transfer.d.ts +3 -11
  740. package/ibc/applications/transfer/v1/transfer.js +1 -0
  741. package/ibc/applications/transfer/v1/tx.d.ts +11 -37
  742. package/ibc/applications/transfer/v1/tx.js +4 -0
  743. package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -36
  744. package/ibc/applications/transfer/v1/tx.registry.js +1 -51
  745. package/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +5 -4
  746. package/ibc/applications/transfer/v1/tx.rpc.msg.js +11 -7
  747. package/ibc/bundle.d.ts +581 -848
  748. package/ibc/core/channel/v1/channel.d.ts +18 -96
  749. package/ibc/core/channel/v1/channel.js +9 -3
  750. package/ibc/core/channel/v1/genesis.d.ts +6 -23
  751. package/ibc/core/channel/v1/genesis.js +2 -0
  752. package/ibc/core/channel/v1/query.d.ts +61 -273
  753. package/ibc/core/channel/v1/query.js +28 -0
  754. package/ibc/core/channel/v1/query.lcd.d.ts +15 -15
  755. package/ibc/core/channel/v1/query.lcd.js +29 -43
  756. package/ibc/core/channel/v1/query.rpc.Query.d.ts +16 -16
  757. package/ibc/core/channel/v1/query.rpc.Query.js +51 -43
  758. package/ibc/core/channel/v1/tx.d.ts +43 -167
  759. package/ibc/core/channel/v1/tx.js +21 -2
  760. package/ibc/core/channel/v1/tx.registry.d.ts +2 -132
  761. package/ibc/core/channel/v1/tx.registry.js +1 -195
  762. package/ibc/core/channel/v1/tx.rpc.msg.d.ts +13 -12
  763. package/ibc/core/channel/v1/tx.rpc.msg.js +36 -31
  764. package/ibc/core/channel/v2/genesis.d.ts +7 -27
  765. package/ibc/core/channel/v2/genesis.js +3 -0
  766. package/ibc/core/channel/v2/packet.d.ts +9 -37
  767. package/ibc/core/channel/v2/packet.js +5 -2
  768. package/ibc/core/channel/v2/query.d.ts +36 -117
  769. package/ibc/core/channel/v2/query.js +16 -0
  770. package/ibc/core/channel/v2/query.lcd.d.ts +9 -9
  771. package/ibc/core/channel/v2/query.lcd.js +16 -24
  772. package/ibc/core/channel/v2/query.rpc.Query.d.ts +10 -10
  773. package/ibc/core/channel/v2/query.rpc.Query.js +24 -24
  774. package/ibc/core/channel/v2/tx.d.ts +19 -56
  775. package/ibc/core/channel/v2/tx.js +9 -2
  776. package/ibc/core/channel/v2/tx.registry.d.ts +2 -60
  777. package/ibc/core/channel/v2/tx.registry.js +1 -87
  778. package/ibc/core/channel/v2/tx.rpc.msg.d.ts +7 -6
  779. package/ibc/core/channel/v2/tx.rpc.msg.js +17 -13
  780. package/ibc/core/client/v1/client.d.ts +12 -53
  781. package/ibc/core/client/v1/client.js +5 -0
  782. package/ibc/core/client/v1/genesis.d.ts +8 -30
  783. package/ibc/core/client/v1/genesis.js +3 -0
  784. package/ibc/core/client/v1/query.d.ts +49 -191
  785. package/ibc/core/client/v1/query.js +22 -0
  786. package/ibc/core/client/v1/query.lcd.d.ts +11 -11
  787. package/ibc/core/client/v1/query.lcd.js +21 -31
  788. package/ibc/core/client/v1/query.rpc.Query.d.ts +13 -13
  789. package/ibc/core/client/v1/query.rpc.Query.js +36 -34
  790. package/ibc/core/client/v1/tx.d.ts +36 -107
  791. package/ibc/core/client/v1/tx.js +16 -0
  792. package/ibc/core/client/v1/tx.registry.d.ts +2 -108
  793. package/ibc/core/client/v1/tx.registry.js +1 -159
  794. package/ibc/core/client/v1/tx.rpc.msg.d.ts +11 -10
  795. package/ibc/core/client/v1/tx.rpc.msg.js +29 -25
  796. package/ibc/core/client/v2/config.d.ts +3 -10
  797. package/ibc/core/client/v2/config.js +1 -0
  798. package/ibc/core/client/v2/counterparty.d.ts +3 -6
  799. package/ibc/core/client/v2/counterparty.js +1 -0
  800. package/ibc/core/client/v2/genesis.d.ts +6 -12
  801. package/ibc/core/client/v2/genesis.js +2 -0
  802. package/ibc/core/client/v2/query.d.ts +11 -28
  803. package/ibc/core/client/v2/query.js +4 -0
  804. package/ibc/core/client/v2/query.lcd.d.ts +3 -3
  805. package/ibc/core/client/v2/query.lcd.js +4 -6
  806. package/ibc/core/client/v2/query.rpc.Query.d.ts +4 -4
  807. package/ibc/core/client/v2/query.rpc.Query.js +6 -6
  808. package/ibc/core/client/v2/tx.d.ts +10 -24
  809. package/ibc/core/client/v2/tx.js +4 -0
  810. package/ibc/core/client/v2/tx.registry.d.ts +2 -36
  811. package/ibc/core/client/v2/tx.registry.js +1 -51
  812. package/ibc/core/client/v2/tx.rpc.msg.d.ts +5 -4
  813. package/ibc/core/client/v2/tx.rpc.msg.js +11 -7
  814. package/ibc/core/commitment/v1/commitment.d.ts +8 -29
  815. package/ibc/core/commitment/v1/commitment.js +3 -0
  816. package/ibc/core/commitment/v2/commitment.d.ts +3 -37
  817. package/ibc/core/commitment/v2/commitment.js +1 -0
  818. package/ibc/core/connection/v1/connection.d.ts +16 -61
  819. package/ibc/core/connection/v1/connection.js +8 -2
  820. package/ibc/core/connection/v1/genesis.d.ts +4 -9
  821. package/ibc/core/connection/v1/genesis.js +1 -0
  822. package/ibc/core/connection/v1/query.d.ts +29 -107
  823. package/ibc/core/connection/v1/query.js +12 -0
  824. package/ibc/core/connection/v1/query.lcd.d.ts +7 -7
  825. package/ibc/core/connection/v1/query.lcd.js +13 -19
  826. package/ibc/core/connection/v1/query.rpc.Query.d.ts +8 -8
  827. package/ibc/core/connection/v1/query.rpc.Query.js +22 -19
  828. package/ibc/core/connection/v1/tx.d.ts +24 -107
  829. package/ibc/core/connection/v1/tx.js +10 -0
  830. package/ibc/core/connection/v1/tx.registry.d.ts +2 -72
  831. package/ibc/core/connection/v1/tx.registry.js +1 -105
  832. package/ibc/core/connection/v1/tx.rpc.msg.d.ts +8 -7
  833. package/ibc/core/connection/v1/tx.rpc.msg.js +22 -16
  834. package/ibc/lightclients/solomachine/v2/solomachine.d.ts +36 -149
  835. package/ibc/lightclients/solomachine/v2/solomachine.js +17 -2
  836. package/ibc/lightclients/solomachine/v3/solomachine.d.ts +18 -75
  837. package/ibc/lightclients/solomachine/v3/solomachine.js +8 -0
  838. package/ibc/lightclients/tendermint/v1/tendermint.d.ts +17 -74
  839. package/ibc/lightclients/tendermint/v1/tendermint.js +5 -0
  840. package/ibc/lightclients/wasm/v1/genesis.d.ts +5 -10
  841. package/ibc/lightclients/wasm/v1/genesis.js +2 -0
  842. package/ibc/lightclients/wasm/v1/query.d.ts +10 -22
  843. package/ibc/lightclients/wasm/v1/query.js +4 -0
  844. package/ibc/lightclients/wasm/v1/query.lcd.d.ts +3 -3
  845. package/ibc/lightclients/wasm/v1/query.lcd.js +5 -7
  846. package/ibc/lightclients/wasm/v1/query.rpc.Query.d.ts +4 -4
  847. package/ibc/lightclients/wasm/v1/query.rpc.Query.js +7 -7
  848. package/ibc/lightclients/wasm/v1/tx.d.ts +13 -33
  849. package/ibc/lightclients/wasm/v1/tx.js +6 -0
  850. package/ibc/lightclients/wasm/v1/tx.registry.d.ts +2 -48
  851. package/ibc/lightclients/wasm/v1/tx.registry.js +1 -69
  852. package/ibc/lightclients/wasm/v1/tx.rpc.msg.d.ts +6 -5
  853. package/ibc/lightclients/wasm/v1/tx.rpc.msg.js +14 -10
  854. package/ibc/lightclients/wasm/v1/wasm.d.ts +10 -29
  855. package/ibc/lightclients/wasm/v1/wasm.js +4 -0
  856. package/index.d.ts +1 -0
  857. package/index.js +1 -0
  858. package/package.json +1 -1
  859. package/sparkdream/blog/genesis.d.ts +3 -6
  860. package/sparkdream/blog/module/module.d.ts +2 -5
  861. package/sparkdream/blog/params.d.ts +3 -4
  862. package/sparkdream/blog/params.js +1 -0
  863. package/sparkdream/blog/post.d.ts +2 -7
  864. package/sparkdream/blog/query.d.ts +10 -29
  865. package/sparkdream/blog/query.lcd.d.ts +4 -4
  866. package/sparkdream/blog/query.lcd.js +7 -10
  867. package/sparkdream/blog/query.rpc.Query.d.ts +5 -5
  868. package/sparkdream/blog/query.rpc.Query.js +10 -10
  869. package/sparkdream/blog/tx.d.ts +11 -42
  870. package/sparkdream/blog/tx.js +1 -0
  871. package/sparkdream/blog/tx.registry.d.ts +2 -60
  872. package/sparkdream/blog/tx.registry.js +1 -87
  873. package/sparkdream/blog/tx.rpc.msg.d.ts +7 -6
  874. package/sparkdream/blog/tx.rpc.msg.js +18 -13
  875. package/sparkdream/bundle.d.ts +31 -103
  876. package/sparkdream/sparkdream/genesis.d.ts +3 -6
  877. package/sparkdream/sparkdream/module/module.d.ts +2 -5
  878. package/sparkdream/sparkdream/params.d.ts +3 -4
  879. package/sparkdream/sparkdream/params.js +1 -0
  880. package/sparkdream/sparkdream/query.d.ts +4 -10
  881. package/sparkdream/sparkdream/query.lcd.d.ts +2 -2
  882. package/sparkdream/sparkdream/query.lcd.js +2 -3
  883. package/sparkdream/sparkdream/query.rpc.Query.d.ts +3 -3
  884. package/sparkdream/sparkdream/query.rpc.Query.js +3 -3
  885. package/sparkdream/sparkdream/tx.d.ts +5 -14
  886. package/sparkdream/sparkdream/tx.js +1 -0
  887. package/sparkdream/sparkdream/tx.registry.d.ts +2 -24
  888. package/sparkdream/sparkdream/tx.registry.js +1 -33
  889. package/sparkdream/sparkdream/tx.rpc.msg.d.ts +4 -3
  890. package/sparkdream/sparkdream/tx.rpc.msg.js +9 -4
  891. package/tendermint/abci/types.d.ts +51 -356
  892. package/tendermint/abci/types.js +2 -8
  893. package/tendermint/bundle.d.ts +89 -97
  894. package/tendermint/crypto/keys.d.ts +2 -6
  895. package/tendermint/crypto/proof.d.ts +6 -34
  896. package/tendermint/p2p/types.d.ts +5 -28
  897. package/tendermint/types/block.d.ts +4 -9
  898. package/tendermint/types/evidence.d.ts +7 -29
  899. package/tendermint/types/params.d.ts +9 -54
  900. package/tendermint/types/types.d.ts +19 -133
  901. package/tendermint/types/types.js +1 -2
  902. package/tendermint/types/validator.d.ts +5 -20
  903. package/tendermint/types/validator.js +1 -2
  904. package/tendermint/version/types.d.ts +3 -20
  905. package/types.d.ts +74 -0
  906. package/types.js +8 -0
@@ -13,6 +13,7 @@ function createBaseQueryAllowanceRequest() {
13
13
  }
14
14
  exports.QueryAllowanceRequest = {
15
15
  typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceRequest",
16
+ aminoType: "cosmos-sdk/QueryAllowanceRequest",
16
17
  encode(message, writer = binary_1.BinaryWriter.create()) {
17
18
  if (message.granter !== "") {
18
19
  writer.uint32(10).string(message.granter);
@@ -93,6 +94,7 @@ function createBaseQueryAllowanceResponse() {
93
94
  }
94
95
  exports.QueryAllowanceResponse = {
95
96
  typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceResponse",
97
+ aminoType: "cosmos-sdk/QueryAllowanceResponse",
96
98
  encode(message, writer = binary_1.BinaryWriter.create()) {
97
99
  if (message.allowance !== undefined) {
98
100
  feegrant_1.Grant.encode(message.allowance, writer.uint32(10).fork()).ldelim();
@@ -163,6 +165,7 @@ function createBaseQueryAllowancesRequest() {
163
165
  }
164
166
  exports.QueryAllowancesRequest = {
165
167
  typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesRequest",
168
+ aminoType: "cosmos-sdk/QueryAllowancesRequest",
166
169
  encode(message, writer = binary_1.BinaryWriter.create()) {
167
170
  if (message.grantee !== "") {
168
171
  writer.uint32(10).string(message.grantee);
@@ -244,6 +247,7 @@ function createBaseQueryAllowancesResponse() {
244
247
  }
245
248
  exports.QueryAllowancesResponse = {
246
249
  typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesResponse",
250
+ aminoType: "cosmos-sdk/QueryAllowancesResponse",
247
251
  encode(message, writer = binary_1.BinaryWriter.create()) {
248
252
  for (const v of message.allowances) {
249
253
  feegrant_1.Grant.encode(v, writer.uint32(10).fork()).ldelim();
@@ -328,6 +332,7 @@ function createBaseQueryAllowancesByGranterRequest() {
328
332
  }
329
333
  exports.QueryAllowancesByGranterRequest = {
330
334
  typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest",
335
+ aminoType: "cosmos-sdk/QueryAllowancesByGranterRequest",
331
336
  encode(message, writer = binary_1.BinaryWriter.create()) {
332
337
  if (message.granter !== "") {
333
338
  writer.uint32(10).string(message.granter);
@@ -409,6 +414,7 @@ function createBaseQueryAllowancesByGranterResponse() {
409
414
  }
410
415
  exports.QueryAllowancesByGranterResponse = {
411
416
  typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse",
417
+ aminoType: "cosmos-sdk/QueryAllowancesByGranterResponse",
412
418
  encode(message, writer = binary_1.BinaryWriter.create()) {
413
419
  for (const v of message.allowances) {
414
420
  feegrant_1.Grant.encode(v, writer.uint32(10).fork()).ldelim();
@@ -1,11 +1,11 @@
1
1
  import { LCDClient } from "@cosmology/lcd";
2
- import { QueryAllowanceRequest, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponseSDKType } from "./query";
2
+ import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query";
3
3
  export declare class LCDQueryClient {
4
4
  req: LCDClient;
5
5
  constructor({ requestClient }: {
6
6
  requestClient: LCDClient;
7
7
  });
8
- allowance(params: QueryAllowanceRequest): Promise<QueryAllowanceResponseSDKType>;
9
- allowances(params: QueryAllowancesRequest): Promise<QueryAllowancesResponseSDKType>;
10
- allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponseSDKType>;
8
+ allowance: (params: QueryAllowanceRequest) => Promise<QueryAllowanceResponse>;
9
+ allowances: (params: QueryAllowancesRequest) => Promise<QueryAllowancesResponse>;
10
+ allowancesByGranter: (params: QueryAllowancesByGranterRequest) => Promise<QueryAllowancesByGranterResponse>;
11
11
  }
@@ -7,17 +7,14 @@ class LCDQueryClient {
7
7
  req;
8
8
  constructor({ requestClient }) {
9
9
  this.req = requestClient;
10
- this.allowance = this.allowance.bind(this);
11
- this.allowances = this.allowances.bind(this);
12
- this.allowancesByGranter = this.allowancesByGranter.bind(this);
13
10
  }
14
11
  /* Allowance returns granted allwance to the grantee by the granter. */
15
- async allowance(params) {
12
+ allowance = async (params) => {
16
13
  const endpoint = `cosmos/feegrant/v1beta1/allowance/${params.granter}/${params.grantee}`;
17
14
  return await this.req.get(endpoint);
18
- }
15
+ };
19
16
  /* Allowances returns all the grants for the given grantee address. */
20
- async allowances(params) {
17
+ allowances = async (params) => {
21
18
  const options = {
22
19
  params: {}
23
20
  };
@@ -26,11 +23,11 @@ class LCDQueryClient {
26
23
  }
27
24
  const endpoint = `cosmos/feegrant/v1beta1/allowances/${params.grantee}`;
28
25
  return await this.req.get(endpoint, options);
29
- }
26
+ };
30
27
  /* AllowancesByGranter returns all the grants given by an address
31
28
 
32
29
  Since: cosmos-sdk 0.46 */
33
- async allowancesByGranter(params) {
30
+ allowancesByGranter = async (params) => {
34
31
  const options = {
35
32
  params: {}
36
33
  };
@@ -39,6 +36,6 @@ class LCDQueryClient {
39
36
  }
40
37
  const endpoint = `cosmos/feegrant/v1beta1/issued/${params.granter}`;
41
38
  return await this.req.get(endpoint, options);
42
- }
39
+ };
43
40
  }
44
41
  exports.LCDQueryClient = LCDQueryClient;
@@ -1,4 +1,4 @@
1
- import { Rpc } from "../../../helpers";
1
+ import { TxRpc } from "../../../types";
2
2
  import { QueryClient } from "@cosmjs/stargate";
3
3
  import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query";
4
4
  /** Query defines the gRPC querier service. */
@@ -16,10 +16,10 @@ export interface Query {
16
16
  }
17
17
  export declare class QueryClientImpl implements Query {
18
18
  private readonly rpc;
19
- constructor(rpc: Rpc);
20
- allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
21
- allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
22
- allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
19
+ constructor(rpc: TxRpc);
20
+ allowance: (request: QueryAllowanceRequest) => Promise<QueryAllowanceResponse>;
21
+ allowances: (request: QueryAllowancesRequest) => Promise<QueryAllowancesResponse>;
22
+ allowancesByGranter: (request: QueryAllowancesByGranterRequest) => Promise<QueryAllowancesByGranterResponse>;
23
23
  }
24
24
  export declare const createRpcQueryExtension: (base: QueryClient) => {
25
25
  allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
@@ -8,25 +8,27 @@ class QueryClientImpl {
8
8
  rpc;
9
9
  constructor(rpc) {
10
10
  this.rpc = rpc;
11
- this.allowance = this.allowance.bind(this);
12
- this.allowances = this.allowances.bind(this);
13
- this.allowancesByGranter = this.allowancesByGranter.bind(this);
14
11
  }
15
- allowance(request) {
12
+ /* Allowance returns granted allwance to the grantee by the granter. */
13
+ allowance = async (request) => {
16
14
  const data = query_1.QueryAllowanceRequest.encode(request).finish();
17
15
  const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowance", data);
18
16
  return promise.then(data => query_1.QueryAllowanceResponse.decode(new binary_1.BinaryReader(data)));
19
- }
20
- allowances(request) {
17
+ };
18
+ /* Allowances returns all the grants for the given grantee address. */
19
+ allowances = async (request) => {
21
20
  const data = query_1.QueryAllowancesRequest.encode(request).finish();
22
21
  const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data);
23
22
  return promise.then(data => query_1.QueryAllowancesResponse.decode(new binary_1.BinaryReader(data)));
24
- }
25
- allowancesByGranter(request) {
23
+ };
24
+ /* AllowancesByGranter returns all the grants given by an address
25
+
26
+ Since: cosmos-sdk 0.46 */
27
+ allowancesByGranter = async (request) => {
26
28
  const data = query_1.QueryAllowancesByGranterRequest.encode(request).finish();
27
29
  const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data);
28
30
  return promise.then(data => query_1.QueryAllowancesByGranterResponse.decode(new binary_1.BinaryReader(data)));
29
- }
31
+ };
30
32
  }
31
33
  exports.QueryClientImpl = QueryClientImpl;
32
34
  const createRpcQueryExtension = (base) => {
@@ -1,6 +1,7 @@
1
- import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any";
2
- import { BasicAllowance, BasicAllowanceProtoMsg, BasicAllowanceSDKType, PeriodicAllowance, PeriodicAllowanceProtoMsg, PeriodicAllowanceSDKType, AllowedMsgAllowance, AllowedMsgAllowanceProtoMsg, AllowedMsgAllowanceSDKType } from "./feegrant";
1
+ import { Any, AnyProtoMsg, AnyAmino } from "../../../google/protobuf/any";
2
+ import { BasicAllowance, BasicAllowanceProtoMsg, PeriodicAllowance, PeriodicAllowanceProtoMsg, AllowedMsgAllowance, AllowedMsgAllowanceProtoMsg } from "./feegrant";
3
3
  import { BinaryReader, BinaryWriter } from "../../../binary";
4
+ import { DeepPartial } from "../../../helpers";
4
5
  /**
5
6
  * MsgGrantAllowance adds permission for Grantee to spend up to Allowance
6
7
  * of fees from the account of Granter.
@@ -36,15 +37,6 @@ export interface MsgGrantAllowanceAminoMsg {
36
37
  type: "cosmos-sdk/MsgGrantAllowance";
37
38
  value: MsgGrantAllowanceAmino;
38
39
  }
39
- /**
40
- * MsgGrantAllowance adds permission for Grantee to spend up to Allowance
41
- * of fees from the account of Granter.
42
- */
43
- export interface MsgGrantAllowanceSDKType {
44
- granter: string;
45
- grantee: string;
46
- allowance?: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined;
47
- }
48
40
  /** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */
49
41
  export interface MsgGrantAllowanceResponse {
50
42
  }
@@ -59,9 +51,6 @@ export interface MsgGrantAllowanceResponseAminoMsg {
59
51
  type: "cosmos-sdk/MsgGrantAllowanceResponse";
60
52
  value: MsgGrantAllowanceResponseAmino;
61
53
  }
62
- /** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */
63
- export interface MsgGrantAllowanceResponseSDKType {
64
- }
65
54
  /** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */
66
55
  export interface MsgRevokeAllowance {
67
56
  /** granter is the address of the user granting an allowance of their funds. */
@@ -84,11 +73,6 @@ export interface MsgRevokeAllowanceAminoMsg {
84
73
  type: "cosmos-sdk/MsgRevokeAllowance";
85
74
  value: MsgRevokeAllowanceAmino;
86
75
  }
87
- /** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */
88
- export interface MsgRevokeAllowanceSDKType {
89
- granter: string;
90
- grantee: string;
91
- }
92
76
  /** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */
93
77
  export interface MsgRevokeAllowanceResponse {
94
78
  }
@@ -103,9 +87,6 @@ export interface MsgRevokeAllowanceResponseAminoMsg {
103
87
  type: "cosmos-sdk/MsgRevokeAllowanceResponse";
104
88
  value: MsgRevokeAllowanceResponseAmino;
105
89
  }
106
- /** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */
107
- export interface MsgRevokeAllowanceResponseSDKType {
108
- }
109
90
  /**
110
91
  * MsgPruneAllowances prunes expired fee allowances.
111
92
  *
@@ -132,14 +113,6 @@ export interface MsgPruneAllowancesAminoMsg {
132
113
  type: "cosmos-sdk/MsgPruneAllowances";
133
114
  value: MsgPruneAllowancesAmino;
134
115
  }
135
- /**
136
- * MsgPruneAllowances prunes expired fee allowances.
137
- *
138
- * Since cosmos-sdk 0.50
139
- */
140
- export interface MsgPruneAllowancesSDKType {
141
- pruner: string;
142
- }
143
116
  /**
144
117
  * MsgPruneAllowancesResponse defines the Msg/PruneAllowancesResponse response type.
145
118
  *
@@ -162,18 +135,12 @@ export interface MsgPruneAllowancesResponseAminoMsg {
162
135
  type: "cosmos-sdk/MsgPruneAllowancesResponse";
163
136
  value: MsgPruneAllowancesResponseAmino;
164
137
  }
165
- /**
166
- * MsgPruneAllowancesResponse defines the Msg/PruneAllowancesResponse response type.
167
- *
168
- * Since cosmos-sdk 0.50
169
- */
170
- export interface MsgPruneAllowancesResponseSDKType {
171
- }
172
138
  export declare const MsgGrantAllowance: {
173
139
  typeUrl: string;
140
+ aminoType: string;
174
141
  encode(message: MsgGrantAllowance, writer?: BinaryWriter): BinaryWriter;
175
142
  decode(input: BinaryReader | Uint8Array, length?: number): MsgGrantAllowance;
176
- fromPartial(object: Partial<MsgGrantAllowance>): MsgGrantAllowance;
143
+ fromPartial(object: DeepPartial<MsgGrantAllowance>): MsgGrantAllowance;
177
144
  fromAmino(object: MsgGrantAllowanceAmino): MsgGrantAllowance;
178
145
  toAmino(message: MsgGrantAllowance): MsgGrantAllowanceAmino;
179
146
  fromAminoMsg(object: MsgGrantAllowanceAminoMsg): MsgGrantAllowance;
@@ -184,9 +151,10 @@ export declare const MsgGrantAllowance: {
184
151
  };
185
152
  export declare const MsgGrantAllowanceResponse: {
186
153
  typeUrl: string;
154
+ aminoType: string;
187
155
  encode(_: MsgGrantAllowanceResponse, writer?: BinaryWriter): BinaryWriter;
188
156
  decode(input: BinaryReader | Uint8Array, length?: number): MsgGrantAllowanceResponse;
189
- fromPartial(_: Partial<MsgGrantAllowanceResponse>): MsgGrantAllowanceResponse;
157
+ fromPartial(_: DeepPartial<MsgGrantAllowanceResponse>): MsgGrantAllowanceResponse;
190
158
  fromAmino(_: MsgGrantAllowanceResponseAmino): MsgGrantAllowanceResponse;
191
159
  toAmino(_: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseAmino;
192
160
  fromAminoMsg(object: MsgGrantAllowanceResponseAminoMsg): MsgGrantAllowanceResponse;
@@ -197,9 +165,10 @@ export declare const MsgGrantAllowanceResponse: {
197
165
  };
198
166
  export declare const MsgRevokeAllowance: {
199
167
  typeUrl: string;
168
+ aminoType: string;
200
169
  encode(message: MsgRevokeAllowance, writer?: BinaryWriter): BinaryWriter;
201
170
  decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeAllowance;
202
- fromPartial(object: Partial<MsgRevokeAllowance>): MsgRevokeAllowance;
171
+ fromPartial(object: DeepPartial<MsgRevokeAllowance>): MsgRevokeAllowance;
203
172
  fromAmino(object: MsgRevokeAllowanceAmino): MsgRevokeAllowance;
204
173
  toAmino(message: MsgRevokeAllowance): MsgRevokeAllowanceAmino;
205
174
  fromAminoMsg(object: MsgRevokeAllowanceAminoMsg): MsgRevokeAllowance;
@@ -210,9 +179,10 @@ export declare const MsgRevokeAllowance: {
210
179
  };
211
180
  export declare const MsgRevokeAllowanceResponse: {
212
181
  typeUrl: string;
182
+ aminoType: string;
213
183
  encode(_: MsgRevokeAllowanceResponse, writer?: BinaryWriter): BinaryWriter;
214
184
  decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeAllowanceResponse;
215
- fromPartial(_: Partial<MsgRevokeAllowanceResponse>): MsgRevokeAllowanceResponse;
185
+ fromPartial(_: DeepPartial<MsgRevokeAllowanceResponse>): MsgRevokeAllowanceResponse;
216
186
  fromAmino(_: MsgRevokeAllowanceResponseAmino): MsgRevokeAllowanceResponse;
217
187
  toAmino(_: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseAmino;
218
188
  fromAminoMsg(object: MsgRevokeAllowanceResponseAminoMsg): MsgRevokeAllowanceResponse;
@@ -223,9 +193,10 @@ export declare const MsgRevokeAllowanceResponse: {
223
193
  };
224
194
  export declare const MsgPruneAllowances: {
225
195
  typeUrl: string;
196
+ aminoType: string;
226
197
  encode(message: MsgPruneAllowances, writer?: BinaryWriter): BinaryWriter;
227
198
  decode(input: BinaryReader | Uint8Array, length?: number): MsgPruneAllowances;
228
- fromPartial(object: Partial<MsgPruneAllowances>): MsgPruneAllowances;
199
+ fromPartial(object: DeepPartial<MsgPruneAllowances>): MsgPruneAllowances;
229
200
  fromAmino(object: MsgPruneAllowancesAmino): MsgPruneAllowances;
230
201
  toAmino(message: MsgPruneAllowances): MsgPruneAllowancesAmino;
231
202
  fromAminoMsg(object: MsgPruneAllowancesAminoMsg): MsgPruneAllowances;
@@ -236,9 +207,10 @@ export declare const MsgPruneAllowances: {
236
207
  };
237
208
  export declare const MsgPruneAllowancesResponse: {
238
209
  typeUrl: string;
210
+ aminoType: string;
239
211
  encode(_: MsgPruneAllowancesResponse, writer?: BinaryWriter): BinaryWriter;
240
212
  decode(input: BinaryReader | Uint8Array, length?: number): MsgPruneAllowancesResponse;
241
- fromPartial(_: Partial<MsgPruneAllowancesResponse>): MsgPruneAllowancesResponse;
213
+ fromPartial(_: DeepPartial<MsgPruneAllowancesResponse>): MsgPruneAllowancesResponse;
242
214
  fromAmino(_: MsgPruneAllowancesResponseAmino): MsgPruneAllowancesResponse;
243
215
  toAmino(_: MsgPruneAllowancesResponse): MsgPruneAllowancesResponseAmino;
244
216
  fromAminoMsg(object: MsgPruneAllowancesResponseAminoMsg): MsgPruneAllowancesResponse;
@@ -14,6 +14,7 @@ function createBaseMsgGrantAllowance() {
14
14
  }
15
15
  exports.MsgGrantAllowance = {
16
16
  typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
17
+ aminoType: "cosmos-sdk/MsgGrantAllowance",
17
18
  encode(message, writer = binary_1.BinaryWriter.create()) {
18
19
  if (message.granter !== "") {
19
20
  writer.uint32(10).string(message.granter);
@@ -103,6 +104,7 @@ function createBaseMsgGrantAllowanceResponse() {
103
104
  }
104
105
  exports.MsgGrantAllowanceResponse = {
105
106
  typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse",
107
+ aminoType: "cosmos-sdk/MsgGrantAllowanceResponse",
106
108
  encode(_, writer = binary_1.BinaryWriter.create()) {
107
109
  return writer;
108
110
  },
@@ -162,6 +164,7 @@ function createBaseMsgRevokeAllowance() {
162
164
  }
163
165
  exports.MsgRevokeAllowance = {
164
166
  typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
167
+ aminoType: "cosmos-sdk/MsgRevokeAllowance",
165
168
  encode(message, writer = binary_1.BinaryWriter.create()) {
166
169
  if (message.granter !== "") {
167
170
  writer.uint32(10).string(message.granter);
@@ -240,6 +243,7 @@ function createBaseMsgRevokeAllowanceResponse() {
240
243
  }
241
244
  exports.MsgRevokeAllowanceResponse = {
242
245
  typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse",
246
+ aminoType: "cosmos-sdk/MsgRevokeAllowanceResponse",
243
247
  encode(_, writer = binary_1.BinaryWriter.create()) {
244
248
  return writer;
245
249
  },
@@ -298,6 +302,7 @@ function createBaseMsgPruneAllowances() {
298
302
  }
299
303
  exports.MsgPruneAllowances = {
300
304
  typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
305
+ aminoType: "cosmos-sdk/MsgPruneAllowances",
301
306
  encode(message, writer = binary_1.BinaryWriter.create()) {
302
307
  if (message.pruner !== "") {
303
308
  writer.uint32(10).string(message.pruner);
@@ -365,6 +370,7 @@ function createBaseMsgPruneAllowancesResponse() {
365
370
  }
366
371
  exports.MsgPruneAllowancesResponse = {
367
372
  typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse",
373
+ aminoType: "cosmos-sdk/MsgPruneAllowancesResponse",
368
374
  encode(_, writer = binary_1.BinaryWriter.create()) {
369
375
  return writer;
370
376
  },
@@ -1,48 +1,2 @@
1
- import { GeneratedType, Registry } from "@cosmjs/proto-signing";
2
- import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx";
3
- export declare const registry: ReadonlyArray<[string, GeneratedType]>;
4
- export declare const load: (protoRegistry: Registry) => void;
5
- export declare const MessageComposer: {
6
- encoded: {
7
- grantAllowance(value: MsgGrantAllowance): {
8
- typeUrl: string;
9
- value: Uint8Array<ArrayBufferLike>;
10
- };
11
- revokeAllowance(value: MsgRevokeAllowance): {
12
- typeUrl: string;
13
- value: Uint8Array<ArrayBufferLike>;
14
- };
15
- pruneAllowances(value: MsgPruneAllowances): {
16
- typeUrl: string;
17
- value: Uint8Array<ArrayBufferLike>;
18
- };
19
- };
20
- withTypeUrl: {
21
- grantAllowance(value: MsgGrantAllowance): {
22
- typeUrl: string;
23
- value: MsgGrantAllowance;
24
- };
25
- revokeAllowance(value: MsgRevokeAllowance): {
26
- typeUrl: string;
27
- value: MsgRevokeAllowance;
28
- };
29
- pruneAllowances(value: MsgPruneAllowances): {
30
- typeUrl: string;
31
- value: MsgPruneAllowances;
32
- };
33
- };
34
- fromPartial: {
35
- grantAllowance(value: MsgGrantAllowance): {
36
- typeUrl: string;
37
- value: MsgGrantAllowance;
38
- };
39
- revokeAllowance(value: MsgRevokeAllowance): {
40
- typeUrl: string;
41
- value: MsgRevokeAllowance;
42
- };
43
- pruneAllowances(value: MsgPruneAllowances): {
44
- typeUrl: string;
45
- value: MsgPruneAllowances;
46
- };
47
- };
48
- };
1
+ import { TelescopeGeneratedType } from "../../../types";
2
+ export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
@@ -1,73 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessageComposer = exports.load = exports.registry = void 0;
3
+ exports.registry = void 0;
4
4
  const tx_1 = require("./tx");
5
5
  exports.registry = [["/cosmos.feegrant.v1beta1.MsgGrantAllowance", tx_1.MsgGrantAllowance], ["/cosmos.feegrant.v1beta1.MsgRevokeAllowance", tx_1.MsgRevokeAllowance], ["/cosmos.feegrant.v1beta1.MsgPruneAllowances", tx_1.MsgPruneAllowances]];
6
- const load = (protoRegistry) => {
7
- exports.registry.forEach(([typeUrl, mod]) => {
8
- protoRegistry.register(typeUrl, mod);
9
- });
10
- };
11
- exports.load = load;
12
- exports.MessageComposer = {
13
- encoded: {
14
- grantAllowance(value) {
15
- return {
16
- typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
17
- value: tx_1.MsgGrantAllowance.encode(value).finish()
18
- };
19
- },
20
- revokeAllowance(value) {
21
- return {
22
- typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
23
- value: tx_1.MsgRevokeAllowance.encode(value).finish()
24
- };
25
- },
26
- pruneAllowances(value) {
27
- return {
28
- typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
29
- value: tx_1.MsgPruneAllowances.encode(value).finish()
30
- };
31
- }
32
- },
33
- withTypeUrl: {
34
- grantAllowance(value) {
35
- return {
36
- typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
37
- value
38
- };
39
- },
40
- revokeAllowance(value) {
41
- return {
42
- typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
43
- value
44
- };
45
- },
46
- pruneAllowances(value) {
47
- return {
48
- typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
49
- value
50
- };
51
- }
52
- },
53
- fromPartial: {
54
- grantAllowance(value) {
55
- return {
56
- typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
57
- value: tx_1.MsgGrantAllowance.fromPartial(value)
58
- };
59
- },
60
- revokeAllowance(value) {
61
- return {
62
- typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
63
- value: tx_1.MsgRevokeAllowance.fromPartial(value)
64
- };
65
- },
66
- pruneAllowances(value) {
67
- return {
68
- typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
69
- value: tx_1.MsgPruneAllowances.fromPartial(value)
70
- };
71
- }
72
- }
73
- };
@@ -1,4 +1,4 @@
1
- import { Rpc } from "../../../helpers";
1
+ import { TxRpc } from "../../../types";
2
2
  import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse, MsgPruneAllowances, MsgPruneAllowancesResponse } from "./tx";
3
3
  /** Msg defines the feegrant msg service. */
4
4
  export interface Msg {
@@ -21,8 +21,9 @@ export interface Msg {
21
21
  }
22
22
  export declare class MsgClientImpl implements Msg {
23
23
  private readonly rpc;
24
- constructor(rpc: Rpc);
25
- grantAllowance(request: MsgGrantAllowance): Promise<MsgGrantAllowanceResponse>;
26
- revokeAllowance(request: MsgRevokeAllowance): Promise<MsgRevokeAllowanceResponse>;
27
- pruneAllowances(request: MsgPruneAllowances): Promise<MsgPruneAllowancesResponse>;
24
+ constructor(rpc: TxRpc);
25
+ grantAllowance: (request: MsgGrantAllowance) => Promise<MsgGrantAllowanceResponse>;
26
+ revokeAllowance: (request: MsgRevokeAllowance) => Promise<MsgRevokeAllowanceResponse>;
27
+ pruneAllowances: (request: MsgPruneAllowances) => Promise<MsgPruneAllowancesResponse>;
28
28
  }
29
+ export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
@@ -1,30 +1,38 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MsgClientImpl = void 0;
3
+ exports.createClientImpl = exports.MsgClientImpl = void 0;
4
4
  const binary_1 = require("../../../binary");
5
5
  const tx_1 = require("./tx");
6
6
  class MsgClientImpl {
7
7
  rpc;
8
8
  constructor(rpc) {
9
9
  this.rpc = rpc;
10
- this.grantAllowance = this.grantAllowance.bind(this);
11
- this.revokeAllowance = this.revokeAllowance.bind(this);
12
- this.pruneAllowances = this.pruneAllowances.bind(this);
13
10
  }
14
- grantAllowance(request) {
11
+ /* GrantAllowance grants fee allowance to the grantee on the granter's
12
+ account with the provided expiration time. */
13
+ grantAllowance = async (request) => {
15
14
  const data = tx_1.MsgGrantAllowance.encode(request).finish();
16
15
  const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "GrantAllowance", data);
17
16
  return promise.then(data => tx_1.MsgGrantAllowanceResponse.decode(new binary_1.BinaryReader(data)));
18
- }
19
- revokeAllowance(request) {
17
+ };
18
+ /* RevokeAllowance revokes any fee allowance of granter's account that
19
+ has been granted to the grantee. */
20
+ revokeAllowance = async (request) => {
20
21
  const data = tx_1.MsgRevokeAllowance.encode(request).finish();
21
22
  const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "RevokeAllowance", data);
22
23
  return promise.then(data => tx_1.MsgRevokeAllowanceResponse.decode(new binary_1.BinaryReader(data)));
23
- }
24
- pruneAllowances(request) {
24
+ };
25
+ /* PruneAllowances prunes expired fee allowances, currently up to 75 at a time.
26
+
27
+ Since cosmos-sdk 0.50 */
28
+ pruneAllowances = async (request) => {
25
29
  const data = tx_1.MsgPruneAllowances.encode(request).finish();
26
30
  const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "PruneAllowances", data);
27
31
  return promise.then(data => tx_1.MsgPruneAllowancesResponse.decode(new binary_1.BinaryReader(data)));
28
- }
32
+ };
29
33
  }
30
34
  exports.MsgClientImpl = MsgClientImpl;
35
+ const createClientImpl = (rpc) => {
36
+ return new MsgClientImpl(rpc);
37
+ };
38
+ exports.createClientImpl = createClientImpl;
@@ -1,4 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "../../../../binary";
2
+ import { DeepPartial } from "../../../../helpers";
2
3
  /** Module is the config object for the genutil module. */
3
4
  export interface Module {
4
5
  }
@@ -13,14 +14,12 @@ export interface ModuleAminoMsg {
13
14
  type: "cosmos-sdk/Module";
14
15
  value: ModuleAmino;
15
16
  }
16
- /** Module is the config object for the genutil module. */
17
- export interface ModuleSDKType {
18
- }
19
17
  export declare const Module: {
20
18
  typeUrl: string;
19
+ aminoType: string;
21
20
  encode(_: Module, writer?: BinaryWriter): BinaryWriter;
22
21
  decode(input: BinaryReader | Uint8Array, length?: number): Module;
23
- fromPartial(_: Partial<Module>): Module;
22
+ fromPartial(_: DeepPartial<Module>): Module;
24
23
  fromAmino(_: ModuleAmino): Module;
25
24
  toAmino(_: Module): ModuleAmino;
26
25
  fromAminoMsg(object: ModuleAminoMsg): Module;
@@ -8,6 +8,7 @@ function createBaseModule() {
8
8
  }
9
9
  exports.Module = {
10
10
  typeUrl: "/cosmos.genutil.module.v1.Module",
11
+ aminoType: "cosmos-sdk/Module",
11
12
  encode(_, writer = binary_1.BinaryWriter.create()) {
12
13
  return writer;
13
14
  },
@@ -1,4 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "../../../../binary";
2
+ import { DeepPartial } from "../../../../helpers";
2
3
  /** Module is the config object of the gov module. */
3
4
  export interface Module {
4
5
  /**
@@ -27,16 +28,12 @@ export interface ModuleAminoMsg {
27
28
  type: "cosmos-sdk/Module";
28
29
  value: ModuleAmino;
29
30
  }
30
- /** Module is the config object of the gov module. */
31
- export interface ModuleSDKType {
32
- max_metadata_len: bigint;
33
- authority: string;
34
- }
35
31
  export declare const Module: {
36
32
  typeUrl: string;
33
+ aminoType: string;
37
34
  encode(message: Module, writer?: BinaryWriter): BinaryWriter;
38
35
  decode(input: BinaryReader | Uint8Array, length?: number): Module;
39
- fromPartial(object: Partial<Module>): Module;
36
+ fromPartial(object: DeepPartial<Module>): Module;
40
37
  fromAmino(object: ModuleAmino): Module;
41
38
  toAmino(message: Module): ModuleAmino;
42
39
  fromAminoMsg(object: ModuleAminoMsg): Module;
@@ -11,6 +11,7 @@ function createBaseModule() {
11
11
  }
12
12
  exports.Module = {
13
13
  typeUrl: "/cosmos.gov.module.v1.Module",
14
+ aminoType: "cosmos-sdk/Module",
14
15
  encode(message, writer = binary_1.BinaryWriter.create()) {
15
16
  if (message.maxMetadataLen !== BigInt(0)) {
16
17
  writer.uint32(8).uint64(message.maxMetadataLen);