juno-network 0.15.1 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1060) hide show
  1. package/README.md +0 -3
  2. package/main/codegen/JunoSwap.client.js +165 -184
  3. package/main/codegen/amino/amino.js +5 -0
  4. package/main/codegen/amino/bundle.js +16 -0
  5. package/main/codegen/binary.js +478 -0
  6. package/main/codegen/confio/proofs.js +836 -72
  7. package/main/codegen/contracts.js +8 -4
  8. package/main/codegen/cosmos/app/v1alpha1/config.js +221 -0
  9. package/main/codegen/cosmos/app/v1alpha1/module.js +324 -0
  10. package/main/codegen/cosmos/app/v1alpha1/query.js +149 -0
  11. package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +45 -0
  12. package/main/codegen/cosmos/auth/v1beta1/auth.js +382 -0
  13. package/main/codegen/cosmos/auth/v1beta1/genesis.js +120 -0
  14. package/main/codegen/cosmos/auth/v1beta1/query.js +1133 -0
  15. package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +223 -0
  16. package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +128 -0
  17. package/main/codegen/cosmos/authz/v1beta1/authz.js +220 -13
  18. package/main/codegen/cosmos/authz/v1beta1/event.js +101 -8
  19. package/main/codegen/cosmos/authz/v1beta1/genesis.js +51 -7
  20. package/main/codegen/cosmos/authz/v1beta1/query.js +311 -21
  21. package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +65 -69
  22. package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +5 -7
  23. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +25 -0
  24. package/main/codegen/cosmos/authz/v1beta1/tx.js +312 -18
  25. package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +83 -0
  26. package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +5 -7
  27. package/main/codegen/cosmos/bank/v1beta1/authz.js +66 -7
  28. package/main/codegen/cosmos/bank/v1beta1/bank.js +425 -21
  29. package/main/codegen/cosmos/bank/v1beta1/genesis.js +138 -10
  30. package/main/codegen/cosmos/bank/v1beta1/query.js +964 -49
  31. package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +148 -163
  32. package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +11 -13
  33. package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -86
  34. package/main/codegen/cosmos/bank/v1beta1/tx.js +194 -13
  35. package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +4 -6
  36. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +677 -60
  37. package/main/codegen/cosmos/base/kv/v1beta1/kv.js +197 -0
  38. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +162 -17
  39. package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +362 -0
  40. package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1230 -57
  41. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +916 -0
  42. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +326 -0
  43. package/main/codegen/cosmos/base/store/v1beta1/listening.js +140 -0
  44. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1431 -0
  45. package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +202 -0
  46. package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +115 -0
  47. package/main/codegen/cosmos/base/v1beta1/coin.js +207 -12
  48. package/main/codegen/cosmos/bundle.js +274 -105
  49. package/main/codegen/cosmos/capability/v1beta1/capability.js +300 -0
  50. package/main/codegen/cosmos/capability/v1beta1/genesis.js +208 -0
  51. package/main/codegen/cosmos/client.js +37 -23
  52. package/main/codegen/cosmos/crisis/v1beta1/genesis.js +85 -0
  53. package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +15 -0
  54. package/main/codegen/cosmos/crisis/v1beta1/tx.js +173 -0
  55. package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +47 -0
  56. package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +33 -0
  57. package/main/codegen/cosmos/crypto/ed25519/keys.js +113 -8
  58. package/main/codegen/cosmos/crypto/hd/v1/hd.js +59 -6
  59. package/main/codegen/cosmos/crypto/keyring/v1/record.js +236 -14
  60. package/main/codegen/cosmos/crypto/multisig/keys.js +67 -7
  61. package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +125 -9
  62. package/main/codegen/cosmos/crypto/secp256k1/keys.js +104 -8
  63. package/main/codegen/cosmos/crypto/secp256r1/keys.js +86 -8
  64. package/main/codegen/cosmos/distribution/v1beta1/distribution.js +788 -56
  65. package/main/codegen/cosmos/distribution/v1beta1/genesis.js +514 -38
  66. package/main/codegen/cosmos/distribution/v1beta1/query.js +970 -53
  67. package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +107 -124
  68. package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +11 -13
  69. package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -70
  70. package/main/codegen/cosmos/distribution/v1beta1/tx.js +403 -25
  71. package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
  72. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +132 -0
  73. package/main/codegen/cosmos/evidence/v1beta1/genesis.js +107 -0
  74. package/main/codegen/cosmos/evidence/v1beta1/query.js +371 -0
  75. package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +87 -0
  76. package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +60 -0
  77. package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +15 -0
  78. package/main/codegen/cosmos/evidence/v1beta1/tx.js +186 -0
  79. package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +47 -0
  80. package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +33 -0
  81. package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +512 -0
  82. package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +107 -0
  83. package/main/codegen/cosmos/feegrant/v1beta1/query.js +575 -0
  84. package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +114 -0
  85. package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +70 -0
  86. package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +20 -0
  87. package/main/codegen/cosmos/feegrant/v1beta1/tx.js +337 -0
  88. package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +65 -0
  89. package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +43 -0
  90. package/main/codegen/cosmos/genutil/v1beta1/genesis.js +107 -0
  91. package/main/codegen/cosmos/gov/v1/genesis.js +90 -11
  92. package/main/codegen/cosmos/gov/v1/gov.js +497 -58
  93. package/main/codegen/cosmos/gov/v1/query.js +770 -56
  94. package/main/codegen/cosmos/gov/v1/query.lcd.js +107 -123
  95. package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +10 -12
  96. package/main/codegen/cosmos/gov/v1/tx.amino.js +11 -156
  97. package/main/codegen/cosmos/gov/v1/tx.js +511 -38
  98. package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +7 -9
  99. package/main/codegen/cosmos/gov/v1beta1/genesis.js +93 -14
  100. package/main/codegen/cosmos/gov/v1beta1/gov.js +560 -69
  101. package/main/codegen/cosmos/gov/v1beta1/query.js +777 -63
  102. package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +107 -123
  103. package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +10 -12
  104. package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -118
  105. package/main/codegen/cosmos/gov/v1beta1/tx.js +424 -34
  106. package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +6 -8
  107. package/main/codegen/cosmos/group/v1/events.js +729 -0
  108. package/main/codegen/cosmos/group/v1/genesis.js +259 -0
  109. package/main/codegen/cosmos/group/v1/query.js +2377 -0
  110. package/main/codegen/cosmos/group/v1/query.lcd.js +398 -0
  111. package/main/codegen/cosmos/group/v1/query.rpc.Query.js +200 -0
  112. package/main/codegen/cosmos/group/v1/tx.amino.js +80 -0
  113. package/main/codegen/cosmos/group/v1/tx.js +2590 -0
  114. package/main/codegen/cosmos/group/v1/tx.registry.js +281 -0
  115. package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +163 -0
  116. package/main/codegen/cosmos/group/v1/types.js +1607 -0
  117. package/main/codegen/cosmos/lcd.js +254 -127
  118. package/main/codegen/cosmos/mint/v1beta1/genesis.js +97 -0
  119. package/main/codegen/cosmos/mint/v1beta1/mint.js +236 -0
  120. package/main/codegen/cosmos/mint/v1beta1/query.js +461 -0
  121. package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +108 -0
  122. package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +73 -0
  123. package/main/codegen/cosmos/msg/v1/msg.js +5 -0
  124. package/main/codegen/cosmos/nft/v1beta1/event.js +325 -0
  125. package/main/codegen/cosmos/nft/v1beta1/genesis.js +244 -0
  126. package/main/codegen/cosmos/nft/v1beta1/nft.js +284 -0
  127. package/main/codegen/cosmos/nft/v1beta1/query.js +1219 -0
  128. package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +226 -0
  129. package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +125 -0
  130. package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +15 -0
  131. package/main/codegen/cosmos/nft/v1beta1/tx.js +185 -0
  132. package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +47 -0
  133. package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +33 -0
  134. package/main/codegen/cosmos/orm/v1/orm.js +400 -0
  135. package/main/codegen/cosmos/orm/v1alpha1/schema.js +278 -0
  136. package/main/codegen/cosmos/params/v1beta1/params.js +241 -0
  137. package/main/codegen/cosmos/params/v1beta1/query.js +473 -0
  138. package/main/codegen/cosmos/params/v1beta1/query.lcd.js +87 -0
  139. package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +58 -0
  140. package/main/codegen/cosmos/rpc.query.js +198 -97
  141. package/main/codegen/cosmos/rpc.tx.js +178 -96
  142. package/main/codegen/cosmos/slashing/v1beta1/genesis.js +445 -0
  143. package/main/codegen/cosmos/slashing/v1beta1/query.js +529 -0
  144. package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +115 -0
  145. package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +74 -0
  146. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +283 -0
  147. package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +15 -0
  148. package/main/codegen/cosmos/slashing/v1beta1/tx.js +149 -0
  149. package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +47 -0
  150. package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +33 -0
  151. package/main/codegen/cosmos/staking/v1beta1/authz.js +120 -26
  152. package/main/codegen/cosmos/staking/v1beta1/genesis.js +153 -13
  153. package/main/codegen/cosmos/staking/v1beta1/query.js +1467 -72
  154. package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +205 -229
  155. package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +16 -18
  156. package/main/codegen/cosmos/staking/v1beta1/staking.js +1257 -98
  157. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -189
  158. package/main/codegen/cosmos/staking/v1beta1/tx.js +513 -35
  159. package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +7 -9
  160. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +273 -43
  161. package/main/codegen/cosmos/tx/v1beta1/service.js +603 -54
  162. package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +52 -57
  163. package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +7 -9
  164. package/main/codegen/cosmos/tx/v1beta1/tx.js +856 -53
  165. package/main/codegen/cosmos/upgrade/v1beta1/query.js +523 -31
  166. package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +69 -77
  167. package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +7 -9
  168. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -47
  169. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +214 -13
  170. package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +4 -6
  171. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +248 -20
  172. package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +25 -0
  173. package/main/codegen/cosmos/vesting/v1beta1/tx.js +636 -0
  174. package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +83 -0
  175. package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +53 -0
  176. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +718 -0
  177. package/main/codegen/cosmos_proto/bundle.js +6 -6
  178. package/main/codegen/cosmos_proto/cosmos.js +129 -21
  179. package/main/codegen/cosmwasm/bundle.js +21 -21
  180. package/main/codegen/cosmwasm/client.js +21 -23
  181. package/main/codegen/cosmwasm/lcd.js +271 -144
  182. package/main/codegen/cosmwasm/rpc.query.js +211 -110
  183. package/main/codegen/cosmwasm/rpc.tx.js +193 -111
  184. package/main/codegen/cosmwasm/wasm/v1/authz.js +534 -34
  185. package/main/codegen/cosmwasm/wasm/v1/genesis.js +320 -24
  186. package/main/codegen/cosmwasm/wasm/v1/ibc.js +103 -14
  187. package/main/codegen/cosmwasm/wasm/v1/proposal.js +841 -45
  188. package/main/codegen/cosmwasm/wasm/v1/query.js +1232 -64
  189. package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +153 -175
  190. package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +13 -15
  191. package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -217
  192. package/main/codegen/cosmwasm/wasm/v1/tx.js +742 -49
  193. package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +9 -11
  194. package/main/codegen/cosmwasm/wasm/v1/types.js +447 -61
  195. package/main/codegen/gaia/bundle.js +12 -12
  196. package/main/codegen/gaia/globalfee/v1beta1/genesis.js +82 -10
  197. package/main/codegen/gaia/globalfee/v1beta1/query.js +95 -9
  198. package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +11 -13
  199. package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +3 -5
  200. package/main/codegen/gaia/lcd.js +271 -144
  201. package/main/codegen/gaia/rpc.query.js +211 -110
  202. package/main/codegen/gogoproto/bundle.js +6 -6
  203. package/main/codegen/google/api/annotations.js +5 -0
  204. package/main/codegen/google/api/http.js +1216 -0
  205. package/main/codegen/google/bundle.js +13 -10
  206. package/main/codegen/google/protobuf/any.js +278 -6
  207. package/main/codegen/google/protobuf/descriptor.js +1691 -171
  208. package/main/codegen/google/protobuf/duration.js +215 -10
  209. package/main/codegen/google/protobuf/empty.js +63 -6
  210. package/main/codegen/google/protobuf/timestamp.js +283 -9
  211. package/main/codegen/helpers.js +19 -53
  212. package/main/codegen/ibc/applications/transfer/v1/genesis.js +60 -8
  213. package/main/codegen/ibc/applications/transfer/v1/query.js +297 -17
  214. package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +40 -46
  215. package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +5 -7
  216. package/main/codegen/ibc/applications/transfer/v1/transfer.js +117 -8
  217. package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -50
  218. package/main/codegen/ibc/applications/transfer/v1/tx.js +122 -14
  219. package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +3 -5
  220. package/main/codegen/ibc/applications/transfer/v2/packet.js +67 -6
  221. package/main/codegen/ibc/bundle.js +71 -60
  222. package/main/codegen/ibc/client.js +21 -23
  223. package/main/codegen/ibc/core/channel/v1/channel.js +438 -57
  224. package/main/codegen/ibc/core/channel/v1/genesis.js +180 -16
  225. package/main/codegen/ibc/core/channel/v1/query.js +1604 -97
  226. package/main/codegen/ibc/core/channel/v1/query.lcd.js +184 -202
  227. package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +15 -17
  228. package/main/codegen/ibc/core/channel/v1/tx.amino.js +21 -470
  229. package/main/codegen/ibc/core/channel/v1/tx.js +1053 -64
  230. package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +12 -14
  231. package/main/codegen/ibc/core/client/v1/client.js +438 -28
  232. package/main/codegen/ibc/core/client/v1/genesis.js +204 -15
  233. package/main/codegen/ibc/core/client/v1/query.js +874 -45
  234. package/main/codegen/ibc/core/client/v1/query.lcd.js +110 -124
  235. package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +10 -12
  236. package/main/codegen/ibc/core/client/v1/tx.amino.js +9 -128
  237. package/main/codegen/ibc/core/client/v1/tx.js +402 -20
  238. package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +6 -8
  239. package/main/codegen/ibc/core/commitment/v1/commitment.js +236 -13
  240. package/main/codegen/ibc/core/connection/v1/connection.js +434 -52
  241. package/main/codegen/ibc/core/connection/v1/genesis.js +73 -12
  242. package/main/codegen/ibc/core/connection/v1/query.js +592 -36
  243. package/main/codegen/ibc/core/connection/v1/query.lcd.js +68 -75
  244. package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +7 -9
  245. package/main/codegen/ibc/core/connection/v1/tx.amino.js +9 -248
  246. package/main/codegen/ibc/core/connection/v1/tx.js +504 -34
  247. package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +6 -8
  248. package/main/codegen/ibc/core/port/v1/query.js +224 -0
  249. package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +44 -0
  250. package/main/codegen/ibc/core/types/v1/genesis.js +111 -0
  251. package/main/codegen/ibc/lcd.js +319 -192
  252. package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -7
  253. package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +933 -91
  254. package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +930 -88
  255. package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +378 -30
  256. package/main/codegen/ibc/rpc.query.js +257 -146
  257. package/main/codegen/ibc/rpc.tx.js +235 -153
  258. package/main/codegen/ics23/bundle.js +6 -6
  259. package/main/codegen/index.js +74 -41
  260. package/main/codegen/juno/bundle.js +77 -24
  261. package/main/codegen/juno/client.js +33 -25
  262. package/main/codegen/juno/clock/v1/genesis.js +183 -0
  263. package/main/codegen/juno/clock/v1/query.js +288 -0
  264. package/main/codegen/juno/clock/v1/query.lcd.js +80 -0
  265. package/main/codegen/juno/clock/v1/query.rpc.Query.js +59 -0
  266. package/main/codegen/juno/clock/v1/tx.amino.js +15 -0
  267. package/main/codegen/juno/clock/v1/tx.js +177 -0
  268. package/main/codegen/juno/clock/v1/tx.registry.js +47 -0
  269. package/main/codegen/juno/clock/v1/tx.rpc.msg.js +33 -0
  270. package/main/codegen/juno/cwhooks/v1/genesis.js +212 -0
  271. package/main/codegen/juno/cwhooks/v1/query.js +436 -0
  272. package/main/codegen/juno/cwhooks/v1/query.lcd.js +108 -0
  273. package/main/codegen/juno/cwhooks/v1/query.rpc.Query.js +73 -0
  274. package/main/codegen/juno/cwhooks/v1/tx.amino.js +35 -0
  275. package/main/codegen/juno/cwhooks/v1/tx.js +745 -0
  276. package/main/codegen/juno/cwhooks/v1/tx.registry.js +119 -0
  277. package/main/codegen/juno/cwhooks/v1/tx.rpc.msg.js +73 -0
  278. package/main/codegen/juno/drip/v1/genesis.js +183 -0
  279. package/main/codegen/juno/drip/v1/query.js +137 -0
  280. package/main/codegen/juno/drip/v1/query.lcd.js +52 -0
  281. package/main/codegen/juno/drip/v1/query.rpc.Query.js +45 -0
  282. package/main/codegen/juno/drip/v1/tx.amino.js +20 -0
  283. package/main/codegen/juno/drip/v1/tx.js +326 -0
  284. package/main/codegen/juno/drip/v1/tx.registry.js +65 -0
  285. package/main/codegen/juno/drip/v1/tx.rpc.msg.js +43 -0
  286. package/main/codegen/juno/feepay/v1/feepay.js +217 -0
  287. package/main/codegen/juno/feepay/v1/genesis.js +185 -0
  288. package/main/codegen/juno/feepay/v1/query.js +769 -0
  289. package/main/codegen/juno/feepay/v1/query.lcd.js +165 -0
  290. package/main/codegen/juno/feepay/v1/query.rpc.Query.js +100 -0
  291. package/main/codegen/juno/feepay/v1/tx.amino.js +35 -0
  292. package/main/codegen/juno/feepay/v1/tx.js +792 -0
  293. package/main/codegen/juno/feepay/v1/tx.registry.js +119 -0
  294. package/main/codegen/juno/feepay/v1/tx.rpc.msg.js +73 -0
  295. package/main/codegen/juno/feeshare/v1/feeshare.js +54 -6
  296. package/main/codegen/juno/feeshare/v1/genesis.js +104 -12
  297. package/main/codegen/juno/feeshare/v1/query.js +446 -27
  298. package/main/codegen/juno/feeshare/v1/query.lcd.js +78 -86
  299. package/main/codegen/juno/feeshare/v1/query.rpc.Query.js +7 -9
  300. package/main/codegen/juno/feeshare/v1/tx.amino.js +12 -56
  301. package/main/codegen/juno/feeshare/v1/tx.js +406 -18
  302. package/main/codegen/juno/feeshare/v1/tx.registry.js +19 -1
  303. package/main/codegen/juno/feeshare/v1/tx.rpc.msg.js +15 -7
  304. package/main/codegen/juno/lcd.js +338 -155
  305. package/main/codegen/juno/mint/genesis.js +43 -8
  306. package/main/codegen/juno/mint/mint.js +117 -24
  307. package/main/codegen/juno/mint/query.js +384 -19
  308. package/main/codegen/juno/mint/query.lcd.js +61 -39
  309. package/main/codegen/juno/mint/query.rpc.Query.js +19 -7
  310. package/main/codegen/juno/mint/tx.amino.js +15 -0
  311. package/main/codegen/juno/mint/tx.js +177 -0
  312. package/main/codegen/juno/mint/tx.registry.js +47 -0
  313. package/main/codegen/juno/mint/tx.rpc.msg.js +33 -0
  314. package/main/codegen/juno/rpc.query.js +258 -117
  315. package/main/codegen/juno/rpc.tx.js +250 -111
  316. package/main/codegen/osmosis/bundle.js +19 -19
  317. package/main/codegen/osmosis/client.js +21 -23
  318. package/main/codegen/osmosis/lcd.js +271 -144
  319. package/main/codegen/osmosis/rpc.query.js +211 -110
  320. package/main/codegen/osmosis/rpc.tx.js +193 -111
  321. package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -6
  322. package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +115 -11
  323. package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +64 -8
  324. package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +295 -19
  325. package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +37 -41
  326. package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +5 -7
  327. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -165
  328. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +785 -34
  329. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
  330. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +18 -10
  331. package/main/codegen/router/bundle.js +12 -12
  332. package/main/codegen/router/lcd.js +268 -141
  333. package/main/codegen/router/rpc.query.js +208 -107
  334. package/main/codegen/router/v1/genesis.js +221 -24
  335. package/main/codegen/router/v1/query.js +69 -8
  336. package/main/codegen/router/v1/query.lcd.js +11 -13
  337. package/main/codegen/router/v1/query.rpc.Query.js +3 -5
  338. package/main/codegen/tendermint/abci/types.js +2058 -229
  339. package/main/codegen/tendermint/bundle.js +21 -21
  340. package/main/codegen/tendermint/crypto/keys.js +42 -6
  341. package/main/codegen/tendermint/crypto/proof.js +228 -21
  342. package/main/codegen/tendermint/libs/bits/types.js +47 -12
  343. package/main/codegen/tendermint/p2p/types.js +230 -26
  344. package/main/codegen/tendermint/types/block.js +46 -9
  345. package/main/codegen/tendermint/types/evidence.js +198 -27
  346. package/main/codegen/tendermint/types/params.js +316 -47
  347. package/main/codegen/tendermint/types/types.js +680 -87
  348. package/main/codegen/tendermint/types/validator.js +136 -24
  349. package/main/codegen/tendermint/version/types.js +114 -18
  350. package/main/codegen/utf8.js +129 -0
  351. package/main/codegen/varint.js +440 -0
  352. package/module/codegen/amino/amino.js +1 -0
  353. package/module/codegen/amino/bundle.js +5 -0
  354. package/module/codegen/binary.js +374 -0
  355. package/module/codegen/confio/proofs.js +806 -67
  356. package/module/codegen/contracts.js +2 -2
  357. package/module/codegen/cosmos/app/v1alpha1/config.js +193 -0
  358. package/module/codegen/cosmos/app/v1alpha1/module.js +279 -0
  359. package/module/codegen/cosmos/app/v1alpha1/query.js +139 -0
  360. package/module/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +27 -0
  361. package/module/codegen/cosmos/auth/v1beta1/auth.js +352 -0
  362. package/module/codegen/cosmos/auth/v1beta1/genesis.js +94 -0
  363. package/module/codegen/cosmos/auth/v1beta1/query.js +1066 -0
  364. package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +62 -0
  365. package/module/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +83 -0
  366. package/module/codegen/cosmos/authz/v1beta1/authz.js +210 -9
  367. package/module/codegen/cosmos/authz/v1beta1/event.js +101 -5
  368. package/module/codegen/cosmos/authz/v1beta1/genesis.js +46 -3
  369. package/module/codegen/cosmos/authz/v1beta1/query.js +298 -17
  370. package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -3
  371. package/module/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +4 -4
  372. package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +18 -0
  373. package/module/codegen/cosmos/authz/v1beta1/tx.js +303 -14
  374. package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +69 -0
  375. package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +4 -4
  376. package/module/codegen/cosmos/bank/v1beta1/authz.js +61 -3
  377. package/module/codegen/cosmos/bank/v1beta1/bank.js +400 -17
  378. package/module/codegen/cosmos/bank/v1beta1/genesis.js +121 -6
  379. package/module/codegen/cosmos/bank/v1beta1/query.js +943 -45
  380. package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +0 -9
  381. package/module/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +10 -10
  382. package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -70
  383. package/module/codegen/cosmos/bank/v1beta1/tx.js +181 -9
  384. package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +3 -3
  385. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +636 -57
  386. package/module/codegen/cosmos/base/kv/v1beta1/kv.js +169 -0
  387. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +153 -15
  388. package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +315 -0
  389. package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1197 -53
  390. package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +859 -0
  391. package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +296 -0
  392. package/module/codegen/cosmos/base/store/v1beta1/listening.js +132 -0
  393. package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1347 -0
  394. package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +60 -0
  395. package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +74 -0
  396. package/module/codegen/cosmos/base/v1beta1/coin.js +207 -9
  397. package/module/codegen/cosmos/bundle.js +272 -103
  398. package/module/codegen/cosmos/capability/v1beta1/capability.js +270 -0
  399. package/module/codegen/cosmos/capability/v1beta1/genesis.js +180 -0
  400. package/module/codegen/cosmos/client.js +21 -5
  401. package/module/codegen/cosmos/crisis/v1beta1/genesis.js +77 -0
  402. package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +8 -0
  403. package/module/codegen/cosmos/crisis/v1beta1/tx.js +163 -0
  404. package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +33 -0
  405. package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +17 -0
  406. package/module/codegen/cosmos/crypto/ed25519/keys.js +113 -5
  407. package/module/codegen/cosmos/crypto/hd/v1/hd.js +59 -3
  408. package/module/codegen/cosmos/crypto/keyring/v1/record.js +236 -11
  409. package/module/codegen/cosmos/crypto/multisig/keys.js +62 -3
  410. package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +120 -5
  411. package/module/codegen/cosmos/crypto/secp256k1/keys.js +104 -5
  412. package/module/codegen/cosmos/crypto/secp256r1/keys.js +86 -5
  413. package/module/codegen/cosmos/distribution/v1beta1/distribution.js +753 -52
  414. package/module/codegen/cosmos/distribution/v1beta1/genesis.js +475 -34
  415. package/module/codegen/cosmos/distribution/v1beta1/query.js +943 -49
  416. package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +0 -9
  417. package/module/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +10 -10
  418. package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -74
  419. package/module/codegen/cosmos/distribution/v1beta1/tx.js +390 -21
  420. package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +5 -5
  421. package/module/codegen/cosmos/evidence/v1beta1/evidence.js +124 -0
  422. package/module/codegen/cosmos/evidence/v1beta1/genesis.js +81 -0
  423. package/module/codegen/cosmos/evidence/v1beta1/query.js +339 -0
  424. package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +30 -0
  425. package/module/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +38 -0
  426. package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +8 -0
  427. package/module/codegen/cosmos/evidence/v1beta1/tx.js +176 -0
  428. package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +33 -0
  429. package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +17 -0
  430. package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +435 -0
  431. package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +81 -0
  432. package/module/codegen/cosmos/feegrant/v1beta1/query.js +524 -0
  433. package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +41 -0
  434. package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +45 -0
  435. package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +13 -0
  436. package/module/codegen/cosmos/feegrant/v1beta1/tx.js +323 -0
  437. package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +51 -0
  438. package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +23 -0
  439. package/module/codegen/cosmos/genutil/v1beta1/genesis.js +81 -0
  440. package/module/codegen/cosmos/gov/v1/genesis.js +75 -7
  441. package/module/codegen/cosmos/gov/v1/gov.js +471 -56
  442. package/module/codegen/cosmos/gov/v1/query.js +756 -53
  443. package/module/codegen/cosmos/gov/v1/query.lcd.js +0 -8
  444. package/module/codegen/cosmos/gov/v1/query.rpc.Query.js +9 -9
  445. package/module/codegen/cosmos/gov/v1/tx.amino.js +11 -150
  446. package/module/codegen/cosmos/gov/v1/tx.js +490 -35
  447. package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +6 -6
  448. package/module/codegen/cosmos/gov/v1beta1/genesis.js +78 -10
  449. package/module/codegen/cosmos/gov/v1beta1/gov.js +538 -67
  450. package/module/codegen/cosmos/gov/v1beta1/query.js +763 -60
  451. package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +0 -8
  452. package/module/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +9 -9
  453. package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -114
  454. package/module/codegen/cosmos/gov/v1beta1/tx.js +407 -31
  455. package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +5 -5
  456. package/module/codegen/cosmos/group/v1/events.js +705 -0
  457. package/module/codegen/cosmos/group/v1/genesis.js +173 -0
  458. package/module/codegen/cosmos/group/v1/query.js +2196 -0
  459. package/module/codegen/cosmos/group/v1/query.lcd.js +136 -0
  460. package/module/codegen/cosmos/group/v1/query.rpc.Query.js +135 -0
  461. package/module/codegen/cosmos/group/v1/tx.amino.js +73 -0
  462. package/module/codegen/cosmos/group/v1/tx.js +2445 -0
  463. package/module/codegen/cosmos/group/v1/tx.registry.js +267 -0
  464. package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +95 -0
  465. package/module/codegen/cosmos/group/v1/types.js +1511 -0
  466. package/module/codegen/cosmos/lcd.js +47 -0
  467. package/module/codegen/cosmos/mint/v1beta1/genesis.js +89 -0
  468. package/module/codegen/cosmos/mint/v1beta1/mint.js +226 -0
  469. package/module/codegen/cosmos/mint/v1beta1/query.js +443 -0
  470. package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +27 -0
  471. package/module/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +45 -0
  472. package/module/codegen/cosmos/msg/v1/msg.js +1 -0
  473. package/module/codegen/cosmos/nft/v1beta1/event.js +313 -0
  474. package/module/codegen/cosmos/nft/v1beta1/genesis.js +186 -0
  475. package/module/codegen/cosmos/nft/v1beta1/nft.js +274 -0
  476. package/module/codegen/cosmos/nft/v1beta1/query.js +1152 -0
  477. package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +73 -0
  478. package/module/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +83 -0
  479. package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +8 -0
  480. package/module/codegen/cosmos/nft/v1beta1/tx.js +175 -0
  481. package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +33 -0
  482. package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
  483. package/module/codegen/cosmos/orm/v1/orm.js +368 -0
  484. package/module/codegen/cosmos/orm/v1alpha1/schema.js +245 -0
  485. package/module/codegen/cosmos/params/v1beta1/params.js +213 -0
  486. package/module/codegen/cosmos/params/v1beta1/query.js +424 -0
  487. package/module/codegen/cosmos/params/v1beta1/query.lcd.js +31 -0
  488. package/module/codegen/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
  489. package/module/codegen/cosmos/rpc.query.js +32 -0
  490. package/module/codegen/cosmos/rpc.tx.js +21 -0
  491. package/module/codegen/cosmos/slashing/v1beta1/genesis.js +383 -0
  492. package/module/codegen/cosmos/slashing/v1beta1/query.js +493 -0
  493. package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +36 -0
  494. package/module/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +47 -0
  495. package/module/codegen/cosmos/slashing/v1beta1/slashing.js +273 -0
  496. package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +8 -0
  497. package/module/codegen/cosmos/slashing/v1beta1/tx.js +139 -0
  498. package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +33 -0
  499. package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +17 -0
  500. package/module/codegen/cosmos/staking/v1beta1/authz.js +111 -22
  501. package/module/codegen/cosmos/staking/v1beta1/genesis.js +131 -10
  502. package/module/codegen/cosmos/staking/v1beta1/query.js +1436 -68
  503. package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +0 -14
  504. package/module/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +15 -15
  505. package/module/codegen/cosmos/staking/v1beta1/staking.js +1225 -95
  506. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -199
  507. package/module/codegen/cosmos/staking/v1beta1/tx.js +511 -32
  508. package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +6 -6
  509. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +261 -40
  510. package/module/codegen/cosmos/tx/v1beta1/service.js +581 -52
  511. package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +0 -3
  512. package/module/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +6 -6
  513. package/module/codegen/cosmos/tx/v1beta1/tx.js +818 -50
  514. package/module/codegen/cosmos/upgrade/v1beta1/query.js +514 -28
  515. package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -5
  516. package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +6 -6
  517. package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -51
  518. package/module/codegen/cosmos/upgrade/v1beta1/tx.js +214 -10
  519. package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +3 -3
  520. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +247 -18
  521. package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +18 -0
  522. package/module/codegen/cosmos/vesting/v1beta1/tx.js +570 -0
  523. package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +69 -0
  524. package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +29 -0
  525. package/module/codegen/cosmos/vesting/v1beta1/vesting.js +622 -0
  526. package/module/codegen/cosmos_proto/bundle.js +4 -4
  527. package/module/codegen/cosmos_proto/cosmos.js +121 -15
  528. package/module/codegen/cosmwasm/bundle.js +19 -19
  529. package/module/codegen/cosmwasm/client.js +3 -3
  530. package/module/codegen/cosmwasm/lcd.js +47 -0
  531. package/module/codegen/cosmwasm/rpc.query.js +32 -0
  532. package/module/codegen/cosmwasm/rpc.tx.js +21 -0
  533. package/module/codegen/cosmwasm/wasm/v1/authz.js +504 -30
  534. package/module/codegen/cosmwasm/wasm/v1/genesis.js +294 -21
  535. package/module/codegen/cosmwasm/wasm/v1/ibc.js +102 -12
  536. package/module/codegen/cosmwasm/wasm/v1/proposal.js +815 -42
  537. package/module/codegen/cosmwasm/wasm/v1/query.js +1203 -61
  538. package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +0 -11
  539. package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +12 -12
  540. package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -219
  541. package/module/codegen/cosmwasm/wasm/v1/tx.js +728 -46
  542. package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +8 -8
  543. package/module/codegen/cosmwasm/wasm/v1/types.js +437 -59
  544. package/module/codegen/gaia/bundle.js +10 -10
  545. package/module/codegen/gaia/globalfee/v1beta1/genesis.js +77 -6
  546. package/module/codegen/gaia/globalfee/v1beta1/query.js +90 -5
  547. package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +0 -1
  548. package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +2 -2
  549. package/module/codegen/gaia/lcd.js +47 -0
  550. package/module/codegen/gaia/rpc.query.js +32 -0
  551. package/module/codegen/gogoproto/bundle.js +4 -4
  552. package/module/codegen/google/api/annotations.js +1 -0
  553. package/module/codegen/google/api/http.js +1171 -0
  554. package/module/codegen/google/bundle.js +11 -8
  555. package/module/codegen/google/protobuf/any.js +278 -3
  556. package/module/codegen/google/protobuf/descriptor.js +1534 -165
  557. package/module/codegen/google/protobuf/duration.js +154 -7
  558. package/module/codegen/google/protobuf/empty.js +63 -3
  559. package/module/codegen/google/protobuf/timestamp.js +199 -7
  560. package/module/codegen/helpers.js +19 -46
  561. package/module/codegen/ibc/applications/transfer/v1/genesis.js +55 -4
  562. package/module/codegen/ibc/applications/transfer/v1/query.js +292 -13
  563. package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +0 -3
  564. package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +4 -4
  565. package/module/codegen/ibc/applications/transfer/v1/transfer.js +117 -5
  566. package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -52
  567. package/module/codegen/ibc/applications/transfer/v1/tx.js +116 -11
  568. package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +2 -2
  569. package/module/codegen/ibc/applications/transfer/v2/packet.js +67 -3
  570. package/module/codegen/ibc/bundle.js +69 -58
  571. package/module/codegen/ibc/client.js +3 -3
  572. package/module/codegen/ibc/core/channel/v1/channel.js +424 -55
  573. package/module/codegen/ibc/core/channel/v1/genesis.js +149 -12
  574. package/module/codegen/ibc/core/channel/v1/query.js +1565 -93
  575. package/module/codegen/ibc/core/channel/v1/query.lcd.js +0 -13
  576. package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +14 -14
  577. package/module/codegen/ibc/core/channel/v1/tx.amino.js +21 -490
  578. package/module/codegen/ibc/core/channel/v1/tx.js +1049 -62
  579. package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +11 -11
  580. package/module/codegen/ibc/core/client/v1/client.js +424 -24
  581. package/module/codegen/ibc/core/client/v1/genesis.js +186 -12
  582. package/module/codegen/ibc/core/client/v1/query.js +861 -42
  583. package/module/codegen/ibc/core/client/v1/query.lcd.js +0 -8
  584. package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +9 -9
  585. package/module/codegen/ibc/core/client/v1/tx.amino.js +9 -136
  586. package/module/codegen/ibc/core/client/v1/tx.js +402 -17
  587. package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +5 -5
  588. package/module/codegen/ibc/core/commitment/v1/commitment.js +227 -9
  589. package/module/codegen/ibc/core/connection/v1/connection.js +409 -48
  590. package/module/codegen/ibc/core/connection/v1/genesis.js +62 -8
  591. package/module/codegen/ibc/core/connection/v1/query.js +579 -33
  592. package/module/codegen/ibc/core/connection/v1/query.lcd.js +0 -5
  593. package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +6 -6
  594. package/module/codegen/ibc/core/connection/v1/tx.amino.js +9 -252
  595. package/module/codegen/ibc/core/connection/v1/tx.js +495 -31
  596. package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +5 -5
  597. package/module/codegen/ibc/core/port/v1/query.js +214 -0
  598. package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
  599. package/module/codegen/ibc/core/types/v1/genesis.js +103 -0
  600. package/module/codegen/ibc/lcd.js +47 -0
  601. package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -4
  602. package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +930 -89
  603. package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +927 -86
  604. package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +365 -27
  605. package/module/codegen/ibc/rpc.query.js +35 -0
  606. package/module/codegen/ibc/rpc.tx.js +21 -0
  607. package/module/codegen/ics23/bundle.js +4 -4
  608. package/module/codegen/index.js +5 -2
  609. package/module/codegen/juno/bundle.js +75 -22
  610. package/module/codegen/juno/client.js +15 -5
  611. package/module/codegen/juno/clock/v1/genesis.js +155 -0
  612. package/module/codegen/juno/clock/v1/query.js +256 -0
  613. package/module/codegen/juno/clock/v1/query.lcd.js +21 -0
  614. package/module/codegen/juno/clock/v1/query.rpc.Query.js +36 -0
  615. package/module/codegen/juno/clock/v1/tx.amino.js +8 -0
  616. package/module/codegen/juno/clock/v1/tx.js +167 -0
  617. package/module/codegen/juno/clock/v1/tx.registry.js +33 -0
  618. package/module/codegen/juno/clock/v1/tx.rpc.msg.js +17 -0
  619. package/module/codegen/juno/cwhooks/v1/genesis.js +169 -0
  620. package/module/codegen/juno/cwhooks/v1/query.js +385 -0
  621. package/module/codegen/juno/cwhooks/v1/query.lcd.js +27 -0
  622. package/module/codegen/juno/cwhooks/v1/query.rpc.Query.js +45 -0
  623. package/module/codegen/juno/cwhooks/v1/tx.amino.js +28 -0
  624. package/module/codegen/juno/cwhooks/v1/tx.js +719 -0
  625. package/module/codegen/juno/cwhooks/v1/tx.registry.js +105 -0
  626. package/module/codegen/juno/cwhooks/v1/tx.rpc.msg.js +41 -0
  627. package/module/codegen/juno/drip/v1/genesis.js +155 -0
  628. package/module/codegen/juno/drip/v1/query.js +127 -0
  629. package/module/codegen/juno/drip/v1/query.lcd.js +15 -0
  630. package/module/codegen/juno/drip/v1/query.rpc.Query.js +27 -0
  631. package/module/codegen/juno/drip/v1/tx.amino.js +13 -0
  632. package/module/codegen/juno/drip/v1/tx.js +294 -0
  633. package/module/codegen/juno/drip/v1/tx.registry.js +51 -0
  634. package/module/codegen/juno/drip/v1/tx.rpc.msg.js +23 -0
  635. package/module/codegen/juno/feepay/v1/feepay.js +207 -0
  636. package/module/codegen/juno/feepay/v1/genesis.js +157 -0
  637. package/module/codegen/juno/feepay/v1/query.js +725 -0
  638. package/module/codegen/juno/feepay/v1/query.lcd.js +48 -0
  639. package/module/codegen/juno/feepay/v1/query.rpc.Query.js +65 -0
  640. package/module/codegen/juno/feepay/v1/tx.amino.js +28 -0
  641. package/module/codegen/juno/feepay/v1/tx.js +748 -0
  642. package/module/codegen/juno/feepay/v1/tx.registry.js +105 -0
  643. package/module/codegen/juno/feepay/v1/tx.rpc.msg.js +41 -0
  644. package/module/codegen/juno/feeshare/v1/feeshare.js +54 -3
  645. package/module/codegen/juno/feeshare/v1/genesis.js +95 -8
  646. package/module/codegen/juno/feeshare/v1/query.js +433 -23
  647. package/module/codegen/juno/feeshare/v1/query.lcd.js +0 -5
  648. package/module/codegen/juno/feeshare/v1/query.rpc.Query.js +6 -6
  649. package/module/codegen/juno/feeshare/v1/tx.amino.js +12 -62
  650. package/module/codegen/juno/feeshare/v1/tx.js +400 -13
  651. package/module/codegen/juno/feeshare/v1/tx.registry.js +20 -2
  652. package/module/codegen/juno/feeshare/v1/tx.rpc.msg.js +11 -5
  653. package/module/codegen/juno/lcd.js +67 -0
  654. package/module/codegen/juno/mint/genesis.js +43 -5
  655. package/module/codegen/juno/mint/mint.js +115 -21
  656. package/module/codegen/juno/mint/query.js +378 -14
  657. package/module/codegen/juno/mint/query.lcd.js +6 -3
  658. package/module/codegen/juno/mint/query.rpc.Query.js +14 -5
  659. package/module/codegen/juno/mint/tx.amino.js +8 -0
  660. package/module/codegen/juno/mint/tx.js +167 -0
  661. package/module/codegen/juno/mint/tx.registry.js +33 -0
  662. package/module/codegen/juno/mint/tx.rpc.msg.js +17 -0
  663. package/module/codegen/juno/rpc.query.js +44 -0
  664. package/module/codegen/juno/rpc.tx.js +35 -1
  665. package/module/codegen/osmosis/bundle.js +17 -17
  666. package/module/codegen/osmosis/client.js +3 -3
  667. package/module/codegen/osmosis/lcd.js +47 -0
  668. package/module/codegen/osmosis/rpc.query.js +32 -0
  669. package/module/codegen/osmosis/rpc.tx.js +21 -0
  670. package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -3
  671. package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +110 -7
  672. package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +59 -4
  673. package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +290 -15
  674. package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +0 -3
  675. package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +4 -4
  676. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -173
  677. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +780 -30
  678. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
  679. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +14 -8
  680. package/module/codegen/router/bundle.js +10 -10
  681. package/module/codegen/router/lcd.js +47 -0
  682. package/module/codegen/router/rpc.query.js +32 -0
  683. package/module/codegen/router/v1/genesis.js +217 -22
  684. package/module/codegen/router/v1/query.js +69 -5
  685. package/module/codegen/router/v1/query.lcd.js +0 -1
  686. package/module/codegen/router/v1/query.rpc.Query.js +2 -2
  687. package/module/codegen/tendermint/abci/types.js +1996 -220
  688. package/module/codegen/tendermint/bundle.js +19 -19
  689. package/module/codegen/tendermint/crypto/keys.js +42 -3
  690. package/module/codegen/tendermint/crypto/proof.js +221 -18
  691. package/module/codegen/tendermint/libs/bits/types.js +42 -8
  692. package/module/codegen/tendermint/p2p/types.js +226 -23
  693. package/module/codegen/tendermint/types/block.js +46 -6
  694. package/module/codegen/tendermint/types/evidence.js +191 -24
  695. package/module/codegen/tendermint/types/params.js +306 -43
  696. package/module/codegen/tendermint/types/types.js +666 -85
  697. package/module/codegen/tendermint/types/validator.js +132 -21
  698. package/module/codegen/tendermint/version/types.js +108 -15
  699. package/module/codegen/utf8.js +121 -0
  700. package/module/codegen/varint.js +420 -0
  701. package/package.json +6 -7
  702. package/src/codegen/amino/amino.ts +1 -0
  703. package/src/codegen/amino/bundle.ts +4 -0
  704. package/src/codegen/binary.ts +534 -0
  705. package/src/codegen/confio/proofs.ts +828 -387
  706. package/src/codegen/cosmos/app/v1alpha1/config.ts +255 -0
  707. package/src/codegen/cosmos/app/v1alpha1/module.ts +454 -0
  708. package/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
  709. package/src/codegen/cosmos/app/v1alpha1/query.ts +163 -0
  710. package/src/codegen/cosmos/auth/v1beta1/auth.ts +418 -0
  711. package/src/codegen/cosmos/auth/v1beta1/genesis.ts +113 -0
  712. package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +65 -0
  713. package/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +102 -0
  714. package/src/codegen/cosmos/auth/v1beta1/query.ts +1249 -0
  715. package/src/codegen/cosmos/authz/v1beta1/authz.ts +238 -81
  716. package/src/codegen/cosmos/authz/v1beta1/event.ts +127 -56
  717. package/src/codegen/cosmos/authz/v1beta1/genesis.ts +54 -19
  718. package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +0 -17
  719. package/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +4 -15
  720. package/src/codegen/cosmos/authz/v1beta1/query.ts +359 -140
  721. package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +18 -0
  722. package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +70 -0
  723. package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +4 -12
  724. package/src/codegen/cosmos/authz/v1beta1/tx.ts +336 -113
  725. package/src/codegen/cosmos/bank/v1beta1/authz.ts +59 -19
  726. package/src/codegen/cosmos/bank/v1beta1/bank.ts +454 -172
  727. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +142 -60
  728. package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +0 -34
  729. package/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +10 -39
  730. package/src/codegen/cosmos/bank/v1beta1/query.ts +1075 -385
  731. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +4 -101
  732. package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -6
  733. package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +3 -9
  734. package/src/codegen/cosmos/bank/v1beta1/tx.ts +212 -70
  735. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +767 -356
  736. package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +197 -0
  737. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +166 -77
  738. package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +364 -0
  739. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1406 -501
  740. package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1023 -0
  741. package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +343 -0
  742. package/src/codegen/cosmos/base/store/v1beta1/listening.ts +158 -0
  743. package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +63 -0
  744. package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +87 -0
  745. package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1606 -0
  746. package/src/codegen/cosmos/base/v1beta1/coin.ts +221 -70
  747. package/src/codegen/cosmos/bundle.ts +439 -157
  748. package/src/codegen/cosmos/capability/v1beta1/capability.ts +312 -0
  749. package/src/codegen/cosmos/capability/v1beta1/genesis.ts +226 -0
  750. package/src/codegen/cosmos/client.ts +31 -5
  751. package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +99 -0
  752. package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +8 -0
  753. package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +34 -0
  754. package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +20 -0
  755. package/src/codegen/cosmos/crisis/v1beta1/tx.ts +190 -0
  756. package/src/codegen/cosmos/crypto/ed25519/keys.ts +111 -34
  757. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +76 -39
  758. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +280 -108
  759. package/src/codegen/cosmos/crypto/multisig/keys.ts +63 -21
  760. package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +118 -36
  761. package/src/codegen/cosmos/crypto/secp256k1/keys.ts +108 -34
  762. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +104 -36
  763. package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +778 -261
  764. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +591 -274
  765. package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +0 -24
  766. package/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +10 -39
  767. package/src/codegen/cosmos/distribution/v1beta1/query.ts +1022 -353
  768. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +8 -105
  769. package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -12
  770. package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +5 -15
  771. package/src/codegen/cosmos/distribution/v1beta1/tx.ts +423 -133
  772. package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +146 -0
  773. package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +95 -0
  774. package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +33 -0
  775. package/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
  776. package/src/codegen/cosmos/evidence/v1beta1/query.ts +405 -0
  777. package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
  778. package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +34 -0
  779. package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +23 -0
  780. package/src/codegen/cosmos/evidence/v1beta1/tx.ts +207 -0
  781. package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +560 -0
  782. package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +93 -0
  783. package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
  784. package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +55 -0
  785. package/src/codegen/cosmos/feegrant/v1beta1/query.ts +634 -0
  786. package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +13 -0
  787. package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +52 -0
  788. package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +34 -0
  789. package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +384 -0
  790. package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +95 -0
  791. package/src/codegen/cosmos/gov/v1/genesis.ts +100 -55
  792. package/src/codegen/cosmos/gov/v1/gov.ts +560 -306
  793. package/src/codegen/cosmos/gov/v1/query.lcd.ts +0 -27
  794. package/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +9 -35
  795. package/src/codegen/cosmos/gov/v1/query.ts +929 -365
  796. package/src/codegen/cosmos/gov/v1/tx.amino.ts +10 -208
  797. package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -15
  798. package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +6 -18
  799. package/src/codegen/cosmos/gov/v1/tx.ts +582 -213
  800. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +107 -62
  801. package/src/codegen/cosmos/gov/v1beta1/gov.ts +641 -348
  802. package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +0 -27
  803. package/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +9 -35
  804. package/src/codegen/cosmos/gov/v1beta1/query.ts +948 -384
  805. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +8 -159
  806. package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -12
  807. package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +5 -15
  808. package/src/codegen/cosmos/gov/v1beta1/tx.ts +468 -168
  809. package/src/codegen/cosmos/group/v1/events.ts +855 -0
  810. package/src/codegen/cosmos/group/v1/genesis.ts +240 -0
  811. package/src/codegen/cosmos/group/v1/query.lcd.ts +139 -0
  812. package/src/codegen/cosmos/group/v1/query.rpc.Query.ts +162 -0
  813. package/src/codegen/cosmos/group/v1/query.ts +2674 -0
  814. package/src/codegen/cosmos/group/v1/tx.amino.ts +73 -0
  815. package/src/codegen/cosmos/group/v1/tx.registry.ts +268 -0
  816. package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +124 -0
  817. package/src/codegen/cosmos/group/v1/tx.ts +2998 -0
  818. package/src/codegen/cosmos/group/v1/types.ts +1964 -0
  819. package/src/codegen/cosmos/lcd.ts +47 -0
  820. package/src/codegen/cosmos/mint/v1beta1/genesis.ts +110 -0
  821. package/src/codegen/cosmos/mint/v1beta1/mint.ts +286 -0
  822. package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +30 -0
  823. package/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
  824. package/src/codegen/cosmos/mint/v1beta1/query.ts +513 -0
  825. package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
  826. package/src/codegen/cosmos/nft/v1beta1/event.ts +373 -0
  827. package/src/codegen/cosmos/nft/v1beta1/genesis.ts +222 -0
  828. package/src/codegen/cosmos/nft/v1beta1/nft.ts +354 -0
  829. package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +76 -0
  830. package/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +101 -0
  831. package/src/codegen/cosmos/nft/v1beta1/query.ts +1360 -0
  832. package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +8 -0
  833. package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +34 -0
  834. package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +20 -0
  835. package/src/codegen/cosmos/nft/v1beta1/tx.ts +213 -0
  836. package/src/codegen/cosmos/orm/v1/orm.ts +566 -0
  837. package/src/codegen/cosmos/orm/v1alpha1/schema.ts +348 -0
  838. package/src/codegen/cosmos/params/v1beta1/params.ts +250 -0
  839. package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +34 -0
  840. package/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +44 -0
  841. package/src/codegen/cosmos/params/v1beta1/query.ts +495 -0
  842. package/src/codegen/cosmos/rpc.query.ts +32 -0
  843. package/src/codegen/cosmos/rpc.tx.ts +21 -0
  844. package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +478 -0
  845. package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +39 -0
  846. package/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
  847. package/src/codegen/cosmos/slashing/v1beta1/query.ts +577 -0
  848. package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +356 -0
  849. package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +8 -0
  850. package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +34 -0
  851. package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +24 -0
  852. package/src/codegen/cosmos/slashing/v1beta1/tx.ts +160 -0
  853. package/src/codegen/cosmos/staking/v1beta1/authz.ts +130 -84
  854. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +170 -82
  855. package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +0 -47
  856. package/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +15 -59
  857. package/src/codegen/cosmos/staking/v1beta1/query.ts +1616 -586
  858. package/src/codegen/cosmos/staking/v1beta1/staking.ts +1395 -616
  859. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +10 -276
  860. package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -15
  861. package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +6 -18
  862. package/src/codegen/cosmos/staking/v1beta1/tx.ts +609 -224
  863. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +306 -181
  864. package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +0 -14
  865. package/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +6 -23
  866. package/src/codegen/cosmos/tx/v1beta1/service.ts +635 -293
  867. package/src/codegen/cosmos/tx/v1beta1/tx.ts +930 -405
  868. package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +0 -14
  869. package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +6 -23
  870. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +550 -182
  871. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +4 -77
  872. package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -6
  873. package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +3 -9
  874. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +217 -73
  875. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +284 -124
  876. package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
  877. package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +70 -0
  878. package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +45 -0
  879. package/src/codegen/cosmos/vesting/v1beta1/tx.ts +657 -0
  880. package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +724 -0
  881. package/src/codegen/cosmos_proto/bundle.ts +3 -2
  882. package/src/codegen/cosmos_proto/cosmos.ts +125 -67
  883. package/src/codegen/cosmwasm/bundle.ts +32 -30
  884. package/src/codegen/cosmwasm/client.ts +5 -3
  885. package/src/codegen/cosmwasm/lcd.ts +47 -0
  886. package/src/codegen/cosmwasm/rpc.query.ts +32 -0
  887. package/src/codegen/cosmwasm/rpc.tx.ts +21 -0
  888. package/src/codegen/cosmwasm/wasm/v1/authz.ts +528 -180
  889. package/src/codegen/cosmwasm/wasm/v1/genesis.ts +356 -134
  890. package/src/codegen/cosmwasm/wasm/v1/ibc.ts +131 -60
  891. package/src/codegen/cosmwasm/wasm/v1/proposal.ts +987 -497
  892. package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +0 -36
  893. package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -47
  894. package/src/codegen/cosmwasm/wasm/v1/query.ts +1352 -486
  895. package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +14 -298
  896. package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +0 -21
  897. package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +8 -24
  898. package/src/codegen/cosmwasm/wasm/v1/tx.ts +893 -386
  899. package/src/codegen/cosmwasm/wasm/v1/types.ts +541 -300
  900. package/src/codegen/gaia/bundle.ts +14 -12
  901. package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +97 -40
  902. package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +0 -4
  903. package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +2 -7
  904. package/src/codegen/gaia/globalfee/v1beta1/query.ts +92 -33
  905. package/src/codegen/gaia/lcd.ts +47 -0
  906. package/src/codegen/gaia/rpc.query.ts +32 -0
  907. package/src/codegen/gogoproto/bundle.ts +3 -2
  908. package/src/codegen/google/api/annotations.ts +1 -0
  909. package/src/codegen/google/api/http.ts +1351 -0
  910. package/src/codegen/google/bundle.ts +17 -10
  911. package/src/codegen/google/protobuf/any.ts +131 -24
  912. package/src/codegen/google/protobuf/descriptor.ts +1890 -1033
  913. package/src/codegen/google/protobuf/duration.ts +106 -41
  914. package/src/codegen/google/protobuf/empty.ts +49 -16
  915. package/src/codegen/google/protobuf/timestamp.ts +127 -39
  916. package/src/codegen/helpers.ts +180 -172
  917. package/src/codegen/ibc/applications/transfer/v1/genesis.ts +67 -26
  918. package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +0 -10
  919. package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +4 -15
  920. package/src/codegen/ibc/applications/transfer/v1/query.ts +322 -108
  921. package/src/codegen/ibc/applications/transfer/v1/transfer.ts +123 -46
  922. package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +2 -67
  923. package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +0 -3
  924. package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +2 -6
  925. package/src/codegen/ibc/applications/transfer/v1/tx.ts +148 -75
  926. package/src/codegen/ibc/applications/transfer/v2/packet.ts +74 -34
  927. package/src/codegen/ibc/bundle.ts +115 -90
  928. package/src/codegen/ibc/client.ts +5 -3
  929. package/src/codegen/ibc/core/channel/v1/channel.ts +489 -301
  930. package/src/codegen/ibc/core/channel/v1/genesis.ts +177 -68
  931. package/src/codegen/ibc/core/channel/v1/query.lcd.ts +0 -37
  932. package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +14 -55
  933. package/src/codegen/ibc/core/channel/v1/query.ts +1799 -794
  934. package/src/codegen/ibc/core/channel/v1/tx.amino.ts +20 -637
  935. package/src/codegen/ibc/core/channel/v1/tx.registry.ts +0 -30
  936. package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +11 -33
  937. package/src/codegen/ibc/core/channel/v1/tx.ts +1224 -442
  938. package/src/codegen/ibc/core/client/v1/client.ts +463 -184
  939. package/src/codegen/ibc/core/client/v1/genesis.ts +218 -91
  940. package/src/codegen/ibc/core/client/v1/query.lcd.ts +0 -24
  941. package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +9 -35
  942. package/src/codegen/ibc/core/client/v1/query.ts +929 -333
  943. package/src/codegen/ibc/core/client/v1/tx.amino.ts +8 -190
  944. package/src/codegen/ibc/core/client/v1/tx.registry.ts +0 -12
  945. package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +5 -15
  946. package/src/codegen/ibc/core/client/v1/tx.ts +461 -182
  947. package/src/codegen/ibc/core/commitment/v1/commitment.ts +224 -67
  948. package/src/codegen/ibc/core/connection/v1/connection.ts +485 -246
  949. package/src/codegen/ibc/core/connection/v1/genesis.ts +81 -37
  950. package/src/codegen/ibc/core/connection/v1/query.lcd.ts +0 -14
  951. package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +6 -23
  952. package/src/codegen/ibc/core/connection/v1/query.ts +653 -261
  953. package/src/codegen/ibc/core/connection/v1/tx.amino.ts +8 -328
  954. package/src/codegen/ibc/core/connection/v1/tx.registry.ts +0 -12
  955. package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +5 -15
  956. package/src/codegen/ibc/core/connection/v1/tx.ts +583 -242
  957. package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +30 -0
  958. package/src/codegen/ibc/core/port/v1/query.ts +269 -0
  959. package/src/codegen/ibc/core/types/v1/genesis.ts +135 -0
  960. package/src/codegen/ibc/lcd.ts +47 -0
  961. package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +65 -28
  962. package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1061 -473
  963. package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1056 -468
  964. package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +419 -189
  965. package/src/codegen/ibc/rpc.query.ts +35 -0
  966. package/src/codegen/ibc/rpc.tx.ts +21 -0
  967. package/src/codegen/ics23/bundle.ts +3 -2
  968. package/src/codegen/index.ts +6 -3
  969. package/src/codegen/juno/bundle.ts +127 -34
  970. package/src/codegen/juno/client.ts +21 -4
  971. package/src/codegen/juno/clock/v1/genesis.ts +188 -0
  972. package/src/codegen/juno/clock/v1/query.lcd.ts +24 -0
  973. package/src/codegen/juno/clock/v1/query.rpc.Query.ts +41 -0
  974. package/src/codegen/juno/clock/v1/query.ts +298 -0
  975. package/src/codegen/juno/clock/v1/tx.amino.ts +8 -0
  976. package/src/codegen/juno/clock/v1/tx.registry.ts +34 -0
  977. package/src/codegen/juno/clock/v1/tx.rpc.msg.ts +25 -0
  978. package/src/codegen/juno/clock/v1/tx.ts +203 -0
  979. package/src/codegen/juno/cwhooks/v1/genesis.ts +209 -0
  980. package/src/codegen/juno/cwhooks/v1/query.lcd.ts +30 -0
  981. package/src/codegen/juno/cwhooks/v1/query.rpc.Query.ts +52 -0
  982. package/src/codegen/juno/cwhooks/v1/query.ts +447 -0
  983. package/src/codegen/juno/cwhooks/v1/tx.amino.ts +28 -0
  984. package/src/codegen/juno/cwhooks/v1/tx.registry.ts +106 -0
  985. package/src/codegen/juno/cwhooks/v1/tx.rpc.msg.ts +57 -0
  986. package/src/codegen/juno/cwhooks/v1/tx.ts +851 -0
  987. package/src/codegen/juno/drip/v1/genesis.ts +190 -0
  988. package/src/codegen/juno/drip/v1/query.lcd.ts +18 -0
  989. package/src/codegen/juno/drip/v1/query.rpc.Query.ts +30 -0
  990. package/src/codegen/juno/drip/v1/query.ts +151 -0
  991. package/src/codegen/juno/drip/v1/tx.amino.ts +13 -0
  992. package/src/codegen/juno/drip/v1/tx.registry.ts +52 -0
  993. package/src/codegen/juno/drip/v1/tx.rpc.msg.ts +27 -0
  994. package/src/codegen/juno/drip/v1/tx.ts +360 -0
  995. package/src/codegen/juno/feepay/v1/feepay.ts +257 -0
  996. package/src/codegen/juno/feepay/v1/genesis.ts +191 -0
  997. package/src/codegen/juno/feepay/v1/query.lcd.ts +51 -0
  998. package/src/codegen/juno/feepay/v1/query.rpc.Query.ts +76 -0
  999. package/src/codegen/juno/feepay/v1/query.ts +886 -0
  1000. package/src/codegen/juno/feepay/v1/tx.amino.ts +28 -0
  1001. package/src/codegen/juno/feepay/v1/tx.registry.ts +106 -0
  1002. package/src/codegen/juno/feepay/v1/tx.rpc.msg.ts +52 -0
  1003. package/src/codegen/juno/feepay/v1/tx.ts +905 -0
  1004. package/src/codegen/juno/feeshare/v1/feeshare.ts +61 -29
  1005. package/src/codegen/juno/feeshare/v1/genesis.ts +119 -56
  1006. package/src/codegen/juno/feeshare/v1/query.lcd.ts +0 -18
  1007. package/src/codegen/juno/feeshare/v1/query.rpc.Query.ts +6 -23
  1008. package/src/codegen/juno/feeshare/v1/query.ts +504 -203
  1009. package/src/codegen/juno/feeshare/v1/tx.amino.ts +12 -87
  1010. package/src/codegen/juno/feeshare/v1/tx.registry.ts +20 -11
  1011. package/src/codegen/juno/feeshare/v1/tx.rpc.msg.ts +13 -13
  1012. package/src/codegen/juno/feeshare/v1/tx.ts +485 -120
  1013. package/src/codegen/juno/lcd.ts +67 -0
  1014. package/src/codegen/juno/mint/genesis.ts +58 -30
  1015. package/src/codegen/juno/mint/mint.ts +152 -73
  1016. package/src/codegen/juno/mint/query.lcd.ts +7 -9
  1017. package/src/codegen/juno/mint/query.rpc.Query.ts +16 -16
  1018. package/src/codegen/juno/mint/query.ts +431 -99
  1019. package/src/codegen/juno/mint/tx.amino.ts +8 -0
  1020. package/src/codegen/juno/mint/tx.registry.ts +34 -0
  1021. package/src/codegen/juno/mint/tx.rpc.msg.ts +25 -0
  1022. package/src/codegen/juno/mint/tx.ts +203 -0
  1023. package/src/codegen/juno/rpc.query.ts +44 -0
  1024. package/src/codegen/juno/rpc.tx.ts +35 -1
  1025. package/src/codegen/osmosis/bundle.ts +28 -26
  1026. package/src/codegen/osmosis/client.ts +5 -3
  1027. package/src/codegen/osmosis/lcd.ts +47 -0
  1028. package/src/codegen/osmosis/rpc.query.ts +32 -0
  1029. package/src/codegen/osmosis/rpc.tx.ts +21 -0
  1030. package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +56 -19
  1031. package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +126 -47
  1032. package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +80 -20
  1033. package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +0 -8
  1034. package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +4 -15
  1035. package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +318 -105
  1036. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +18 -244
  1037. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +20 -20
  1038. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +21 -17
  1039. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +881 -215
  1040. package/src/codegen/router/bundle.ts +14 -12
  1041. package/src/codegen/router/lcd.ts +47 -0
  1042. package/src/codegen/router/rpc.query.ts +32 -0
  1043. package/src/codegen/router/v1/genesis.ts +276 -119
  1044. package/src/codegen/router/v1/query.lcd.ts +0 -4
  1045. package/src/codegen/router/v1/query.rpc.Query.ts +2 -7
  1046. package/src/codegen/router/v1/query.ts +85 -34
  1047. package/src/codegen/tendermint/abci/types.ts +2651 -1184
  1048. package/src/codegen/tendermint/bundle.ts +28 -22
  1049. package/src/codegen/tendermint/crypto/keys.ts +51 -20
  1050. package/src/codegen/tendermint/crypto/proof.ts +281 -108
  1051. package/src/codegen/tendermint/libs/bits/types.ts +62 -32
  1052. package/src/codegen/tendermint/p2p/types.ts +318 -126
  1053. package/src/codegen/tendermint/types/block.ts +70 -33
  1054. package/src/codegen/tendermint/types/evidence.ts +257 -112
  1055. package/src/codegen/tendermint/types/params.ts +383 -188
  1056. package/src/codegen/tendermint/types/types.ts +886 -437
  1057. package/src/codegen/tendermint/types/validator.ts +191 -84
  1058. package/src/codegen/tendermint/version/types.ts +125 -56
  1059. package/src/codegen/utf8.ts +148 -0
  1060. package/src/codegen/varint.ts +488 -0
@@ -1,11 +1,10 @@
1
- import { Any, AnySDKType } from "../../../google/protobuf/any";
2
- import { SignMode, SignModeSDKType } from "../signing/v1beta1/signing";
3
- import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig";
4
- import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
5
- import * as _m0 from "protobufjs/minimal";
6
- import { DeepPartial, Long } from "../../../helpers";
1
+ import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any";
2
+ import { SignMode, signModeFromJSON, signModeToJSON } from "../signing/v1beta1/signing";
3
+ import { CompactBitArray, CompactBitArrayAmino, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig";
4
+ import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin";
5
+ import { BinaryReader, BinaryWriter } from "../../../binary";
6
+ import { bytesFromBase64, base64FromBytes } from "../../../helpers";
7
7
  /** Tx is the standard type used for broadcasting transactions. */
8
-
9
8
  export interface Tx {
10
9
  /** body is the processable content of the transaction */
11
10
  body?: TxBody;
@@ -13,33 +12,42 @@ export interface Tx {
13
12
  * auth_info is the authorization related content of the transaction,
14
13
  * specifically signers, signer modes and fee
15
14
  */
16
-
17
15
  authInfo?: AuthInfo;
18
16
  /**
19
17
  * signatures is a list of signatures that matches the length and order of
20
18
  * AuthInfo's signer_infos to allow connecting signature meta information like
21
19
  * public key and signing mode by position.
22
20
  */
23
-
24
21
  signatures: Uint8Array[];
25
22
  }
23
+ export interface TxProtoMsg {
24
+ typeUrl: "/cosmos.tx.v1beta1.Tx";
25
+ value: Uint8Array;
26
+ }
26
27
  /** Tx is the standard type used for broadcasting transactions. */
27
-
28
- export interface TxSDKType {
28
+ export interface TxAmino {
29
29
  /** body is the processable content of the transaction */
30
- body?: TxBodySDKType;
30
+ body?: TxBodyAmino;
31
31
  /**
32
32
  * auth_info is the authorization related content of the transaction,
33
33
  * specifically signers, signer modes and fee
34
34
  */
35
-
36
- auth_info?: AuthInfoSDKType;
35
+ auth_info?: AuthInfoAmino;
37
36
  /**
38
37
  * signatures is a list of signatures that matches the length and order of
39
38
  * AuthInfo's signer_infos to allow connecting signature meta information like
40
39
  * public key and signing mode by position.
41
40
  */
42
-
41
+ signatures?: string[];
42
+ }
43
+ export interface TxAminoMsg {
44
+ type: "cosmos-sdk/Tx";
45
+ value: TxAmino;
46
+ }
47
+ /** Tx is the standard type used for broadcasting transactions. */
48
+ export interface TxSDKType {
49
+ body?: TxBodySDKType;
50
+ auth_info?: AuthInfoSDKType;
43
51
  signatures: Uint8Array[];
44
52
  }
45
53
  /**
@@ -49,7 +57,6 @@ export interface TxSDKType {
49
57
  * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used
50
58
  * as the transaction ID.
51
59
  */
52
-
53
60
  export interface TxRaw {
54
61
  /**
55
62
  * body_bytes is a protobuf serialization of a TxBody that matches the
@@ -60,16 +67,18 @@ export interface TxRaw {
60
67
  * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
61
68
  * representation in SignDoc.
62
69
  */
63
-
64
70
  authInfoBytes: Uint8Array;
65
71
  /**
66
72
  * signatures is a list of signatures that matches the length and order of
67
73
  * AuthInfo's signer_infos to allow connecting signature meta information like
68
74
  * public key and signing mode by position.
69
75
  */
70
-
71
76
  signatures: Uint8Array[];
72
77
  }
78
+ export interface TxRawProtoMsg {
79
+ typeUrl: "/cosmos.tx.v1beta1.TxRaw";
80
+ value: Uint8Array;
81
+ }
73
82
  /**
74
83
  * TxRaw is a variant of Tx that pins the signer's exact binary representation
75
84
  * of body and auth_info. This is used for signing, broadcasting and
@@ -77,29 +86,41 @@ export interface TxRaw {
77
86
  * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used
78
87
  * as the transaction ID.
79
88
  */
80
-
81
- export interface TxRawSDKType {
89
+ export interface TxRawAmino {
82
90
  /**
83
91
  * body_bytes is a protobuf serialization of a TxBody that matches the
84
92
  * representation in SignDoc.
85
93
  */
86
- body_bytes: Uint8Array;
94
+ body_bytes?: string;
87
95
  /**
88
96
  * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
89
97
  * representation in SignDoc.
90
98
  */
91
-
92
- auth_info_bytes: Uint8Array;
99
+ auth_info_bytes?: string;
93
100
  /**
94
101
  * signatures is a list of signatures that matches the length and order of
95
102
  * AuthInfo's signer_infos to allow connecting signature meta information like
96
103
  * public key and signing mode by position.
97
104
  */
98
-
105
+ signatures?: string[];
106
+ }
107
+ export interface TxRawAminoMsg {
108
+ type: "cosmos-sdk/TxRaw";
109
+ value: TxRawAmino;
110
+ }
111
+ /**
112
+ * TxRaw is a variant of Tx that pins the signer's exact binary representation
113
+ * of body and auth_info. This is used for signing, broadcasting and
114
+ * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and
115
+ * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used
116
+ * as the transaction ID.
117
+ */
118
+ export interface TxRawSDKType {
119
+ body_bytes: Uint8Array;
120
+ auth_info_bytes: Uint8Array;
99
121
  signatures: Uint8Array[];
100
122
  }
101
123
  /** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
102
-
103
124
  export interface SignDoc {
104
125
  /**
105
126
  * body_bytes is protobuf serialization of a TxBody that matches the
@@ -110,43 +131,51 @@ export interface SignDoc {
110
131
  * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
111
132
  * representation in TxRaw.
112
133
  */
113
-
114
134
  authInfoBytes: Uint8Array;
115
135
  /**
116
136
  * chain_id is the unique identifier of the chain this transaction targets.
117
137
  * It prevents signed transactions from being used on another chain by an
118
138
  * attacker
119
139
  */
120
-
121
140
  chainId: string;
122
141
  /** account_number is the account number of the account in state */
123
-
124
- accountNumber: Long;
142
+ accountNumber: bigint;
143
+ }
144
+ export interface SignDocProtoMsg {
145
+ typeUrl: "/cosmos.tx.v1beta1.SignDoc";
146
+ value: Uint8Array;
125
147
  }
126
148
  /** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
127
-
128
- export interface SignDocSDKType {
149
+ export interface SignDocAmino {
129
150
  /**
130
151
  * body_bytes is protobuf serialization of a TxBody that matches the
131
152
  * representation in TxRaw.
132
153
  */
133
- body_bytes: Uint8Array;
154
+ body_bytes?: string;
134
155
  /**
135
156
  * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
136
157
  * representation in TxRaw.
137
158
  */
138
-
139
- auth_info_bytes: Uint8Array;
159
+ auth_info_bytes?: string;
140
160
  /**
141
161
  * chain_id is the unique identifier of the chain this transaction targets.
142
162
  * It prevents signed transactions from being used on another chain by an
143
163
  * attacker
144
164
  */
145
-
146
- chain_id: string;
165
+ chain_id?: string;
147
166
  /** account_number is the account number of the account in state */
148
-
149
- account_number: Long;
167
+ account_number?: string;
168
+ }
169
+ export interface SignDocAminoMsg {
170
+ type: "cosmos-sdk/SignDoc";
171
+ value: SignDocAmino;
172
+ }
173
+ /** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
174
+ export interface SignDocSDKType {
175
+ body_bytes: Uint8Array;
176
+ auth_info_bytes: Uint8Array;
177
+ chain_id: string;
178
+ account_number: bigint;
150
179
  }
151
180
  /**
152
181
  * SignDocDirectAux is the type used for generating sign bytes for
@@ -154,7 +183,6 @@ export interface SignDocSDKType {
154
183
  *
155
184
  * Since: cosmos-sdk 0.46
156
185
  */
157
-
158
186
  export interface SignDocDirectAux {
159
187
  /**
160
188
  * body_bytes is protobuf serialization of a TxBody that matches the
@@ -162,66 +190,76 @@ export interface SignDocDirectAux {
162
190
  */
163
191
  bodyBytes: Uint8Array;
164
192
  /** public_key is the public key of the signing account. */
165
-
166
193
  publicKey?: Any;
167
194
  /**
168
195
  * chain_id is the identifier of the chain this transaction targets.
169
196
  * It prevents signed transactions from being used on another chain by an
170
197
  * attacker.
171
198
  */
172
-
173
199
  chainId: string;
174
200
  /** account_number is the account number of the account in state. */
175
-
176
- accountNumber: Long;
201
+ accountNumber: bigint;
177
202
  /** sequence is the sequence number of the signing account. */
178
-
179
- sequence: Long;
203
+ sequence: bigint;
180
204
  /**
181
205
  * Tip is the optional tip used for meta-transactions. It should be left
182
206
  * empty if the signer is not the tipper for this transaction.
183
207
  */
184
-
185
208
  tip?: Tip;
186
209
  }
210
+ export interface SignDocDirectAuxProtoMsg {
211
+ typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux";
212
+ value: Uint8Array;
213
+ }
187
214
  /**
188
215
  * SignDocDirectAux is the type used for generating sign bytes for
189
216
  * SIGN_MODE_DIRECT_AUX.
190
217
  *
191
218
  * Since: cosmos-sdk 0.46
192
219
  */
193
-
194
- export interface SignDocDirectAuxSDKType {
220
+ export interface SignDocDirectAuxAmino {
195
221
  /**
196
222
  * body_bytes is protobuf serialization of a TxBody that matches the
197
223
  * representation in TxRaw.
198
224
  */
199
- body_bytes: Uint8Array;
225
+ body_bytes?: string;
200
226
  /** public_key is the public key of the signing account. */
201
-
202
- public_key?: AnySDKType;
227
+ public_key?: AnyAmino;
203
228
  /**
204
229
  * chain_id is the identifier of the chain this transaction targets.
205
230
  * It prevents signed transactions from being used on another chain by an
206
231
  * attacker.
207
232
  */
208
-
209
- chain_id: string;
233
+ chain_id?: string;
210
234
  /** account_number is the account number of the account in state. */
211
-
212
- account_number: Long;
235
+ account_number?: string;
213
236
  /** sequence is the sequence number of the signing account. */
214
-
215
- sequence: Long;
237
+ sequence?: string;
216
238
  /**
217
239
  * Tip is the optional tip used for meta-transactions. It should be left
218
240
  * empty if the signer is not the tipper for this transaction.
219
241
  */
220
-
242
+ tip?: TipAmino;
243
+ }
244
+ export interface SignDocDirectAuxAminoMsg {
245
+ type: "cosmos-sdk/SignDocDirectAux";
246
+ value: SignDocDirectAuxAmino;
247
+ }
248
+ /**
249
+ * SignDocDirectAux is the type used for generating sign bytes for
250
+ * SIGN_MODE_DIRECT_AUX.
251
+ *
252
+ * Since: cosmos-sdk 0.46
253
+ */
254
+ export interface SignDocDirectAuxSDKType {
255
+ body_bytes: Uint8Array;
256
+ public_key?: AnySDKType;
257
+ chain_id: string;
258
+ account_number: bigint;
259
+ sequence: bigint;
221
260
  tip?: TipSDKType;
222
261
  }
223
262
  /** TxBody is the body of a transaction that all signers sign over. */
224
-
225
263
  export interface TxBody {
226
264
  /**
227
265
  * messages is a list of messages to be executed. The required signers of
@@ -238,32 +276,31 @@ export interface TxBody {
238
276
  * WARNING: in clients, any publicly exposed text should not be called memo,
239
277
  * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
240
278
  */
241
-
242
279
  memo: string;
243
280
  /**
244
281
  * timeout is the block height after which this transaction will not
245
282
  * be processed by the chain
246
283
  */
247
-
248
- timeoutHeight: Long;
284
+ timeoutHeight: bigint;
249
285
  /**
250
286
  * extension_options are arbitrary options that can be added by chains
251
287
  * when the default options are not sufficient. If any of these are present
252
288
  * and can't be handled, the transaction will be rejected
253
289
  */
254
-
255
290
  extensionOptions: Any[];
256
291
  /**
257
292
  * extension_options are arbitrary options that can be added by chains
258
293
  * when the default options are not sufficient. If any of these are present
259
294
  * and can't be handled, they will be ignored
260
295
  */
261
-
262
296
  nonCriticalExtensionOptions: Any[];
263
297
  }
298
+ export interface TxBodyProtoMsg {
299
+ typeUrl: "/cosmos.tx.v1beta1.TxBody";
300
+ value: Uint8Array;
301
+ }
264
302
  /** TxBody is the body of a transaction that all signers sign over. */
265
-
266
- export interface TxBodySDKType {
303
+ export interface TxBodyAmino {
267
304
  /**
268
305
  * messages is a list of messages to be executed. The required signers of
269
306
  * those messages define the number and order of elements in AuthInfo's
@@ -273,40 +310,47 @@ export interface TxBodySDKType {
273
310
  * is referred to as the primary signer and pays the fee for the whole
274
311
  * transaction.
275
312
  */
276
- messages: AnySDKType[];
313
+ messages?: AnyAmino[];
277
314
  /**
278
315
  * memo is any arbitrary note/comment to be added to the transaction.
279
316
  * WARNING: in clients, any publicly exposed text should not be called memo,
280
317
  * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
281
318
  */
282
-
283
- memo: string;
319
+ memo?: string;
284
320
  /**
285
321
  * timeout is the block height after which this transaction will not
286
322
  * be processed by the chain
287
323
  */
288
-
289
- timeout_height: Long;
324
+ timeout_height?: string;
290
325
  /**
291
326
  * extension_options are arbitrary options that can be added by chains
292
327
  * when the default options are not sufficient. If any of these are present
293
328
  * and can't be handled, the transaction will be rejected
294
329
  */
295
-
296
- extension_options: AnySDKType[];
330
+ extension_options?: AnyAmino[];
297
331
  /**
298
332
  * extension_options are arbitrary options that can be added by chains
299
333
  * when the default options are not sufficient. If any of these are present
300
334
  * and can't be handled, they will be ignored
301
335
  */
302
-
336
+ non_critical_extension_options?: AnyAmino[];
337
+ }
338
+ export interface TxBodyAminoMsg {
339
+ type: "cosmos-sdk/TxBody";
340
+ value: TxBodyAmino;
341
+ }
342
+ /** TxBody is the body of a transaction that all signers sign over. */
343
+ export interface TxBodySDKType {
344
+ messages: AnySDKType[];
345
+ memo: string;
346
+ timeout_height: bigint;
347
+ extension_options: AnySDKType[];
303
348
  non_critical_extension_options: AnySDKType[];
304
349
  }
305
350
  /**
306
351
  * AuthInfo describes the fee and signer modes that are used to sign a
307
352
  * transaction.
308
353
  */
309
-
310
354
  export interface AuthInfo {
311
355
  /**
312
356
  * signer_infos defines the signing modes for the required signers. The number
@@ -321,50 +365,61 @@ export interface AuthInfo {
321
365
  * based on the cost of evaluating the body and doing signature verification
322
366
  * of the signers. This can be estimated via simulation.
323
367
  */
324
-
325
368
  fee?: Fee;
326
369
  /**
327
370
  * Tip is the optional tip used for meta-transactions.
328
371
  *
329
372
  * Since: cosmos-sdk 0.46
330
373
  */
331
-
332
374
  tip?: Tip;
333
375
  }
376
+ export interface AuthInfoProtoMsg {
377
+ typeUrl: "/cosmos.tx.v1beta1.AuthInfo";
378
+ value: Uint8Array;
379
+ }
334
380
  /**
335
381
  * AuthInfo describes the fee and signer modes that are used to sign a
336
382
  * transaction.
337
383
  */
338
-
339
- export interface AuthInfoSDKType {
384
+ export interface AuthInfoAmino {
340
385
  /**
341
386
  * signer_infos defines the signing modes for the required signers. The number
342
387
  * and order of elements must match the required signers from TxBody's
343
388
  * messages. The first element is the primary signer and the one which pays
344
389
  * the fee.
345
390
  */
346
- signer_infos: SignerInfoSDKType[];
391
+ signer_infos?: SignerInfoAmino[];
347
392
  /**
348
393
  * Fee is the fee and gas limit for the transaction. The first signer is the
349
394
  * primary signer and the one which pays the fee. The fee can be calculated
350
395
  * based on the cost of evaluating the body and doing signature verification
351
396
  * of the signers. This can be estimated via simulation.
352
397
  */
353
-
354
- fee?: FeeSDKType;
398
+ fee?: FeeAmino;
355
399
  /**
356
400
  * Tip is the optional tip used for meta-transactions.
357
401
  *
358
402
  * Since: cosmos-sdk 0.46
359
403
  */
360
-
404
+ tip?: TipAmino;
405
+ }
406
+ export interface AuthInfoAminoMsg {
407
+ type: "cosmos-sdk/AuthInfo";
408
+ value: AuthInfoAmino;
409
+ }
410
+ /**
411
+ * AuthInfo describes the fee and signer modes that are used to sign a
412
+ * transaction.
413
+ */
414
+ export interface AuthInfoSDKType {
415
+ signer_infos: SignerInfoSDKType[];
416
+ fee?: FeeSDKType;
361
417
  tip?: TipSDKType;
362
418
  }
363
419
  /**
364
420
  * SignerInfo describes the public key and signing mode of a single top-level
365
421
  * signer.
366
422
  */
367
-
368
423
  export interface SignerInfo {
369
424
  /**
370
425
  * public_key is the public key of the signer. It is optional for accounts
@@ -376,58 +431,79 @@ export interface SignerInfo {
376
431
  * mode_info describes the signing mode of the signer and is a nested
377
432
  * structure to support nested multisig pubkey's
378
433
  */
379
-
380
434
  modeInfo?: ModeInfo;
381
435
  /**
382
436
  * sequence is the sequence of the account, which describes the
383
437
  * number of committed transactions signed by a given address. It is used to
384
438
  * prevent replay attacks.
385
439
  */
386
-
387
- sequence: Long;
440
+ sequence: bigint;
441
+ }
442
+ export interface SignerInfoProtoMsg {
443
+ typeUrl: "/cosmos.tx.v1beta1.SignerInfo";
444
+ value: Uint8Array;
388
445
  }
389
446
  /**
390
447
  * SignerInfo describes the public key and signing mode of a single top-level
391
448
  * signer.
392
449
  */
393
-
394
- export interface SignerInfoSDKType {
450
+ export interface SignerInfoAmino {
395
451
  /**
396
452
  * public_key is the public key of the signer. It is optional for accounts
397
453
  * that already exist in state. If unset, the verifier can use the required \
398
454
  * signer address for this position and lookup the public key.
399
455
  */
400
- public_key?: AnySDKType;
456
+ public_key?: AnyAmino;
401
457
  /**
402
458
  * mode_info describes the signing mode of the signer and is a nested
403
459
  * structure to support nested multisig pubkey's
404
460
  */
405
-
406
- mode_info?: ModeInfoSDKType;
461
+ mode_info?: ModeInfoAmino;
407
462
  /**
408
463
  * sequence is the sequence of the account, which describes the
409
464
  * number of committed transactions signed by a given address. It is used to
410
465
  * prevent replay attacks.
411
466
  */
412
-
413
- sequence: Long;
467
+ sequence?: string;
468
+ }
469
+ export interface SignerInfoAminoMsg {
470
+ type: "cosmos-sdk/SignerInfo";
471
+ value: SignerInfoAmino;
472
+ }
473
+ /**
474
+ * SignerInfo describes the public key and signing mode of a single top-level
475
+ * signer.
476
+ */
477
+ export interface SignerInfoSDKType {
478
+ public_key?: AnySDKType;
479
+ mode_info?: ModeInfoSDKType;
480
+ sequence: bigint;
414
481
  }
415
482
  /** ModeInfo describes the signing mode of a single or nested multisig signer. */
416
-
417
483
  export interface ModeInfo {
418
484
  /** single represents a single signer */
419
485
  single?: ModeInfo_Single;
420
486
  /** multi represents a nested multisig signer */
421
-
422
487
  multi?: ModeInfo_Multi;
423
488
  }
489
+ export interface ModeInfoProtoMsg {
490
+ typeUrl: "/cosmos.tx.v1beta1.ModeInfo";
491
+ value: Uint8Array;
492
+ }
424
493
  /** ModeInfo describes the signing mode of a single or nested multisig signer. */
425
-
426
- export interface ModeInfoSDKType {
494
+ export interface ModeInfoAmino {
427
495
  /** single represents a single signer */
428
- single?: ModeInfo_SingleSDKType;
496
+ single?: ModeInfo_SingleAmino;
429
497
  /** multi represents a nested multisig signer */
430
-
498
+ multi?: ModeInfo_MultiAmino;
499
+ }
500
+ export interface ModeInfoAminoMsg {
501
+ type: "cosmos-sdk/ModeInfo";
502
+ value: ModeInfoAmino;
503
+ }
504
+ /** ModeInfo describes the signing mode of a single or nested multisig signer. */
505
+ export interface ModeInfoSDKType {
506
+ single?: ModeInfo_SingleSDKType;
431
507
  multi?: ModeInfo_MultiSDKType;
432
508
  }
433
509
  /**
@@ -435,23 +511,36 @@ export interface ModeInfoSDKType {
435
511
  * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the
436
512
  * future
437
513
  */
438
-
439
514
  export interface ModeInfo_Single {
440
515
  /** mode is the signing mode of the single signer */
441
516
  mode: SignMode;
442
517
  }
518
+ export interface ModeInfo_SingleProtoMsg {
519
+ typeUrl: "/cosmos.tx.v1beta1.Single";
520
+ value: Uint8Array;
521
+ }
443
522
  /**
444
523
  * Single is the mode info for a single signer. It is structured as a message
445
524
  * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the
446
525
  * future
447
526
  */
448
-
449
- export interface ModeInfo_SingleSDKType {
527
+ export interface ModeInfo_SingleAmino {
450
528
  /** mode is the signing mode of the single signer */
451
- mode: SignModeSDKType;
529
+ mode?: SignMode;
530
+ }
531
+ export interface ModeInfo_SingleAminoMsg {
532
+ type: "cosmos-sdk/Single";
533
+ value: ModeInfo_SingleAmino;
534
+ }
535
+ /**
536
+ * Single is the mode info for a single signer. It is structured as a message
537
+ * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the
538
+ * future
539
+ */
540
+ export interface ModeInfo_SingleSDKType {
541
+ mode: SignMode;
452
542
  }
453
543
  /** Multi is the mode info for a multisig public key */
454
-
455
544
  export interface ModeInfo_Multi {
456
545
  /** bitarray specifies which keys within the multisig are signing */
457
546
  bitarray?: CompactBitArray;
@@ -459,19 +548,29 @@ export interface ModeInfo_Multi {
459
548
  * mode_infos is the corresponding modes of the signers of the multisig
460
549
  * which could include nested multisig public keys
461
550
  */
462
-
463
551
  modeInfos: ModeInfo[];
464
552
  }
553
+ export interface ModeInfo_MultiProtoMsg {
554
+ typeUrl: "/cosmos.tx.v1beta1.Multi";
555
+ value: Uint8Array;
556
+ }
465
557
  /** Multi is the mode info for a multisig public key */
466
-
467
- export interface ModeInfo_MultiSDKType {
558
+ export interface ModeInfo_MultiAmino {
468
559
  /** bitarray specifies which keys within the multisig are signing */
469
- bitarray?: CompactBitArraySDKType;
560
+ bitarray?: CompactBitArrayAmino;
470
561
  /**
471
562
  * mode_infos is the corresponding modes of the signers of the multisig
472
563
  * which could include nested multisig public keys
473
564
  */
474
-
565
+ mode_infos?: ModeInfoAmino[];
566
+ }
567
+ export interface ModeInfo_MultiAminoMsg {
568
+ type: "cosmos-sdk/Multi";
569
+ value: ModeInfo_MultiAmino;
570
+ }
571
+ /** Multi is the mode info for a multisig public key */
572
+ export interface ModeInfo_MultiSDKType {
573
+ bitarray?: CompactBitArraySDKType;
475
574
  mode_infos: ModeInfoSDKType[];
476
575
  }
477
576
  /**
@@ -479,7 +578,6 @@ export interface ModeInfo_MultiSDKType {
479
578
  * gas to be used by the transaction. The ratio yields an effective "gasprice",
480
579
  * which must be above some miminum to be accepted into the mempool.
481
580
  */
482
-
483
581
  export interface Fee {
484
582
  /** amount is the amount of coins to be paid as a fee */
485
583
  amount: Coin[];
@@ -487,51 +585,63 @@ export interface Fee {
487
585
  * gas_limit is the maximum gas that can be used in transaction processing
488
586
  * before an out of gas error occurs
489
587
  */
490
-
491
- gasLimit: Long;
588
+ gasLimit: bigint;
492
589
  /**
493
590
  * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
494
591
  * the payer must be a tx signer (and thus have signed this field in AuthInfo).
495
592
  * setting this field does *not* change the ordering of required signers for the transaction.
496
593
  */
497
-
498
594
  payer: string;
499
595
  /**
500
596
  * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used
501
597
  * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does
502
598
  * not support fee grants, this will fail
503
599
  */
504
-
505
600
  granter: string;
506
601
  }
602
+ export interface FeeProtoMsg {
603
+ typeUrl: "/cosmos.tx.v1beta1.Fee";
604
+ value: Uint8Array;
605
+ }
507
606
  /**
508
607
  * Fee includes the amount of coins paid in fees and the maximum
509
608
  * gas to be used by the transaction. The ratio yields an effective "gasprice",
510
609
  * which must be above some miminum to be accepted into the mempool.
511
610
  */
512
-
513
- export interface FeeSDKType {
611
+ export interface FeeAmino {
514
612
  /** amount is the amount of coins to be paid as a fee */
515
- amount: CoinSDKType[];
613
+ amount?: CoinAmino[];
516
614
  /**
517
615
  * gas_limit is the maximum gas that can be used in transaction processing
518
616
  * before an out of gas error occurs
519
617
  */
520
-
521
- gas_limit: Long;
618
+ gas_limit?: string;
522
619
  /**
523
620
  * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
524
621
  * the payer must be a tx signer (and thus have signed this field in AuthInfo).
525
622
  * setting this field does *not* change the ordering of required signers for the transaction.
526
623
  */
527
-
528
- payer: string;
624
+ payer?: string;
529
625
  /**
530
626
  * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used
531
627
  * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does
532
628
  * not support fee grants, this will fail
533
629
  */
534
-
630
+ granter?: string;
631
+ }
632
+ export interface FeeAminoMsg {
633
+ type: "cosmos-sdk/Fee";
634
+ value: FeeAmino;
635
+ }
636
+ /**
637
+ * Fee includes the amount of coins paid in fees and the maximum
638
+ * gas to be used by the transaction. The ratio yields an effective "gasprice",
639
+ * which must be above some miminum to be accepted into the mempool.
640
+ */
641
+ export interface FeeSDKType {
642
+ amount: CoinSDKType[];
643
+ gas_limit: bigint;
644
+ payer: string;
535
645
  granter: string;
536
646
  }
537
647
  /**
@@ -539,25 +649,38 @@ export interface FeeSDKType {
539
649
  *
540
650
  * Since: cosmos-sdk 0.46
541
651
  */
542
-
543
652
  export interface Tip {
544
653
  /** amount is the amount of the tip */
545
654
  amount: Coin[];
546
655
  /** tipper is the address of the account paying for the tip */
547
-
548
656
  tipper: string;
549
657
  }
658
+ export interface TipProtoMsg {
659
+ typeUrl: "/cosmos.tx.v1beta1.Tip";
660
+ value: Uint8Array;
661
+ }
550
662
  /**
551
663
  * Tip is the tip used for meta-transactions.
552
664
  *
553
665
  * Since: cosmos-sdk 0.46
554
666
  */
555
-
556
- export interface TipSDKType {
667
+ export interface TipAmino {
557
668
  /** amount is the amount of the tip */
558
- amount: CoinSDKType[];
669
+ amount?: CoinAmino[];
559
670
  /** tipper is the address of the account paying for the tip */
560
-
671
+ tipper?: string;
672
+ }
673
+ export interface TipAminoMsg {
674
+ type: "cosmos-sdk/Tip";
675
+ value: TipAmino;
676
+ }
677
+ /**
678
+ * Tip is the tip used for meta-transactions.
679
+ *
680
+ * Since: cosmos-sdk 0.46
681
+ */
682
+ export interface TipSDKType {
683
+ amount: CoinSDKType[];
561
684
  tipper: string;
562
685
  }
563
686
  /**
@@ -568,7 +691,6 @@ export interface TipSDKType {
568
691
  *
569
692
  * Since: cosmos-sdk 0.46
570
693
  */
571
-
572
694
  export interface AuxSignerData {
573
695
  /**
574
696
  * address is the bech32-encoded address of the auxiliary signer. If using
@@ -581,15 +703,16 @@ export interface AuxSignerData {
581
703
  * signs. Note: we use the same sign doc even if we're signing with
582
704
  * LEGACY_AMINO_JSON.
583
705
  */
584
-
585
706
  signDoc?: SignDocDirectAux;
586
707
  /** mode is the signing mode of the single signer */
587
-
588
708
  mode: SignMode;
589
709
  /** sig is the signature of the sign doc. */
590
-
591
710
  sig: Uint8Array;
592
711
  }
712
+ export interface AuxSignerDataProtoMsg {
713
+ typeUrl: "/cosmos.tx.v1beta1.AuxSignerData";
714
+ value: Uint8Array;
715
+ }
593
716
  /**
594
717
  * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a
595
718
  * tipper) builds and sends to the fee payer (who will build and broadcast the
@@ -598,29 +721,42 @@ export interface AuxSignerData {
598
721
  *
599
722
  * Since: cosmos-sdk 0.46
600
723
  */
601
-
602
- export interface AuxSignerDataSDKType {
724
+ export interface AuxSignerDataAmino {
603
725
  /**
604
726
  * address is the bech32-encoded address of the auxiliary signer. If using
605
727
  * AuxSignerData across different chains, the bech32 prefix of the target
606
728
  * chain (where the final transaction is broadcasted) should be used.
607
729
  */
608
- address: string;
730
+ address?: string;
609
731
  /**
610
732
  * sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer
611
733
  * signs. Note: we use the same sign doc even if we're signing with
612
734
  * LEGACY_AMINO_JSON.
613
735
  */
614
-
615
- sign_doc?: SignDocDirectAuxSDKType;
736
+ sign_doc?: SignDocDirectAuxAmino;
616
737
  /** mode is the signing mode of the single signer */
617
-
618
- mode: SignModeSDKType;
738
+ mode?: SignMode;
619
739
  /** sig is the signature of the sign doc. */
620
-
740
+ sig?: string;
741
+ }
742
+ export interface AuxSignerDataAminoMsg {
743
+ type: "cosmos-sdk/AuxSignerData";
744
+ value: AuxSignerDataAmino;
745
+ }
746
+ /**
747
+ * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a
748
+ * tipper) builds and sends to the fee payer (who will build and broadcast the
749
+ * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected
750
+ * by the node if sent directly as-is.
751
+ *
752
+ * Since: cosmos-sdk 0.46
753
+ */
754
+ export interface AuxSignerDataSDKType {
755
+ address: string;
756
+ sign_doc?: SignDocDirectAuxSDKType;
757
+ mode: SignMode;
621
758
  sig: Uint8Array;
622
759
  }
623
-
624
760
  function createBaseTx(): Tx {
625
761
  return {
626
762
  body: undefined,
@@ -628,64 +764,94 @@ function createBaseTx(): Tx {
628
764
  signatures: []
629
765
  };
630
766
  }
631
-
632
767
  export const Tx = {
633
- encode(message: Tx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
768
+ typeUrl: "/cosmos.tx.v1beta1.Tx",
769
+ encode(message: Tx, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
634
770
  if (message.body !== undefined) {
635
771
  TxBody.encode(message.body, writer.uint32(10).fork()).ldelim();
636
772
  }
637
-
638
773
  if (message.authInfo !== undefined) {
639
774
  AuthInfo.encode(message.authInfo, writer.uint32(18).fork()).ldelim();
640
775
  }
641
-
642
776
  for (const v of message.signatures) {
643
777
  writer.uint32(26).bytes(v!);
644
778
  }
645
-
646
779
  return writer;
647
780
  },
648
-
649
- decode(input: _m0.Reader | Uint8Array, length?: number): Tx {
650
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
781
+ decode(input: BinaryReader | Uint8Array, length?: number): Tx {
782
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
651
783
  let end = length === undefined ? reader.len : reader.pos + length;
652
784
  const message = createBaseTx();
653
-
654
785
  while (reader.pos < end) {
655
786
  const tag = reader.uint32();
656
-
657
787
  switch (tag >>> 3) {
658
788
  case 1:
659
789
  message.body = TxBody.decode(reader, reader.uint32());
660
790
  break;
661
-
662
791
  case 2:
663
792
  message.authInfo = AuthInfo.decode(reader, reader.uint32());
664
793
  break;
665
-
666
794
  case 3:
667
795
  message.signatures.push(reader.bytes());
668
796
  break;
669
-
670
797
  default:
671
798
  reader.skipType(tag & 7);
672
799
  break;
673
800
  }
674
801
  }
675
-
676
802
  return message;
677
803
  },
678
-
679
- fromPartial(object: DeepPartial<Tx>): Tx {
804
+ fromPartial(object: Partial<Tx>): Tx {
680
805
  const message = createBaseTx();
681
806
  message.body = object.body !== undefined && object.body !== null ? TxBody.fromPartial(object.body) : undefined;
682
807
  message.authInfo = object.authInfo !== undefined && object.authInfo !== null ? AuthInfo.fromPartial(object.authInfo) : undefined;
683
808
  message.signatures = object.signatures?.map(e => e) || [];
684
809
  return message;
810
+ },
811
+ fromAmino(object: TxAmino): Tx {
812
+ const message = createBaseTx();
813
+ if (object.body !== undefined && object.body !== null) {
814
+ message.body = TxBody.fromAmino(object.body);
815
+ }
816
+ if (object.auth_info !== undefined && object.auth_info !== null) {
817
+ message.authInfo = AuthInfo.fromAmino(object.auth_info);
818
+ }
819
+ message.signatures = object.signatures?.map(e => bytesFromBase64(e)) || [];
820
+ return message;
821
+ },
822
+ toAmino(message: Tx): TxAmino {
823
+ const obj: any = {};
824
+ obj.body = message.body ? TxBody.toAmino(message.body) : undefined;
825
+ obj.auth_info = message.authInfo ? AuthInfo.toAmino(message.authInfo) : undefined;
826
+ if (message.signatures) {
827
+ obj.signatures = message.signatures.map(e => base64FromBytes(e));
828
+ } else {
829
+ obj.signatures = [];
830
+ }
831
+ return obj;
832
+ },
833
+ fromAminoMsg(object: TxAminoMsg): Tx {
834
+ return Tx.fromAmino(object.value);
835
+ },
836
+ toAminoMsg(message: Tx): TxAminoMsg {
837
+ return {
838
+ type: "cosmos-sdk/Tx",
839
+ value: Tx.toAmino(message)
840
+ };
841
+ },
842
+ fromProtoMsg(message: TxProtoMsg): Tx {
843
+ return Tx.decode(message.value);
844
+ },
845
+ toProto(message: Tx): Uint8Array {
846
+ return Tx.encode(message).finish();
847
+ },
848
+ toProtoMsg(message: Tx): TxProtoMsg {
849
+ return {
850
+ typeUrl: "/cosmos.tx.v1beta1.Tx",
851
+ value: Tx.encode(message).finish()
852
+ };
685
853
  }
686
-
687
854
  };
688
-
689
855
  function createBaseTxRaw(): TxRaw {
690
856
  return {
691
857
  bodyBytes: new Uint8Array(),
@@ -693,319 +859,451 @@ function createBaseTxRaw(): TxRaw {
693
859
  signatures: []
694
860
  };
695
861
  }
696
-
697
862
  export const TxRaw = {
698
- encode(message: TxRaw, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
863
+ typeUrl: "/cosmos.tx.v1beta1.TxRaw",
864
+ encode(message: TxRaw, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
699
865
  if (message.bodyBytes.length !== 0) {
700
866
  writer.uint32(10).bytes(message.bodyBytes);
701
867
  }
702
-
703
868
  if (message.authInfoBytes.length !== 0) {
704
869
  writer.uint32(18).bytes(message.authInfoBytes);
705
870
  }
706
-
707
871
  for (const v of message.signatures) {
708
872
  writer.uint32(26).bytes(v!);
709
873
  }
710
-
711
874
  return writer;
712
875
  },
713
-
714
- decode(input: _m0.Reader | Uint8Array, length?: number): TxRaw {
715
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
876
+ decode(input: BinaryReader | Uint8Array, length?: number): TxRaw {
877
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
716
878
  let end = length === undefined ? reader.len : reader.pos + length;
717
879
  const message = createBaseTxRaw();
718
-
719
880
  while (reader.pos < end) {
720
881
  const tag = reader.uint32();
721
-
722
882
  switch (tag >>> 3) {
723
883
  case 1:
724
884
  message.bodyBytes = reader.bytes();
725
885
  break;
726
-
727
886
  case 2:
728
887
  message.authInfoBytes = reader.bytes();
729
888
  break;
730
-
731
889
  case 3:
732
890
  message.signatures.push(reader.bytes());
733
891
  break;
734
-
735
892
  default:
736
893
  reader.skipType(tag & 7);
737
894
  break;
738
895
  }
739
896
  }
740
-
741
897
  return message;
742
898
  },
743
-
744
- fromPartial(object: DeepPartial<TxRaw>): TxRaw {
899
+ fromPartial(object: Partial<TxRaw>): TxRaw {
745
900
  const message = createBaseTxRaw();
746
901
  message.bodyBytes = object.bodyBytes ?? new Uint8Array();
747
902
  message.authInfoBytes = object.authInfoBytes ?? new Uint8Array();
748
903
  message.signatures = object.signatures?.map(e => e) || [];
749
904
  return message;
905
+ },
906
+ fromAmino(object: TxRawAmino): TxRaw {
907
+ const message = createBaseTxRaw();
908
+ if (object.body_bytes !== undefined && object.body_bytes !== null) {
909
+ message.bodyBytes = bytesFromBase64(object.body_bytes);
910
+ }
911
+ if (object.auth_info_bytes !== undefined && object.auth_info_bytes !== null) {
912
+ message.authInfoBytes = bytesFromBase64(object.auth_info_bytes);
913
+ }
914
+ message.signatures = object.signatures?.map(e => bytesFromBase64(e)) || [];
915
+ return message;
916
+ },
917
+ toAmino(message: TxRaw): TxRawAmino {
918
+ const obj: any = {};
919
+ obj.body_bytes = message.bodyBytes ? base64FromBytes(message.bodyBytes) : undefined;
920
+ obj.auth_info_bytes = message.authInfoBytes ? base64FromBytes(message.authInfoBytes) : undefined;
921
+ if (message.signatures) {
922
+ obj.signatures = message.signatures.map(e => base64FromBytes(e));
923
+ } else {
924
+ obj.signatures = [];
925
+ }
926
+ return obj;
927
+ },
928
+ fromAminoMsg(object: TxRawAminoMsg): TxRaw {
929
+ return TxRaw.fromAmino(object.value);
930
+ },
931
+ toAminoMsg(message: TxRaw): TxRawAminoMsg {
932
+ return {
933
+ type: "cosmos-sdk/TxRaw",
934
+ value: TxRaw.toAmino(message)
935
+ };
936
+ },
937
+ fromProtoMsg(message: TxRawProtoMsg): TxRaw {
938
+ return TxRaw.decode(message.value);
939
+ },
940
+ toProto(message: TxRaw): Uint8Array {
941
+ return TxRaw.encode(message).finish();
942
+ },
943
+ toProtoMsg(message: TxRaw): TxRawProtoMsg {
944
+ return {
945
+ typeUrl: "/cosmos.tx.v1beta1.TxRaw",
946
+ value: TxRaw.encode(message).finish()
947
+ };
750
948
  }
751
-
752
949
  };
753
-
754
950
  function createBaseSignDoc(): SignDoc {
755
951
  return {
756
952
  bodyBytes: new Uint8Array(),
757
953
  authInfoBytes: new Uint8Array(),
758
954
  chainId: "",
759
- accountNumber: Long.UZERO
955
+ accountNumber: BigInt(0)
760
956
  };
761
957
  }
762
-
763
958
  export const SignDoc = {
764
- encode(message: SignDoc, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
959
+ typeUrl: "/cosmos.tx.v1beta1.SignDoc",
960
+ encode(message: SignDoc, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
765
961
  if (message.bodyBytes.length !== 0) {
766
962
  writer.uint32(10).bytes(message.bodyBytes);
767
963
  }
768
-
769
964
  if (message.authInfoBytes.length !== 0) {
770
965
  writer.uint32(18).bytes(message.authInfoBytes);
771
966
  }
772
-
773
967
  if (message.chainId !== "") {
774
968
  writer.uint32(26).string(message.chainId);
775
969
  }
776
-
777
- if (!message.accountNumber.isZero()) {
970
+ if (message.accountNumber !== BigInt(0)) {
778
971
  writer.uint32(32).uint64(message.accountNumber);
779
972
  }
780
-
781
973
  return writer;
782
974
  },
783
-
784
- decode(input: _m0.Reader | Uint8Array, length?: number): SignDoc {
785
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
975
+ decode(input: BinaryReader | Uint8Array, length?: number): SignDoc {
976
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
786
977
  let end = length === undefined ? reader.len : reader.pos + length;
787
978
  const message = createBaseSignDoc();
788
-
789
979
  while (reader.pos < end) {
790
980
  const tag = reader.uint32();
791
-
792
981
  switch (tag >>> 3) {
793
982
  case 1:
794
983
  message.bodyBytes = reader.bytes();
795
984
  break;
796
-
797
985
  case 2:
798
986
  message.authInfoBytes = reader.bytes();
799
987
  break;
800
-
801
988
  case 3:
802
989
  message.chainId = reader.string();
803
990
  break;
804
-
805
991
  case 4:
806
- message.accountNumber = (reader.uint64() as Long);
992
+ message.accountNumber = reader.uint64();
807
993
  break;
808
-
809
994
  default:
810
995
  reader.skipType(tag & 7);
811
996
  break;
812
997
  }
813
998
  }
814
-
815
999
  return message;
816
1000
  },
817
-
818
- fromPartial(object: DeepPartial<SignDoc>): SignDoc {
1001
+ fromPartial(object: Partial<SignDoc>): SignDoc {
819
1002
  const message = createBaseSignDoc();
820
1003
  message.bodyBytes = object.bodyBytes ?? new Uint8Array();
821
1004
  message.authInfoBytes = object.authInfoBytes ?? new Uint8Array();
822
1005
  message.chainId = object.chainId ?? "";
823
- message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO;
1006
+ message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? BigInt(object.accountNumber.toString()) : BigInt(0);
1007
+ return message;
1008
+ },
1009
+ fromAmino(object: SignDocAmino): SignDoc {
1010
+ const message = createBaseSignDoc();
1011
+ if (object.body_bytes !== undefined && object.body_bytes !== null) {
1012
+ message.bodyBytes = bytesFromBase64(object.body_bytes);
1013
+ }
1014
+ if (object.auth_info_bytes !== undefined && object.auth_info_bytes !== null) {
1015
+ message.authInfoBytes = bytesFromBase64(object.auth_info_bytes);
1016
+ }
1017
+ if (object.chain_id !== undefined && object.chain_id !== null) {
1018
+ message.chainId = object.chain_id;
1019
+ }
1020
+ if (object.account_number !== undefined && object.account_number !== null) {
1021
+ message.accountNumber = BigInt(object.account_number);
1022
+ }
824
1023
  return message;
1024
+ },
1025
+ toAmino(message: SignDoc): SignDocAmino {
1026
+ const obj: any = {};
1027
+ obj.body_bytes = message.bodyBytes ? base64FromBytes(message.bodyBytes) : undefined;
1028
+ obj.auth_info_bytes = message.authInfoBytes ? base64FromBytes(message.authInfoBytes) : undefined;
1029
+ obj.chain_id = message.chainId;
1030
+ obj.account_number = message.accountNumber ? message.accountNumber.toString() : undefined;
1031
+ return obj;
1032
+ },
1033
+ fromAminoMsg(object: SignDocAminoMsg): SignDoc {
1034
+ return SignDoc.fromAmino(object.value);
1035
+ },
1036
+ toAminoMsg(message: SignDoc): SignDocAminoMsg {
1037
+ return {
1038
+ type: "cosmos-sdk/SignDoc",
1039
+ value: SignDoc.toAmino(message)
1040
+ };
1041
+ },
1042
+ fromProtoMsg(message: SignDocProtoMsg): SignDoc {
1043
+ return SignDoc.decode(message.value);
1044
+ },
1045
+ toProto(message: SignDoc): Uint8Array {
1046
+ return SignDoc.encode(message).finish();
1047
+ },
1048
+ toProtoMsg(message: SignDoc): SignDocProtoMsg {
1049
+ return {
1050
+ typeUrl: "/cosmos.tx.v1beta1.SignDoc",
1051
+ value: SignDoc.encode(message).finish()
1052
+ };
825
1053
  }
826
-
827
1054
  };
828
-
829
1055
  function createBaseSignDocDirectAux(): SignDocDirectAux {
830
1056
  return {
831
1057
  bodyBytes: new Uint8Array(),
832
1058
  publicKey: undefined,
833
1059
  chainId: "",
834
- accountNumber: Long.UZERO,
835
- sequence: Long.UZERO,
1060
+ accountNumber: BigInt(0),
1061
+ sequence: BigInt(0),
836
1062
  tip: undefined
837
1063
  };
838
1064
  }
839
-
840
1065
  export const SignDocDirectAux = {
841
- encode(message: SignDocDirectAux, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1066
+ typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux",
1067
+ encode(message: SignDocDirectAux, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
842
1068
  if (message.bodyBytes.length !== 0) {
843
1069
  writer.uint32(10).bytes(message.bodyBytes);
844
1070
  }
845
-
846
1071
  if (message.publicKey !== undefined) {
847
1072
  Any.encode(message.publicKey, writer.uint32(18).fork()).ldelim();
848
1073
  }
849
-
850
1074
  if (message.chainId !== "") {
851
1075
  writer.uint32(26).string(message.chainId);
852
1076
  }
853
-
854
- if (!message.accountNumber.isZero()) {
1077
+ if (message.accountNumber !== BigInt(0)) {
855
1078
  writer.uint32(32).uint64(message.accountNumber);
856
1079
  }
857
-
858
- if (!message.sequence.isZero()) {
1080
+ if (message.sequence !== BigInt(0)) {
859
1081
  writer.uint32(40).uint64(message.sequence);
860
1082
  }
861
-
862
1083
  if (message.tip !== undefined) {
863
1084
  Tip.encode(message.tip, writer.uint32(50).fork()).ldelim();
864
1085
  }
865
-
866
1086
  return writer;
867
1087
  },
868
-
869
- decode(input: _m0.Reader | Uint8Array, length?: number): SignDocDirectAux {
870
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1088
+ decode(input: BinaryReader | Uint8Array, length?: number): SignDocDirectAux {
1089
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
871
1090
  let end = length === undefined ? reader.len : reader.pos + length;
872
1091
  const message = createBaseSignDocDirectAux();
873
-
874
1092
  while (reader.pos < end) {
875
1093
  const tag = reader.uint32();
876
-
877
1094
  switch (tag >>> 3) {
878
1095
  case 1:
879
1096
  message.bodyBytes = reader.bytes();
880
1097
  break;
881
-
882
1098
  case 2:
883
1099
  message.publicKey = Any.decode(reader, reader.uint32());
884
1100
  break;
885
-
886
1101
  case 3:
887
1102
  message.chainId = reader.string();
888
1103
  break;
889
-
890
1104
  case 4:
891
- message.accountNumber = (reader.uint64() as Long);
1105
+ message.accountNumber = reader.uint64();
892
1106
  break;
893
-
894
1107
  case 5:
895
- message.sequence = (reader.uint64() as Long);
1108
+ message.sequence = reader.uint64();
896
1109
  break;
897
-
898
1110
  case 6:
899
1111
  message.tip = Tip.decode(reader, reader.uint32());
900
1112
  break;
901
-
902
1113
  default:
903
1114
  reader.skipType(tag & 7);
904
1115
  break;
905
1116
  }
906
1117
  }
907
-
908
1118
  return message;
909
1119
  },
910
-
911
- fromPartial(object: DeepPartial<SignDocDirectAux>): SignDocDirectAux {
1120
+ fromPartial(object: Partial<SignDocDirectAux>): SignDocDirectAux {
912
1121
  const message = createBaseSignDocDirectAux();
913
1122
  message.bodyBytes = object.bodyBytes ?? new Uint8Array();
914
1123
  message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined;
915
1124
  message.chainId = object.chainId ?? "";
916
- message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO;
917
- message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO;
1125
+ message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? BigInt(object.accountNumber.toString()) : BigInt(0);
1126
+ message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
918
1127
  message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined;
919
1128
  return message;
1129
+ },
1130
+ fromAmino(object: SignDocDirectAuxAmino): SignDocDirectAux {
1131
+ const message = createBaseSignDocDirectAux();
1132
+ if (object.body_bytes !== undefined && object.body_bytes !== null) {
1133
+ message.bodyBytes = bytesFromBase64(object.body_bytes);
1134
+ }
1135
+ if (object.public_key !== undefined && object.public_key !== null) {
1136
+ message.publicKey = Any.fromAmino(object.public_key);
1137
+ }
1138
+ if (object.chain_id !== undefined && object.chain_id !== null) {
1139
+ message.chainId = object.chain_id;
1140
+ }
1141
+ if (object.account_number !== undefined && object.account_number !== null) {
1142
+ message.accountNumber = BigInt(object.account_number);
1143
+ }
1144
+ if (object.sequence !== undefined && object.sequence !== null) {
1145
+ message.sequence = BigInt(object.sequence);
1146
+ }
1147
+ if (object.tip !== undefined && object.tip !== null) {
1148
+ message.tip = Tip.fromAmino(object.tip);
1149
+ }
1150
+ return message;
1151
+ },
1152
+ toAmino(message: SignDocDirectAux): SignDocDirectAuxAmino {
1153
+ const obj: any = {};
1154
+ obj.body_bytes = message.bodyBytes ? base64FromBytes(message.bodyBytes) : undefined;
1155
+ obj.public_key = message.publicKey ? Any.toAmino(message.publicKey) : undefined;
1156
+ obj.chain_id = message.chainId;
1157
+ obj.account_number = message.accountNumber ? message.accountNumber.toString() : undefined;
1158
+ obj.sequence = message.sequence ? message.sequence.toString() : undefined;
1159
+ obj.tip = message.tip ? Tip.toAmino(message.tip) : undefined;
1160
+ return obj;
1161
+ },
1162
+ fromAminoMsg(object: SignDocDirectAuxAminoMsg): SignDocDirectAux {
1163
+ return SignDocDirectAux.fromAmino(object.value);
1164
+ },
1165
+ toAminoMsg(message: SignDocDirectAux): SignDocDirectAuxAminoMsg {
1166
+ return {
1167
+ type: "cosmos-sdk/SignDocDirectAux",
1168
+ value: SignDocDirectAux.toAmino(message)
1169
+ };
1170
+ },
1171
+ fromProtoMsg(message: SignDocDirectAuxProtoMsg): SignDocDirectAux {
1172
+ return SignDocDirectAux.decode(message.value);
1173
+ },
1174
+ toProto(message: SignDocDirectAux): Uint8Array {
1175
+ return SignDocDirectAux.encode(message).finish();
1176
+ },
1177
+ toProtoMsg(message: SignDocDirectAux): SignDocDirectAuxProtoMsg {
1178
+ return {
1179
+ typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux",
1180
+ value: SignDocDirectAux.encode(message).finish()
1181
+ };
920
1182
  }
921
-
922
1183
  };
923
-
924
1184
  function createBaseTxBody(): TxBody {
925
1185
  return {
926
1186
  messages: [],
927
1187
  memo: "",
928
- timeoutHeight: Long.UZERO,
1188
+ timeoutHeight: BigInt(0),
929
1189
  extensionOptions: [],
930
1190
  nonCriticalExtensionOptions: []
931
1191
  };
932
1192
  }
933
-
934
1193
  export const TxBody = {
935
- encode(message: TxBody, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1194
+ typeUrl: "/cosmos.tx.v1beta1.TxBody",
1195
+ encode(message: TxBody, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
936
1196
  for (const v of message.messages) {
937
1197
  Any.encode(v!, writer.uint32(10).fork()).ldelim();
938
1198
  }
939
-
940
1199
  if (message.memo !== "") {
941
1200
  writer.uint32(18).string(message.memo);
942
1201
  }
943
-
944
- if (!message.timeoutHeight.isZero()) {
1202
+ if (message.timeoutHeight !== BigInt(0)) {
945
1203
  writer.uint32(24).uint64(message.timeoutHeight);
946
1204
  }
947
-
948
1205
  for (const v of message.extensionOptions) {
949
1206
  Any.encode(v!, writer.uint32(8186).fork()).ldelim();
950
1207
  }
951
-
952
1208
  for (const v of message.nonCriticalExtensionOptions) {
953
1209
  Any.encode(v!, writer.uint32(16378).fork()).ldelim();
954
1210
  }
955
-
956
1211
  return writer;
957
1212
  },
958
-
959
- decode(input: _m0.Reader | Uint8Array, length?: number): TxBody {
960
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1213
+ decode(input: BinaryReader | Uint8Array, length?: number): TxBody {
1214
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
961
1215
  let end = length === undefined ? reader.len : reader.pos + length;
962
1216
  const message = createBaseTxBody();
963
-
964
1217
  while (reader.pos < end) {
965
1218
  const tag = reader.uint32();
966
-
967
1219
  switch (tag >>> 3) {
968
1220
  case 1:
969
1221
  message.messages.push(Any.decode(reader, reader.uint32()));
970
1222
  break;
971
-
972
1223
  case 2:
973
1224
  message.memo = reader.string();
974
1225
  break;
975
-
976
1226
  case 3:
977
- message.timeoutHeight = (reader.uint64() as Long);
1227
+ message.timeoutHeight = reader.uint64();
978
1228
  break;
979
-
980
1229
  case 1023:
981
1230
  message.extensionOptions.push(Any.decode(reader, reader.uint32()));
982
1231
  break;
983
-
984
1232
  case 2047:
985
1233
  message.nonCriticalExtensionOptions.push(Any.decode(reader, reader.uint32()));
986
1234
  break;
987
-
988
1235
  default:
989
1236
  reader.skipType(tag & 7);
990
1237
  break;
991
1238
  }
992
1239
  }
993
-
994
1240
  return message;
995
1241
  },
996
-
997
- fromPartial(object: DeepPartial<TxBody>): TxBody {
1242
+ fromPartial(object: Partial<TxBody>): TxBody {
998
1243
  const message = createBaseTxBody();
999
1244
  message.messages = object.messages?.map(e => Any.fromPartial(e)) || [];
1000
1245
  message.memo = object.memo ?? "";
1001
- message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Long.fromValue(object.timeoutHeight) : Long.UZERO;
1246
+ message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? BigInt(object.timeoutHeight.toString()) : BigInt(0);
1002
1247
  message.extensionOptions = object.extensionOptions?.map(e => Any.fromPartial(e)) || [];
1003
1248
  message.nonCriticalExtensionOptions = object.nonCriticalExtensionOptions?.map(e => Any.fromPartial(e)) || [];
1004
1249
  return message;
1250
+ },
1251
+ fromAmino(object: TxBodyAmino): TxBody {
1252
+ const message = createBaseTxBody();
1253
+ message.messages = object.messages?.map(e => Any.fromAmino(e)) || [];
1254
+ if (object.memo !== undefined && object.memo !== null) {
1255
+ message.memo = object.memo;
1256
+ }
1257
+ if (object.timeout_height !== undefined && object.timeout_height !== null) {
1258
+ message.timeoutHeight = BigInt(object.timeout_height);
1259
+ }
1260
+ message.extensionOptions = object.extension_options?.map(e => Any.fromAmino(e)) || [];
1261
+ message.nonCriticalExtensionOptions = object.non_critical_extension_options?.map(e => Any.fromAmino(e)) || [];
1262
+ return message;
1263
+ },
1264
+ toAmino(message: TxBody): TxBodyAmino {
1265
+ const obj: any = {};
1266
+ if (message.messages) {
1267
+ obj.messages = message.messages.map(e => e ? Any.toAmino(e) : undefined);
1268
+ } else {
1269
+ obj.messages = [];
1270
+ }
1271
+ obj.memo = message.memo;
1272
+ obj.timeout_height = message.timeoutHeight ? message.timeoutHeight.toString() : undefined;
1273
+ if (message.extensionOptions) {
1274
+ obj.extension_options = message.extensionOptions.map(e => e ? Any.toAmino(e) : undefined);
1275
+ } else {
1276
+ obj.extension_options = [];
1277
+ }
1278
+ if (message.nonCriticalExtensionOptions) {
1279
+ obj.non_critical_extension_options = message.nonCriticalExtensionOptions.map(e => e ? Any.toAmino(e) : undefined);
1280
+ } else {
1281
+ obj.non_critical_extension_options = [];
1282
+ }
1283
+ return obj;
1284
+ },
1285
+ fromAminoMsg(object: TxBodyAminoMsg): TxBody {
1286
+ return TxBody.fromAmino(object.value);
1287
+ },
1288
+ toAminoMsg(message: TxBody): TxBodyAminoMsg {
1289
+ return {
1290
+ type: "cosmos-sdk/TxBody",
1291
+ value: TxBody.toAmino(message)
1292
+ };
1293
+ },
1294
+ fromProtoMsg(message: TxBodyProtoMsg): TxBody {
1295
+ return TxBody.decode(message.value);
1296
+ },
1297
+ toProto(message: TxBody): Uint8Array {
1298
+ return TxBody.encode(message).finish();
1299
+ },
1300
+ toProtoMsg(message: TxBody): TxBodyProtoMsg {
1301
+ return {
1302
+ typeUrl: "/cosmos.tx.v1beta1.TxBody",
1303
+ value: TxBody.encode(message).finish()
1304
+ };
1005
1305
  }
1006
-
1007
1306
  };
1008
-
1009
1307
  function createBaseAuthInfo(): AuthInfo {
1010
1308
  return {
1011
1309
  signerInfos: [],
@@ -1013,414 +1311,610 @@ function createBaseAuthInfo(): AuthInfo {
1013
1311
  tip: undefined
1014
1312
  };
1015
1313
  }
1016
-
1017
1314
  export const AuthInfo = {
1018
- encode(message: AuthInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1315
+ typeUrl: "/cosmos.tx.v1beta1.AuthInfo",
1316
+ encode(message: AuthInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1019
1317
  for (const v of message.signerInfos) {
1020
1318
  SignerInfo.encode(v!, writer.uint32(10).fork()).ldelim();
1021
1319
  }
1022
-
1023
1320
  if (message.fee !== undefined) {
1024
1321
  Fee.encode(message.fee, writer.uint32(18).fork()).ldelim();
1025
1322
  }
1026
-
1027
1323
  if (message.tip !== undefined) {
1028
1324
  Tip.encode(message.tip, writer.uint32(26).fork()).ldelim();
1029
1325
  }
1030
-
1031
1326
  return writer;
1032
1327
  },
1033
-
1034
- decode(input: _m0.Reader | Uint8Array, length?: number): AuthInfo {
1035
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1328
+ decode(input: BinaryReader | Uint8Array, length?: number): AuthInfo {
1329
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1036
1330
  let end = length === undefined ? reader.len : reader.pos + length;
1037
1331
  const message = createBaseAuthInfo();
1038
-
1039
1332
  while (reader.pos < end) {
1040
1333
  const tag = reader.uint32();
1041
-
1042
1334
  switch (tag >>> 3) {
1043
1335
  case 1:
1044
1336
  message.signerInfos.push(SignerInfo.decode(reader, reader.uint32()));
1045
1337
  break;
1046
-
1047
1338
  case 2:
1048
1339
  message.fee = Fee.decode(reader, reader.uint32());
1049
1340
  break;
1050
-
1051
1341
  case 3:
1052
1342
  message.tip = Tip.decode(reader, reader.uint32());
1053
1343
  break;
1054
-
1055
1344
  default:
1056
1345
  reader.skipType(tag & 7);
1057
1346
  break;
1058
1347
  }
1059
1348
  }
1060
-
1061
1349
  return message;
1062
1350
  },
1063
-
1064
- fromPartial(object: DeepPartial<AuthInfo>): AuthInfo {
1351
+ fromPartial(object: Partial<AuthInfo>): AuthInfo {
1065
1352
  const message = createBaseAuthInfo();
1066
1353
  message.signerInfos = object.signerInfos?.map(e => SignerInfo.fromPartial(e)) || [];
1067
1354
  message.fee = object.fee !== undefined && object.fee !== null ? Fee.fromPartial(object.fee) : undefined;
1068
1355
  message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined;
1069
1356
  return message;
1357
+ },
1358
+ fromAmino(object: AuthInfoAmino): AuthInfo {
1359
+ const message = createBaseAuthInfo();
1360
+ message.signerInfos = object.signer_infos?.map(e => SignerInfo.fromAmino(e)) || [];
1361
+ if (object.fee !== undefined && object.fee !== null) {
1362
+ message.fee = Fee.fromAmino(object.fee);
1363
+ }
1364
+ if (object.tip !== undefined && object.tip !== null) {
1365
+ message.tip = Tip.fromAmino(object.tip);
1366
+ }
1367
+ return message;
1368
+ },
1369
+ toAmino(message: AuthInfo): AuthInfoAmino {
1370
+ const obj: any = {};
1371
+ if (message.signerInfos) {
1372
+ obj.signer_infos = message.signerInfos.map(e => e ? SignerInfo.toAmino(e) : undefined);
1373
+ } else {
1374
+ obj.signer_infos = [];
1375
+ }
1376
+ obj.fee = message.fee ? Fee.toAmino(message.fee) : undefined;
1377
+ obj.tip = message.tip ? Tip.toAmino(message.tip) : undefined;
1378
+ return obj;
1379
+ },
1380
+ fromAminoMsg(object: AuthInfoAminoMsg): AuthInfo {
1381
+ return AuthInfo.fromAmino(object.value);
1382
+ },
1383
+ toAminoMsg(message: AuthInfo): AuthInfoAminoMsg {
1384
+ return {
1385
+ type: "cosmos-sdk/AuthInfo",
1386
+ value: AuthInfo.toAmino(message)
1387
+ };
1388
+ },
1389
+ fromProtoMsg(message: AuthInfoProtoMsg): AuthInfo {
1390
+ return AuthInfo.decode(message.value);
1391
+ },
1392
+ toProto(message: AuthInfo): Uint8Array {
1393
+ return AuthInfo.encode(message).finish();
1394
+ },
1395
+ toProtoMsg(message: AuthInfo): AuthInfoProtoMsg {
1396
+ return {
1397
+ typeUrl: "/cosmos.tx.v1beta1.AuthInfo",
1398
+ value: AuthInfo.encode(message).finish()
1399
+ };
1070
1400
  }
1071
-
1072
1401
  };
1073
-
1074
1402
  function createBaseSignerInfo(): SignerInfo {
1075
1403
  return {
1076
1404
  publicKey: undefined,
1077
1405
  modeInfo: undefined,
1078
- sequence: Long.UZERO
1406
+ sequence: BigInt(0)
1079
1407
  };
1080
1408
  }
1081
-
1082
1409
  export const SignerInfo = {
1083
- encode(message: SignerInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1410
+ typeUrl: "/cosmos.tx.v1beta1.SignerInfo",
1411
+ encode(message: SignerInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1084
1412
  if (message.publicKey !== undefined) {
1085
1413
  Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim();
1086
1414
  }
1087
-
1088
1415
  if (message.modeInfo !== undefined) {
1089
1416
  ModeInfo.encode(message.modeInfo, writer.uint32(18).fork()).ldelim();
1090
1417
  }
1091
-
1092
- if (!message.sequence.isZero()) {
1418
+ if (message.sequence !== BigInt(0)) {
1093
1419
  writer.uint32(24).uint64(message.sequence);
1094
1420
  }
1095
-
1096
1421
  return writer;
1097
1422
  },
1098
-
1099
- decode(input: _m0.Reader | Uint8Array, length?: number): SignerInfo {
1100
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1423
+ decode(input: BinaryReader | Uint8Array, length?: number): SignerInfo {
1424
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1101
1425
  let end = length === undefined ? reader.len : reader.pos + length;
1102
1426
  const message = createBaseSignerInfo();
1103
-
1104
1427
  while (reader.pos < end) {
1105
1428
  const tag = reader.uint32();
1106
-
1107
1429
  switch (tag >>> 3) {
1108
1430
  case 1:
1109
1431
  message.publicKey = Any.decode(reader, reader.uint32());
1110
1432
  break;
1111
-
1112
1433
  case 2:
1113
1434
  message.modeInfo = ModeInfo.decode(reader, reader.uint32());
1114
1435
  break;
1115
-
1116
1436
  case 3:
1117
- message.sequence = (reader.uint64() as Long);
1437
+ message.sequence = reader.uint64();
1118
1438
  break;
1119
-
1120
1439
  default:
1121
1440
  reader.skipType(tag & 7);
1122
1441
  break;
1123
1442
  }
1124
1443
  }
1125
-
1126
1444
  return message;
1127
1445
  },
1128
-
1129
- fromPartial(object: DeepPartial<SignerInfo>): SignerInfo {
1446
+ fromPartial(object: Partial<SignerInfo>): SignerInfo {
1130
1447
  const message = createBaseSignerInfo();
1131
1448
  message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined;
1132
1449
  message.modeInfo = object.modeInfo !== undefined && object.modeInfo !== null ? ModeInfo.fromPartial(object.modeInfo) : undefined;
1133
- message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO;
1450
+ message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
1134
1451
  return message;
1452
+ },
1453
+ fromAmino(object: SignerInfoAmino): SignerInfo {
1454
+ const message = createBaseSignerInfo();
1455
+ if (object.public_key !== undefined && object.public_key !== null) {
1456
+ message.publicKey = Any.fromAmino(object.public_key);
1457
+ }
1458
+ if (object.mode_info !== undefined && object.mode_info !== null) {
1459
+ message.modeInfo = ModeInfo.fromAmino(object.mode_info);
1460
+ }
1461
+ if (object.sequence !== undefined && object.sequence !== null) {
1462
+ message.sequence = BigInt(object.sequence);
1463
+ }
1464
+ return message;
1465
+ },
1466
+ toAmino(message: SignerInfo): SignerInfoAmino {
1467
+ const obj: any = {};
1468
+ obj.public_key = message.publicKey ? Any.toAmino(message.publicKey) : undefined;
1469
+ obj.mode_info = message.modeInfo ? ModeInfo.toAmino(message.modeInfo) : undefined;
1470
+ obj.sequence = message.sequence ? message.sequence.toString() : undefined;
1471
+ return obj;
1472
+ },
1473
+ fromAminoMsg(object: SignerInfoAminoMsg): SignerInfo {
1474
+ return SignerInfo.fromAmino(object.value);
1475
+ },
1476
+ toAminoMsg(message: SignerInfo): SignerInfoAminoMsg {
1477
+ return {
1478
+ type: "cosmos-sdk/SignerInfo",
1479
+ value: SignerInfo.toAmino(message)
1480
+ };
1481
+ },
1482
+ fromProtoMsg(message: SignerInfoProtoMsg): SignerInfo {
1483
+ return SignerInfo.decode(message.value);
1484
+ },
1485
+ toProto(message: SignerInfo): Uint8Array {
1486
+ return SignerInfo.encode(message).finish();
1487
+ },
1488
+ toProtoMsg(message: SignerInfo): SignerInfoProtoMsg {
1489
+ return {
1490
+ typeUrl: "/cosmos.tx.v1beta1.SignerInfo",
1491
+ value: SignerInfo.encode(message).finish()
1492
+ };
1135
1493
  }
1136
-
1137
1494
  };
1138
-
1139
1495
  function createBaseModeInfo(): ModeInfo {
1140
1496
  return {
1141
1497
  single: undefined,
1142
1498
  multi: undefined
1143
1499
  };
1144
1500
  }
1145
-
1146
1501
  export const ModeInfo = {
1147
- encode(message: ModeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1502
+ typeUrl: "/cosmos.tx.v1beta1.ModeInfo",
1503
+ encode(message: ModeInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1148
1504
  if (message.single !== undefined) {
1149
1505
  ModeInfo_Single.encode(message.single, writer.uint32(10).fork()).ldelim();
1150
1506
  }
1151
-
1152
1507
  if (message.multi !== undefined) {
1153
1508
  ModeInfo_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim();
1154
1509
  }
1155
-
1156
1510
  return writer;
1157
1511
  },
1158
-
1159
- decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo {
1160
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1512
+ decode(input: BinaryReader | Uint8Array, length?: number): ModeInfo {
1513
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1161
1514
  let end = length === undefined ? reader.len : reader.pos + length;
1162
1515
  const message = createBaseModeInfo();
1163
-
1164
1516
  while (reader.pos < end) {
1165
1517
  const tag = reader.uint32();
1166
-
1167
1518
  switch (tag >>> 3) {
1168
1519
  case 1:
1169
1520
  message.single = ModeInfo_Single.decode(reader, reader.uint32());
1170
1521
  break;
1171
-
1172
1522
  case 2:
1173
1523
  message.multi = ModeInfo_Multi.decode(reader, reader.uint32());
1174
1524
  break;
1175
-
1176
1525
  default:
1177
1526
  reader.skipType(tag & 7);
1178
1527
  break;
1179
1528
  }
1180
1529
  }
1181
-
1182
1530
  return message;
1183
1531
  },
1184
-
1185
- fromPartial(object: DeepPartial<ModeInfo>): ModeInfo {
1532
+ fromPartial(object: Partial<ModeInfo>): ModeInfo {
1186
1533
  const message = createBaseModeInfo();
1187
1534
  message.single = object.single !== undefined && object.single !== null ? ModeInfo_Single.fromPartial(object.single) : undefined;
1188
1535
  message.multi = object.multi !== undefined && object.multi !== null ? ModeInfo_Multi.fromPartial(object.multi) : undefined;
1189
1536
  return message;
1537
+ },
1538
+ fromAmino(object: ModeInfoAmino): ModeInfo {
1539
+ const message = createBaseModeInfo();
1540
+ if (object.single !== undefined && object.single !== null) {
1541
+ message.single = ModeInfo_Single.fromAmino(object.single);
1542
+ }
1543
+ if (object.multi !== undefined && object.multi !== null) {
1544
+ message.multi = ModeInfo_Multi.fromAmino(object.multi);
1545
+ }
1546
+ return message;
1547
+ },
1548
+ toAmino(message: ModeInfo): ModeInfoAmino {
1549
+ const obj: any = {};
1550
+ obj.single = message.single ? ModeInfo_Single.toAmino(message.single) : undefined;
1551
+ obj.multi = message.multi ? ModeInfo_Multi.toAmino(message.multi) : undefined;
1552
+ return obj;
1553
+ },
1554
+ fromAminoMsg(object: ModeInfoAminoMsg): ModeInfo {
1555
+ return ModeInfo.fromAmino(object.value);
1556
+ },
1557
+ toAminoMsg(message: ModeInfo): ModeInfoAminoMsg {
1558
+ return {
1559
+ type: "cosmos-sdk/ModeInfo",
1560
+ value: ModeInfo.toAmino(message)
1561
+ };
1562
+ },
1563
+ fromProtoMsg(message: ModeInfoProtoMsg): ModeInfo {
1564
+ return ModeInfo.decode(message.value);
1565
+ },
1566
+ toProto(message: ModeInfo): Uint8Array {
1567
+ return ModeInfo.encode(message).finish();
1568
+ },
1569
+ toProtoMsg(message: ModeInfo): ModeInfoProtoMsg {
1570
+ return {
1571
+ typeUrl: "/cosmos.tx.v1beta1.ModeInfo",
1572
+ value: ModeInfo.encode(message).finish()
1573
+ };
1190
1574
  }
1191
-
1192
1575
  };
1193
-
1194
1576
  function createBaseModeInfo_Single(): ModeInfo_Single {
1195
1577
  return {
1196
1578
  mode: 0
1197
1579
  };
1198
1580
  }
1199
-
1200
1581
  export const ModeInfo_Single = {
1201
- encode(message: ModeInfo_Single, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1582
+ typeUrl: "/cosmos.tx.v1beta1.Single",
1583
+ encode(message: ModeInfo_Single, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1202
1584
  if (message.mode !== 0) {
1203
1585
  writer.uint32(8).int32(message.mode);
1204
1586
  }
1205
-
1206
1587
  return writer;
1207
1588
  },
1208
-
1209
- decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Single {
1210
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1589
+ decode(input: BinaryReader | Uint8Array, length?: number): ModeInfo_Single {
1590
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1211
1591
  let end = length === undefined ? reader.len : reader.pos + length;
1212
1592
  const message = createBaseModeInfo_Single();
1213
-
1214
1593
  while (reader.pos < end) {
1215
1594
  const tag = reader.uint32();
1216
-
1217
1595
  switch (tag >>> 3) {
1218
1596
  case 1:
1219
1597
  message.mode = (reader.int32() as any);
1220
1598
  break;
1221
-
1222
1599
  default:
1223
1600
  reader.skipType(tag & 7);
1224
1601
  break;
1225
1602
  }
1226
1603
  }
1227
-
1228
1604
  return message;
1229
1605
  },
1230
-
1231
- fromPartial(object: DeepPartial<ModeInfo_Single>): ModeInfo_Single {
1606
+ fromPartial(object: Partial<ModeInfo_Single>): ModeInfo_Single {
1232
1607
  const message = createBaseModeInfo_Single();
1233
1608
  message.mode = object.mode ?? 0;
1234
1609
  return message;
1610
+ },
1611
+ fromAmino(object: ModeInfo_SingleAmino): ModeInfo_Single {
1612
+ const message = createBaseModeInfo_Single();
1613
+ if (object.mode !== undefined && object.mode !== null) {
1614
+ message.mode = signModeFromJSON(object.mode);
1615
+ }
1616
+ return message;
1617
+ },
1618
+ toAmino(message: ModeInfo_Single): ModeInfo_SingleAmino {
1619
+ const obj: any = {};
1620
+ obj.mode = signModeToJSON(message.mode);
1621
+ return obj;
1622
+ },
1623
+ fromAminoMsg(object: ModeInfo_SingleAminoMsg): ModeInfo_Single {
1624
+ return ModeInfo_Single.fromAmino(object.value);
1625
+ },
1626
+ toAminoMsg(message: ModeInfo_Single): ModeInfo_SingleAminoMsg {
1627
+ return {
1628
+ type: "cosmos-sdk/Single",
1629
+ value: ModeInfo_Single.toAmino(message)
1630
+ };
1631
+ },
1632
+ fromProtoMsg(message: ModeInfo_SingleProtoMsg): ModeInfo_Single {
1633
+ return ModeInfo_Single.decode(message.value);
1634
+ },
1635
+ toProto(message: ModeInfo_Single): Uint8Array {
1636
+ return ModeInfo_Single.encode(message).finish();
1637
+ },
1638
+ toProtoMsg(message: ModeInfo_Single): ModeInfo_SingleProtoMsg {
1639
+ return {
1640
+ typeUrl: "/cosmos.tx.v1beta1.Single",
1641
+ value: ModeInfo_Single.encode(message).finish()
1642
+ };
1235
1643
  }
1236
-
1237
1644
  };
1238
-
1239
1645
  function createBaseModeInfo_Multi(): ModeInfo_Multi {
1240
1646
  return {
1241
1647
  bitarray: undefined,
1242
1648
  modeInfos: []
1243
1649
  };
1244
1650
  }
1245
-
1246
1651
  export const ModeInfo_Multi = {
1247
- encode(message: ModeInfo_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1652
+ typeUrl: "/cosmos.tx.v1beta1.Multi",
1653
+ encode(message: ModeInfo_Multi, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1248
1654
  if (message.bitarray !== undefined) {
1249
1655
  CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim();
1250
1656
  }
1251
-
1252
1657
  for (const v of message.modeInfos) {
1253
1658
  ModeInfo.encode(v!, writer.uint32(18).fork()).ldelim();
1254
1659
  }
1255
-
1256
1660
  return writer;
1257
1661
  },
1258
-
1259
- decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Multi {
1260
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1662
+ decode(input: BinaryReader | Uint8Array, length?: number): ModeInfo_Multi {
1663
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1261
1664
  let end = length === undefined ? reader.len : reader.pos + length;
1262
1665
  const message = createBaseModeInfo_Multi();
1263
-
1264
1666
  while (reader.pos < end) {
1265
1667
  const tag = reader.uint32();
1266
-
1267
1668
  switch (tag >>> 3) {
1268
1669
  case 1:
1269
1670
  message.bitarray = CompactBitArray.decode(reader, reader.uint32());
1270
1671
  break;
1271
-
1272
1672
  case 2:
1273
1673
  message.modeInfos.push(ModeInfo.decode(reader, reader.uint32()));
1274
1674
  break;
1275
-
1276
1675
  default:
1277
1676
  reader.skipType(tag & 7);
1278
1677
  break;
1279
1678
  }
1280
1679
  }
1281
-
1282
1680
  return message;
1283
1681
  },
1284
-
1285
- fromPartial(object: DeepPartial<ModeInfo_Multi>): ModeInfo_Multi {
1682
+ fromPartial(object: Partial<ModeInfo_Multi>): ModeInfo_Multi {
1286
1683
  const message = createBaseModeInfo_Multi();
1287
1684
  message.bitarray = object.bitarray !== undefined && object.bitarray !== null ? CompactBitArray.fromPartial(object.bitarray) : undefined;
1288
1685
  message.modeInfos = object.modeInfos?.map(e => ModeInfo.fromPartial(e)) || [];
1289
1686
  return message;
1687
+ },
1688
+ fromAmino(object: ModeInfo_MultiAmino): ModeInfo_Multi {
1689
+ const message = createBaseModeInfo_Multi();
1690
+ if (object.bitarray !== undefined && object.bitarray !== null) {
1691
+ message.bitarray = CompactBitArray.fromAmino(object.bitarray);
1692
+ }
1693
+ message.modeInfos = object.mode_infos?.map(e => ModeInfo.fromAmino(e)) || [];
1694
+ return message;
1695
+ },
1696
+ toAmino(message: ModeInfo_Multi): ModeInfo_MultiAmino {
1697
+ const obj: any = {};
1698
+ obj.bitarray = message.bitarray ? CompactBitArray.toAmino(message.bitarray) : undefined;
1699
+ if (message.modeInfos) {
1700
+ obj.mode_infos = message.modeInfos.map(e => e ? ModeInfo.toAmino(e) : undefined);
1701
+ } else {
1702
+ obj.mode_infos = [];
1703
+ }
1704
+ return obj;
1705
+ },
1706
+ fromAminoMsg(object: ModeInfo_MultiAminoMsg): ModeInfo_Multi {
1707
+ return ModeInfo_Multi.fromAmino(object.value);
1708
+ },
1709
+ toAminoMsg(message: ModeInfo_Multi): ModeInfo_MultiAminoMsg {
1710
+ return {
1711
+ type: "cosmos-sdk/Multi",
1712
+ value: ModeInfo_Multi.toAmino(message)
1713
+ };
1714
+ },
1715
+ fromProtoMsg(message: ModeInfo_MultiProtoMsg): ModeInfo_Multi {
1716
+ return ModeInfo_Multi.decode(message.value);
1717
+ },
1718
+ toProto(message: ModeInfo_Multi): Uint8Array {
1719
+ return ModeInfo_Multi.encode(message).finish();
1720
+ },
1721
+ toProtoMsg(message: ModeInfo_Multi): ModeInfo_MultiProtoMsg {
1722
+ return {
1723
+ typeUrl: "/cosmos.tx.v1beta1.Multi",
1724
+ value: ModeInfo_Multi.encode(message).finish()
1725
+ };
1290
1726
  }
1291
-
1292
1727
  };
1293
-
1294
1728
  function createBaseFee(): Fee {
1295
1729
  return {
1296
1730
  amount: [],
1297
- gasLimit: Long.UZERO,
1731
+ gasLimit: BigInt(0),
1298
1732
  payer: "",
1299
1733
  granter: ""
1300
1734
  };
1301
1735
  }
1302
-
1303
1736
  export const Fee = {
1304
- encode(message: Fee, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1737
+ typeUrl: "/cosmos.tx.v1beta1.Fee",
1738
+ encode(message: Fee, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1305
1739
  for (const v of message.amount) {
1306
1740
  Coin.encode(v!, writer.uint32(10).fork()).ldelim();
1307
1741
  }
1308
-
1309
- if (!message.gasLimit.isZero()) {
1742
+ if (message.gasLimit !== BigInt(0)) {
1310
1743
  writer.uint32(16).uint64(message.gasLimit);
1311
1744
  }
1312
-
1313
1745
  if (message.payer !== "") {
1314
1746
  writer.uint32(26).string(message.payer);
1315
1747
  }
1316
-
1317
1748
  if (message.granter !== "") {
1318
1749
  writer.uint32(34).string(message.granter);
1319
1750
  }
1320
-
1321
1751
  return writer;
1322
1752
  },
1323
-
1324
- decode(input: _m0.Reader | Uint8Array, length?: number): Fee {
1325
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1753
+ decode(input: BinaryReader | Uint8Array, length?: number): Fee {
1754
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1326
1755
  let end = length === undefined ? reader.len : reader.pos + length;
1327
1756
  const message = createBaseFee();
1328
-
1329
1757
  while (reader.pos < end) {
1330
1758
  const tag = reader.uint32();
1331
-
1332
1759
  switch (tag >>> 3) {
1333
1760
  case 1:
1334
1761
  message.amount.push(Coin.decode(reader, reader.uint32()));
1335
1762
  break;
1336
-
1337
1763
  case 2:
1338
- message.gasLimit = (reader.uint64() as Long);
1764
+ message.gasLimit = reader.uint64();
1339
1765
  break;
1340
-
1341
1766
  case 3:
1342
1767
  message.payer = reader.string();
1343
1768
  break;
1344
-
1345
1769
  case 4:
1346
1770
  message.granter = reader.string();
1347
1771
  break;
1348
-
1349
1772
  default:
1350
1773
  reader.skipType(tag & 7);
1351
1774
  break;
1352
1775
  }
1353
1776
  }
1354
-
1355
1777
  return message;
1356
1778
  },
1357
-
1358
- fromPartial(object: DeepPartial<Fee>): Fee {
1779
+ fromPartial(object: Partial<Fee>): Fee {
1359
1780
  const message = createBaseFee();
1360
1781
  message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
1361
- message.gasLimit = object.gasLimit !== undefined && object.gasLimit !== null ? Long.fromValue(object.gasLimit) : Long.UZERO;
1782
+ message.gasLimit = object.gasLimit !== undefined && object.gasLimit !== null ? BigInt(object.gasLimit.toString()) : BigInt(0);
1362
1783
  message.payer = object.payer ?? "";
1363
1784
  message.granter = object.granter ?? "";
1364
1785
  return message;
1786
+ },
1787
+ fromAmino(object: FeeAmino): Fee {
1788
+ const message = createBaseFee();
1789
+ message.amount = object.amount?.map(e => Coin.fromAmino(e)) || [];
1790
+ if (object.gas_limit !== undefined && object.gas_limit !== null) {
1791
+ message.gasLimit = BigInt(object.gas_limit);
1792
+ }
1793
+ if (object.payer !== undefined && object.payer !== null) {
1794
+ message.payer = object.payer;
1795
+ }
1796
+ if (object.granter !== undefined && object.granter !== null) {
1797
+ message.granter = object.granter;
1798
+ }
1799
+ return message;
1800
+ },
1801
+ toAmino(message: Fee): FeeAmino {
1802
+ const obj: any = {};
1803
+ if (message.amount) {
1804
+ obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined);
1805
+ } else {
1806
+ obj.amount = [];
1807
+ }
1808
+ obj.gas_limit = message.gasLimit ? message.gasLimit.toString() : undefined;
1809
+ obj.payer = message.payer;
1810
+ obj.granter = message.granter;
1811
+ return obj;
1812
+ },
1813
+ fromAminoMsg(object: FeeAminoMsg): Fee {
1814
+ return Fee.fromAmino(object.value);
1815
+ },
1816
+ toAminoMsg(message: Fee): FeeAminoMsg {
1817
+ return {
1818
+ type: "cosmos-sdk/Fee",
1819
+ value: Fee.toAmino(message)
1820
+ };
1821
+ },
1822
+ fromProtoMsg(message: FeeProtoMsg): Fee {
1823
+ return Fee.decode(message.value);
1824
+ },
1825
+ toProto(message: Fee): Uint8Array {
1826
+ return Fee.encode(message).finish();
1827
+ },
1828
+ toProtoMsg(message: Fee): FeeProtoMsg {
1829
+ return {
1830
+ typeUrl: "/cosmos.tx.v1beta1.Fee",
1831
+ value: Fee.encode(message).finish()
1832
+ };
1365
1833
  }
1366
-
1367
1834
  };
1368
-
1369
1835
  function createBaseTip(): Tip {
1370
1836
  return {
1371
1837
  amount: [],
1372
1838
  tipper: ""
1373
1839
  };
1374
1840
  }
1375
-
1376
1841
  export const Tip = {
1377
- encode(message: Tip, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1842
+ typeUrl: "/cosmos.tx.v1beta1.Tip",
1843
+ encode(message: Tip, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1378
1844
  for (const v of message.amount) {
1379
1845
  Coin.encode(v!, writer.uint32(10).fork()).ldelim();
1380
1846
  }
1381
-
1382
1847
  if (message.tipper !== "") {
1383
1848
  writer.uint32(18).string(message.tipper);
1384
1849
  }
1385
-
1386
1850
  return writer;
1387
1851
  },
1388
-
1389
- decode(input: _m0.Reader | Uint8Array, length?: number): Tip {
1390
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1852
+ decode(input: BinaryReader | Uint8Array, length?: number): Tip {
1853
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1391
1854
  let end = length === undefined ? reader.len : reader.pos + length;
1392
1855
  const message = createBaseTip();
1393
-
1394
1856
  while (reader.pos < end) {
1395
1857
  const tag = reader.uint32();
1396
-
1397
1858
  switch (tag >>> 3) {
1398
1859
  case 1:
1399
1860
  message.amount.push(Coin.decode(reader, reader.uint32()));
1400
1861
  break;
1401
-
1402
1862
  case 2:
1403
1863
  message.tipper = reader.string();
1404
1864
  break;
1405
-
1406
1865
  default:
1407
1866
  reader.skipType(tag & 7);
1408
1867
  break;
1409
1868
  }
1410
1869
  }
1411
-
1412
1870
  return message;
1413
1871
  },
1414
-
1415
- fromPartial(object: DeepPartial<Tip>): Tip {
1872
+ fromPartial(object: Partial<Tip>): Tip {
1416
1873
  const message = createBaseTip();
1417
1874
  message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
1418
1875
  message.tipper = object.tipper ?? "";
1419
1876
  return message;
1877
+ },
1878
+ fromAmino(object: TipAmino): Tip {
1879
+ const message = createBaseTip();
1880
+ message.amount = object.amount?.map(e => Coin.fromAmino(e)) || [];
1881
+ if (object.tipper !== undefined && object.tipper !== null) {
1882
+ message.tipper = object.tipper;
1883
+ }
1884
+ return message;
1885
+ },
1886
+ toAmino(message: Tip): TipAmino {
1887
+ const obj: any = {};
1888
+ if (message.amount) {
1889
+ obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined);
1890
+ } else {
1891
+ obj.amount = [];
1892
+ }
1893
+ obj.tipper = message.tipper;
1894
+ return obj;
1895
+ },
1896
+ fromAminoMsg(object: TipAminoMsg): Tip {
1897
+ return Tip.fromAmino(object.value);
1898
+ },
1899
+ toAminoMsg(message: Tip): TipAminoMsg {
1900
+ return {
1901
+ type: "cosmos-sdk/Tip",
1902
+ value: Tip.toAmino(message)
1903
+ };
1904
+ },
1905
+ fromProtoMsg(message: TipProtoMsg): Tip {
1906
+ return Tip.decode(message.value);
1907
+ },
1908
+ toProto(message: Tip): Uint8Array {
1909
+ return Tip.encode(message).finish();
1910
+ },
1911
+ toProtoMsg(message: Tip): TipProtoMsg {
1912
+ return {
1913
+ typeUrl: "/cosmos.tx.v1beta1.Tip",
1914
+ value: Tip.encode(message).finish()
1915
+ };
1420
1916
  }
1421
-
1422
1917
  };
1423
-
1424
1918
  function createBaseAuxSignerData(): AuxSignerData {
1425
1919
  return {
1426
1920
  address: "",
@@ -1429,69 +1923,100 @@ function createBaseAuxSignerData(): AuxSignerData {
1429
1923
  sig: new Uint8Array()
1430
1924
  };
1431
1925
  }
1432
-
1433
1926
  export const AuxSignerData = {
1434
- encode(message: AuxSignerData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1927
+ typeUrl: "/cosmos.tx.v1beta1.AuxSignerData",
1928
+ encode(message: AuxSignerData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1435
1929
  if (message.address !== "") {
1436
1930
  writer.uint32(10).string(message.address);
1437
1931
  }
1438
-
1439
1932
  if (message.signDoc !== undefined) {
1440
1933
  SignDocDirectAux.encode(message.signDoc, writer.uint32(18).fork()).ldelim();
1441
1934
  }
1442
-
1443
1935
  if (message.mode !== 0) {
1444
1936
  writer.uint32(24).int32(message.mode);
1445
1937
  }
1446
-
1447
1938
  if (message.sig.length !== 0) {
1448
1939
  writer.uint32(34).bytes(message.sig);
1449
1940
  }
1450
-
1451
1941
  return writer;
1452
1942
  },
1453
-
1454
- decode(input: _m0.Reader | Uint8Array, length?: number): AuxSignerData {
1455
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1943
+ decode(input: BinaryReader | Uint8Array, length?: number): AuxSignerData {
1944
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1456
1945
  let end = length === undefined ? reader.len : reader.pos + length;
1457
1946
  const message = createBaseAuxSignerData();
1458
-
1459
1947
  while (reader.pos < end) {
1460
1948
  const tag = reader.uint32();
1461
-
1462
1949
  switch (tag >>> 3) {
1463
1950
  case 1:
1464
1951
  message.address = reader.string();
1465
1952
  break;
1466
-
1467
1953
  case 2:
1468
1954
  message.signDoc = SignDocDirectAux.decode(reader, reader.uint32());
1469
1955
  break;
1470
-
1471
1956
  case 3:
1472
1957
  message.mode = (reader.int32() as any);
1473
1958
  break;
1474
-
1475
1959
  case 4:
1476
1960
  message.sig = reader.bytes();
1477
1961
  break;
1478
-
1479
1962
  default:
1480
1963
  reader.skipType(tag & 7);
1481
1964
  break;
1482
1965
  }
1483
1966
  }
1484
-
1485
1967
  return message;
1486
1968
  },
1487
-
1488
- fromPartial(object: DeepPartial<AuxSignerData>): AuxSignerData {
1969
+ fromPartial(object: Partial<AuxSignerData>): AuxSignerData {
1489
1970
  const message = createBaseAuxSignerData();
1490
1971
  message.address = object.address ?? "";
1491
1972
  message.signDoc = object.signDoc !== undefined && object.signDoc !== null ? SignDocDirectAux.fromPartial(object.signDoc) : undefined;
1492
1973
  message.mode = object.mode ?? 0;
1493
1974
  message.sig = object.sig ?? new Uint8Array();
1494
1975
  return message;
1976
+ },
1977
+ fromAmino(object: AuxSignerDataAmino): AuxSignerData {
1978
+ const message = createBaseAuxSignerData();
1979
+ if (object.address !== undefined && object.address !== null) {
1980
+ message.address = object.address;
1981
+ }
1982
+ if (object.sign_doc !== undefined && object.sign_doc !== null) {
1983
+ message.signDoc = SignDocDirectAux.fromAmino(object.sign_doc);
1984
+ }
1985
+ if (object.mode !== undefined && object.mode !== null) {
1986
+ message.mode = signModeFromJSON(object.mode);
1987
+ }
1988
+ if (object.sig !== undefined && object.sig !== null) {
1989
+ message.sig = bytesFromBase64(object.sig);
1990
+ }
1991
+ return message;
1992
+ },
1993
+ toAmino(message: AuxSignerData): AuxSignerDataAmino {
1994
+ const obj: any = {};
1995
+ obj.address = message.address;
1996
+ obj.sign_doc = message.signDoc ? SignDocDirectAux.toAmino(message.signDoc) : undefined;
1997
+ obj.mode = signModeToJSON(message.mode);
1998
+ obj.sig = message.sig ? base64FromBytes(message.sig) : undefined;
1999
+ return obj;
2000
+ },
2001
+ fromAminoMsg(object: AuxSignerDataAminoMsg): AuxSignerData {
2002
+ return AuxSignerData.fromAmino(object.value);
2003
+ },
2004
+ toAminoMsg(message: AuxSignerData): AuxSignerDataAminoMsg {
2005
+ return {
2006
+ type: "cosmos-sdk/AuxSignerData",
2007
+ value: AuxSignerData.toAmino(message)
2008
+ };
2009
+ },
2010
+ fromProtoMsg(message: AuxSignerDataProtoMsg): AuxSignerData {
2011
+ return AuxSignerData.decode(message.value);
2012
+ },
2013
+ toProto(message: AuxSignerData): Uint8Array {
2014
+ return AuxSignerData.encode(message).finish();
2015
+ },
2016
+ toProtoMsg(message: AuxSignerData): AuxSignerDataProtoMsg {
2017
+ return {
2018
+ typeUrl: "/cosmos.tx.v1beta1.AuxSignerData",
2019
+ value: AuxSignerData.encode(message).finish()
2020
+ };
1495
2021
  }
1496
-
1497
2022
  };