@bze/bzejs 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (502) hide show
  1. package/main/codegen/beezee/burner/burn_coins_proposal.js +13 -0
  2. package/main/codegen/beezee/burner/burned_coins.js +13 -0
  3. package/main/codegen/beezee/burner/events.js +23 -0
  4. package/main/codegen/beezee/burner/genesis.js +21 -0
  5. package/main/codegen/beezee/burner/params.js +7 -0
  6. package/main/codegen/beezee/burner/query.js +48 -0
  7. package/main/codegen/beezee/burner/tx.js +20 -0
  8. package/main/codegen/beezee/cointrunk/accepted_domain.js +13 -0
  9. package/main/codegen/beezee/cointrunk/accepted_domain_proposal.js +17 -0
  10. package/main/codegen/beezee/cointrunk/anon_articles_counter.js +13 -1
  11. package/main/codegen/beezee/cointrunk/article.js +23 -1
  12. package/main/codegen/beezee/cointrunk/events.js +71 -1
  13. package/main/codegen/beezee/cointrunk/genesis.js +43 -1
  14. package/main/codegen/beezee/cointrunk/params.js +26 -0
  15. package/main/codegen/beezee/cointrunk/publisher.js +21 -1
  16. package/main/codegen/beezee/cointrunk/publisher_proposal.js +19 -0
  17. package/main/codegen/beezee/cointrunk/query.js +158 -0
  18. package/main/codegen/beezee/cointrunk/tx.js +51 -0
  19. package/main/codegen/bze/bundle.js +12 -16
  20. package/main/codegen/cosmos/app/v1alpha1/config.js +31 -0
  21. package/main/codegen/cosmos/app/v1alpha1/module.js +53 -0
  22. package/main/codegen/cosmos/app/v1alpha1/query.js +18 -0
  23. package/main/codegen/cosmos/auth/v1beta1/auth.js +57 -1
  24. package/main/codegen/cosmos/auth/v1beta1/genesis.js +21 -0
  25. package/main/codegen/cosmos/auth/v1beta1/query.js +150 -0
  26. package/main/codegen/cosmos/authz/v1beta1/authz.js +63 -8
  27. package/main/codegen/cosmos/authz/v1beta1/event.js +29 -0
  28. package/main/codegen/cosmos/authz/v1beta1/genesis.js +18 -0
  29. package/main/codegen/cosmos/authz/v1beta1/query.js +101 -0
  30. package/main/codegen/cosmos/authz/v1beta1/tx.js +81 -0
  31. package/main/codegen/cosmos/bank/v1beta1/authz.js +18 -0
  32. package/main/codegen/cosmos/bank/v1beta1/bank.js +145 -0
  33. package/main/codegen/cosmos/bank/v1beta1/genesis.js +61 -0
  34. package/main/codegen/cosmos/bank/v1beta1/query.js +248 -0
  35. package/main/codegen/cosmos/bank/v1beta1/tx.js +65 -0
  36. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +229 -1
  37. package/main/codegen/cosmos/base/kv/v1beta1/kv.js +31 -0
  38. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +31 -1
  39. package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +54 -0
  40. package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +337 -0
  41. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +135 -1
  42. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +45 -1
  43. package/main/codegen/cosmos/base/store/v1beta1/listening.js +17 -0
  44. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +206 -1
  45. package/main/codegen/cosmos/base/v1beta1/coin.js +45 -0
  46. package/main/codegen/cosmos/bundle.js +73 -101
  47. package/main/codegen/cosmos/capability/v1beta1/capability.js +41 -1
  48. package/main/codegen/cosmos/capability/v1beta1/genesis.js +33 -1
  49. package/main/codegen/cosmos/crisis/v1beta1/genesis.js +11 -0
  50. package/main/codegen/cosmos/crisis/v1beta1/tx.js +22 -0
  51. package/main/codegen/cosmos/crypto/ed25519/keys.js +21 -0
  52. package/main/codegen/cosmos/crypto/hd/v1/hd.js +19 -0
  53. package/main/codegen/cosmos/crypto/keyring/v1/record.js +57 -0
  54. package/main/codegen/cosmos/crypto/multisig/keys.js +21 -0
  55. package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +31 -0
  56. package/main/codegen/cosmos/crypto/secp256k1/keys.js +21 -0
  57. package/main/codegen/cosmos/crypto/secp256r1/keys.js +21 -0
  58. package/main/codegen/cosmos/distribution/v1beta1/distribution.js +216 -0
  59. package/main/codegen/cosmos/distribution/v1beta1/genesis.js +184 -0
  60. package/main/codegen/cosmos/distribution/v1beta1/query.js +234 -0
  61. package/main/codegen/cosmos/distribution/v1beta1/tx.js +105 -0
  62. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +21 -5
  63. package/main/codegen/cosmos/evidence/v1beta1/genesis.js +18 -0
  64. package/main/codegen/cosmos/evidence/v1beta1/query.js +51 -0
  65. package/main/codegen/cosmos/evidence/v1beta1/tx.js +23 -0
  66. package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +96 -8
  67. package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +18 -0
  68. package/main/codegen/cosmos/feegrant/v1beta1/query.js +87 -0
  69. package/main/codegen/cosmos/feegrant/v1beta1/tx.js +41 -0
  70. package/main/codegen/cosmos/genutil/v1beta1/genesis.js +19 -0
  71. package/main/codegen/cosmos/gov/v1/genesis.js +47 -1
  72. package/main/codegen/cosmos/gov/v1/gov.js +196 -15
  73. package/main/codegen/cosmos/gov/v1/query.js +209 -1
  74. package/main/codegen/cosmos/gov/v1/tx.js +144 -0
  75. package/main/codegen/cosmos/gov/v1beta1/genesis.js +47 -1
  76. package/main/codegen/cosmos/gov/v1beta1/gov.js +198 -15
  77. package/main/codegen/cosmos/gov/v1beta1/query.js +209 -1
  78. package/main/codegen/cosmos/gov/v1beta1/tx.js +111 -0
  79. package/main/codegen/cosmos/group/v1/events.js +96 -1
  80. package/main/codegen/cosmos/group/v1/genesis.js +65 -1
  81. package/main/codegen/cosmos/group/v1/query.js +359 -1
  82. package/main/codegen/cosmos/group/v1/tx.js +365 -1
  83. package/main/codegen/cosmos/group/v1/types.js +269 -27
  84. package/main/codegen/cosmos/mint/v1beta1/genesis.js +13 -0
  85. package/main/codegen/cosmos/mint/v1beta1/mint.js +32 -0
  86. package/main/codegen/cosmos/mint/v1beta1/query.js +52 -0
  87. package/main/codegen/cosmos/nft/v1beta1/event.js +45 -0
  88. package/main/codegen/cosmos/nft/v1beta1/genesis.js +49 -0
  89. package/main/codegen/cosmos/nft/v1beta1/nft.js +41 -0
  90. package/main/codegen/cosmos/nft/v1beta1/query.js +170 -0
  91. package/main/codegen/cosmos/nft/v1beta1/tx.js +24 -0
  92. package/main/codegen/cosmos/orm/v1/orm.js +59 -0
  93. package/main/codegen/cosmos/orm/v1alpha1/schema.js +45 -1
  94. package/main/codegen/cosmos/params/v1beta1/params.js +37 -0
  95. package/main/codegen/cosmos/params/v1beta1/query.js +68 -0
  96. package/main/codegen/cosmos/slashing/v1beta1/genesis.js +74 -0
  97. package/main/codegen/cosmos/slashing/v1beta1/query.js +68 -0
  98. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +43 -5
  99. package/main/codegen/cosmos/slashing/v1beta1/tx.js +18 -0
  100. package/main/codegen/cosmos/staking/v1beta1/authz.js +48 -1
  101. package/main/codegen/cosmos/staking/v1beta1/genesis.js +76 -0
  102. package/main/codegen/cosmos/staking/v1beta1/query.js +368 -0
  103. package/main/codegen/cosmos/staking/v1beta1/staking.js +366 -17
  104. package/main/codegen/cosmos/staking/v1beta1/tx.js +129 -8
  105. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +95 -1
  106. package/main/codegen/cosmos/tx/v1beta1/service.js +173 -2
  107. package/main/codegen/cosmos/tx/v1beta1/tx.js +261 -0
  108. package/main/codegen/cosmos/upgrade/v1beta1/query.js +102 -0
  109. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +37 -0
  110. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +61 -5
  111. package/main/codegen/cosmos/vesting/v1beta1/tx.js +94 -1
  112. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +117 -1
  113. package/main/codegen/cosmos_proto/cosmos.js +42 -1
  114. package/main/codegen/extern.js +66 -0
  115. package/main/codegen/google/api/http.js +69 -0
  116. package/main/codegen/google/protobuf/any.js +13 -0
  117. package/main/codegen/google/protobuf/descriptor.js +815 -6
  118. package/main/codegen/google/protobuf/duration.js +13 -1
  119. package/main/codegen/google/protobuf/empty.js +7 -0
  120. package/main/codegen/google/protobuf/timestamp.js +13 -1
  121. package/main/codegen/helpers.js +1 -1
  122. package/main/codegen/index.js +11 -22
  123. package/main/codegen/tendermint/abci/types.js +785 -12
  124. package/main/codegen/tendermint/crypto/keys.js +13 -0
  125. package/main/codegen/tendermint/crypto/proof.js +83 -1
  126. package/main/codegen/tendermint/libs/bits/types.js +21 -1
  127. package/main/codegen/tendermint/p2p/types.js +100 -12
  128. package/main/codegen/tendermint/types/block.js +17 -0
  129. package/main/codegen/tendermint/types/evidence.js +81 -8
  130. package/main/codegen/tendermint/types/params.js +84 -0
  131. package/main/codegen/tendermint/types/types.js +266 -18
  132. package/main/codegen/tendermint/types/validator.js +51 -1
  133. package/main/codegen/tendermint/version/types.js +25 -1
  134. package/module/codegen/beezee/burner/burn_coins_proposal.js +13 -0
  135. package/module/codegen/beezee/burner/burned_coins.js +13 -0
  136. package/module/codegen/beezee/burner/events.js +23 -0
  137. package/module/codegen/beezee/burner/genesis.js +19 -0
  138. package/module/codegen/beezee/burner/params.js +9 -0
  139. package/module/codegen/beezee/burner/query.js +46 -0
  140. package/module/codegen/beezee/burner/tx.js +20 -0
  141. package/module/codegen/beezee/cointrunk/accepted_domain.js +13 -0
  142. package/module/codegen/beezee/cointrunk/accepted_domain_proposal.js +17 -0
  143. package/module/codegen/beezee/cointrunk/anon_articles_counter.js +13 -1
  144. package/module/codegen/beezee/cointrunk/article.js +23 -1
  145. package/module/codegen/beezee/cointrunk/events.js +71 -1
  146. package/module/codegen/beezee/cointrunk/genesis.js +31 -1
  147. package/module/codegen/beezee/cointrunk/params.js +27 -1
  148. package/module/codegen/beezee/cointrunk/publisher.js +21 -1
  149. package/module/codegen/beezee/cointrunk/publisher_proposal.js +19 -0
  150. package/module/codegen/beezee/cointrunk/query.js +144 -0
  151. package/module/codegen/beezee/cointrunk/tx.js +52 -1
  152. package/module/codegen/bze/bundle.js +12 -16
  153. package/module/codegen/cosmos/app/v1alpha1/config.js +37 -0
  154. package/module/codegen/cosmos/app/v1alpha1/module.js +47 -0
  155. package/module/codegen/cosmos/app/v1alpha1/query.js +20 -0
  156. package/module/codegen/cosmos/auth/v1beta1/auth.js +53 -1
  157. package/module/codegen/cosmos/auth/v1beta1/genesis.js +19 -0
  158. package/module/codegen/cosmos/auth/v1beta1/query.js +148 -0
  159. package/module/codegen/cosmos/authz/v1beta1/authz.js +60 -9
  160. package/module/codegen/cosmos/authz/v1beta1/event.js +31 -0
  161. package/module/codegen/cosmos/authz/v1beta1/genesis.js +16 -0
  162. package/module/codegen/cosmos/authz/v1beta1/query.js +91 -0
  163. package/module/codegen/cosmos/authz/v1beta1/tx.js +78 -0
  164. package/module/codegen/cosmos/bank/v1beta1/authz.js +21 -0
  165. package/module/codegen/cosmos/bank/v1beta1/bank.js +123 -0
  166. package/module/codegen/cosmos/bank/v1beta1/genesis.js +47 -0
  167. package/module/codegen/cosmos/bank/v1beta1/query.js +230 -0
  168. package/module/codegen/cosmos/bank/v1beta1/tx.js +55 -0
  169. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +193 -1
  170. package/module/codegen/cosmos/base/kv/v1beta1/kv.js +29 -0
  171. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +31 -1
  172. package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +48 -0
  173. package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +307 -0
  174. package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +127 -1
  175. package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +41 -1
  176. package/module/codegen/cosmos/base/store/v1beta1/listening.js +25 -0
  177. package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +194 -1
  178. package/module/codegen/cosmos/base/v1beta1/coin.js +52 -0
  179. package/module/codegen/cosmos/bundle.js +73 -101
  180. package/module/codegen/cosmos/capability/v1beta1/capability.js +37 -1
  181. package/module/codegen/cosmos/capability/v1beta1/genesis.js +29 -1
  182. package/module/codegen/cosmos/crisis/v1beta1/genesis.js +13 -0
  183. package/module/codegen/cosmos/crisis/v1beta1/tx.js +24 -0
  184. package/module/codegen/cosmos/crypto/ed25519/keys.js +29 -0
  185. package/module/codegen/cosmos/crypto/hd/v1/hd.js +21 -0
  186. package/module/codegen/cosmos/crypto/keyring/v1/record.js +59 -0
  187. package/module/codegen/cosmos/crypto/multisig/keys.js +23 -0
  188. package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +33 -0
  189. package/module/codegen/cosmos/crypto/secp256k1/keys.js +29 -0
  190. package/module/codegen/cosmos/crypto/secp256r1/keys.js +23 -0
  191. package/module/codegen/cosmos/distribution/v1beta1/distribution.js +185 -1
  192. package/module/codegen/cosmos/distribution/v1beta1/genesis.js +153 -1
  193. package/module/codegen/cosmos/distribution/v1beta1/query.js +211 -1
  194. package/module/codegen/cosmos/distribution/v1beta1/tx.js +98 -0
  195. package/module/codegen/cosmos/evidence/v1beta1/evidence.js +21 -5
  196. package/module/codegen/cosmos/evidence/v1beta1/genesis.js +16 -0
  197. package/module/codegen/cosmos/evidence/v1beta1/query.js +49 -0
  198. package/module/codegen/cosmos/evidence/v1beta1/tx.js +28 -0
  199. package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +81 -9
  200. package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +16 -0
  201. package/module/codegen/cosmos/feegrant/v1beta1/query.js +81 -0
  202. package/module/codegen/cosmos/feegrant/v1beta1/tx.js +46 -0
  203. package/module/codegen/cosmos/genutil/v1beta1/genesis.js +17 -0
  204. package/module/codegen/cosmos/gov/v1/genesis.js +35 -1
  205. package/module/codegen/cosmos/gov/v1/gov.js +177 -16
  206. package/module/codegen/cosmos/gov/v1/query.js +198 -2
  207. package/module/codegen/cosmos/gov/v1/tx.js +130 -2
  208. package/module/codegen/cosmos/gov/v1beta1/genesis.js +35 -1
  209. package/module/codegen/cosmos/gov/v1beta1/gov.js +183 -16
  210. package/module/codegen/cosmos/gov/v1beta1/query.js +198 -2
  211. package/module/codegen/cosmos/gov/v1beta1/tx.js +101 -2
  212. package/module/codegen/cosmos/group/v1/events.js +96 -1
  213. package/module/codegen/cosmos/group/v1/genesis.js +45 -1
  214. package/module/codegen/cosmos/group/v1/query.js +327 -1
  215. package/module/codegen/cosmos/group/v1/tx.js +347 -3
  216. package/module/codegen/cosmos/group/v1/types.js +258 -28
  217. package/module/codegen/cosmos/mint/v1beta1/genesis.js +15 -0
  218. package/module/codegen/cosmos/mint/v1beta1/mint.js +33 -1
  219. package/module/codegen/cosmos/mint/v1beta1/query.js +54 -0
  220. package/module/codegen/cosmos/nft/v1beta1/event.js +47 -0
  221. package/module/codegen/cosmos/nft/v1beta1/genesis.js +39 -0
  222. package/module/codegen/cosmos/nft/v1beta1/nft.js +43 -0
  223. package/module/codegen/cosmos/nft/v1beta1/query.js +163 -1
  224. package/module/codegen/cosmos/nft/v1beta1/tx.js +26 -0
  225. package/module/codegen/cosmos/orm/v1/orm.js +57 -0
  226. package/module/codegen/cosmos/orm/v1alpha1/schema.js +41 -1
  227. package/module/codegen/cosmos/params/v1beta1/params.js +35 -0
  228. package/module/codegen/cosmos/params/v1beta1/query.js +62 -0
  229. package/module/codegen/cosmos/slashing/v1beta1/genesis.js +63 -1
  230. package/module/codegen/cosmos/slashing/v1beta1/query.js +66 -0
  231. package/module/codegen/cosmos/slashing/v1beta1/slashing.js +43 -5
  232. package/module/codegen/cosmos/slashing/v1beta1/tx.js +20 -0
  233. package/module/codegen/cosmos/staking/v1beta1/authz.js +44 -1
  234. package/module/codegen/cosmos/staking/v1beta1/genesis.js +57 -1
  235. package/module/codegen/cosmos/staking/v1beta1/query.js +341 -1
  236. package/module/codegen/cosmos/staking/v1beta1/staking.js +339 -18
  237. package/module/codegen/cosmos/staking/v1beta1/tx.js +130 -9
  238. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +88 -2
  239. package/module/codegen/cosmos/tx/v1beta1/service.js +158 -3
  240. package/module/codegen/cosmos/tx/v1beta1/tx.js +226 -1
  241. package/module/codegen/cosmos/upgrade/v1beta1/query.js +99 -1
  242. package/module/codegen/cosmos/upgrade/v1beta1/tx.js +43 -0
  243. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +61 -5
  244. package/module/codegen/cosmos/vesting/v1beta1/tx.js +82 -1
  245. package/module/codegen/cosmos/vesting/v1beta1/vesting.js +97 -1
  246. package/module/codegen/cosmos_proto/cosmos.js +38 -1
  247. package/module/codegen/extern.js +30 -0
  248. package/module/codegen/google/api/http.js +67 -0
  249. package/module/codegen/google/protobuf/any.js +95 -0
  250. package/module/codegen/google/protobuf/descriptor.js +672 -7
  251. package/module/codegen/google/protobuf/duration.js +13 -1
  252. package/module/codegen/google/protobuf/empty.js +19 -0
  253. package/module/codegen/google/protobuf/timestamp.js +13 -1
  254. package/module/codegen/helpers.js +1 -1
  255. package/module/codegen/index.js +3 -4
  256. package/module/codegen/tendermint/abci/types.js +734 -13
  257. package/module/codegen/tendermint/crypto/keys.js +15 -0
  258. package/module/codegen/tendermint/crypto/proof.js +75 -1
  259. package/module/codegen/tendermint/libs/bits/types.js +17 -1
  260. package/module/codegen/tendermint/p2p/types.js +96 -12
  261. package/module/codegen/tendermint/types/block.js +17 -0
  262. package/module/codegen/tendermint/types/evidence.js +74 -9
  263. package/module/codegen/tendermint/types/params.js +81 -1
  264. package/module/codegen/tendermint/types/types.js +259 -19
  265. package/module/codegen/tendermint/types/validator.js +47 -1
  266. package/module/codegen/tendermint/version/types.js +25 -1
  267. package/package.json +1 -1
  268. package/src/codegen/beezee/burner/burn_coins_proposal.ts +16 -2
  269. package/src/codegen/beezee/burner/burned_coins.ts +16 -2
  270. package/src/codegen/beezee/burner/events.ts +29 -3
  271. package/src/codegen/beezee/burner/genesis.ts +22 -2
  272. package/src/codegen/beezee/burner/params.ts +10 -2
  273. package/src/codegen/beezee/burner/query.ts +59 -5
  274. package/src/codegen/beezee/burner/tx.ts +26 -3
  275. package/src/codegen/beezee/cointrunk/accepted_domain.ts +16 -2
  276. package/src/codegen/beezee/cointrunk/accepted_domain_proposal.ts +20 -2
  277. package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +16 -2
  278. package/src/codegen/beezee/cointrunk/article.ts +26 -2
  279. package/src/codegen/beezee/cointrunk/events.ts +89 -7
  280. package/src/codegen/beezee/cointrunk/genesis.ts +38 -2
  281. package/src/codegen/beezee/cointrunk/params.ts +33 -3
  282. package/src/codegen/beezee/cointrunk/publisher.ts +24 -2
  283. package/src/codegen/beezee/cointrunk/publisher_proposal.ts +22 -2
  284. package/src/codegen/beezee/cointrunk/query.ts +187 -13
  285. package/src/codegen/beezee/cointrunk/tx.ts +64 -5
  286. package/src/codegen/bze/bundle.ts +14 -22
  287. package/src/codegen/cosmos/app/v1alpha1/config.ts +53 -3
  288. package/src/codegen/cosmos/app/v1alpha1/module.ts +124 -4
  289. package/src/codegen/cosmos/app/v1alpha1/query.ts +25 -3
  290. package/src/codegen/cosmos/auth/v1beta1/auth.ts +64 -4
  291. package/src/codegen/cosmos/auth/v1beta1/genesis.ts +25 -2
  292. package/src/codegen/cosmos/auth/v1beta1/query.ts +195 -15
  293. package/src/codegen/cosmos/authz/v1beta1/authz.ts +86 -16
  294. package/src/codegen/cosmos/authz/v1beta1/event.ts +45 -3
  295. package/src/codegen/cosmos/authz/v1beta1/genesis.ts +19 -2
  296. package/src/codegen/cosmos/authz/v1beta1/query.ts +130 -7
  297. package/src/codegen/cosmos/authz/v1beta1/tx.ts +101 -7
  298. package/src/codegen/cosmos/bank/v1beta1/authz.ts +19 -2
  299. package/src/codegen/cosmos/bank/v1beta1/bank.ts +200 -8
  300. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +70 -3
  301. package/src/codegen/cosmos/bank/v1beta1/query.ts +339 -20
  302. package/src/codegen/cosmos/bank/v1beta1/tx.ts +70 -5
  303. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +325 -11
  304. package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +35 -3
  305. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +76 -3
  306. package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +64 -5
  307. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +476 -27
  308. package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +163 -10
  309. package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +52 -4
  310. package/src/codegen/cosmos/base/store/v1beta1/listening.ts +23 -2
  311. package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +259 -16
  312. package/src/codegen/cosmos/base/v1beta1/coin.ts +57 -5
  313. package/src/codegen/cosmos/bundle.ts +103 -159
  314. package/src/codegen/cosmos/capability/v1beta1/capability.ts +48 -4
  315. package/src/codegen/cosmos/capability/v1beta1/genesis.ts +46 -3
  316. package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +18 -2
  317. package/src/codegen/cosmos/crisis/v1beta1/tx.ts +28 -3
  318. package/src/codegen/cosmos/crypto/ed25519/keys.ts +27 -3
  319. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +34 -2
  320. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +83 -6
  321. package/src/codegen/cosmos/crypto/multisig/keys.ts +22 -2
  322. package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +35 -3
  323. package/src/codegen/cosmos/crypto/secp256k1/keys.ts +27 -3
  324. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +32 -3
  325. package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +237 -13
  326. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +236 -9
  327. package/src/codegen/cosmos/distribution/v1beta1/query.ts +303 -19
  328. package/src/codegen/cosmos/distribution/v1beta1/tx.ts +123 -9
  329. package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +26 -8
  330. package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +20 -2
  331. package/src/codegen/cosmos/evidence/v1beta1/query.ts +67 -5
  332. package/src/codegen/cosmos/evidence/v1beta1/tx.ts +30 -3
  333. package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +137 -16
  334. package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +19 -2
  335. package/src/codegen/cosmos/feegrant/v1beta1/query.ts +115 -7
  336. package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +61 -5
  337. package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +21 -2
  338. package/src/codegen/cosmos/gov/v1/genesis.ts +55 -2
  339. package/src/codegen/cosmos/gov/v1/gov.ts +284 -34
  340. package/src/codegen/cosmos/gov/v1/query.ts +293 -19
  341. package/src/codegen/cosmos/gov/v1/tx.ts +173 -13
  342. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +55 -2
  343. package/src/codegen/cosmos/gov/v1beta1/gov.ts +296 -36
  344. package/src/codegen/cosmos/gov/v1beta1/query.ts +293 -19
  345. package/src/codegen/cosmos/gov/v1beta1/tx.ts +132 -11
  346. package/src/codegen/cosmos/group/v1/events.ts +137 -12
  347. package/src/codegen/cosmos/group/v1/genesis.ts +80 -2
  348. package/src/codegen/cosmos/group/v1/query.ts +481 -27
  349. package/src/codegen/cosmos/group/v1/tx.ts +554 -34
  350. package/src/codegen/cosmos/group/v1/types.ts +472 -51
  351. package/src/codegen/cosmos/mint/v1beta1/genesis.ts +19 -2
  352. package/src/codegen/cosmos/mint/v1beta1/mint.ts +53 -3
  353. package/src/codegen/cosmos/mint/v1beta1/query.ts +73 -7
  354. package/src/codegen/cosmos/nft/v1beta1/event.ts +54 -4
  355. package/src/codegen/cosmos/nft/v1beta1/genesis.ts +52 -3
  356. package/src/codegen/cosmos/nft/v1beta1/nft.ts +69 -3
  357. package/src/codegen/cosmos/nft/v1beta1/query.ts +210 -15
  358. package/src/codegen/cosmos/nft/v1beta1/tx.ts +37 -3
  359. package/src/codegen/cosmos/orm/v1/orm.ts +140 -5
  360. package/src/codegen/cosmos/orm/v1alpha1/schema.ts +109 -5
  361. package/src/codegen/cosmos/params/v1beta1/params.ts +41 -3
  362. package/src/codegen/cosmos/params/v1beta1/query.ts +83 -6
  363. package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +100 -5
  364. package/src/codegen/cosmos/slashing/v1beta1/query.ts +87 -7
  365. package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +71 -9
  366. package/src/codegen/cosmos/slashing/v1beta1/tx.ts +24 -3
  367. package/src/codegen/cosmos/staking/v1beta1/authz.ts +73 -5
  368. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +91 -3
  369. package/src/codegen/cosmos/staking/v1beta1/query.ts +499 -29
  370. package/src/codegen/cosmos/staking/v1beta1/staking.ts +507 -44
  371. package/src/codegen/cosmos/staking/v1beta1/tx.ts +172 -22
  372. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +154 -8
  373. package/src/codegen/cosmos/tx/v1beta1/service.ts +252 -15
  374. package/src/codegen/cosmos/tx/v1beta1/tx.ts +462 -17
  375. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +145 -11
  376. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +53 -5
  377. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +109 -11
  378. package/src/codegen/cosmos/vesting/v1beta1/tx.ts +106 -7
  379. package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +123 -7
  380. package/src/codegen/cosmos_proto/cosmos.ts +76 -5
  381. package/src/codegen/extern.ts +33 -0
  382. package/src/codegen/google/api/http.ts +140 -4
  383. package/src/codegen/google/protobuf/any.ts +47 -2
  384. package/src/codegen/google/protobuf/descriptor.ts +1405 -59
  385. package/src/codegen/google/protobuf/duration.ts +30 -2
  386. package/src/codegen/google/protobuf/empty.ts +10 -2
  387. package/src/codegen/google/protobuf/timestamp.ts +28 -2
  388. package/src/codegen/helpers.ts +1 -3
  389. package/src/codegen/index.ts +3 -4
  390. package/src/codegen/tendermint/abci/types.ts +970 -64
  391. package/src/codegen/tendermint/crypto/keys.ts +16 -2
  392. package/src/codegen/tendermint/crypto/proof.ts +97 -6
  393. package/src/codegen/tendermint/libs/bits/types.ts +22 -2
  394. package/src/codegen/tendermint/p2p/types.ts +118 -22
  395. package/src/codegen/tendermint/types/block.ts +20 -2
  396. package/src/codegen/tendermint/types/evidence.ts +94 -16
  397. package/src/codegen/tendermint/types/params.ts +137 -7
  398. package/src/codegen/tendermint/types/types.ts +338 -40
  399. package/src/codegen/tendermint/types/validator.ts +58 -4
  400. package/src/codegen/tendermint/version/types.ts +31 -3
  401. package/main/codegen/beezee/burner/tx.amino.js +0 -28
  402. package/main/codegen/beezee/burner/tx.registry.js +0 -47
  403. package/main/codegen/beezee/cointrunk/tx.amino.js +0 -59
  404. package/main/codegen/beezee/cointrunk/tx.registry.js +0 -65
  405. package/main/codegen/bze/client.js +0 -67
  406. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -96
  407. package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -83
  408. package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +0 -101
  409. package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +0 -65
  410. package/main/codegen/cosmos/client.js +0 -86
  411. package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -32
  412. package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -47
  413. package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +0 -91
  414. package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +0 -101
  415. package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -34
  416. package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -47
  417. package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -57
  418. package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -65
  419. package/main/codegen/cosmos/gov/v1/tx.amino.js +0 -180
  420. package/main/codegen/cosmos/gov/v1/tx.registry.js +0 -119
  421. package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +0 -139
  422. package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +0 -101
  423. package/main/codegen/cosmos/group/v1/tx.amino.js +0 -424
  424. package/main/codegen/cosmos/group/v1/tx.registry.js +0 -281
  425. package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -36
  426. package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -47
  427. package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -24
  428. package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -47
  429. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -213
  430. package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +0 -119
  431. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -62
  432. package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -65
  433. package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -131
  434. package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -83
  435. package/module/codegen/beezee/burner/tx.amino.js +0 -23
  436. package/module/codegen/beezee/burner/tx.registry.js +0 -33
  437. package/module/codegen/beezee/cointrunk/tx.amino.js +0 -56
  438. package/module/codegen/beezee/cointrunk/tx.registry.js +0 -51
  439. package/module/codegen/bze/client.js +0 -38
  440. package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -91
  441. package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -69
  442. package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +0 -78
  443. package/module/codegen/cosmos/bank/v1beta1/tx.registry.js +0 -51
  444. package/module/codegen/cosmos/client.js +0 -57
  445. package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -27
  446. package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -33
  447. package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +0 -88
  448. package/module/codegen/cosmos/distribution/v1beta1/tx.registry.js +0 -87
  449. package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -29
  450. package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -33
  451. package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -54
  452. package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -51
  453. package/module/codegen/cosmos/gov/v1/tx.amino.js +0 -167
  454. package/module/codegen/cosmos/gov/v1/tx.registry.js +0 -105
  455. package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +0 -128
  456. package/module/codegen/cosmos/gov/v1beta1/tx.registry.js +0 -87
  457. package/module/codegen/cosmos/group/v1/tx.amino.js +0 -429
  458. package/module/codegen/cosmos/group/v1/tx.registry.js +0 -267
  459. package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -31
  460. package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -33
  461. package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -19
  462. package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -33
  463. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -216
  464. package/module/codegen/cosmos/staking/v1beta1/tx.registry.js +0 -105
  465. package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -59
  466. package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -51
  467. package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -114
  468. package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -69
  469. package/src/codegen/beezee/burner/tx.amino.ts +0 -32
  470. package/src/codegen/beezee/burner/tx.registry.ts +0 -37
  471. package/src/codegen/beezee/cointrunk/tx.amino.ts +0 -75
  472. package/src/codegen/beezee/cointrunk/tx.registry.ts +0 -58
  473. package/src/codegen/bze/client.ts +0 -48
  474. package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +0 -128
  475. package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +0 -79
  476. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +0 -110
  477. package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -58
  478. package/src/codegen/cosmos/client.ts +0 -76
  479. package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +0 -37
  480. package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +0 -37
  481. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +0 -120
  482. package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -100
  483. package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +0 -41
  484. package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +0 -37
  485. package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +0 -74
  486. package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +0 -58
  487. package/src/codegen/cosmos/gov/v1/tx.amino.ts +0 -226
  488. package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -121
  489. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +0 -174
  490. package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -100
  491. package/src/codegen/cosmos/group/v1/tx.amino.ts +0 -583
  492. package/src/codegen/cosmos/group/v1/tx.registry.ts +0 -310
  493. package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +0 -42
  494. package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +0 -37
  495. package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +0 -27
  496. package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +0 -37
  497. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +0 -294
  498. package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -121
  499. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +0 -86
  500. package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -58
  501. package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +0 -155
  502. package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +0 -79
@@ -1,9 +1,9 @@
1
1
  import { Any, AnySDKType } from "../../../google/protobuf/any";
2
- import { SignMode } from "../signing/v1beta1/signing";
2
+ import { SignMode, SignModeSDKType, signModeFromJSON, signModeToJSON } from "../signing/v1beta1/signing";
3
3
  import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig";
4
4
  import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
5
5
  import * as _m0 from "protobufjs/minimal";
6
- import { DeepPartial, Long } from "../../../helpers";
6
+ import { isSet, bytesFromBase64, base64FromBytes, Long } from "../../../helpers";
7
7
  /** Tx is the standard type used for broadcasting transactions. */
8
8
 
9
9
  export interface Tx {
@@ -26,8 +26,20 @@ export interface Tx {
26
26
  /** Tx is the standard type used for broadcasting transactions. */
27
27
 
28
28
  export interface TxSDKType {
29
+ /** body is the processable content of the transaction */
29
30
  body?: TxBodySDKType;
31
+ /**
32
+ * auth_info is the authorization related content of the transaction,
33
+ * specifically signers, signer modes and fee
34
+ */
35
+
30
36
  auth_info?: AuthInfoSDKType;
37
+ /**
38
+ * signatures is a list of signatures that matches the length and order of
39
+ * AuthInfo's signer_infos to allow connecting signature meta information like
40
+ * public key and signing mode by position.
41
+ */
42
+
31
43
  signatures: Uint8Array[];
32
44
  }
33
45
  /**
@@ -67,8 +79,23 @@ export interface TxRaw {
67
79
  */
68
80
 
69
81
  export interface TxRawSDKType {
82
+ /**
83
+ * body_bytes is a protobuf serialization of a TxBody that matches the
84
+ * representation in SignDoc.
85
+ */
70
86
  body_bytes: Uint8Array;
87
+ /**
88
+ * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
89
+ * representation in SignDoc.
90
+ */
91
+
71
92
  auth_info_bytes: Uint8Array;
93
+ /**
94
+ * signatures is a list of signatures that matches the length and order of
95
+ * AuthInfo's signer_infos to allow connecting signature meta information like
96
+ * public key and signing mode by position.
97
+ */
98
+
72
99
  signatures: Uint8Array[];
73
100
  }
74
101
  /** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
@@ -99,9 +126,26 @@ export interface SignDoc {
99
126
  /** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
100
127
 
101
128
  export interface SignDocSDKType {
129
+ /**
130
+ * body_bytes is protobuf serialization of a TxBody that matches the
131
+ * representation in TxRaw.
132
+ */
102
133
  body_bytes: Uint8Array;
134
+ /**
135
+ * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
136
+ * representation in TxRaw.
137
+ */
138
+
103
139
  auth_info_bytes: Uint8Array;
140
+ /**
141
+ * chain_id is the unique identifier of the chain this transaction targets.
142
+ * It prevents signed transactions from being used on another chain by an
143
+ * attacker
144
+ */
145
+
104
146
  chain_id: string;
147
+ /** account_number is the account number of the account in state */
148
+
105
149
  account_number: Long;
106
150
  }
107
151
  /**
@@ -148,11 +192,32 @@ export interface SignDocDirectAux {
148
192
  */
149
193
 
150
194
  export interface SignDocDirectAuxSDKType {
195
+ /**
196
+ * body_bytes is protobuf serialization of a TxBody that matches the
197
+ * representation in TxRaw.
198
+ */
151
199
  body_bytes: Uint8Array;
200
+ /** public_key is the public key of the signing account. */
201
+
152
202
  public_key?: AnySDKType;
203
+ /**
204
+ * chain_id is the identifier of the chain this transaction targets.
205
+ * It prevents signed transactions from being used on another chain by an
206
+ * attacker.
207
+ */
208
+
153
209
  chain_id: string;
210
+ /** account_number is the account number of the account in state. */
211
+
154
212
  account_number: Long;
213
+ /** sequence is the sequence number of the signing account. */
214
+
155
215
  sequence: Long;
216
+ /**
217
+ * Tip is the optional tip used for meta-transactions. It should be left
218
+ * empty if the signer is not the tipper for this transaction.
219
+ */
220
+
156
221
  tip?: TipSDKType;
157
222
  }
158
223
  /** TxBody is the body of a transaction that all signers sign over. */
@@ -199,10 +264,42 @@ export interface TxBody {
199
264
  /** TxBody is the body of a transaction that all signers sign over. */
200
265
 
201
266
  export interface TxBodySDKType {
267
+ /**
268
+ * messages is a list of messages to be executed. The required signers of
269
+ * those messages define the number and order of elements in AuthInfo's
270
+ * signer_infos and Tx's signatures. Each required signer address is added to
271
+ * the list only the first time it occurs.
272
+ * By convention, the first required signer (usually from the first message)
273
+ * is referred to as the primary signer and pays the fee for the whole
274
+ * transaction.
275
+ */
202
276
  messages: AnySDKType[];
277
+ /**
278
+ * memo is any arbitrary note/comment to be added to the transaction.
279
+ * WARNING: in clients, any publicly exposed text should not be called memo,
280
+ * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
281
+ */
282
+
203
283
  memo: string;
284
+ /**
285
+ * timeout is the block height after which this transaction will not
286
+ * be processed by the chain
287
+ */
288
+
204
289
  timeout_height: Long;
290
+ /**
291
+ * extension_options are arbitrary options that can be added by chains
292
+ * when the default options are not sufficient. If any of these are present
293
+ * and can't be handled, the transaction will be rejected
294
+ */
295
+
205
296
  extension_options: AnySDKType[];
297
+ /**
298
+ * extension_options are arbitrary options that can be added by chains
299
+ * when the default options are not sufficient. If any of these are present
300
+ * and can't be handled, they will be ignored
301
+ */
302
+
206
303
  non_critical_extension_options: AnySDKType[];
207
304
  }
208
305
  /**
@@ -240,8 +337,27 @@ export interface AuthInfo {
240
337
  */
241
338
 
242
339
  export interface AuthInfoSDKType {
340
+ /**
341
+ * signer_infos defines the signing modes for the required signers. The number
342
+ * and order of elements must match the required signers from TxBody's
343
+ * messages. The first element is the primary signer and the one which pays
344
+ * the fee.
345
+ */
243
346
  signer_infos: SignerInfoSDKType[];
347
+ /**
348
+ * Fee is the fee and gas limit for the transaction. The first signer is the
349
+ * primary signer and the one which pays the fee. The fee can be calculated
350
+ * based on the cost of evaluating the body and doing signature verification
351
+ * of the signers. This can be estimated via simulation.
352
+ */
353
+
244
354
  fee?: FeeSDKType;
355
+ /**
356
+ * Tip is the optional tip used for meta-transactions.
357
+ *
358
+ * Since: cosmos-sdk 0.46
359
+ */
360
+
245
361
  tip?: TipSDKType;
246
362
  }
247
363
  /**
@@ -276,8 +392,24 @@ export interface SignerInfo {
276
392
  */
277
393
 
278
394
  export interface SignerInfoSDKType {
395
+ /**
396
+ * public_key is the public key of the signer. It is optional for accounts
397
+ * that already exist in state. If unset, the verifier can use the required \
398
+ * signer address for this position and lookup the public key.
399
+ */
279
400
  public_key?: AnySDKType;
401
+ /**
402
+ * mode_info describes the signing mode of the signer and is a nested
403
+ * structure to support nested multisig pubkey's
404
+ */
405
+
280
406
  mode_info?: ModeInfoSDKType;
407
+ /**
408
+ * sequence is the sequence of the account, which describes the
409
+ * number of committed transactions signed by a given address. It is used to
410
+ * prevent replay attacks.
411
+ */
412
+
281
413
  sequence: Long;
282
414
  }
283
415
  /** ModeInfo describes the signing mode of a single or nested multisig signer. */
@@ -292,7 +424,10 @@ export interface ModeInfo {
292
424
  /** ModeInfo describes the signing mode of a single or nested multisig signer. */
293
425
 
294
426
  export interface ModeInfoSDKType {
427
+ /** single represents a single signer */
295
428
  single?: ModeInfo_SingleSDKType;
429
+ /** multi represents a nested multisig signer */
430
+
296
431
  multi?: ModeInfo_MultiSDKType;
297
432
  }
298
433
  /**
@@ -312,7 +447,8 @@ export interface ModeInfo_Single {
312
447
  */
313
448
 
314
449
  export interface ModeInfo_SingleSDKType {
315
- mode: SignMode;
450
+ /** mode is the signing mode of the single signer */
451
+ mode: SignModeSDKType;
316
452
  }
317
453
  /** Multi is the mode info for a multisig public key */
318
454
 
@@ -329,7 +465,13 @@ export interface ModeInfo_Multi {
329
465
  /** Multi is the mode info for a multisig public key */
330
466
 
331
467
  export interface ModeInfo_MultiSDKType {
468
+ /** bitarray specifies which keys within the multisig are signing */
332
469
  bitarray?: CompactBitArraySDKType;
470
+ /**
471
+ * mode_infos is the corresponding modes of the signers of the multisig
472
+ * which could include nested multisig public keys
473
+ */
474
+
333
475
  mode_infos: ModeInfoSDKType[];
334
476
  }
335
477
  /**
@@ -369,9 +511,27 @@ export interface Fee {
369
511
  */
370
512
 
371
513
  export interface FeeSDKType {
514
+ /** amount is the amount of coins to be paid as a fee */
372
515
  amount: CoinSDKType[];
516
+ /**
517
+ * gas_limit is the maximum gas that can be used in transaction processing
518
+ * before an out of gas error occurs
519
+ */
520
+
373
521
  gas_limit: Long;
522
+ /**
523
+ * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
524
+ * the payer must be a tx signer (and thus have signed this field in AuthInfo).
525
+ * setting this field does *not* change the ordering of required signers for the transaction.
526
+ */
527
+
374
528
  payer: string;
529
+ /**
530
+ * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used
531
+ * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does
532
+ * not support fee grants, this will fail
533
+ */
534
+
375
535
  granter: string;
376
536
  }
377
537
  /**
@@ -394,7 +554,10 @@ export interface Tip {
394
554
  */
395
555
 
396
556
  export interface TipSDKType {
557
+ /** amount is the amount of the tip */
397
558
  amount: CoinSDKType[];
559
+ /** tipper is the address of the account paying for the tip */
560
+
398
561
  tipper: string;
399
562
  }
400
563
  /**
@@ -437,9 +600,24 @@ export interface AuxSignerData {
437
600
  */
438
601
 
439
602
  export interface AuxSignerDataSDKType {
603
+ /**
604
+ * address is the bech32-encoded address of the auxiliary signer. If using
605
+ * AuxSignerData across different chains, the bech32 prefix of the target
606
+ * chain (where the final transaction is broadcasted) should be used.
607
+ */
440
608
  address: string;
609
+ /**
610
+ * sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer
611
+ * signs. Note: we use the same sign doc even if we're signing with
612
+ * LEGACY_AMINO_JSON.
613
+ */
614
+
441
615
  sign_doc?: SignDocDirectAuxSDKType;
442
- mode: SignMode;
616
+ /** mode is the signing mode of the single signer */
617
+
618
+ mode: SignModeSDKType;
619
+ /** sig is the signature of the sign doc. */
620
+
443
621
  sig: Uint8Array;
444
622
  }
445
623
 
@@ -498,7 +676,29 @@ export const Tx = {
498
676
  return message;
499
677
  },
500
678
 
501
- fromPartial(object: DeepPartial<Tx>): Tx {
679
+ fromJSON(object: any): Tx {
680
+ return {
681
+ body: isSet(object.body) ? TxBody.fromJSON(object.body) : undefined,
682
+ authInfo: isSet(object.authInfo) ? AuthInfo.fromJSON(object.authInfo) : undefined,
683
+ signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => bytesFromBase64(e)) : []
684
+ };
685
+ },
686
+
687
+ toJSON(message: Tx): unknown {
688
+ const obj: any = {};
689
+ message.body !== undefined && (obj.body = message.body ? TxBody.toJSON(message.body) : undefined);
690
+ message.authInfo !== undefined && (obj.authInfo = message.authInfo ? AuthInfo.toJSON(message.authInfo) : undefined);
691
+
692
+ if (message.signatures) {
693
+ obj.signatures = message.signatures.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array()));
694
+ } else {
695
+ obj.signatures = [];
696
+ }
697
+
698
+ return obj;
699
+ },
700
+
701
+ fromPartial(object: Partial<Tx>): Tx {
502
702
  const message = createBaseTx();
503
703
  message.body = object.body !== undefined && object.body !== null ? TxBody.fromPartial(object.body) : undefined;
504
704
  message.authInfo = object.authInfo !== undefined && object.authInfo !== null ? AuthInfo.fromPartial(object.authInfo) : undefined;
@@ -563,7 +763,29 @@ export const TxRaw = {
563
763
  return message;
564
764
  },
565
765
 
566
- fromPartial(object: DeepPartial<TxRaw>): TxRaw {
766
+ fromJSON(object: any): TxRaw {
767
+ return {
768
+ bodyBytes: isSet(object.bodyBytes) ? bytesFromBase64(object.bodyBytes) : new Uint8Array(),
769
+ authInfoBytes: isSet(object.authInfoBytes) ? bytesFromBase64(object.authInfoBytes) : new Uint8Array(),
770
+ signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => bytesFromBase64(e)) : []
771
+ };
772
+ },
773
+
774
+ toJSON(message: TxRaw): unknown {
775
+ const obj: any = {};
776
+ message.bodyBytes !== undefined && (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array()));
777
+ message.authInfoBytes !== undefined && (obj.authInfoBytes = base64FromBytes(message.authInfoBytes !== undefined ? message.authInfoBytes : new Uint8Array()));
778
+
779
+ if (message.signatures) {
780
+ obj.signatures = message.signatures.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array()));
781
+ } else {
782
+ obj.signatures = [];
783
+ }
784
+
785
+ return obj;
786
+ },
787
+
788
+ fromPartial(object: Partial<TxRaw>): TxRaw {
567
789
  const message = createBaseTxRaw();
568
790
  message.bodyBytes = object.bodyBytes ?? new Uint8Array();
569
791
  message.authInfoBytes = object.authInfoBytes ?? new Uint8Array();
@@ -637,7 +859,25 @@ export const SignDoc = {
637
859
  return message;
638
860
  },
639
861
 
640
- fromPartial(object: DeepPartial<SignDoc>): SignDoc {
862
+ fromJSON(object: any): SignDoc {
863
+ return {
864
+ bodyBytes: isSet(object.bodyBytes) ? bytesFromBase64(object.bodyBytes) : new Uint8Array(),
865
+ authInfoBytes: isSet(object.authInfoBytes) ? bytesFromBase64(object.authInfoBytes) : new Uint8Array(),
866
+ chainId: isSet(object.chainId) ? String(object.chainId) : "",
867
+ accountNumber: isSet(object.accountNumber) ? Long.fromValue(object.accountNumber) : Long.UZERO
868
+ };
869
+ },
870
+
871
+ toJSON(message: SignDoc): unknown {
872
+ const obj: any = {};
873
+ message.bodyBytes !== undefined && (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array()));
874
+ message.authInfoBytes !== undefined && (obj.authInfoBytes = base64FromBytes(message.authInfoBytes !== undefined ? message.authInfoBytes : new Uint8Array()));
875
+ message.chainId !== undefined && (obj.chainId = message.chainId);
876
+ message.accountNumber !== undefined && (obj.accountNumber = (message.accountNumber || Long.UZERO).toString());
877
+ return obj;
878
+ },
879
+
880
+ fromPartial(object: Partial<SignDoc>): SignDoc {
641
881
  const message = createBaseSignDoc();
642
882
  message.bodyBytes = object.bodyBytes ?? new Uint8Array();
643
883
  message.authInfoBytes = object.authInfoBytes ?? new Uint8Array();
@@ -730,7 +970,29 @@ export const SignDocDirectAux = {
730
970
  return message;
731
971
  },
732
972
 
733
- fromPartial(object: DeepPartial<SignDocDirectAux>): SignDocDirectAux {
973
+ fromJSON(object: any): SignDocDirectAux {
974
+ return {
975
+ bodyBytes: isSet(object.bodyBytes) ? bytesFromBase64(object.bodyBytes) : new Uint8Array(),
976
+ publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined,
977
+ chainId: isSet(object.chainId) ? String(object.chainId) : "",
978
+ accountNumber: isSet(object.accountNumber) ? Long.fromValue(object.accountNumber) : Long.UZERO,
979
+ sequence: isSet(object.sequence) ? Long.fromValue(object.sequence) : Long.UZERO,
980
+ tip: isSet(object.tip) ? Tip.fromJSON(object.tip) : undefined
981
+ };
982
+ },
983
+
984
+ toJSON(message: SignDocDirectAux): unknown {
985
+ const obj: any = {};
986
+ message.bodyBytes !== undefined && (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array()));
987
+ message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined);
988
+ message.chainId !== undefined && (obj.chainId = message.chainId);
989
+ message.accountNumber !== undefined && (obj.accountNumber = (message.accountNumber || Long.UZERO).toString());
990
+ message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString());
991
+ message.tip !== undefined && (obj.tip = message.tip ? Tip.toJSON(message.tip) : undefined);
992
+ return obj;
993
+ },
994
+
995
+ fromPartial(object: Partial<SignDocDirectAux>): SignDocDirectAux {
734
996
  const message = createBaseSignDocDirectAux();
735
997
  message.bodyBytes = object.bodyBytes ?? new Uint8Array();
736
998
  message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined;
@@ -816,7 +1078,44 @@ export const TxBody = {
816
1078
  return message;
817
1079
  },
818
1080
 
819
- fromPartial(object: DeepPartial<TxBody>): TxBody {
1081
+ fromJSON(object: any): TxBody {
1082
+ return {
1083
+ messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [],
1084
+ memo: isSet(object.memo) ? String(object.memo) : "",
1085
+ timeoutHeight: isSet(object.timeoutHeight) ? Long.fromValue(object.timeoutHeight) : Long.UZERO,
1086
+ extensionOptions: Array.isArray(object?.extensionOptions) ? object.extensionOptions.map((e: any) => Any.fromJSON(e)) : [],
1087
+ nonCriticalExtensionOptions: Array.isArray(object?.nonCriticalExtensionOptions) ? object.nonCriticalExtensionOptions.map((e: any) => Any.fromJSON(e)) : []
1088
+ };
1089
+ },
1090
+
1091
+ toJSON(message: TxBody): unknown {
1092
+ const obj: any = {};
1093
+
1094
+ if (message.messages) {
1095
+ obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined);
1096
+ } else {
1097
+ obj.messages = [];
1098
+ }
1099
+
1100
+ message.memo !== undefined && (obj.memo = message.memo);
1101
+ message.timeoutHeight !== undefined && (obj.timeoutHeight = (message.timeoutHeight || Long.UZERO).toString());
1102
+
1103
+ if (message.extensionOptions) {
1104
+ obj.extensionOptions = message.extensionOptions.map(e => e ? Any.toJSON(e) : undefined);
1105
+ } else {
1106
+ obj.extensionOptions = [];
1107
+ }
1108
+
1109
+ if (message.nonCriticalExtensionOptions) {
1110
+ obj.nonCriticalExtensionOptions = message.nonCriticalExtensionOptions.map(e => e ? Any.toJSON(e) : undefined);
1111
+ } else {
1112
+ obj.nonCriticalExtensionOptions = [];
1113
+ }
1114
+
1115
+ return obj;
1116
+ },
1117
+
1118
+ fromPartial(object: Partial<TxBody>): TxBody {
820
1119
  const message = createBaseTxBody();
821
1120
  message.messages = object.messages?.map(e => Any.fromPartial(e)) || [];
822
1121
  message.memo = object.memo ?? "";
@@ -883,7 +1182,29 @@ export const AuthInfo = {
883
1182
  return message;
884
1183
  },
885
1184
 
886
- fromPartial(object: DeepPartial<AuthInfo>): AuthInfo {
1185
+ fromJSON(object: any): AuthInfo {
1186
+ return {
1187
+ signerInfos: Array.isArray(object?.signerInfos) ? object.signerInfos.map((e: any) => SignerInfo.fromJSON(e)) : [],
1188
+ fee: isSet(object.fee) ? Fee.fromJSON(object.fee) : undefined,
1189
+ tip: isSet(object.tip) ? Tip.fromJSON(object.tip) : undefined
1190
+ };
1191
+ },
1192
+
1193
+ toJSON(message: AuthInfo): unknown {
1194
+ const obj: any = {};
1195
+
1196
+ if (message.signerInfos) {
1197
+ obj.signerInfos = message.signerInfos.map(e => e ? SignerInfo.toJSON(e) : undefined);
1198
+ } else {
1199
+ obj.signerInfos = [];
1200
+ }
1201
+
1202
+ message.fee !== undefined && (obj.fee = message.fee ? Fee.toJSON(message.fee) : undefined);
1203
+ message.tip !== undefined && (obj.tip = message.tip ? Tip.toJSON(message.tip) : undefined);
1204
+ return obj;
1205
+ },
1206
+
1207
+ fromPartial(object: Partial<AuthInfo>): AuthInfo {
887
1208
  const message = createBaseAuthInfo();
888
1209
  message.signerInfos = object.signerInfos?.map(e => SignerInfo.fromPartial(e)) || [];
889
1210
  message.fee = object.fee !== undefined && object.fee !== null ? Fee.fromPartial(object.fee) : undefined;
@@ -948,7 +1269,23 @@ export const SignerInfo = {
948
1269
  return message;
949
1270
  },
950
1271
 
951
- fromPartial(object: DeepPartial<SignerInfo>): SignerInfo {
1272
+ fromJSON(object: any): SignerInfo {
1273
+ return {
1274
+ publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined,
1275
+ modeInfo: isSet(object.modeInfo) ? ModeInfo.fromJSON(object.modeInfo) : undefined,
1276
+ sequence: isSet(object.sequence) ? Long.fromValue(object.sequence) : Long.UZERO
1277
+ };
1278
+ },
1279
+
1280
+ toJSON(message: SignerInfo): unknown {
1281
+ const obj: any = {};
1282
+ message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined);
1283
+ message.modeInfo !== undefined && (obj.modeInfo = message.modeInfo ? ModeInfo.toJSON(message.modeInfo) : undefined);
1284
+ message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString());
1285
+ return obj;
1286
+ },
1287
+
1288
+ fromPartial(object: Partial<SignerInfo>): SignerInfo {
952
1289
  const message = createBaseSignerInfo();
953
1290
  message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined;
954
1291
  message.modeInfo = object.modeInfo !== undefined && object.modeInfo !== null ? ModeInfo.fromPartial(object.modeInfo) : undefined;
@@ -1004,7 +1341,21 @@ export const ModeInfo = {
1004
1341
  return message;
1005
1342
  },
1006
1343
 
1007
- fromPartial(object: DeepPartial<ModeInfo>): ModeInfo {
1344
+ fromJSON(object: any): ModeInfo {
1345
+ return {
1346
+ single: isSet(object.single) ? ModeInfo_Single.fromJSON(object.single) : undefined,
1347
+ multi: isSet(object.multi) ? ModeInfo_Multi.fromJSON(object.multi) : undefined
1348
+ };
1349
+ },
1350
+
1351
+ toJSON(message: ModeInfo): unknown {
1352
+ const obj: any = {};
1353
+ message.single !== undefined && (obj.single = message.single ? ModeInfo_Single.toJSON(message.single) : undefined);
1354
+ message.multi !== undefined && (obj.multi = message.multi ? ModeInfo_Multi.toJSON(message.multi) : undefined);
1355
+ return obj;
1356
+ },
1357
+
1358
+ fromPartial(object: Partial<ModeInfo>): ModeInfo {
1008
1359
  const message = createBaseModeInfo();
1009
1360
  message.single = object.single !== undefined && object.single !== null ? ModeInfo_Single.fromPartial(object.single) : undefined;
1010
1361
  message.multi = object.multi !== undefined && object.multi !== null ? ModeInfo_Multi.fromPartial(object.multi) : undefined;
@@ -1050,7 +1401,19 @@ export const ModeInfo_Single = {
1050
1401
  return message;
1051
1402
  },
1052
1403
 
1053
- fromPartial(object: DeepPartial<ModeInfo_Single>): ModeInfo_Single {
1404
+ fromJSON(object: any): ModeInfo_Single {
1405
+ return {
1406
+ mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0
1407
+ };
1408
+ },
1409
+
1410
+ toJSON(message: ModeInfo_Single): unknown {
1411
+ const obj: any = {};
1412
+ message.mode !== undefined && (obj.mode = signModeToJSON(message.mode));
1413
+ return obj;
1414
+ },
1415
+
1416
+ fromPartial(object: Partial<ModeInfo_Single>): ModeInfo_Single {
1054
1417
  const message = createBaseModeInfo_Single();
1055
1418
  message.mode = object.mode ?? 0;
1056
1419
  return message;
@@ -1104,7 +1467,27 @@ export const ModeInfo_Multi = {
1104
1467
  return message;
1105
1468
  },
1106
1469
 
1107
- fromPartial(object: DeepPartial<ModeInfo_Multi>): ModeInfo_Multi {
1470
+ fromJSON(object: any): ModeInfo_Multi {
1471
+ return {
1472
+ bitarray: isSet(object.bitarray) ? CompactBitArray.fromJSON(object.bitarray) : undefined,
1473
+ modeInfos: Array.isArray(object?.modeInfos) ? object.modeInfos.map((e: any) => ModeInfo.fromJSON(e)) : []
1474
+ };
1475
+ },
1476
+
1477
+ toJSON(message: ModeInfo_Multi): unknown {
1478
+ const obj: any = {};
1479
+ message.bitarray !== undefined && (obj.bitarray = message.bitarray ? CompactBitArray.toJSON(message.bitarray) : undefined);
1480
+
1481
+ if (message.modeInfos) {
1482
+ obj.modeInfos = message.modeInfos.map(e => e ? ModeInfo.toJSON(e) : undefined);
1483
+ } else {
1484
+ obj.modeInfos = [];
1485
+ }
1486
+
1487
+ return obj;
1488
+ },
1489
+
1490
+ fromPartial(object: Partial<ModeInfo_Multi>): ModeInfo_Multi {
1108
1491
  const message = createBaseModeInfo_Multi();
1109
1492
  message.bitarray = object.bitarray !== undefined && object.bitarray !== null ? CompactBitArray.fromPartial(object.bitarray) : undefined;
1110
1493
  message.modeInfos = object.modeInfos?.map(e => ModeInfo.fromPartial(e)) || [];
@@ -1177,7 +1560,31 @@ export const Fee = {
1177
1560
  return message;
1178
1561
  },
1179
1562
 
1180
- fromPartial(object: DeepPartial<Fee>): Fee {
1563
+ fromJSON(object: any): Fee {
1564
+ return {
1565
+ amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [],
1566
+ gasLimit: isSet(object.gasLimit) ? Long.fromValue(object.gasLimit) : Long.UZERO,
1567
+ payer: isSet(object.payer) ? String(object.payer) : "",
1568
+ granter: isSet(object.granter) ? String(object.granter) : ""
1569
+ };
1570
+ },
1571
+
1572
+ toJSON(message: Fee): unknown {
1573
+ const obj: any = {};
1574
+
1575
+ if (message.amount) {
1576
+ obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined);
1577
+ } else {
1578
+ obj.amount = [];
1579
+ }
1580
+
1581
+ message.gasLimit !== undefined && (obj.gasLimit = (message.gasLimit || Long.UZERO).toString());
1582
+ message.payer !== undefined && (obj.payer = message.payer);
1583
+ message.granter !== undefined && (obj.granter = message.granter);
1584
+ return obj;
1585
+ },
1586
+
1587
+ fromPartial(object: Partial<Fee>): Fee {
1181
1588
  const message = createBaseFee();
1182
1589
  message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
1183
1590
  message.gasLimit = object.gasLimit !== undefined && object.gasLimit !== null ? Long.fromValue(object.gasLimit) : Long.UZERO;
@@ -1234,7 +1641,27 @@ export const Tip = {
1234
1641
  return message;
1235
1642
  },
1236
1643
 
1237
- fromPartial(object: DeepPartial<Tip>): Tip {
1644
+ fromJSON(object: any): Tip {
1645
+ return {
1646
+ amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [],
1647
+ tipper: isSet(object.tipper) ? String(object.tipper) : ""
1648
+ };
1649
+ },
1650
+
1651
+ toJSON(message: Tip): unknown {
1652
+ const obj: any = {};
1653
+
1654
+ if (message.amount) {
1655
+ obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined);
1656
+ } else {
1657
+ obj.amount = [];
1658
+ }
1659
+
1660
+ message.tipper !== undefined && (obj.tipper = message.tipper);
1661
+ return obj;
1662
+ },
1663
+
1664
+ fromPartial(object: Partial<Tip>): Tip {
1238
1665
  const message = createBaseTip();
1239
1666
  message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
1240
1667
  message.tipper = object.tipper ?? "";
@@ -1307,7 +1734,25 @@ export const AuxSignerData = {
1307
1734
  return message;
1308
1735
  },
1309
1736
 
1310
- fromPartial(object: DeepPartial<AuxSignerData>): AuxSignerData {
1737
+ fromJSON(object: any): AuxSignerData {
1738
+ return {
1739
+ address: isSet(object.address) ? String(object.address) : "",
1740
+ signDoc: isSet(object.signDoc) ? SignDocDirectAux.fromJSON(object.signDoc) : undefined,
1741
+ mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0,
1742
+ sig: isSet(object.sig) ? bytesFromBase64(object.sig) : new Uint8Array()
1743
+ };
1744
+ },
1745
+
1746
+ toJSON(message: AuxSignerData): unknown {
1747
+ const obj: any = {};
1748
+ message.address !== undefined && (obj.address = message.address);
1749
+ message.signDoc !== undefined && (obj.signDoc = message.signDoc ? SignDocDirectAux.toJSON(message.signDoc) : undefined);
1750
+ message.mode !== undefined && (obj.mode = signModeToJSON(message.mode));
1751
+ message.sig !== undefined && (obj.sig = base64FromBytes(message.sig !== undefined ? message.sig : new Uint8Array()));
1752
+ return obj;
1753
+ },
1754
+
1755
+ fromPartial(object: Partial<AuxSignerData>): AuxSignerData {
1311
1756
  const message = createBaseAuxSignerData();
1312
1757
  message.address = object.address ?? "";
1313
1758
  message.signDoc = object.signDoc !== undefined && object.signDoc !== null ? SignDocDirectAux.fromPartial(object.signDoc) : undefined;