@agoric/cosmic-proto 0.4.1-dev-ad4cd18.0.ad4cd18 → 0.4.1-dev-dcc80f2.0.dcc80f2

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 (515) hide show
  1. package/dist/address-hooks.js +2 -1
  2. package/dist/address-hooks.js.map +6 -1
  3. package/dist/codec-helpers.js +2 -1
  4. package/dist/codec-helpers.js.map +6 -1
  5. package/dist/codegen/agoric/bundle.js +2 -1
  6. package/dist/codegen/agoric/bundle.js.map +6 -1
  7. package/dist/codegen/agoric/swingset/genesis.js +2 -1
  8. package/dist/codegen/agoric/swingset/genesis.js.map +6 -1
  9. package/dist/codegen/agoric/swingset/msgs.js +2 -1
  10. package/dist/codegen/agoric/swingset/msgs.js.map +6 -1
  11. package/dist/codegen/agoric/swingset/query.js +2 -1
  12. package/dist/codegen/agoric/swingset/query.js.map +6 -1
  13. package/dist/codegen/agoric/swingset/swingset.js +2 -1
  14. package/dist/codegen/agoric/swingset/swingset.js.map +6 -1
  15. package/dist/codegen/agoric/vbank/genesis.js +2 -1
  16. package/dist/codegen/agoric/vbank/genesis.js.map +6 -1
  17. package/dist/codegen/agoric/vbank/msgs.js +2 -1
  18. package/dist/codegen/agoric/vbank/msgs.js.map +6 -1
  19. package/dist/codegen/agoric/vbank/query.js +2 -1
  20. package/dist/codegen/agoric/vbank/query.js.map +6 -1
  21. package/dist/codegen/agoric/vbank/vbank.js +2 -1
  22. package/dist/codegen/agoric/vbank/vbank.js.map +6 -1
  23. package/dist/codegen/agoric/vibc/msgs.js +2 -1
  24. package/dist/codegen/agoric/vibc/msgs.js.map +6 -1
  25. package/dist/codegen/agoric/vlocalchain/vlocalchain.js +2 -1
  26. package/dist/codegen/agoric/vlocalchain/vlocalchain.js.map +6 -1
  27. package/dist/codegen/agoric/vstorage/genesis.js +2 -1
  28. package/dist/codegen/agoric/vstorage/genesis.js.map +6 -1
  29. package/dist/codegen/agoric/vstorage/query.js +2 -1
  30. package/dist/codegen/agoric/vstorage/query.js.map +6 -1
  31. package/dist/codegen/agoric/vstorage/vstorage.js +2 -1
  32. package/dist/codegen/agoric/vstorage/vstorage.js.map +6 -1
  33. package/dist/codegen/agoric/vtransfer/genesis.js +2 -1
  34. package/dist/codegen/agoric/vtransfer/genesis.js.map +6 -1
  35. package/dist/codegen/amino/amino.js +2 -1
  36. package/dist/codegen/amino/amino.js.map +6 -1
  37. package/dist/codegen/amino/bundle.js +2 -1
  38. package/dist/codegen/amino/bundle.js.map +6 -1
  39. package/dist/codegen/binary.js +2 -1
  40. package/dist/codegen/binary.js.map +6 -1
  41. package/dist/codegen/circle/bundle.js +2 -1
  42. package/dist/codegen/circle/bundle.js.map +6 -1
  43. package/dist/codegen/circle/cctp/v1/attester.js +2 -1
  44. package/dist/codegen/circle/cctp/v1/attester.js.map +6 -1
  45. package/dist/codegen/circle/cctp/v1/burn_message.js +2 -1
  46. package/dist/codegen/circle/cctp/v1/burn_message.js.map +6 -1
  47. package/dist/codegen/circle/cctp/v1/burning_and_minting_paused.js +2 -1
  48. package/dist/codegen/circle/cctp/v1/burning_and_minting_paused.js.map +6 -1
  49. package/dist/codegen/circle/cctp/v1/events.js +2 -1
  50. package/dist/codegen/circle/cctp/v1/events.js.map +6 -1
  51. package/dist/codegen/circle/cctp/v1/genesis.js +2 -1
  52. package/dist/codegen/circle/cctp/v1/genesis.js.map +6 -1
  53. package/dist/codegen/circle/cctp/v1/max_message_body_size.js +2 -1
  54. package/dist/codegen/circle/cctp/v1/max_message_body_size.js.map +6 -1
  55. package/dist/codegen/circle/cctp/v1/message.js +2 -1
  56. package/dist/codegen/circle/cctp/v1/message.js.map +6 -1
  57. package/dist/codegen/circle/cctp/v1/nonce.js +2 -1
  58. package/dist/codegen/circle/cctp/v1/nonce.js.map +6 -1
  59. package/dist/codegen/circle/cctp/v1/per_message_burn_limit.js +2 -1
  60. package/dist/codegen/circle/cctp/v1/per_message_burn_limit.js.map +6 -1
  61. package/dist/codegen/circle/cctp/v1/query.js +2 -1
  62. package/dist/codegen/circle/cctp/v1/query.js.map +6 -1
  63. package/dist/codegen/circle/cctp/v1/remote_token_messenger.js +2 -1
  64. package/dist/codegen/circle/cctp/v1/remote_token_messenger.js.map +6 -1
  65. package/dist/codegen/circle/cctp/v1/sending_and_receiving_messages_paused.js +2 -1
  66. package/dist/codegen/circle/cctp/v1/sending_and_receiving_messages_paused.js.map +6 -1
  67. package/dist/codegen/circle/cctp/v1/signature_threshold.js +2 -1
  68. package/dist/codegen/circle/cctp/v1/signature_threshold.js.map +6 -1
  69. package/dist/codegen/circle/cctp/v1/token_pair.js +2 -1
  70. package/dist/codegen/circle/cctp/v1/token_pair.js.map +6 -1
  71. package/dist/codegen/circle/cctp/v1/tx.js +2 -1
  72. package/dist/codegen/circle/cctp/v1/tx.js.map +6 -1
  73. package/dist/codegen/cosmos/app/runtime/v1alpha1/module.js +2 -1
  74. package/dist/codegen/cosmos/app/runtime/v1alpha1/module.js.map +6 -1
  75. package/dist/codegen/cosmos/app/v1alpha1/module.js +2 -1
  76. package/dist/codegen/cosmos/app/v1alpha1/module.js.map +6 -1
  77. package/dist/codegen/cosmos/auth/module/v1/module.js +2 -1
  78. package/dist/codegen/cosmos/auth/module/v1/module.js.map +6 -1
  79. package/dist/codegen/cosmos/auth/v1beta1/auth.js +2 -1
  80. package/dist/codegen/cosmos/auth/v1beta1/auth.js.map +6 -1
  81. package/dist/codegen/cosmos/auth/v1beta1/genesis.js +2 -1
  82. package/dist/codegen/cosmos/auth/v1beta1/genesis.js.map +6 -1
  83. package/dist/codegen/cosmos/auth/v1beta1/query.js +2 -1
  84. package/dist/codegen/cosmos/auth/v1beta1/query.js.map +6 -1
  85. package/dist/codegen/cosmos/auth/v1beta1/tx.js +2 -1
  86. package/dist/codegen/cosmos/auth/v1beta1/tx.js.map +6 -1
  87. package/dist/codegen/cosmos/authz/module/v1/module.js +2 -1
  88. package/dist/codegen/cosmos/authz/module/v1/module.js.map +6 -1
  89. package/dist/codegen/cosmos/authz/v1beta1/authz.js +2 -1
  90. package/dist/codegen/cosmos/authz/v1beta1/authz.js.map +6 -1
  91. package/dist/codegen/cosmos/authz/v1beta1/event.js +2 -1
  92. package/dist/codegen/cosmos/authz/v1beta1/event.js.map +6 -1
  93. package/dist/codegen/cosmos/authz/v1beta1/genesis.js +2 -1
  94. package/dist/codegen/cosmos/authz/v1beta1/genesis.js.map +6 -1
  95. package/dist/codegen/cosmos/authz/v1beta1/query.js +2 -1
  96. package/dist/codegen/cosmos/authz/v1beta1/query.js.map +6 -1
  97. package/dist/codegen/cosmos/authz/v1beta1/tx.js +2 -1
  98. package/dist/codegen/cosmos/authz/v1beta1/tx.js.map +6 -1
  99. package/dist/codegen/cosmos/bank/module/v1/module.js +2 -1
  100. package/dist/codegen/cosmos/bank/module/v1/module.js.map +6 -1
  101. package/dist/codegen/cosmos/bank/v1beta1/authz.js +2 -1
  102. package/dist/codegen/cosmos/bank/v1beta1/authz.js.map +6 -1
  103. package/dist/codegen/cosmos/bank/v1beta1/bank.js +2 -1
  104. package/dist/codegen/cosmos/bank/v1beta1/bank.js.map +6 -1
  105. package/dist/codegen/cosmos/bank/v1beta1/genesis.js +2 -1
  106. package/dist/codegen/cosmos/bank/v1beta1/genesis.js.map +6 -1
  107. package/dist/codegen/cosmos/bank/v1beta1/query.js +2 -1
  108. package/dist/codegen/cosmos/bank/v1beta1/query.js.map +6 -1
  109. package/dist/codegen/cosmos/bank/v1beta1/tx.js +2 -1
  110. package/dist/codegen/cosmos/bank/v1beta1/tx.js.map +6 -1
  111. package/dist/codegen/cosmos/base/abci/v1beta1/abci.js +2 -1
  112. package/dist/codegen/cosmos/base/abci/v1beta1/abci.js.map +6 -1
  113. package/dist/codegen/cosmos/base/node/v1beta1/query.js +2 -1
  114. package/dist/codegen/cosmos/base/node/v1beta1/query.js.map +6 -1
  115. package/dist/codegen/cosmos/base/query/v1beta1/pagination.js +2 -1
  116. package/dist/codegen/cosmos/base/query/v1beta1/pagination.js.map +6 -1
  117. package/dist/codegen/cosmos/base/reflection/v2alpha1/reflection.js +2 -1
  118. package/dist/codegen/cosmos/base/reflection/v2alpha1/reflection.js.map +6 -1
  119. package/dist/codegen/cosmos/base/v1beta1/coin.js +2 -1
  120. package/dist/codegen/cosmos/base/v1beta1/coin.js.map +6 -1
  121. package/dist/codegen/cosmos/bundle.js +2 -1
  122. package/dist/codegen/cosmos/bundle.js.map +6 -1
  123. package/dist/codegen/cosmos/circuit/module/v1/module.js +2 -1
  124. package/dist/codegen/cosmos/circuit/module/v1/module.js.map +6 -1
  125. package/dist/codegen/cosmos/circuit/v1/query.js +2 -1
  126. package/dist/codegen/cosmos/circuit/v1/query.js.map +6 -1
  127. package/dist/codegen/cosmos/circuit/v1/tx.js +2 -1
  128. package/dist/codegen/cosmos/circuit/v1/tx.js.map +6 -1
  129. package/dist/codegen/cosmos/circuit/v1/types.js +2 -1
  130. package/dist/codegen/cosmos/circuit/v1/types.js.map +6 -1
  131. package/dist/codegen/cosmos/consensus/module/v1/module.js +2 -1
  132. package/dist/codegen/cosmos/consensus/module/v1/module.js.map +6 -1
  133. package/dist/codegen/cosmos/consensus/v1/query.js +2 -1
  134. package/dist/codegen/cosmos/consensus/v1/query.js.map +6 -1
  135. package/dist/codegen/cosmos/consensus/v1/tx.js +2 -1
  136. package/dist/codegen/cosmos/consensus/v1/tx.js.map +6 -1
  137. package/dist/codegen/cosmos/crisis/module/v1/module.js +2 -1
  138. package/dist/codegen/cosmos/crisis/module/v1/module.js.map +6 -1
  139. package/dist/codegen/cosmos/crypto/ed25519/keys.js +2 -1
  140. package/dist/codegen/cosmos/crypto/ed25519/keys.js.map +6 -1
  141. package/dist/codegen/cosmos/crypto/hd/v1/hd.js +2 -1
  142. package/dist/codegen/cosmos/crypto/hd/v1/hd.js.map +6 -1
  143. package/dist/codegen/cosmos/crypto/keyring/v1/record.js +2 -1
  144. package/dist/codegen/cosmos/crypto/keyring/v1/record.js.map +6 -1
  145. package/dist/codegen/cosmos/crypto/multisig/keys.js +2 -1
  146. package/dist/codegen/cosmos/crypto/multisig/keys.js.map +6 -1
  147. package/dist/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +2 -1
  148. package/dist/codegen/cosmos/crypto/multisig/v1beta1/multisig.js.map +6 -1
  149. package/dist/codegen/cosmos/crypto/secp256k1/keys.js +2 -1
  150. package/dist/codegen/cosmos/crypto/secp256k1/keys.js.map +6 -1
  151. package/dist/codegen/cosmos/crypto/secp256r1/keys.js +2 -1
  152. package/dist/codegen/cosmos/crypto/secp256r1/keys.js.map +6 -1
  153. package/dist/codegen/cosmos/distribution/module/v1/module.js +2 -1
  154. package/dist/codegen/cosmos/distribution/module/v1/module.js.map +6 -1
  155. package/dist/codegen/cosmos/distribution/v1beta1/distribution.js +2 -1
  156. package/dist/codegen/cosmos/distribution/v1beta1/distribution.js.map +6 -1
  157. package/dist/codegen/cosmos/distribution/v1beta1/genesis.js +2 -1
  158. package/dist/codegen/cosmos/distribution/v1beta1/genesis.js.map +6 -1
  159. package/dist/codegen/cosmos/distribution/v1beta1/query.js +2 -1
  160. package/dist/codegen/cosmos/distribution/v1beta1/query.js.map +6 -1
  161. package/dist/codegen/cosmos/distribution/v1beta1/tx.js +2 -1
  162. package/dist/codegen/cosmos/distribution/v1beta1/tx.js.map +6 -1
  163. package/dist/codegen/cosmos/evidence/module/v1/module.js +2 -1
  164. package/dist/codegen/cosmos/evidence/module/v1/module.js.map +6 -1
  165. package/dist/codegen/cosmos/feegrant/module/v1/module.js +2 -1
  166. package/dist/codegen/cosmos/feegrant/module/v1/module.js.map +6 -1
  167. package/dist/codegen/cosmos/feegrant/v1beta1/feegrant.js +2 -1
  168. package/dist/codegen/cosmos/feegrant/v1beta1/feegrant.js.map +6 -1
  169. package/dist/codegen/cosmos/feegrant/v1beta1/genesis.js +2 -1
  170. package/dist/codegen/cosmos/feegrant/v1beta1/genesis.js.map +6 -1
  171. package/dist/codegen/cosmos/feegrant/v1beta1/query.js +2 -1
  172. package/dist/codegen/cosmos/feegrant/v1beta1/query.js.map +6 -1
  173. package/dist/codegen/cosmos/feegrant/v1beta1/tx.js +2 -1
  174. package/dist/codegen/cosmos/feegrant/v1beta1/tx.js.map +6 -1
  175. package/dist/codegen/cosmos/genutil/module/v1/module.js +2 -1
  176. package/dist/codegen/cosmos/genutil/module/v1/module.js.map +6 -1
  177. package/dist/codegen/cosmos/gov/module/v1/module.js +2 -1
  178. package/dist/codegen/cosmos/gov/module/v1/module.js.map +6 -1
  179. package/dist/codegen/cosmos/gov/v1/genesis.js +2 -1
  180. package/dist/codegen/cosmos/gov/v1/genesis.js.map +6 -1
  181. package/dist/codegen/cosmos/gov/v1/gov.js +2 -1
  182. package/dist/codegen/cosmos/gov/v1/gov.js.map +6 -1
  183. package/dist/codegen/cosmos/gov/v1/query.js +2 -1
  184. package/dist/codegen/cosmos/gov/v1/query.js.map +6 -1
  185. package/dist/codegen/cosmos/gov/v1/tx.js +2 -1
  186. package/dist/codegen/cosmos/gov/v1/tx.js.map +6 -1
  187. package/dist/codegen/cosmos/gov/v1beta1/genesis.js +2 -1
  188. package/dist/codegen/cosmos/gov/v1beta1/genesis.js.map +6 -1
  189. package/dist/codegen/cosmos/gov/v1beta1/gov.js +2 -1
  190. package/dist/codegen/cosmos/gov/v1beta1/gov.js.map +6 -1
  191. package/dist/codegen/cosmos/gov/v1beta1/query.js +2 -1
  192. package/dist/codegen/cosmos/gov/v1beta1/query.js.map +6 -1
  193. package/dist/codegen/cosmos/gov/v1beta1/tx.js +2 -1
  194. package/dist/codegen/cosmos/gov/v1beta1/tx.js.map +6 -1
  195. package/dist/codegen/cosmos/group/module/v1/module.js +2 -1
  196. package/dist/codegen/cosmos/group/module/v1/module.js.map +6 -1
  197. package/dist/codegen/cosmos/group/v1/events.js +2 -1
  198. package/dist/codegen/cosmos/group/v1/events.js.map +6 -1
  199. package/dist/codegen/cosmos/group/v1/genesis.js +2 -1
  200. package/dist/codegen/cosmos/group/v1/genesis.js.map +6 -1
  201. package/dist/codegen/cosmos/group/v1/query.js +2 -1
  202. package/dist/codegen/cosmos/group/v1/query.js.map +6 -1
  203. package/dist/codegen/cosmos/group/v1/tx.js +2 -1
  204. package/dist/codegen/cosmos/group/v1/tx.js.map +6 -1
  205. package/dist/codegen/cosmos/group/v1/types.js +2 -1
  206. package/dist/codegen/cosmos/group/v1/types.js.map +6 -1
  207. package/dist/codegen/cosmos/ics23/v1/proofs.js +2 -1
  208. package/dist/codegen/cosmos/ics23/v1/proofs.js.map +6 -1
  209. package/dist/codegen/cosmos/mint/module/v1/module.js +2 -1
  210. package/dist/codegen/cosmos/mint/module/v1/module.js.map +6 -1
  211. package/dist/codegen/cosmos/mint/v1beta1/genesis.js +2 -1
  212. package/dist/codegen/cosmos/mint/v1beta1/genesis.js.map +6 -1
  213. package/dist/codegen/cosmos/mint/v1beta1/mint.js +2 -1
  214. package/dist/codegen/cosmos/mint/v1beta1/mint.js.map +6 -1
  215. package/dist/codegen/cosmos/mint/v1beta1/query.js +2 -1
  216. package/dist/codegen/cosmos/mint/v1beta1/query.js.map +6 -1
  217. package/dist/codegen/cosmos/mint/v1beta1/tx.js +2 -1
  218. package/dist/codegen/cosmos/mint/v1beta1/tx.js.map +6 -1
  219. package/dist/codegen/cosmos/msg/textual/v1/textual.js +2 -1
  220. package/dist/codegen/cosmos/msg/textual/v1/textual.js.map +6 -1
  221. package/dist/codegen/cosmos/msg/v1/msg.js +2 -1
  222. package/dist/codegen/cosmos/msg/v1/msg.js.map +6 -1
  223. package/dist/codegen/cosmos/nft/module/v1/module.js +2 -1
  224. package/dist/codegen/cosmos/nft/module/v1/module.js.map +6 -1
  225. package/dist/codegen/cosmos/params/module/v1/module.js +2 -1
  226. package/dist/codegen/cosmos/params/module/v1/module.js.map +6 -1
  227. package/dist/codegen/cosmos/params/v1beta1/params.js +2 -1
  228. package/dist/codegen/cosmos/params/v1beta1/params.js.map +6 -1
  229. package/dist/codegen/cosmos/params/v1beta1/query.js +2 -1
  230. package/dist/codegen/cosmos/params/v1beta1/query.js.map +6 -1
  231. package/dist/codegen/cosmos/query/v1/query.js +2 -1
  232. package/dist/codegen/cosmos/query/v1/query.js.map +6 -1
  233. package/dist/codegen/cosmos/reflection/v1/reflection.js +2 -1
  234. package/dist/codegen/cosmos/reflection/v1/reflection.js.map +6 -1
  235. package/dist/codegen/cosmos/slashing/module/v1/module.js +2 -1
  236. package/dist/codegen/cosmos/slashing/module/v1/module.js.map +6 -1
  237. package/dist/codegen/cosmos/staking/module/v1/module.js +2 -1
  238. package/dist/codegen/cosmos/staking/module/v1/module.js.map +6 -1
  239. package/dist/codegen/cosmos/staking/v1beta1/authz.js +2 -1
  240. package/dist/codegen/cosmos/staking/v1beta1/authz.js.map +6 -1
  241. package/dist/codegen/cosmos/staking/v1beta1/genesis.js +2 -1
  242. package/dist/codegen/cosmos/staking/v1beta1/genesis.js.map +6 -1
  243. package/dist/codegen/cosmos/staking/v1beta1/query.js +2 -1
  244. package/dist/codegen/cosmos/staking/v1beta1/query.js.map +6 -1
  245. package/dist/codegen/cosmos/staking/v1beta1/staking.js +2 -1
  246. package/dist/codegen/cosmos/staking/v1beta1/staking.js.map +6 -1
  247. package/dist/codegen/cosmos/staking/v1beta1/tx.js +2 -1
  248. package/dist/codegen/cosmos/staking/v1beta1/tx.js.map +6 -1
  249. package/dist/codegen/cosmos/store/internal/kv/v1beta1/kv.js +2 -1
  250. package/dist/codegen/cosmos/store/internal/kv/v1beta1/kv.js.map +6 -1
  251. package/dist/codegen/cosmos/store/snapshots/v1/snapshot.js +2 -1
  252. package/dist/codegen/cosmos/store/snapshots/v1/snapshot.js.map +6 -1
  253. package/dist/codegen/cosmos/store/streaming/abci/grpc.js +2 -1
  254. package/dist/codegen/cosmos/store/streaming/abci/grpc.js.map +6 -1
  255. package/dist/codegen/cosmos/store/v1beta1/commit_info.js +2 -1
  256. package/dist/codegen/cosmos/store/v1beta1/commit_info.js.map +6 -1
  257. package/dist/codegen/cosmos/store/v1beta1/listening.js +2 -1
  258. package/dist/codegen/cosmos/store/v1beta1/listening.js.map +6 -1
  259. package/dist/codegen/cosmos/tx/config/v1/config.js +2 -1
  260. package/dist/codegen/cosmos/tx/config/v1/config.js.map +6 -1
  261. package/dist/codegen/cosmos/tx/signing/v1beta1/signing.js +2 -1
  262. package/dist/codegen/cosmos/tx/signing/v1beta1/signing.js.map +6 -1
  263. package/dist/codegen/cosmos/tx/v1beta1/service.js +2 -1
  264. package/dist/codegen/cosmos/tx/v1beta1/service.js.map +6 -1
  265. package/dist/codegen/cosmos/tx/v1beta1/tx.js +2 -1
  266. package/dist/codegen/cosmos/tx/v1beta1/tx.js.map +6 -1
  267. package/dist/codegen/cosmos/upgrade/module/v1/module.js +2 -1
  268. package/dist/codegen/cosmos/upgrade/module/v1/module.js.map +6 -1
  269. package/dist/codegen/cosmos/upgrade/v1beta1/query.js +2 -1
  270. package/dist/codegen/cosmos/upgrade/v1beta1/query.js.map +6 -1
  271. package/dist/codegen/cosmos/upgrade/v1beta1/tx.js +2 -1
  272. package/dist/codegen/cosmos/upgrade/v1beta1/tx.js.map +6 -1
  273. package/dist/codegen/cosmos/upgrade/v1beta1/upgrade.js +2 -1
  274. package/dist/codegen/cosmos/upgrade/v1beta1/upgrade.js.map +6 -1
  275. package/dist/codegen/cosmos/vesting/module/v1/module.js +2 -1
  276. package/dist/codegen/cosmos/vesting/module/v1/module.js.map +6 -1
  277. package/dist/codegen/cosmos/vesting/v1beta1/tx.js +2 -1
  278. package/dist/codegen/cosmos/vesting/v1beta1/tx.js.map +6 -1
  279. package/dist/codegen/cosmos/vesting/v1beta1/vesting.js +2 -1
  280. package/dist/codegen/cosmos/vesting/v1beta1/vesting.js.map +6 -1
  281. package/dist/codegen/cosmos_proto/bundle.js +2 -1
  282. package/dist/codegen/cosmos_proto/bundle.js.map +6 -1
  283. package/dist/codegen/cosmos_proto/cosmos.js +2 -1
  284. package/dist/codegen/cosmos_proto/cosmos.js.map +6 -1
  285. package/dist/codegen/decimals.js +2 -1
  286. package/dist/codegen/decimals.js.map +6 -1
  287. package/dist/codegen/gogoproto/bundle.js +2 -1
  288. package/dist/codegen/gogoproto/bundle.js.map +6 -1
  289. package/dist/codegen/gogoproto/gogo.js +2 -1
  290. package/dist/codegen/gogoproto/gogo.js.map +6 -1
  291. package/dist/codegen/google/api/annotations.js +2 -1
  292. package/dist/codegen/google/api/annotations.js.map +6 -1
  293. package/dist/codegen/google/api/http.js +2 -1
  294. package/dist/codegen/google/api/http.js.map +6 -1
  295. package/dist/codegen/google/bundle.js +2 -1
  296. package/dist/codegen/google/bundle.js.map +6 -1
  297. package/dist/codegen/google/protobuf/any.js +2 -1
  298. package/dist/codegen/google/protobuf/any.js.map +6 -1
  299. package/dist/codegen/google/protobuf/descriptor.js +2 -1
  300. package/dist/codegen/google/protobuf/descriptor.js.map +6 -1
  301. package/dist/codegen/google/protobuf/duration.js +2 -1
  302. package/dist/codegen/google/protobuf/duration.js.map +6 -1
  303. package/dist/codegen/google/protobuf/empty.js +2 -1
  304. package/dist/codegen/google/protobuf/empty.js.map +6 -1
  305. package/dist/codegen/google/protobuf/timestamp.js +2 -1
  306. package/dist/codegen/google/protobuf/timestamp.js.map +6 -1
  307. package/dist/codegen/helpers.js +2 -1
  308. package/dist/codegen/helpers.js.map +6 -1
  309. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/controller.js +2 -1
  310. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/controller.js.map +6 -1
  311. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/query.js +2 -1
  312. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/query.js.map +6 -1
  313. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/tx.js +2 -1
  314. package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/tx.js.map +6 -1
  315. package/dist/codegen/ibc/applications/interchain_accounts/genesis/v1/genesis.js +2 -1
  316. package/dist/codegen/ibc/applications/interchain_accounts/genesis/v1/genesis.js.map +6 -1
  317. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/host.js +2 -1
  318. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/host.js.map +6 -1
  319. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/query.js +2 -1
  320. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/query.js.map +6 -1
  321. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/tx.js +2 -1
  322. package/dist/codegen/ibc/applications/interchain_accounts/host/v1/tx.js.map +6 -1
  323. package/dist/codegen/ibc/applications/interchain_accounts/v1/account.js +2 -1
  324. package/dist/codegen/ibc/applications/interchain_accounts/v1/account.js.map +6 -1
  325. package/dist/codegen/ibc/applications/interchain_accounts/v1/metadata.js +2 -1
  326. package/dist/codegen/ibc/applications/interchain_accounts/v1/metadata.js.map +6 -1
  327. package/dist/codegen/ibc/applications/interchain_accounts/v1/packet.js +2 -1
  328. package/dist/codegen/ibc/applications/interchain_accounts/v1/packet.js.map +6 -1
  329. package/dist/codegen/ibc/applications/transfer/v1/authz.js +2 -1
  330. package/dist/codegen/ibc/applications/transfer/v1/authz.js.map +6 -1
  331. package/dist/codegen/ibc/applications/transfer/v1/genesis.js +2 -1
  332. package/dist/codegen/ibc/applications/transfer/v1/genesis.js.map +6 -1
  333. package/dist/codegen/ibc/applications/transfer/v1/query.js +2 -1
  334. package/dist/codegen/ibc/applications/transfer/v1/query.js.map +6 -1
  335. package/dist/codegen/ibc/applications/transfer/v1/transfer.js +2 -1
  336. package/dist/codegen/ibc/applications/transfer/v1/transfer.js.map +6 -1
  337. package/dist/codegen/ibc/applications/transfer/v1/tx.js +2 -1
  338. package/dist/codegen/ibc/applications/transfer/v1/tx.js.map +6 -1
  339. package/dist/codegen/ibc/applications/transfer/v2/packet.js +2 -1
  340. package/dist/codegen/ibc/applications/transfer/v2/packet.js.map +6 -1
  341. package/dist/codegen/ibc/bundle.js +2 -1
  342. package/dist/codegen/ibc/bundle.js.map +6 -1
  343. package/dist/codegen/ibc/core/channel/v1/channel.js +2 -1
  344. package/dist/codegen/ibc/core/channel/v1/channel.js.map +6 -1
  345. package/dist/codegen/ibc/core/channel/v1/genesis.js +2 -1
  346. package/dist/codegen/ibc/core/channel/v1/genesis.js.map +6 -1
  347. package/dist/codegen/ibc/core/channel/v1/query.js +2 -1
  348. package/dist/codegen/ibc/core/channel/v1/query.js.map +6 -1
  349. package/dist/codegen/ibc/core/channel/v1/tx.js +2 -1
  350. package/dist/codegen/ibc/core/channel/v1/tx.js.map +6 -1
  351. package/dist/codegen/ibc/core/channel/v1/upgrade.js +2 -1
  352. package/dist/codegen/ibc/core/channel/v1/upgrade.js.map +6 -1
  353. package/dist/codegen/ibc/core/client/v1/client.js +2 -1
  354. package/dist/codegen/ibc/core/client/v1/client.js.map +6 -1
  355. package/dist/codegen/ibc/core/client/v1/genesis.js +2 -1
  356. package/dist/codegen/ibc/core/client/v1/genesis.js.map +6 -1
  357. package/dist/codegen/ibc/core/client/v1/query.js +2 -1
  358. package/dist/codegen/ibc/core/client/v1/query.js.map +6 -1
  359. package/dist/codegen/ibc/core/client/v1/tx.js +2 -1
  360. package/dist/codegen/ibc/core/client/v1/tx.js.map +6 -1
  361. package/dist/codegen/ibc/core/commitment/v1/commitment.js +2 -1
  362. package/dist/codegen/ibc/core/commitment/v1/commitment.js.map +6 -1
  363. package/dist/codegen/ibc/core/connection/v1/connection.js +2 -1
  364. package/dist/codegen/ibc/core/connection/v1/connection.js.map +6 -1
  365. package/dist/codegen/ibc/core/connection/v1/genesis.js +2 -1
  366. package/dist/codegen/ibc/core/connection/v1/genesis.js.map +6 -1
  367. package/dist/codegen/ibc/core/connection/v1/query.js +2 -1
  368. package/dist/codegen/ibc/core/connection/v1/query.js.map +6 -1
  369. package/dist/codegen/ibc/core/connection/v1/tx.js +2 -1
  370. package/dist/codegen/ibc/core/connection/v1/tx.js.map +6 -1
  371. package/dist/codegen/ibc/lightclients/localhost/v1/localhost.js +2 -1
  372. package/dist/codegen/ibc/lightclients/localhost/v1/localhost.js.map +6 -1
  373. package/dist/codegen/ibc/lightclients/localhost/v2/localhost.js +2 -1
  374. package/dist/codegen/ibc/lightclients/localhost/v2/localhost.js.map +6 -1
  375. package/dist/codegen/ibc/lightclients/solomachine/v1/solomachine.js +2 -1
  376. package/dist/codegen/ibc/lightclients/solomachine/v1/solomachine.js.map +6 -1
  377. package/dist/codegen/ibc/lightclients/solomachine/v2/solomachine.js +2 -1
  378. package/dist/codegen/ibc/lightclients/solomachine/v2/solomachine.js.map +6 -1
  379. package/dist/codegen/ibc/lightclients/solomachine/v3/solomachine.js +2 -1
  380. package/dist/codegen/ibc/lightclients/solomachine/v3/solomachine.js.map +6 -1
  381. package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.js +2 -1
  382. package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.js.map +6 -1
  383. package/dist/codegen/ibc/lightclients/wasm/v1/genesis.js +2 -1
  384. package/dist/codegen/ibc/lightclients/wasm/v1/genesis.js.map +6 -1
  385. package/dist/codegen/ibc/lightclients/wasm/v1/query.js +2 -1
  386. package/dist/codegen/ibc/lightclients/wasm/v1/query.js.map +6 -1
  387. package/dist/codegen/ibc/lightclients/wasm/v1/tx.js +2 -1
  388. package/dist/codegen/ibc/lightclients/wasm/v1/tx.js.map +6 -1
  389. package/dist/codegen/ibc/lightclients/wasm/v1/wasm.js +2 -1
  390. package/dist/codegen/ibc/lightclients/wasm/v1/wasm.js.map +6 -1
  391. package/dist/codegen/icq/bundle.js +2 -1
  392. package/dist/codegen/icq/bundle.js.map +6 -1
  393. package/dist/codegen/icq/v1/genesis.js +2 -1
  394. package/dist/codegen/icq/v1/genesis.js.map +6 -1
  395. package/dist/codegen/icq/v1/icq.js +2 -1
  396. package/dist/codegen/icq/v1/icq.js.map +6 -1
  397. package/dist/codegen/icq/v1/packet.js +2 -1
  398. package/dist/codegen/icq/v1/packet.js.map +6 -1
  399. package/dist/codegen/icq/v1/query.js +2 -1
  400. package/dist/codegen/icq/v1/query.js.map +6 -1
  401. package/dist/codegen/icq/v1/tx.js +2 -1
  402. package/dist/codegen/icq/v1/tx.js.map +6 -1
  403. package/dist/codegen/index.js +2 -1
  404. package/dist/codegen/index.js.map +6 -1
  405. package/dist/codegen/json-safe.js +2 -1
  406. package/dist/codegen/json-safe.js.map +6 -1
  407. package/dist/codegen/noble/bundle.js +2 -1
  408. package/dist/codegen/noble/bundle.js.map +6 -1
  409. package/dist/codegen/noble/dollar/vaults/v1/tx.js +2 -1
  410. package/dist/codegen/noble/dollar/vaults/v1/tx.js.map +6 -1
  411. package/dist/codegen/noble/dollar/vaults/v1/vaults.js +2 -1
  412. package/dist/codegen/noble/dollar/vaults/v1/vaults.js.map +6 -1
  413. package/dist/codegen/noble/swap/v1/algorithm.js +2 -1
  414. package/dist/codegen/noble/swap/v1/algorithm.js.map +6 -1
  415. package/dist/codegen/noble/swap/v1/swap.js +2 -1
  416. package/dist/codegen/noble/swap/v1/swap.js.map +6 -1
  417. package/dist/codegen/noble/swap/v1/tx.js +2 -1
  418. package/dist/codegen/noble/swap/v1/tx.js.map +6 -1
  419. package/dist/codegen/registry.js +2 -1
  420. package/dist/codegen/registry.js.map +6 -1
  421. package/dist/codegen/stride/bundle.js +2 -1
  422. package/dist/codegen/stride/bundle.js.map +6 -1
  423. package/dist/codegen/stride/epochs/genesis.js +2 -1
  424. package/dist/codegen/stride/epochs/genesis.js.map +6 -1
  425. package/dist/codegen/stride/epochs/query.js +2 -1
  426. package/dist/codegen/stride/epochs/query.js.map +6 -1
  427. package/dist/codegen/stride/records/callbacks.js +2 -1
  428. package/dist/codegen/stride/records/callbacks.js.map +6 -1
  429. package/dist/codegen/stride/records/genesis.js +2 -1
  430. package/dist/codegen/stride/records/genesis.js.map +6 -1
  431. package/dist/codegen/stride/records/params.js +2 -1
  432. package/dist/codegen/stride/records/params.js.map +6 -1
  433. package/dist/codegen/stride/records/query.js +2 -1
  434. package/dist/codegen/stride/records/query.js.map +6 -1
  435. package/dist/codegen/stride/records/records.js +2 -1
  436. package/dist/codegen/stride/records/records.js.map +6 -1
  437. package/dist/codegen/stride/stakedym/genesis.js +2 -1
  438. package/dist/codegen/stride/stakedym/genesis.js.map +6 -1
  439. package/dist/codegen/stride/stakedym/query.js +2 -1
  440. package/dist/codegen/stride/stakedym/query.js.map +6 -1
  441. package/dist/codegen/stride/stakedym/stakedym.js +2 -1
  442. package/dist/codegen/stride/stakedym/stakedym.js.map +6 -1
  443. package/dist/codegen/stride/stakedym/tx.js +2 -1
  444. package/dist/codegen/stride/stakedym/tx.js.map +6 -1
  445. package/dist/codegen/stride/stakeibc/address_unbonding.js +2 -1
  446. package/dist/codegen/stride/stakeibc/address_unbonding.js.map +6 -1
  447. package/dist/codegen/stride/stakeibc/callbacks.js +2 -1
  448. package/dist/codegen/stride/stakeibc/callbacks.js.map +6 -1
  449. package/dist/codegen/stride/stakeibc/epoch_tracker.js +2 -1
  450. package/dist/codegen/stride/stakeibc/epoch_tracker.js.map +6 -1
  451. package/dist/codegen/stride/stakeibc/genesis.js +2 -1
  452. package/dist/codegen/stride/stakeibc/genesis.js.map +6 -1
  453. package/dist/codegen/stride/stakeibc/gov.js +2 -1
  454. package/dist/codegen/stride/stakeibc/gov.js.map +6 -1
  455. package/dist/codegen/stride/stakeibc/host_zone.js +2 -1
  456. package/dist/codegen/stride/stakeibc/host_zone.js.map +6 -1
  457. package/dist/codegen/stride/stakeibc/ica_account.js +2 -1
  458. package/dist/codegen/stride/stakeibc/ica_account.js.map +6 -1
  459. package/dist/codegen/stride/stakeibc/packet.js +2 -1
  460. package/dist/codegen/stride/stakeibc/packet.js.map +6 -1
  461. package/dist/codegen/stride/stakeibc/params.js +2 -1
  462. package/dist/codegen/stride/stakeibc/params.js.map +6 -1
  463. package/dist/codegen/stride/stakeibc/query.js +2 -1
  464. package/dist/codegen/stride/stakeibc/query.js.map +6 -1
  465. package/dist/codegen/stride/stakeibc/trade_route.js +2 -1
  466. package/dist/codegen/stride/stakeibc/trade_route.js.map +6 -1
  467. package/dist/codegen/stride/stakeibc/tx.js +2 -1
  468. package/dist/codegen/stride/stakeibc/tx.js.map +6 -1
  469. package/dist/codegen/stride/stakeibc/validator.js +2 -1
  470. package/dist/codegen/stride/stakeibc/validator.js.map +6 -1
  471. package/dist/codegen/stride/staketia/genesis.js +2 -1
  472. package/dist/codegen/stride/staketia/genesis.js.map +6 -1
  473. package/dist/codegen/stride/staketia/query.js +2 -1
  474. package/dist/codegen/stride/staketia/query.js.map +6 -1
  475. package/dist/codegen/stride/staketia/staketia.js +2 -1
  476. package/dist/codegen/stride/staketia/staketia.js.map +6 -1
  477. package/dist/codegen/stride/staketia/tx.js +2 -1
  478. package/dist/codegen/stride/staketia/tx.js.map +6 -1
  479. package/dist/codegen/tendermint/abci/types.js +2 -1
  480. package/dist/codegen/tendermint/abci/types.js.map +6 -1
  481. package/dist/codegen/tendermint/bundle.js +2 -1
  482. package/dist/codegen/tendermint/bundle.js.map +6 -1
  483. package/dist/codegen/tendermint/crypto/keys.js +2 -1
  484. package/dist/codegen/tendermint/crypto/keys.js.map +6 -1
  485. package/dist/codegen/tendermint/crypto/proof.js +2 -1
  486. package/dist/codegen/tendermint/crypto/proof.js.map +6 -1
  487. package/dist/codegen/tendermint/libs/bits/types.js +2 -1
  488. package/dist/codegen/tendermint/libs/bits/types.js.map +6 -1
  489. package/dist/codegen/tendermint/p2p/types.js +2 -1
  490. package/dist/codegen/tendermint/p2p/types.js.map +6 -1
  491. package/dist/codegen/tendermint/types/block.js +2 -1
  492. package/dist/codegen/tendermint/types/block.js.map +6 -1
  493. package/dist/codegen/tendermint/types/evidence.js +2 -1
  494. package/dist/codegen/tendermint/types/evidence.js.map +6 -1
  495. package/dist/codegen/tendermint/types/params.js +2 -1
  496. package/dist/codegen/tendermint/types/params.js.map +6 -1
  497. package/dist/codegen/tendermint/types/types.js +2 -1
  498. package/dist/codegen/tendermint/types/types.js.map +6 -1
  499. package/dist/codegen/tendermint/types/validator.js +2 -1
  500. package/dist/codegen/tendermint/types/validator.js.map +6 -1
  501. package/dist/codegen/tendermint/version/types.js +2 -1
  502. package/dist/codegen/tendermint/version/types.js.map +6 -1
  503. package/dist/codegen/typeFromUrl.js +2 -1
  504. package/dist/codegen/typeFromUrl.js.map +6 -1
  505. package/dist/codegen/types.js +2 -1
  506. package/dist/codegen/types.js.map +6 -1
  507. package/dist/codegen/utf8.js +2 -1
  508. package/dist/codegen/utf8.js.map +6 -1
  509. package/dist/codegen/varint.js +2 -1
  510. package/dist/codegen/varint.js.map +6 -1
  511. package/dist/helpers.js +2 -1
  512. package/dist/helpers.js.map +6 -1
  513. package/dist/index.js +2 -1
  514. package/dist/index.js.map +6 -1
  515. package/package.json +8 -7
@@ -1 +1,2 @@
1
- import{Any as e}from"../../../../google/protobuf/any.js";import{BIP44Params as o}from"../../hd/v1/hd.js";import{BinaryReader as r,BinaryWriter as i}from"../../../../binary.js";import{isSet as t}from"../../../../helpers.js";import{}from"../../../../json-safe.js";export const Record={typeUrl:"/cosmos.crypto.keyring.v1.Record",aminoType:"cosmos-sdk/Record",is:e=>e&&(e.$typeUrl===Record.typeUrl||"string"==typeof e.name),isSDK:e=>e&&(e.$typeUrl===Record.typeUrl||"string"==typeof e.name),encode:(o,r=i.create())=>(""!==o.name&&r.uint32(10).string(o.name),void 0!==o.pubKey&&e.encode(o.pubKey,r.uint32(18).fork()).ldelim(),void 0!==o.local&&Record_Local.encode(o.local,r.uint32(26).fork()).ldelim(),void 0!==o.ledger&&Record_Ledger.encode(o.ledger,r.uint32(34).fork()).ldelim(),void 0!==o.multi&&Record_Multi.encode(o.multi,r.uint32(42).fork()).ldelim(),void 0!==o.offline&&Record_Offline.encode(o.offline,r.uint32(50).fork()).ldelim(),r),decode(o,i){const t=o instanceof r?o:new r(o);let l=void 0===i?t.len:t.pos+i;const d={name:"",pubKey:void 0,local:void 0,ledger:void 0,multi:void 0,offline:void 0};for(;t.pos<l;){const o=t.uint32();switch(o>>>3){case 1:d.name=t.string();break;case 2:d.pubKey=e.decode(t,t.uint32());break;case 3:d.local=Record_Local.decode(t,t.uint32());break;case 4:d.ledger=Record_Ledger.decode(t,t.uint32());break;case 5:d.multi=Record_Multi.decode(t,t.uint32());break;case 6:d.offline=Record_Offline.decode(t,t.uint32());break;default:t.skipType(7&o)}}return d},fromJSON:o=>({name:t(o.name)?String(o.name):"",pubKey:t(o.pubKey)?e.fromJSON(o.pubKey):void 0,local:t(o.local)?Record_Local.fromJSON(o.local):void 0,ledger:t(o.ledger)?Record_Ledger.fromJSON(o.ledger):void 0,multi:t(o.multi)?Record_Multi.fromJSON(o.multi):void 0,offline:t(o.offline)?Record_Offline.fromJSON(o.offline):void 0}),toJSON(o){const r={};return void 0!==o.name&&(r.name=o.name),void 0!==o.pubKey&&(r.pubKey=o.pubKey?e.toJSON(o.pubKey):void 0),void 0!==o.local&&(r.local=o.local?Record_Local.toJSON(o.local):void 0),void 0!==o.ledger&&(r.ledger=o.ledger?Record_Ledger.toJSON(o.ledger):void 0),void 0!==o.multi&&(r.multi=o.multi?Record_Multi.toJSON(o.multi):void 0),void 0!==o.offline&&(r.offline=o.offline?Record_Offline.toJSON(o.offline):void 0),r},fromPartial(o){const r={name:"",pubKey:void 0,local:void 0,ledger:void 0,multi:void 0,offline:void 0};return r.name=o.name??"",r.pubKey=void 0!==o.pubKey&&null!==o.pubKey?e.fromPartial(o.pubKey):void 0,r.local=void 0!==o.local&&null!==o.local?Record_Local.fromPartial(o.local):void 0,r.ledger=void 0!==o.ledger&&null!==o.ledger?Record_Ledger.fromPartial(o.ledger):void 0,r.multi=void 0!==o.multi&&null!==o.multi?Record_Multi.fromPartial(o.multi):void 0,r.offline=void 0!==o.offline&&null!==o.offline?Record_Offline.fromPartial(o.offline):void 0,r},fromProtoMsg:e=>Record.decode(e.value),toProto:e=>Record.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.crypto.keyring.v1.Record",value:Record.encode(e).finish()})};export const Record_Local={typeUrl:"/cosmos.crypto.keyring.v1.Local",aminoType:"cosmos-sdk/Local",is:e=>e&&e.$typeUrl===Record_Local.typeUrl,isSDK:e=>e&&e.$typeUrl===Record_Local.typeUrl,encode:(o,r=i.create())=>(void 0!==o.privKey&&e.encode(o.privKey,r.uint32(10).fork()).ldelim(),r),decode(o,i){const t=o instanceof r?o:new r(o);let l=void 0===i?t.len:t.pos+i;const d={privKey:void 0};for(;t.pos<l;){const o=t.uint32();if(o>>>3==1)d.privKey=e.decode(t,t.uint32());else t.skipType(7&o)}return d},fromJSON:o=>({privKey:t(o.privKey)?e.fromJSON(o.privKey):void 0}),toJSON(o){const r={};return void 0!==o.privKey&&(r.privKey=o.privKey?e.toJSON(o.privKey):void 0),r},fromPartial(o){const r={privKey:void 0};return r.privKey=void 0!==o.privKey&&null!==o.privKey?e.fromPartial(o.privKey):void 0,r},fromProtoMsg:e=>Record_Local.decode(e.value),toProto:e=>Record_Local.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.crypto.keyring.v1.Local",value:Record_Local.encode(e).finish()})};export const Record_Ledger={typeUrl:"/cosmos.crypto.keyring.v1.Ledger",aminoType:"cosmos-sdk/Ledger",is:e=>e&&e.$typeUrl===Record_Ledger.typeUrl,isSDK:e=>e&&e.$typeUrl===Record_Ledger.typeUrl,encode:(e,r=i.create())=>(void 0!==e.path&&o.encode(e.path,r.uint32(10).fork()).ldelim(),r),decode(e,i){const t=e instanceof r?e:new r(e);let l=void 0===i?t.len:t.pos+i;const d={path:void 0};for(;t.pos<l;){const e=t.uint32();if(e>>>3==1)d.path=o.decode(t,t.uint32());else t.skipType(7&e)}return d},fromJSON:e=>({path:t(e.path)?o.fromJSON(e.path):void 0}),toJSON(e){const r={};return void 0!==e.path&&(r.path=e.path?o.toJSON(e.path):void 0),r},fromPartial(e){const r={path:void 0};return r.path=void 0!==e.path&&null!==e.path?o.fromPartial(e.path):void 0,r},fromProtoMsg:e=>Record_Ledger.decode(e.value),toProto:e=>Record_Ledger.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.crypto.keyring.v1.Ledger",value:Record_Ledger.encode(e).finish()})};export const Record_Multi={typeUrl:"/cosmos.crypto.keyring.v1.Multi",aminoType:"cosmos-sdk/Multi",is:e=>e&&e.$typeUrl===Record_Multi.typeUrl,isSDK:e=>e&&e.$typeUrl===Record_Multi.typeUrl,encode:(e,o=i.create())=>o,decode(e,o){const i=e instanceof r?e:new r(e);let t=void 0===o?i.len:i.pos+o;const l={};for(;i.pos<t;){const e=i.uint32();i.skipType(7&e)}return l},fromJSON:e=>({}),toJSON:e=>({}),fromPartial:e=>({}),fromProtoMsg:e=>Record_Multi.decode(e.value),toProto:e=>Record_Multi.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.crypto.keyring.v1.Multi",value:Record_Multi.encode(e).finish()})};export const Record_Offline={typeUrl:"/cosmos.crypto.keyring.v1.Offline",aminoType:"cosmos-sdk/Offline",is:e=>e&&e.$typeUrl===Record_Offline.typeUrl,isSDK:e=>e&&e.$typeUrl===Record_Offline.typeUrl,encode:(e,o=i.create())=>o,decode(e,o){const i=e instanceof r?e:new r(e);let t=void 0===o?i.len:i.pos+o;const l={};for(;i.pos<t;){const e=i.uint32();i.skipType(7&e)}return l},fromJSON:e=>({}),toJSON:e=>({}),fromPartial:e=>({}),fromProtoMsg:e=>Record_Offline.decode(e.value),toProto:e=>Record_Offline.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.crypto.keyring.v1.Offline",value:Record_Offline.encode(e).finish()})};
1
+ "use strict";import{Any as d}from"../../../../google/protobuf/any.js";import{BIP44Params as a}from"../../hd/v1/hd.js";import{BinaryReader as i,BinaryWriter as f}from"../../../../binary.js";import{isSet as l}from"../../../../helpers.js";import"../../../../json-safe.js";function u(){return{name:"",pubKey:void 0,local:void 0,ledger:void 0,multi:void 0,offline:void 0}}export const Record={typeUrl:"/cosmos.crypto.keyring.v1.Record",aminoType:"cosmos-sdk/Record",is(e){return e&&(e.$typeUrl===Record.typeUrl||typeof e.name=="string")},isSDK(e){return e&&(e.$typeUrl===Record.typeUrl||typeof e.name=="string")},encode(e,r=f.create()){return e.name!==""&&r.uint32(10).string(e.name),e.pubKey!==void 0&&d.encode(e.pubKey,r.uint32(18).fork()).ldelim(),e.local!==void 0&&Record_Local.encode(e.local,r.uint32(26).fork()).ldelim(),e.ledger!==void 0&&Record_Ledger.encode(e.ledger,r.uint32(34).fork()).ldelim(),e.multi!==void 0&&Record_Multi.encode(e.multi,r.uint32(42).fork()).ldelim(),e.offline!==void 0&&Record_Offline.encode(e.offline,r.uint32(50).fork()).ldelim(),r},decode(e,r){const o=e instanceof i?e:new i(e);let c=r===void 0?o.len:o.pos+r;const n=u();for(;o.pos<c;){const t=o.uint32();switch(t>>>3){case 1:n.name=o.string();break;case 2:n.pubKey=d.decode(o,o.uint32());break;case 3:n.local=Record_Local.decode(o,o.uint32());break;case 4:n.ledger=Record_Ledger.decode(o,o.uint32());break;case 5:n.multi=Record_Multi.decode(o,o.uint32());break;case 6:n.offline=Record_Offline.decode(o,o.uint32());break;default:o.skipType(t&7);break}}return n},fromJSON(e){return{name:l(e.name)?String(e.name):"",pubKey:l(e.pubKey)?d.fromJSON(e.pubKey):void 0,local:l(e.local)?Record_Local.fromJSON(e.local):void 0,ledger:l(e.ledger)?Record_Ledger.fromJSON(e.ledger):void 0,multi:l(e.multi)?Record_Multi.fromJSON(e.multi):void 0,offline:l(e.offline)?Record_Offline.fromJSON(e.offline):void 0}},toJSON(e){const r={};return e.name!==void 0&&(r.name=e.name),e.pubKey!==void 0&&(r.pubKey=e.pubKey?d.toJSON(e.pubKey):void 0),e.local!==void 0&&(r.local=e.local?Record_Local.toJSON(e.local):void 0),e.ledger!==void 0&&(r.ledger=e.ledger?Record_Ledger.toJSON(e.ledger):void 0),e.multi!==void 0&&(r.multi=e.multi?Record_Multi.toJSON(e.multi):void 0),e.offline!==void 0&&(r.offline=e.offline?Record_Offline.toJSON(e.offline):void 0),r},fromPartial(e){const r=u();return r.name=e.name??"",r.pubKey=e.pubKey!==void 0&&e.pubKey!==null?d.fromPartial(e.pubKey):void 0,r.local=e.local!==void 0&&e.local!==null?Record_Local.fromPartial(e.local):void 0,r.ledger=e.ledger!==void 0&&e.ledger!==null?Record_Ledger.fromPartial(e.ledger):void 0,r.multi=e.multi!==void 0&&e.multi!==null?Record_Multi.fromPartial(e.multi):void 0,r.offline=e.offline!==void 0&&e.offline!==null?Record_Offline.fromPartial(e.offline):void 0,r},fromProtoMsg(e){return Record.decode(e.value)},toProto(e){return Record.encode(e).finish()},toProtoMsg(e){return{typeUrl:"/cosmos.crypto.keyring.v1.Record",value:Record.encode(e).finish()}}};function y(){return{privKey:void 0}}export const Record_Local={typeUrl:"/cosmos.crypto.keyring.v1.Local",aminoType:"cosmos-sdk/Local",is(e){return e&&e.$typeUrl===Record_Local.typeUrl},isSDK(e){return e&&e.$typeUrl===Record_Local.typeUrl},encode(e,r=f.create()){return e.privKey!==void 0&&d.encode(e.privKey,r.uint32(10).fork()).ldelim(),r},decode(e,r){const o=e instanceof i?e:new i(e);let c=r===void 0?o.len:o.pos+r;const n=y();for(;o.pos<c;){const t=o.uint32();switch(t>>>3){case 1:n.privKey=d.decode(o,o.uint32());break;default:o.skipType(t&7);break}}return n},fromJSON(e){return{privKey:l(e.privKey)?d.fromJSON(e.privKey):void 0}},toJSON(e){const r={};return e.privKey!==void 0&&(r.privKey=e.privKey?d.toJSON(e.privKey):void 0),r},fromPartial(e){const r=y();return r.privKey=e.privKey!==void 0&&e.privKey!==null?d.fromPartial(e.privKey):void 0,r},fromProtoMsg(e){return Record_Local.decode(e.value)},toProto(e){return Record_Local.encode(e).finish()},toProtoMsg(e){return{typeUrl:"/cosmos.crypto.keyring.v1.Local",value:Record_Local.encode(e).finish()}}};function p(){return{path:void 0}}export const Record_Ledger={typeUrl:"/cosmos.crypto.keyring.v1.Ledger",aminoType:"cosmos-sdk/Ledger",is(e){return e&&e.$typeUrl===Record_Ledger.typeUrl},isSDK(e){return e&&e.$typeUrl===Record_Ledger.typeUrl},encode(e,r=f.create()){return e.path!==void 0&&a.encode(e.path,r.uint32(10).fork()).ldelim(),r},decode(e,r){const o=e instanceof i?e:new i(e);let c=r===void 0?o.len:o.pos+r;const n=p();for(;o.pos<c;){const t=o.uint32();switch(t>>>3){case 1:n.path=a.decode(o,o.uint32());break;default:o.skipType(t&7);break}}return n},fromJSON(e){return{path:l(e.path)?a.fromJSON(e.path):void 0}},toJSON(e){const r={};return e.path!==void 0&&(r.path=e.path?a.toJSON(e.path):void 0),r},fromPartial(e){const r=p();return r.path=e.path!==void 0&&e.path!==null?a.fromPartial(e.path):void 0,r},fromProtoMsg(e){return Record_Ledger.decode(e.value)},toProto(e){return Record_Ledger.encode(e).finish()},toProtoMsg(e){return{typeUrl:"/cosmos.crypto.keyring.v1.Ledger",value:Record_Ledger.encode(e).finish()}}};function s(){return{}}export const Record_Multi={typeUrl:"/cosmos.crypto.keyring.v1.Multi",aminoType:"cosmos-sdk/Multi",is(e){return e&&e.$typeUrl===Record_Multi.typeUrl},isSDK(e){return e&&e.$typeUrl===Record_Multi.typeUrl},encode(e,r=f.create()){return r},decode(e,r){const o=e instanceof i?e:new i(e);let c=r===void 0?o.len:o.pos+r;const n=s();for(;o.pos<c;){const t=o.uint32();switch(t>>>3){default:o.skipType(t&7);break}}return n},fromJSON(e){return{}},toJSON(e){return{}},fromPartial(e){return s()},fromProtoMsg(e){return Record_Multi.decode(e.value)},toProto(e){return Record_Multi.encode(e).finish()},toProtoMsg(e){return{typeUrl:"/cosmos.crypto.keyring.v1.Multi",value:Record_Multi.encode(e).finish()}}};function R(){return{}}export const Record_Offline={typeUrl:"/cosmos.crypto.keyring.v1.Offline",aminoType:"cosmos-sdk/Offline",is(e){return e&&e.$typeUrl===Record_Offline.typeUrl},isSDK(e){return e&&e.$typeUrl===Record_Offline.typeUrl},encode(e,r=f.create()){return r},decode(e,r){const o=e instanceof i?e:new i(e);let c=r===void 0?o.len:o.pos+r;const n=R();for(;o.pos<c;){const t=o.uint32();switch(t>>>3){default:o.skipType(t&7);break}}return n},fromJSON(e){return{}},toJSON(e){return{}},fromPartial(e){return R()},fromProtoMsg(e){return Record_Offline.decode(e.value)},toProto(e){return Record_Offline.encode(e).finish()},toProtoMsg(e){return{typeUrl:"/cosmos.crypto.keyring.v1.Offline",value:Record_Offline.encode(e).finish()}}};
2
+ //# sourceMappingURL=record.js.map
@@ -1 +1,6 @@
1
- {"version":3,"file":"record.js","sourceRoot":"","sources":["../../../../../../src/codegen/cosmos/crypto/keyring/v1/record.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,OAAO,EAAE,GAAG,EAAmB,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,WAAW,EAA2B,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAiB,MAAM,0BAA0B,CAAC;AAqIzD,SAAS,gBAAgB;IACvB,OAAO;QACL,IAAI,EAAE,EAAE;QACR,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,SAAS;KACnB,CAAC;AACJ,CAAC;AACD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,OAAO,EAAE,kCAA2C;IACpD,SAAS,EAAE,mBAA4B;IACvC,EAAE,CAAC,CAAM;QACP,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;IAC5E,CAAC;IACD,KAAK,CAAC,CAAM;QACV,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;IAC5E,CAAC;I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AOA,EAA6C,CAElD,MADiB,CAAC,CAEpB,EACA,YAAYA,EAA4C,CAEtD,OADgBC,EAAyB,CAE3C,EACA,aAAab,EAAiD,CAC5D,OAAO,eAAe,OAAOA,EAAQ,KAAK,CAC5C,EACA,QAAQA,EAAqC,CAC3C,OAAO,eAAe,OAAOA,CAAO,EAAE,OAAO,CAC/C,EACA,WAAWA,EAAiD,CAC1D,MAAO,CACL,QAAS,oCACT,MAAO,eAAe,OAAOA,CAAO,EAAE,OAAO,CAC/C,CACF,CACF",
5
+ "names": ["Any", "BIP44Params", "BinaryReader", "BinaryWriter", "isSet", "createBaseRecord", "o", "message", "writer", "input", "length", "reader", "end", "tag", "object", "obj", "createBaseRecord_Local", "createBaseRecord_Ledger", "createBaseRecord_Multi", "_", "createBaseRecord_Offline"]
6
+ }
@@ -1 +1,2 @@
1
- import{Any as e}from"../../../google/protobuf/any.js";import{BinaryReader as o,BinaryWriter as r}from"../../../binary.js";import{isSet as s}from"../../../helpers.js";import{}from"../../../json-safe.js";export const LegacyAminoPubKey={typeUrl:"/cosmos.crypto.multisig.LegacyAminoPubKey",aminoType:"tendermint/PubKeyMultisigThreshold",is:o=>o&&(o.$typeUrl===LegacyAminoPubKey.typeUrl||"number"==typeof o.threshold&&Array.isArray(o.publicKeys)&&(!o.publicKeys.length||e.is(o.publicKeys[0]))),isSDK:o=>o&&(o.$typeUrl===LegacyAminoPubKey.typeUrl||"number"==typeof o.threshold&&Array.isArray(o.public_keys)&&(!o.public_keys.length||e.isSDK(o.public_keys[0]))),encode(o,s=r.create()){0!==o.threshold&&s.uint32(8).uint32(o.threshold);for(const r of o.publicKeys)e.encode(r,s.uint32(18).fork()).ldelim();return s},decode(r,s){const t=r instanceof o?r:new o(r);let i=void 0===s?t.len:t.pos+s;const l={threshold:0,publicKeys:[]};for(;t.pos<i;){const o=t.uint32();switch(o>>>3){case 1:l.threshold=t.uint32();break;case 2:l.publicKeys.push(e.decode(t,t.uint32()));break;default:t.skipType(7&o)}}return l},fromJSON:o=>({threshold:s(o.threshold)?Number(o.threshold):0,publicKeys:Array.isArray(o?.publicKeys)?o.publicKeys.map((o=>e.fromJSON(o))):[]}),toJSON(o){const r={};return void 0!==o.threshold&&(r.threshold=Math.round(o.threshold)),o.publicKeys?r.publicKeys=o.publicKeys.map((o=>o?e.toJSON(o):void 0)):r.publicKeys=[],r},fromPartial(o){const r={threshold:0,publicKeys:[]};return r.threshold=o.threshold??0,r.publicKeys=o.publicKeys?.map((o=>e.fromPartial(o)))||[],r},fromProtoMsg:e=>LegacyAminoPubKey.decode(e.value),toProto:e=>LegacyAminoPubKey.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.crypto.multisig.LegacyAminoPubKey",value:LegacyAminoPubKey.encode(e).finish()})};
1
+ "use strict";import{Any as i}from"../../../google/protobuf/any.js";import{BinaryReader as t,BinaryWriter as a}from"../../../binary.js";import{isSet as c}from"../../../helpers.js";import"../../../json-safe.js";function s(){return{threshold:0,publicKeys:[]}}export const LegacyAminoPubKey={typeUrl:"/cosmos.crypto.multisig.LegacyAminoPubKey",aminoType:"tendermint/PubKeyMultisigThreshold",is(e){return e&&(e.$typeUrl===LegacyAminoPubKey.typeUrl||typeof e.threshold=="number"&&Array.isArray(e.publicKeys)&&(!e.publicKeys.length||i.is(e.publicKeys[0])))},isSDK(e){return e&&(e.$typeUrl===LegacyAminoPubKey.typeUrl||typeof e.threshold=="number"&&Array.isArray(e.public_keys)&&(!e.public_keys.length||i.isSDK(e.public_keys[0])))},encode(e,r=a.create()){e.threshold!==0&&r.uint32(8).uint32(e.threshold);for(const y of e.publicKeys)i.encode(y,r.uint32(18).fork()).ldelim();return r},decode(e,r){const y=e instanceof t?e:new t(e);let u=r===void 0?y.len:y.pos+r;const o=s();for(;y.pos<u;){const n=y.uint32();switch(n>>>3){case 1:o.threshold=y.uint32();break;case 2:o.publicKeys.push(i.decode(y,y.uint32()));break;default:y.skipType(n&7);break}}return o},fromJSON(e){return{threshold:c(e.threshold)?Number(e.threshold):0,publicKeys:Array.isArray(e?.publicKeys)?e.publicKeys.map(r=>i.fromJSON(r)):[]}},toJSON(e){const r={};return e.threshold!==void 0&&(r.threshold=Math.round(e.threshold)),e.publicKeys?r.publicKeys=e.publicKeys.map(y=>y?i.toJSON(y):void 0):r.publicKeys=[],r},fromPartial(e){const r=s();return r.threshold=e.threshold??0,r.publicKeys=e.publicKeys?.map(y=>i.fromPartial(y))||[],r},fromProtoMsg(e){return LegacyAminoPubKey.decode(e.value)},toProto(e){return LegacyAminoPubKey.encode(e).finish()},toProtoMsg(e){return{typeUrl:"/cosmos.crypto.multisig.LegacyAminoPubKey",value:LegacyAminoPubKey.encode(e).finish()}}};
2
+ //# sourceMappingURL=keys.js.map
@@ -1 +1,6 @@
1
- {"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../../src/codegen/cosmos/crypto/multisig/keys.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,OAAO,EAAE,GAAG,EAAmB,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAiB,MAAM,uBAAuB,CAAC;AA6BtD,SAAS,2BAA2B;IAClC,OAAO;QACL,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,EAAE;KACf,CAAC;AACJ,CAAC;AACD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,OAAO,EAAE,2CAAoD;IAC7D,SAAS,EAAE,oCAA6C;IACxD,EAAE,CAAC,CAAM;QACP,OAAO,CACL,CAAC;YACD,CAAC,CAAC,CAAC,QAAQ,KAAK,iBAAiB,CAAC,OAAO;gBACvC,CAAC,OAAO,CAAC,CAAC,SAAS,KAAK,QAAQ;oBAC9B,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,UAAU,CAAC;oBAC3B,CAAC,CAAC,CAAC,CAAC,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,EAAgC,CACvC,MAAO,CACL,UAAWX,EAAMW,EAAO,SAAS,EAAI,OAAOA,EAAO,SAAS,EAAI,EAChE,WAAY,MAAM,QAAQA,GAAQ,UAAU,EACxCA,EAAO,WAAW,IAAKC,GAAWf,EAAI,SAASe,CAAC,CAAC,EACjD,CAAC,CACP,CACF,EACA,OAAOT,EAAyD,CAC9D,MAAMU,EAAW,CAAC,EAClB,OAAAV,EAAQ,YAAc,SACnBU,EAAI,UAAY,KAAK,MAAMV,EAAQ,SAAS,GAC3CA,EAAQ,WACVU,EAAI,WAAaV,EAAQ,WAAW,IAAIS,GACtCA,EAAIf,EAAI,OAAOe,CAAC,EAAI,MACtB,EAEAC,EAAI,WAAa,CAAC,EAEbA,CACT,EACA,YAAYF,EAAuD,CACjE,MAAMR,EAAUF,EAA4B,EAC5C,OAAAE,EAAQ,UAAYQ,EAAO,WAAa,EACxCR,EAAQ,WAAaQ,EAAO,YAAY,IAAIC,GAAKf,EAAI,YAAYe,CAAC,CAAC,GAAK,CAAC,EAClET,CACT,EACA,aAAaA,EAAuD,CAClE,OAAO,kBAAkB,OAAOA,EAAQ,KAAK,CAC/C,EACA,QAAQA,EAAwC,CAC9C,OAAO,kBAAkB,OAAOA,CAAO,EAAE,OAAO,CAClD,EACA,WAAWA,EAAuD,CAChE,MAAO,CACL,QAAS,4CACT,MAAO,kBAAkB,OAAOA,CAAO,EAAE,OAAO,CAClD,CACF,CACF",
5
+ "names": ["Any", "BinaryReader", "BinaryWriter", "isSet", "createBaseLegacyAminoPubKey", "o", "message", "writer", "v", "input", "length", "reader", "end", "tag", "object", "e", "obj"]
6
+ }
@@ -1 +1,2 @@
1
- import{BinaryReader as t,BinaryWriter as e}from"../../../../binary.js";import{decodeBase64 as r}from"@endo/base64";import{encodeBase64 as s}from"@endo/base64";import{}from"../../../../json-safe.js";import{isSet as o}from"../../../../helpers.js";export const MultiSignature={typeUrl:"/cosmos.crypto.multisig.v1beta1.MultiSignature",aminoType:"cosmos-sdk/MultiSignature",is:t=>t&&(t.$typeUrl===MultiSignature.typeUrl||Array.isArray(t.signatures)&&(!t.signatures.length||t.signatures[0]instanceof Uint8Array||"string"==typeof t.signatures[0])),isSDK:t=>t&&(t.$typeUrl===MultiSignature.typeUrl||Array.isArray(t.signatures)&&(!t.signatures.length||t.signatures[0]instanceof Uint8Array||"string"==typeof t.signatures[0])),encode(t,r=e.create()){for(const e of t.signatures)r.uint32(10).bytes(e);return r},decode(e,r){const s=e instanceof t?e:new t(e);let o=void 0===r?s.len:s.pos+r;const i={signatures:[]};for(;s.pos<o;){const t=s.uint32();if(t>>>3==1)i.signatures.push(s.bytes());else s.skipType(7&t)}return i},fromJSON:t=>({signatures:Array.isArray(t?.signatures)?t.signatures.map((t=>r(t))):[]}),toJSON(t){const e={};return t.signatures?e.signatures=t.signatures.map((t=>s(void 0!==t?t:new Uint8Array))):e.signatures=[],e},fromPartial(t){const e={signatures:[]};return e.signatures=t.signatures?.map((t=>t))||[],e},fromProtoMsg:t=>MultiSignature.decode(t.value),toProto:t=>MultiSignature.encode(t).finish(),toProtoMsg:t=>({typeUrl:"/cosmos.crypto.multisig.v1beta1.MultiSignature",value:MultiSignature.encode(t).finish()})};function i(){return{extraBitsStored:0,elems:new Uint8Array}}export const CompactBitArray={typeUrl:"/cosmos.crypto.multisig.v1beta1.CompactBitArray",aminoType:"cosmos-sdk/CompactBitArray",is:t=>t&&(t.$typeUrl===CompactBitArray.typeUrl||"number"==typeof t.extraBitsStored&&(t.elems instanceof Uint8Array||"string"==typeof t.elems)),isSDK:t=>t&&(t.$typeUrl===CompactBitArray.typeUrl||"number"==typeof t.extra_bits_stored&&(t.elems instanceof Uint8Array||"string"==typeof t.elems)),encode:(t,r=e.create())=>(0!==t.extraBitsStored&&r.uint32(8).uint32(t.extraBitsStored),0!==t.elems.length&&r.uint32(18).bytes(t.elems),r),decode(e,r){const s=e instanceof t?e:new t(e);let o=void 0===r?s.len:s.pos+r;const n=i();for(;s.pos<o;){const t=s.uint32();switch(t>>>3){case 1:n.extraBitsStored=s.uint32();break;case 2:n.elems=s.bytes();break;default:s.skipType(7&t)}}return n},fromJSON:t=>({extraBitsStored:o(t.extraBitsStored)?Number(t.extraBitsStored):0,elems:o(t.elems)?r(t.elems):new Uint8Array}),toJSON(t){const e={};return void 0!==t.extraBitsStored&&(e.extraBitsStored=Math.round(t.extraBitsStored)),void 0!==t.elems&&(e.elems=s(void 0!==t.elems?t.elems:new Uint8Array)),e},fromPartial(t){const e=i();return e.extraBitsStored=t.extraBitsStored??0,e.elems=t.elems??new Uint8Array,e},fromProtoMsg:t=>CompactBitArray.decode(t.value),toProto:t=>CompactBitArray.encode(t).finish(),toProtoMsg:t=>({typeUrl:"/cosmos.crypto.multisig.v1beta1.CompactBitArray",value:CompactBitArray.encode(t).finish()})};
1
+ "use strict";import{BinaryReader as n,BinaryWriter as o}from"../../../../binary.js";import{decodeBase64 as u}from"@endo/base64";import{encodeBase64 as y}from"@endo/base64";import"../../../../json-safe.js";import{isSet as c}from"../../../../helpers.js";function l(){return{signatures:[]}}export const MultiSignature={typeUrl:"/cosmos.crypto.multisig.v1beta1.MultiSignature",aminoType:"cosmos-sdk/MultiSignature",is(t){return t&&(t.$typeUrl===MultiSignature.typeUrl||Array.isArray(t.signatures)&&(!t.signatures.length||t.signatures[0]instanceof Uint8Array||typeof t.signatures[0]=="string"))},isSDK(t){return t&&(t.$typeUrl===MultiSignature.typeUrl||Array.isArray(t.signatures)&&(!t.signatures.length||t.signatures[0]instanceof Uint8Array||typeof t.signatures[0]=="string"))},encode(t,r=o.create()){for(const e of t.signatures)r.uint32(10).bytes(e);return r},decode(t,r){const e=t instanceof n?t:new n(t);let s=r===void 0?e.len:e.pos+r;const a=l();for(;e.pos<s;){const i=e.uint32();switch(i>>>3){case 1:a.signatures.push(e.bytes());break;default:e.skipType(i&7);break}}return a},fromJSON(t){return{signatures:Array.isArray(t?.signatures)?t.signatures.map(r=>u(r)):[]}},toJSON(t){const r={};return t.signatures?r.signatures=t.signatures.map(e=>y(e!==void 0?e:new Uint8Array)):r.signatures=[],r},fromPartial(t){const r=l();return r.signatures=t.signatures?.map(e=>e)||[],r},fromProtoMsg(t){return MultiSignature.decode(t.value)},toProto(t){return MultiSignature.encode(t).finish()},toProtoMsg(t){return{typeUrl:"/cosmos.crypto.multisig.v1beta1.MultiSignature",value:MultiSignature.encode(t).finish()}}};function m(){return{extraBitsStored:0,elems:new Uint8Array}}export const CompactBitArray={typeUrl:"/cosmos.crypto.multisig.v1beta1.CompactBitArray",aminoType:"cosmos-sdk/CompactBitArray",is(t){return t&&(t.$typeUrl===CompactBitArray.typeUrl||typeof t.extraBitsStored=="number"&&(t.elems instanceof Uint8Array||typeof t.elems=="string"))},isSDK(t){return t&&(t.$typeUrl===CompactBitArray.typeUrl||typeof t.extra_bits_stored=="number"&&(t.elems instanceof Uint8Array||typeof t.elems=="string"))},encode(t,r=o.create()){return t.extraBitsStored!==0&&r.uint32(8).uint32(t.extraBitsStored),t.elems.length!==0&&r.uint32(18).bytes(t.elems),r},decode(t,r){const e=t instanceof n?t:new n(t);let s=r===void 0?e.len:e.pos+r;const a=m();for(;e.pos<s;){const i=e.uint32();switch(i>>>3){case 1:a.extraBitsStored=e.uint32();break;case 2:a.elems=e.bytes();break;default:e.skipType(i&7);break}}return a},fromJSON(t){return{extraBitsStored:c(t.extraBitsStored)?Number(t.extraBitsStored):0,elems:c(t.elems)?u(t.elems):new Uint8Array}},toJSON(t){const r={};return t.extraBitsStored!==void 0&&(r.extraBitsStored=Math.round(t.extraBitsStored)),t.elems!==void 0&&(r.elems=y(t.elems!==void 0?t.elems:new Uint8Array)),r},fromPartial(t){const r=m();return r.extraBitsStored=t.extraBitsStored??0,r.elems=t.elems??new Uint8Array,r},fromProtoMsg(t){return CompactBitArray.decode(t.value)},toProto(t){return CompactBitArray.encode(t).finish()},toProtoMsg(t){return{typeUrl:"/cosmos.crypto.multisig.v1beta1.CompactBitArray",value:CompactBitArray.encode(t).finish()}}};
2
+ //# sourceMappingURL=multisig.js.map
@@ -1 +1,6 @@
1
- {"version":3,"file":"multisig.js","sourceRoot":"","sources":["../../../../../../src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAiB,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAyD/C,SAAS,wBAAwB;IAC/B,OAAO;QACL,UAAU,EAAE,EAAE;KACf,CAAC;AACJ,CAAC;AACD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,OAAO,EAAE,gDAAyD;IAClE,SAAS,EAAE,2BAAoC;IAC/C,EAAE,CAAC,CAAM;QACP,OAAO,CACL,CAAC;YACD,CAAC,CAAC,CAAC,QAAQ,KAAK,cAAc,CAAC,OAAO;gBACpC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,UAAU,CAAC;oBAC1B,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM;wBACnB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,UAAU;wBACrC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,CAC7C,CAAC;IACJ,CAAC;IACD,KAAK,CAAC,CAAM;QACV,OAAO,CACL,CAAC;YACD,CAAC,CAAC,CAAC,QAAQ,KAAK,cAAc,CAAC,OAAO;gBACpC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,UAAU,CAAC;oBAC1B,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM;wBACnB,CAAC,CAAC,UAAU,CAAC,CAAC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MC,GAAK,CACvB,MAAMC,EAAMF,EAAO,OAAO,EAC1B,OAAQE,IAAQ,EAAG,CACjB,IAAK,GACHP,EAAQ,gBAAkBK,EAAO,OAAO,EACxC,MACF,IAAK,GACHL,EAAQ,MAAQK,EAAO,MAAM,EAC7B,MACF,QACEA,EAAO,SAASE,EAAM,CAAC,EACvB,KACJ,CACF,CACA,OAAOP,CACT,EACA,SAASQ,EAA8B,CACrC,MAAO,CACL,gBAAiBX,EAAMW,EAAO,eAAe,EACzC,OAAOA,EAAO,eAAe,EAC7B,EACJ,MAAOX,EAAMW,EAAO,KAAK,EACrBb,EAAgBa,EAAO,KAAK,EAC5B,IAAI,UACV,CACF,EACA,OAAOR,EAAqD,CAC1D,MAAMU,EAAW,CAAC,EAClB,OAAAV,EAAQ,kBAAoB,SACzBU,EAAI,gBAAkB,KAAK,MAAMV,EAAQ,eAAe,GAC3DA,EAAQ,QAAU,SACfU,EAAI,MAAQd,EACXI,EAAQ,QAAU,OAAYA,EAAQ,MAAQ,IAAI,UACpD,GACKU,CACT,EACA,YAAYF,EAAmD,CAC7D,MAAMR,EAAUW,EAA0B,EAC1C,OAAAX,EAAQ,gBAAkBQ,EAAO,iBAAmB,EACpDR,EAAQ,MAAQQ,EAAO,OAAS,IAAI,WAC7BR,CACT,EACA,aAAaA,EAAmD,CAC9D,OAAO,gBAAgB,OAAOA,EAAQ,KAAK,CAC7C,EACA,QAAQA,EAAsC,CAC5C,OAAO,gBAAgB,OAAOA,CAAO,EAAE,OAAO,CAChD,EACA,WAAWA,EAAmD,CAC5D,MAAO,CACL,QAAS,kDACT,MAAO,gBAAgB,OAAOA,CAAO,EAAE,OAAO,CAChD,CACF,CACF",
5
+ "names": ["BinaryReader", "BinaryWriter", "bytesFromBase64", "base64FromBytes", "isSet", "createBaseMultiSignature", "o", "message", "writer", "v", "input", "length", "reader", "end", "tag", "object", "e", "obj", "createBaseCompactBitArray"]
6
+ }
@@ -1 +1,2 @@
1
- import{BinaryReader as e,BinaryWriter as r}from"../../../binary.js";import{isSet as t}from"../../../helpers.js";import{decodeBase64 as o}from"@endo/base64";import{encodeBase64 as y}from"@endo/base64";import{}from"../../../json-safe.js";function n(){return{key:new Uint8Array}}export const PubKey={typeUrl:"/cosmos.crypto.secp256k1.PubKey",aminoType:"tendermint/PubKeySecp256k1",is:e=>e&&(e.$typeUrl===PubKey.typeUrl||e.key instanceof Uint8Array||"string"==typeof e.key),isSDK:e=>e&&(e.$typeUrl===PubKey.typeUrl||e.key instanceof Uint8Array||"string"==typeof e.key),encode:(e,t=r.create())=>(0!==e.key.length&&t.uint32(10).bytes(e.key),t),decode(r,t){const o=r instanceof e?r:new e(r);let y=void 0===t?o.len:o.pos+t;const i=n();for(;o.pos<y;){const e=o.uint32();if(e>>>3==1)i.key=o.bytes();else o.skipType(7&e)}return i},fromJSON:e=>({key:t(e.key)?o(e.key):new Uint8Array}),toJSON(e){const r={};return void 0!==e.key&&(r.key=y(void 0!==e.key?e.key:new Uint8Array)),r},fromPartial(e){const r=n();return r.key=e.key??new Uint8Array,r},fromProtoMsg:e=>PubKey.decode(e.value),toProto:e=>PubKey.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.crypto.secp256k1.PubKey",value:PubKey.encode(e).finish()})};function i(){return{key:new Uint8Array}}export const PrivKey={typeUrl:"/cosmos.crypto.secp256k1.PrivKey",aminoType:"tendermint/PrivKeySecp256k1",is:e=>e&&(e.$typeUrl===PrivKey.typeUrl||e.key instanceof Uint8Array||"string"==typeof e.key),isSDK:e=>e&&(e.$typeUrl===PrivKey.typeUrl||e.key instanceof Uint8Array||"string"==typeof e.key),encode:(e,t=r.create())=>(0!==e.key.length&&t.uint32(10).bytes(e.key),t),decode(r,t){const o=r instanceof e?r:new e(r);let y=void 0===t?o.len:o.pos+t;const n=i();for(;o.pos<y;){const e=o.uint32();if(e>>>3==1)n.key=o.bytes();else o.skipType(7&e)}return n},fromJSON:e=>({key:t(e.key)?o(e.key):new Uint8Array}),toJSON(e){const r={};return void 0!==e.key&&(r.key=y(void 0!==e.key?e.key:new Uint8Array)),r},fromPartial(e){const r=i();return r.key=e.key??new Uint8Array,r},fromProtoMsg:e=>PrivKey.decode(e.value),toProto:e=>PrivKey.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.crypto.secp256k1.PrivKey",value:PrivKey.encode(e).finish()})};
1
+ "use strict";import{BinaryReader as i,BinaryWriter as a}from"../../../binary.js";import{isSet as s}from"../../../helpers.js";import{decodeBase64 as c}from"@endo/base64";import{encodeBase64 as u}from"@endo/base64";import"../../../json-safe.js";function P(){return{key:new Uint8Array}}export const PubKey={typeUrl:"/cosmos.crypto.secp256k1.PubKey",aminoType:"tendermint/PubKeySecp256k1",is(e){return e&&(e.$typeUrl===PubKey.typeUrl||e.key instanceof Uint8Array||typeof e.key=="string")},isSDK(e){return e&&(e.$typeUrl===PubKey.typeUrl||e.key instanceof Uint8Array||typeof e.key=="string")},encode(e,r=a.create()){return e.key.length!==0&&r.uint32(10).bytes(e.key),r},decode(e,r){const y=e instanceof i?e:new i(e);let o=r===void 0?y.len:y.pos+r;const t=P();for(;y.pos<o;){const n=y.uint32();switch(n>>>3){case 1:t.key=y.bytes();break;default:y.skipType(n&7);break}}return t},fromJSON(e){return{key:s(e.key)?c(e.key):new Uint8Array}},toJSON(e){const r={};return e.key!==void 0&&(r.key=u(e.key!==void 0?e.key:new Uint8Array)),r},fromPartial(e){const r=P();return r.key=e.key??new Uint8Array,r},fromProtoMsg(e){return PubKey.decode(e.value)},toProto(e){return PubKey.encode(e).finish()},toProtoMsg(e){return{typeUrl:"/cosmos.crypto.secp256k1.PubKey",value:PubKey.encode(e).finish()}}};function p(){return{key:new Uint8Array}}export const PrivKey={typeUrl:"/cosmos.crypto.secp256k1.PrivKey",aminoType:"tendermint/PrivKeySecp256k1",is(e){return e&&(e.$typeUrl===PrivKey.typeUrl||e.key instanceof Uint8Array||typeof e.key=="string")},isSDK(e){return e&&(e.$typeUrl===PrivKey.typeUrl||e.key instanceof Uint8Array||typeof e.key=="string")},encode(e,r=a.create()){return e.key.length!==0&&r.uint32(10).bytes(e.key),r},decode(e,r){const y=e instanceof i?e:new i(e);let o=r===void 0?y.len:y.pos+r;const t=p();for(;y.pos<o;){const n=y.uint32();switch(n>>>3){case 1:t.key=y.bytes();break;default:y.skipType(n&7);break}}return t},fromJSON(e){return{key:s(e.key)?c(e.key):new Uint8Array}},toJSON(e){const r={};return e.key!==void 0&&(r.key=u(e.key!==void 0?e.key:new Uint8Array)),r},fromPartial(e){const r=p();return r.key=e.key??new Uint8Array,r},fromProtoMsg(e){return PrivKey.decode(e.value)},toProto(e){return PrivKey.encode(e).finish()},toProtoMsg(e){return{typeUrl:"/cosmos.crypto.secp256k1.PrivKey",value:PrivKey.encode(e).finish()}}};
2
+ //# sourceMappingURL=keys.js.map
@@ -1 +1,6 @@
1
- {"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../../src/codegen/cosmos/crypto/secp256k1/keys.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAiB,MAAM,uBAAuB,CAAC;AAqDtD,SAAS,gBAAgB;IACvB,OAAO;QACL,GAAG,EAAE,IAAI,UAAU,EAAE;KACtB,CAAC;AACJ,CAAC;AACD;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,OAAO,EAAE,iCAA0C;IACnD,SAAS,EAAE,4BAAqC;IAChD,EAAE,CAAC,CAAM;QACP,OAAO,CACL,CAAC;YACD,CAAC,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAC,OAAO;gBAC5B,CAAC,CAAC,GAA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GAAK,CACvB,MAAMC,EAAMF,EAAO,OAAO,EAC1B,OAAQE,IAAQ,EAAG,CACjB,IAAK,GACHN,EAAQ,IAAMI,EAAO,MAAM,EAC3B,MACF,QACEA,EAAO,SAASE,EAAM,CAAC,EACvB,KACJ,CACF,CACA,OAAON,CACT,EACA,SAASO,EAAsB,CAC7B,MAAO,CACL,IAAKZ,EAAMY,EAAO,GAAG,EAAIX,EAAgBW,EAAO,GAAG,EAAI,IAAI,UAC7D,CACF,EACA,OAAOP,EAAqC,CAC1C,MAAMQ,EAAW,CAAC,EAClB,OAAAR,EAAQ,MAAQ,SACbQ,EAAI,IAAMX,EACTG,EAAQ,MAAQ,OAAYA,EAAQ,IAAM,IAAI,UAChD,GACKQ,CACT,EACA,YAAYD,EAAmC,CAC7C,MAAMP,EAAUS,EAAkB,EAClC,OAAAT,EAAQ,IAAMO,EAAO,KAAO,IAAI,WACzBP,CACT,EACA,aAAaA,EAAmC,CAC9C,OAAO,QAAQ,OAAOA,EAAQ,KAAK,CACrC,EACA,QAAQA,EAA8B,CACpC,OAAO,QAAQ,OAAOA,CAAO,EAAE,OAAO,CACxC,EACA,WAAWA,EAAmC,CAC5C,MAAO,CACL,QAAS,mCACT,MAAO,QAAQ,OAAOA,CAAO,EAAE,OAAO,CACxC,CACF,CACF",
5
+ "names": ["BinaryReader", "BinaryWriter", "isSet", "bytesFromBase64", "base64FromBytes", "createBasePubKey", "o", "message", "writer", "input", "length", "reader", "end", "tag", "object", "obj", "createBasePrivKey"]
6
+ }
@@ -1 +1,2 @@
1
- import{BinaryReader as e,BinaryWriter as r}from"../../../binary.js";import{isSet as t}from"../../../helpers.js";import{decodeBase64 as o}from"@endo/base64";import{encodeBase64 as s}from"@endo/base64";import{}from"../../../json-safe.js";function n(){return{key:new Uint8Array}}export const PubKey={typeUrl:"/cosmos.crypto.secp256r1.PubKey",aminoType:"cosmos-sdk/PubKey",is:e=>e&&(e.$typeUrl===PubKey.typeUrl||e.key instanceof Uint8Array||"string"==typeof e.key),isSDK:e=>e&&(e.$typeUrl===PubKey.typeUrl||e.key instanceof Uint8Array||"string"==typeof e.key),encode:(e,t=r.create())=>(0!==e.key.length&&t.uint32(10).bytes(e.key),t),decode(r,t){const o=r instanceof e?r:new e(r);let s=void 0===t?o.len:o.pos+t;const y=n();for(;o.pos<s;){const e=o.uint32();if(e>>>3==1)y.key=o.bytes();else o.skipType(7&e)}return y},fromJSON:e=>({key:t(e.key)?o(e.key):new Uint8Array}),toJSON(e){const r={};return void 0!==e.key&&(r.key=s(void 0!==e.key?e.key:new Uint8Array)),r},fromPartial(e){const r=n();return r.key=e.key??new Uint8Array,r},fromProtoMsg:e=>PubKey.decode(e.value),toProto:e=>PubKey.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.crypto.secp256r1.PubKey",value:PubKey.encode(e).finish()})};function y(){return{secret:new Uint8Array}}export const PrivKey={typeUrl:"/cosmos.crypto.secp256r1.PrivKey",aminoType:"cosmos-sdk/PrivKey",is:e=>e&&(e.$typeUrl===PrivKey.typeUrl||e.secret instanceof Uint8Array||"string"==typeof e.secret),isSDK:e=>e&&(e.$typeUrl===PrivKey.typeUrl||e.secret instanceof Uint8Array||"string"==typeof e.secret),encode:(e,t=r.create())=>(0!==e.secret.length&&t.uint32(10).bytes(e.secret),t),decode(r,t){const o=r instanceof e?r:new e(r);let s=void 0===t?o.len:o.pos+t;const n=y();for(;o.pos<s;){const e=o.uint32();if(e>>>3==1)n.secret=o.bytes();else o.skipType(7&e)}return n},fromJSON:e=>({secret:t(e.secret)?o(e.secret):new Uint8Array}),toJSON(e){const r={};return void 0!==e.secret&&(r.secret=s(void 0!==e.secret?e.secret:new Uint8Array)),r},fromPartial(e){const r=y();return r.secret=e.secret??new Uint8Array,r},fromProtoMsg:e=>PrivKey.decode(e.value),toProto:e=>PrivKey.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.crypto.secp256r1.PrivKey",value:PrivKey.encode(e).finish()})};
1
+ "use strict";import{BinaryReader as o,BinaryWriter as i}from"../../../binary.js";import{isSet as a}from"../../../helpers.js";import{decodeBase64 as c}from"@endo/base64";import{encodeBase64 as u}from"@endo/base64";import"../../../json-safe.js";function P(){return{key:new Uint8Array}}export const PubKey={typeUrl:"/cosmos.crypto.secp256r1.PubKey",aminoType:"cosmos-sdk/PubKey",is(e){return e&&(e.$typeUrl===PubKey.typeUrl||e.key instanceof Uint8Array||typeof e.key=="string")},isSDK(e){return e&&(e.$typeUrl===PubKey.typeUrl||e.key instanceof Uint8Array||typeof e.key=="string")},encode(e,r=i.create()){return e.key.length!==0&&r.uint32(10).bytes(e.key),r},decode(e,r){const t=e instanceof o?e:new o(e);let s=r===void 0?t.len:t.pos+r;const n=P();for(;t.pos<s;){const y=t.uint32();switch(y>>>3){case 1:n.key=t.bytes();break;default:t.skipType(y&7);break}}return n},fromJSON(e){return{key:a(e.key)?c(e.key):new Uint8Array}},toJSON(e){const r={};return e.key!==void 0&&(r.key=u(e.key!==void 0?e.key:new Uint8Array)),r},fromPartial(e){const r=P();return r.key=e.key??new Uint8Array,r},fromProtoMsg(e){return PubKey.decode(e.value)},toProto(e){return PubKey.encode(e).finish()},toProtoMsg(e){return{typeUrl:"/cosmos.crypto.secp256r1.PubKey",value:PubKey.encode(e).finish()}}};function p(){return{secret:new Uint8Array}}export const PrivKey={typeUrl:"/cosmos.crypto.secp256r1.PrivKey",aminoType:"cosmos-sdk/PrivKey",is(e){return e&&(e.$typeUrl===PrivKey.typeUrl||e.secret instanceof Uint8Array||typeof e.secret=="string")},isSDK(e){return e&&(e.$typeUrl===PrivKey.typeUrl||e.secret instanceof Uint8Array||typeof e.secret=="string")},encode(e,r=i.create()){return e.secret.length!==0&&r.uint32(10).bytes(e.secret),r},decode(e,r){const t=e instanceof o?e:new o(e);let s=r===void 0?t.len:t.pos+r;const n=p();for(;t.pos<s;){const y=t.uint32();switch(y>>>3){case 1:n.secret=t.bytes();break;default:t.skipType(y&7);break}}return n},fromJSON(e){return{secret:a(e.secret)?c(e.secret):new Uint8Array}},toJSON(e){const r={};return e.secret!==void 0&&(r.secret=u(e.secret!==void 0?e.secret:new Uint8Array)),r},fromPartial(e){const r=p();return r.secret=e.secret??new Uint8Array,r},fromProtoMsg(e){return PrivKey.decode(e.value)},toProto(e){return PrivKey.encode(e).finish()},toProtoMsg(e){return{typeUrl:"/cosmos.crypto.secp256r1.PrivKey",value:PrivKey.encode(e).finish()}}};
2
+ //# sourceMappingURL=keys.js.map
@@ -1 +1,6 @@
1
- {"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../../src/codegen/cosmos/crypto/secp256r1/keys.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAiB,MAAM,uBAAuB,CAAC;AAoDtD,SAAS,gBAAgB;IACvB,OAAO;QACL,GAAG,EAAE,IAAI,UAAU,EAAE;KACtB,CAAC;AACJ,CAAC;AACD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,OAAO,EAAE,iCAA0C;IACnD,SAAS,EAAE,mBAA4B;IACvC,EAAE,CAAC,CAAM;QACP,OAAO,CACL,CAAC;YACD,CAAC,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAC,OAAO;gBAC5B,CAAC,CAAC,GAAG,YAAY,UAAU;gBAC3B,OAAO,CAAC,CAAC,GAAG,KAAK,QAAQ,CAAC,CAC7B,CAAC;IACJ,CAAC;IACD,KAAK,CAAC,CAAM;QACV,OAAO,CACL,CAAC;YACD,CAAC,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAC,OAAO;gBAC5B,CAAC,CAAC,GAAG,YAAY,UA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OAAQZ,EAAMY,EAAO,MAAM,EACvBX,EAAgBW,EAAO,MAAM,EAC7B,IAAI,UACV,CACF,EACA,OAAOP,EAAqC,CAC1C,MAAMQ,EAAW,CAAC,EAClB,OAAAR,EAAQ,SAAW,SAChBQ,EAAI,OAASX,EACZG,EAAQ,SAAW,OAAYA,EAAQ,OAAS,IAAI,UACtD,GACKQ,CACT,EACA,YAAYD,EAAmC,CAC7C,MAAMP,EAAUS,EAAkB,EAClC,OAAAT,EAAQ,OAASO,EAAO,QAAU,IAAI,WAC/BP,CACT,EACA,aAAaA,EAAmC,CAC9C,OAAO,QAAQ,OAAOA,EAAQ,KAAK,CACrC,EACA,QAAQA,EAA8B,CACpC,OAAO,QAAQ,OAAOA,CAAO,EAAE,OAAO,CACxC,EACA,WAAWA,EAAmC,CAC5C,MAAO,CACL,QAAS,mCACT,MAAO,QAAQ,OAAOA,CAAO,EAAE,OAAO,CACxC,CACF,CACF",
5
+ "names": ["BinaryReader", "BinaryWriter", "isSet", "bytesFromBase64", "base64FromBytes", "createBasePubKey", "o", "message", "writer", "input", "length", "reader", "end", "tag", "object", "obj", "createBasePrivKey"]
6
+ }
@@ -1 +1,2 @@
1
- import{BinaryReader as e,BinaryWriter as o}from"../../../../binary.js";import{isSet as t}from"../../../../helpers.js";import{}from"../../../../json-safe.js";export const Module={typeUrl:"/cosmos.distribution.module.v1.Module",aminoType:"cosmos-sdk/Module",is:e=>e&&(e.$typeUrl===Module.typeUrl||"string"==typeof e.feeCollectorName&&"string"==typeof e.authority),isSDK:e=>e&&(e.$typeUrl===Module.typeUrl||"string"==typeof e.fee_collector_name&&"string"==typeof e.authority),encode:(e,t=o.create())=>(""!==e.feeCollectorName&&t.uint32(10).string(e.feeCollectorName),""!==e.authority&&t.uint32(18).string(e.authority),t),decode(o,t){const r=o instanceof e?o:new e(o);let l=void 0===t?r.len:r.pos+t;const i={feeCollectorName:"",authority:""};for(;r.pos<l;){const e=r.uint32();switch(e>>>3){case 1:i.feeCollectorName=r.string();break;case 2:i.authority=r.string();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({feeCollectorName:t(e.feeCollectorName)?String(e.feeCollectorName):"",authority:t(e.authority)?String(e.authority):""}),toJSON(e){const o={};return void 0!==e.feeCollectorName&&(o.feeCollectorName=e.feeCollectorName),void 0!==e.authority&&(o.authority=e.authority),o},fromPartial(e){const o={feeCollectorName:"",authority:""};return o.feeCollectorName=e.feeCollectorName??"",o.authority=e.authority??"",o},fromProtoMsg:e=>Module.decode(e.value),toProto:e=>Module.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/cosmos.distribution.module.v1.Module",value:Module.encode(e).finish()})};
1
+ "use strict";import{BinaryReader as n,BinaryWriter as d}from"../../../../binary.js";import{isSet as l}from"../../../../helpers.js";import"../../../../json-safe.js";function a(){return{feeCollectorName:"",authority:""}}export const Module={typeUrl:"/cosmos.distribution.module.v1.Module",aminoType:"cosmos-sdk/Module",is(e){return e&&(e.$typeUrl===Module.typeUrl||typeof e.feeCollectorName=="string"&&typeof e.authority=="string")},isSDK(e){return e&&(e.$typeUrl===Module.typeUrl||typeof e.fee_collector_name=="string"&&typeof e.authority=="string")},encode(e,o=d.create()){return e.feeCollectorName!==""&&o.uint32(10).string(e.feeCollectorName),e.authority!==""&&o.uint32(18).string(e.authority),o},decode(e,o){const t=e instanceof n?e:new n(e);let u=o===void 0?t.len:t.pos+o;const r=a();for(;t.pos<u;){const i=t.uint32();switch(i>>>3){case 1:r.feeCollectorName=t.string();break;case 2:r.authority=t.string();break;default:t.skipType(i&7);break}}return r},fromJSON(e){return{feeCollectorName:l(e.feeCollectorName)?String(e.feeCollectorName):"",authority:l(e.authority)?String(e.authority):""}},toJSON(e){const o={};return e.feeCollectorName!==void 0&&(o.feeCollectorName=e.feeCollectorName),e.authority!==void 0&&(o.authority=e.authority),o},fromPartial(e){const o=a();return o.feeCollectorName=e.feeCollectorName??"",o.authority=e.authority??"",o},fromProtoMsg(e){return Module.decode(e.value)},toProto(e){return Module.encode(e).finish()},toProtoMsg(e){return{typeUrl:"/cosmos.distribution.module.v1.Module",value:Module.encode(e).finish()}}};
2
+ //# sourceMappingURL=module.js.map
@@ -1 +1,6 @@
1
- {"version":3,"file":"module.js","sourceRoot":"","sources":["../../../../../../src/codegen/cosmos/distribution/module/v1/module.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAiB,MAAM,0BAA0B,CAAC;AA4BzD,SAAS,gBAAgB;IACvB,OAAO;QACL,gBAAgB,EAAE,EAAE;QACpB,SAAS,EAAE,EAAE;KACd,CAAC;AACJ,CAAC;AACD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,OAAO,EAAE,uCAAgD;IACzD,SAAS,EAAE,mBAA4B;IACvC,EAAE,CAAC,CAAM;QACP,OAAO,CACL,CAAC;YACD,CAAC,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAC,OAAO;gBAC5B,CAAC,OAAO,CAAC,CAAC,gBAAgB,KAAK,QAAQ;oBACrC,OAAO,CAAC,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CACtC,CAAC;IACJ,CAAC;IACD,KAAK,CAAC,CAAM;QACV,OAAO,CACL,CAAC;YACD,CAAC,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAC,OAAO;gBAC5B,CAAC,OAAO,CAAC,CAAC,kBAAkB,KAAK,QAAQ;oBACvC,OAAO,CAAC,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CACtC,CAAC;IACJ,CAAC;IACD,MAAM,CACJ,OAAe,EACf,SAAuB,YAAY,CAAC,MAAM,EAAE;QAE5C,IAAI,OAAO,CAAC,gBAAgB,KAAK,EAAE,EAAE,CAAC;YACpC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAA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ClB,OAAAR,EAAQ,mBAAqB,SAC1BQ,EAAI,iBAAmBR,EAAQ,kBAClCA,EAAQ,YAAc,SAAcQ,EAAI,UAAYR,EAAQ,WACrDQ,CACT,EACA,YAAYD,EAAiC,CAC3C,MAAMP,EAAUF,EAAiB,EACjC,OAAAE,EAAQ,iBAAmBO,EAAO,kBAAoB,GACtDP,EAAQ,UAAYO,EAAO,WAAa,GACjCP,CACT,EACA,aAAaA,EAAiC,CAC5C,OAAO,OAAO,OAAOA,EAAQ,KAAK,CACpC,EACA,QAAQA,EAA6B,CACnC,OAAO,OAAO,OAAOA,CAAO,EAAE,OAAO,CACvC,EACA,WAAWA,EAAiC,CAC1C,MAAO,CACL,QAAS,wCACT,MAAO,OAAO,OAAOA,CAAO,EAAE,OAAO,CACvC,CACF,CACF",
5
+ "names": ["BinaryReader", "BinaryWriter", "isSet", "createBaseModule", "o", "message", "writer", "input", "length", "reader", "end", "tag", "object", "obj"]
6
+ }
@@ -1 +1,2 @@
1
- import{DecCoin as o,Coin as t}from"../../base/v1beta1/coin.js";import{BinaryReader as e,BinaryWriter as r}from"../../../binary.js";import{Decimal as i}from"../../../decimals.js";import{isSet as a}from"../../../helpers.js";import{}from"../../../json-safe.js";export const Params={typeUrl:"/cosmos.distribution.v1beta1.Params",aminoType:"cosmos-sdk/x/distribution/Params",is:o=>o&&(o.$typeUrl===Params.typeUrl||"string"==typeof o.communityTax&&"string"==typeof o.baseProposerReward&&"string"==typeof o.bonusProposerReward&&"boolean"==typeof o.withdrawAddrEnabled),isSDK:o=>o&&(o.$typeUrl===Params.typeUrl||"string"==typeof o.community_tax&&"string"==typeof o.base_proposer_reward&&"string"==typeof o.bonus_proposer_reward&&"boolean"==typeof o.withdraw_addr_enabled),encode:(o,t=r.create())=>(""!==o.communityTax&&t.uint32(10).string(i.fromUserInput(o.communityTax,18).atomics),""!==o.baseProposerReward&&t.uint32(18).string(i.fromUserInput(o.baseProposerReward,18).atomics),""!==o.bonusProposerReward&&t.uint32(26).string(i.fromUserInput(o.bonusProposerReward,18).atomics),!0===o.withdrawAddrEnabled&&t.uint32(32).bool(o.withdrawAddrEnabled),t),decode(o,t){const r=o instanceof e?o:new e(o);let a=void 0===t?r.len:r.pos+t;const s={communityTax:"",baseProposerReward:"",bonusProposerReward:"",withdrawAddrEnabled:!1};for(;r.pos<a;){const o=r.uint32();switch(o>>>3){case 1:s.communityTax=i.fromAtomics(r.string(),18).toString();break;case 2:s.baseProposerReward=i.fromAtomics(r.string(),18).toString();break;case 3:s.bonusProposerReward=i.fromAtomics(r.string(),18).toString();break;case 4:s.withdrawAddrEnabled=r.bool();break;default:r.skipType(7&o)}}return s},fromJSON:o=>({communityTax:a(o.communityTax)?String(o.communityTax):"",baseProposerReward:a(o.baseProposerReward)?String(o.baseProposerReward):"",bonusProposerReward:a(o.bonusProposerReward)?String(o.bonusProposerReward):"",withdrawAddrEnabled:!!a(o.withdrawAddrEnabled)&&Boolean(o.withdrawAddrEnabled)}),toJSON(o){const t={};return void 0!==o.communityTax&&(t.communityTax=o.communityTax),void 0!==o.baseProposerReward&&(t.baseProposerReward=o.baseProposerReward),void 0!==o.bonusProposerReward&&(t.bonusProposerReward=o.bonusProposerReward),void 0!==o.withdrawAddrEnabled&&(t.withdrawAddrEnabled=o.withdrawAddrEnabled),t},fromPartial(o){const t={communityTax:"",baseProposerReward:"",bonusProposerReward:"",withdrawAddrEnabled:!1};return t.communityTax=o.communityTax??"",t.baseProposerReward=o.baseProposerReward??"",t.bonusProposerReward=o.bonusProposerReward??"",t.withdrawAddrEnabled=o.withdrawAddrEnabled??!1,t},fromProtoMsg:o=>Params.decode(o.value),toProto:o=>Params.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.Params",value:Params.encode(o).finish()})};export const ValidatorHistoricalRewards={typeUrl:"/cosmos.distribution.v1beta1.ValidatorHistoricalRewards",aminoType:"cosmos-sdk/ValidatorHistoricalRewards",is:t=>t&&(t.$typeUrl===ValidatorHistoricalRewards.typeUrl||Array.isArray(t.cumulativeRewardRatio)&&(!t.cumulativeRewardRatio.length||o.is(t.cumulativeRewardRatio[0]))&&"number"==typeof t.referenceCount),isSDK:t=>t&&(t.$typeUrl===ValidatorHistoricalRewards.typeUrl||Array.isArray(t.cumulative_reward_ratio)&&(!t.cumulative_reward_ratio.length||o.isSDK(t.cumulative_reward_ratio[0]))&&"number"==typeof t.reference_count),encode(t,e=r.create()){for(const r of t.cumulativeRewardRatio)o.encode(r,e.uint32(10).fork()).ldelim();return 0!==t.referenceCount&&e.uint32(16).uint32(t.referenceCount),e},decode(t,r){const i=t instanceof e?t:new e(t);let a=void 0===r?i.len:i.pos+r;const s={cumulativeRewardRatio:[],referenceCount:0};for(;i.pos<a;){const t=i.uint32();switch(t>>>3){case 1:s.cumulativeRewardRatio.push(o.decode(i,i.uint32()));break;case 2:s.referenceCount=i.uint32();break;default:i.skipType(7&t)}}return s},fromJSON:t=>({cumulativeRewardRatio:Array.isArray(t?.cumulativeRewardRatio)?t.cumulativeRewardRatio.map((t=>o.fromJSON(t))):[],referenceCount:a(t.referenceCount)?Number(t.referenceCount):0}),toJSON(t){const e={};return t.cumulativeRewardRatio?e.cumulativeRewardRatio=t.cumulativeRewardRatio.map((t=>t?o.toJSON(t):void 0)):e.cumulativeRewardRatio=[],void 0!==t.referenceCount&&(e.referenceCount=Math.round(t.referenceCount)),e},fromPartial(t){const e={cumulativeRewardRatio:[],referenceCount:0};return e.cumulativeRewardRatio=t.cumulativeRewardRatio?.map((t=>o.fromPartial(t)))||[],e.referenceCount=t.referenceCount??0,e},fromProtoMsg:o=>ValidatorHistoricalRewards.decode(o.value),toProto:o=>ValidatorHistoricalRewards.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.ValidatorHistoricalRewards",value:ValidatorHistoricalRewards.encode(o).finish()})};function s(){return{rewards:[],period:BigInt(0)}}export const ValidatorCurrentRewards={typeUrl:"/cosmos.distribution.v1beta1.ValidatorCurrentRewards",aminoType:"cosmos-sdk/ValidatorCurrentRewards",is:t=>t&&(t.$typeUrl===ValidatorCurrentRewards.typeUrl||Array.isArray(t.rewards)&&(!t.rewards.length||o.is(t.rewards[0]))&&"bigint"==typeof t.period),isSDK:t=>t&&(t.$typeUrl===ValidatorCurrentRewards.typeUrl||Array.isArray(t.rewards)&&(!t.rewards.length||o.isSDK(t.rewards[0]))&&"bigint"==typeof t.period),encode(t,e=r.create()){for(const r of t.rewards)o.encode(r,e.uint32(10).fork()).ldelim();return t.period!==BigInt(0)&&e.uint32(16).uint64(t.period),e},decode(t,r){const i=t instanceof e?t:new e(t);let a=void 0===r?i.len:i.pos+r;const n=s();for(;i.pos<a;){const t=i.uint32();switch(t>>>3){case 1:n.rewards.push(o.decode(i,i.uint32()));break;case 2:n.period=i.uint64();break;default:i.skipType(7&t)}}return n},fromJSON:t=>({rewards:Array.isArray(t?.rewards)?t.rewards.map((t=>o.fromJSON(t))):[],period:a(t.period)?BigInt(t.period.toString()):BigInt(0)}),toJSON(t){const e={};return t.rewards?e.rewards=t.rewards.map((t=>t?o.toJSON(t):void 0)):e.rewards=[],void 0!==t.period&&(e.period=(t.period||BigInt(0)).toString()),e},fromPartial(t){const e=s();return e.rewards=t.rewards?.map((t=>o.fromPartial(t)))||[],e.period=void 0!==t.period&&null!==t.period?BigInt(t.period.toString()):BigInt(0),e},fromProtoMsg:o=>ValidatorCurrentRewards.decode(o.value),toProto:o=>ValidatorCurrentRewards.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.ValidatorCurrentRewards",value:ValidatorCurrentRewards.encode(o).finish()})};export const ValidatorAccumulatedCommission={typeUrl:"/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission",aminoType:"cosmos-sdk/ValidatorAccumulatedCommission",is:t=>t&&(t.$typeUrl===ValidatorAccumulatedCommission.typeUrl||Array.isArray(t.commission)&&(!t.commission.length||o.is(t.commission[0]))),isSDK:t=>t&&(t.$typeUrl===ValidatorAccumulatedCommission.typeUrl||Array.isArray(t.commission)&&(!t.commission.length||o.isSDK(t.commission[0]))),encode(t,e=r.create()){for(const r of t.commission)o.encode(r,e.uint32(10).fork()).ldelim();return e},decode(t,r){const i=t instanceof e?t:new e(t);let a=void 0===r?i.len:i.pos+r;const s={commission:[]};for(;i.pos<a;){const t=i.uint32();if(t>>>3==1)s.commission.push(o.decode(i,i.uint32()));else i.skipType(7&t)}return s},fromJSON:t=>({commission:Array.isArray(t?.commission)?t.commission.map((t=>o.fromJSON(t))):[]}),toJSON(t){const e={};return t.commission?e.commission=t.commission.map((t=>t?o.toJSON(t):void 0)):e.commission=[],e},fromPartial(t){const e={commission:[]};return e.commission=t.commission?.map((t=>o.fromPartial(t)))||[],e},fromProtoMsg:o=>ValidatorAccumulatedCommission.decode(o.value),toProto:o=>ValidatorAccumulatedCommission.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission",value:ValidatorAccumulatedCommission.encode(o).finish()})};export const ValidatorOutstandingRewards={typeUrl:"/cosmos.distribution.v1beta1.ValidatorOutstandingRewards",aminoType:"cosmos-sdk/ValidatorOutstandingRewards",is:t=>t&&(t.$typeUrl===ValidatorOutstandingRewards.typeUrl||Array.isArray(t.rewards)&&(!t.rewards.length||o.is(t.rewards[0]))),isSDK:t=>t&&(t.$typeUrl===ValidatorOutstandingRewards.typeUrl||Array.isArray(t.rewards)&&(!t.rewards.length||o.isSDK(t.rewards[0]))),encode(t,e=r.create()){for(const r of t.rewards)o.encode(r,e.uint32(10).fork()).ldelim();return e},decode(t,r){const i=t instanceof e?t:new e(t);let a=void 0===r?i.len:i.pos+r;const s={rewards:[]};for(;i.pos<a;){const t=i.uint32();if(t>>>3==1)s.rewards.push(o.decode(i,i.uint32()));else i.skipType(7&t)}return s},fromJSON:t=>({rewards:Array.isArray(t?.rewards)?t.rewards.map((t=>o.fromJSON(t))):[]}),toJSON(t){const e={};return t.rewards?e.rewards=t.rewards.map((t=>t?o.toJSON(t):void 0)):e.rewards=[],e},fromPartial(t){const e={rewards:[]};return e.rewards=t.rewards?.map((t=>o.fromPartial(t)))||[],e},fromProtoMsg:o=>ValidatorOutstandingRewards.decode(o.value),toProto:o=>ValidatorOutstandingRewards.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.ValidatorOutstandingRewards",value:ValidatorOutstandingRewards.encode(o).finish()})};function n(){return{validatorPeriod:BigInt(0),fraction:""}}export const ValidatorSlashEvent={typeUrl:"/cosmos.distribution.v1beta1.ValidatorSlashEvent",aminoType:"cosmos-sdk/ValidatorSlashEvent",is:o=>o&&(o.$typeUrl===ValidatorSlashEvent.typeUrl||"bigint"==typeof o.validatorPeriod&&"string"==typeof o.fraction),isSDK:o=>o&&(o.$typeUrl===ValidatorSlashEvent.typeUrl||"bigint"==typeof o.validator_period&&"string"==typeof o.fraction),encode:(o,t=r.create())=>(o.validatorPeriod!==BigInt(0)&&t.uint32(8).uint64(o.validatorPeriod),""!==o.fraction&&t.uint32(18).string(i.fromUserInput(o.fraction,18).atomics),t),decode(o,t){const r=o instanceof e?o:new e(o);let a=void 0===t?r.len:r.pos+t;const s=n();for(;r.pos<a;){const o=r.uint32();switch(o>>>3){case 1:s.validatorPeriod=r.uint64();break;case 2:s.fraction=i.fromAtomics(r.string(),18).toString();break;default:r.skipType(7&o)}}return s},fromJSON:o=>({validatorPeriod:a(o.validatorPeriod)?BigInt(o.validatorPeriod.toString()):BigInt(0),fraction:a(o.fraction)?String(o.fraction):""}),toJSON(o){const t={};return void 0!==o.validatorPeriod&&(t.validatorPeriod=(o.validatorPeriod||BigInt(0)).toString()),void 0!==o.fraction&&(t.fraction=o.fraction),t},fromPartial(o){const t=n();return t.validatorPeriod=void 0!==o.validatorPeriod&&null!==o.validatorPeriod?BigInt(o.validatorPeriod.toString()):BigInt(0),t.fraction=o.fraction??"",t},fromProtoMsg:o=>ValidatorSlashEvent.decode(o.value),toProto:o=>ValidatorSlashEvent.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.ValidatorSlashEvent",value:ValidatorSlashEvent.encode(o).finish()})};export const ValidatorSlashEvents={typeUrl:"/cosmos.distribution.v1beta1.ValidatorSlashEvents",aminoType:"cosmos-sdk/ValidatorSlashEvents",is:o=>o&&(o.$typeUrl===ValidatorSlashEvents.typeUrl||Array.isArray(o.validatorSlashEvents)&&(!o.validatorSlashEvents.length||ValidatorSlashEvent.is(o.validatorSlashEvents[0]))),isSDK:o=>o&&(o.$typeUrl===ValidatorSlashEvents.typeUrl||Array.isArray(o.validator_slash_events)&&(!o.validator_slash_events.length||ValidatorSlashEvent.isSDK(o.validator_slash_events[0]))),encode(o,t=r.create()){for(const e of o.validatorSlashEvents)ValidatorSlashEvent.encode(e,t.uint32(10).fork()).ldelim();return t},decode(o,t){const r=o instanceof e?o:new e(o);let i=void 0===t?r.len:r.pos+t;const a={validatorSlashEvents:[]};for(;r.pos<i;){const o=r.uint32();if(o>>>3==1)a.validatorSlashEvents.push(ValidatorSlashEvent.decode(r,r.uint32()));else r.skipType(7&o)}return a},fromJSON:o=>({validatorSlashEvents:Array.isArray(o?.validatorSlashEvents)?o.validatorSlashEvents.map((o=>ValidatorSlashEvent.fromJSON(o))):[]}),toJSON(o){const t={};return o.validatorSlashEvents?t.validatorSlashEvents=o.validatorSlashEvents.map((o=>o?ValidatorSlashEvent.toJSON(o):void 0)):t.validatorSlashEvents=[],t},fromPartial(o){const t={validatorSlashEvents:[]};return t.validatorSlashEvents=o.validatorSlashEvents?.map((o=>ValidatorSlashEvent.fromPartial(o)))||[],t},fromProtoMsg:o=>ValidatorSlashEvents.decode(o.value),toProto:o=>ValidatorSlashEvents.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.ValidatorSlashEvents",value:ValidatorSlashEvents.encode(o).finish()})};export const FeePool={typeUrl:"/cosmos.distribution.v1beta1.FeePool",aminoType:"cosmos-sdk/FeePool",is:t=>t&&(t.$typeUrl===FeePool.typeUrl||Array.isArray(t.communityPool)&&(!t.communityPool.length||o.is(t.communityPool[0]))),isSDK:t=>t&&(t.$typeUrl===FeePool.typeUrl||Array.isArray(t.community_pool)&&(!t.community_pool.length||o.isSDK(t.community_pool[0]))),encode(t,e=r.create()){for(const r of t.communityPool)o.encode(r,e.uint32(10).fork()).ldelim();return e},decode(t,r){const i=t instanceof e?t:new e(t);let a=void 0===r?i.len:i.pos+r;const s={communityPool:[]};for(;i.pos<a;){const t=i.uint32();if(t>>>3==1)s.communityPool.push(o.decode(i,i.uint32()));else i.skipType(7&t)}return s},fromJSON:t=>({communityPool:Array.isArray(t?.communityPool)?t.communityPool.map((t=>o.fromJSON(t))):[]}),toJSON(t){const e={};return t.communityPool?e.communityPool=t.communityPool.map((t=>t?o.toJSON(t):void 0)):e.communityPool=[],e},fromPartial(t){const e={communityPool:[]};return e.communityPool=t.communityPool?.map((t=>o.fromPartial(t)))||[],e},fromProtoMsg:o=>FeePool.decode(o.value),toProto:o=>FeePool.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.FeePool",value:FeePool.encode(o).finish()})};export const CommunityPoolSpendProposal={typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",aminoType:"cosmos-sdk/CommunityPoolSpendProposal",is:o=>o&&(o.$typeUrl===CommunityPoolSpendProposal.typeUrl||"string"==typeof o.title&&"string"==typeof o.description&&"string"==typeof o.recipient&&Array.isArray(o.amount)&&(!o.amount.length||t.is(o.amount[0]))),isSDK:o=>o&&(o.$typeUrl===CommunityPoolSpendProposal.typeUrl||"string"==typeof o.title&&"string"==typeof o.description&&"string"==typeof o.recipient&&Array.isArray(o.amount)&&(!o.amount.length||t.isSDK(o.amount[0]))),encode(o,e=r.create()){""!==o.title&&e.uint32(10).string(o.title),""!==o.description&&e.uint32(18).string(o.description),""!==o.recipient&&e.uint32(26).string(o.recipient);for(const r of o.amount)t.encode(r,e.uint32(34).fork()).ldelim();return e},decode(o,r){const i=o instanceof e?o:new e(o);let a=void 0===r?i.len:i.pos+r;const s={$typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",title:"",description:"",recipient:"",amount:[]};for(;i.pos<a;){const o=i.uint32();switch(o>>>3){case 1:s.title=i.string();break;case 2:s.description=i.string();break;case 3:s.recipient=i.string();break;case 4:s.amount.push(t.decode(i,i.uint32()));break;default:i.skipType(7&o)}}return s},fromJSON:o=>({title:a(o.title)?String(o.title):"",description:a(o.description)?String(o.description):"",recipient:a(o.recipient)?String(o.recipient):"",amount:Array.isArray(o?.amount)?o.amount.map((o=>t.fromJSON(o))):[]}),toJSON(o){const e={};return void 0!==o.title&&(e.title=o.title),void 0!==o.description&&(e.description=o.description),void 0!==o.recipient&&(e.recipient=o.recipient),o.amount?e.amount=o.amount.map((o=>o?t.toJSON(o):void 0)):e.amount=[],e},fromPartial(o){const e={$typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",title:"",description:"",recipient:"",amount:[]};return e.title=o.title??"",e.description=o.description??"",e.recipient=o.recipient??"",e.amount=o.amount?.map((o=>t.fromPartial(o)))||[],e},fromProtoMsg:o=>CommunityPoolSpendProposal.decode(o.value),toProto:o=>CommunityPoolSpendProposal.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",value:CommunityPoolSpendProposal.encode(o).finish()})};function d(){return{previousPeriod:BigInt(0),stake:"",height:BigInt(0)}}export const DelegatorStartingInfo={typeUrl:"/cosmos.distribution.v1beta1.DelegatorStartingInfo",aminoType:"cosmos-sdk/DelegatorStartingInfo",is:o=>o&&(o.$typeUrl===DelegatorStartingInfo.typeUrl||"bigint"==typeof o.previousPeriod&&"string"==typeof o.stake&&"bigint"==typeof o.height),isSDK:o=>o&&(o.$typeUrl===DelegatorStartingInfo.typeUrl||"bigint"==typeof o.previous_period&&"string"==typeof o.stake&&"bigint"==typeof o.height),encode:(o,t=r.create())=>(o.previousPeriod!==BigInt(0)&&t.uint32(8).uint64(o.previousPeriod),""!==o.stake&&t.uint32(18).string(i.fromUserInput(o.stake,18).atomics),o.height!==BigInt(0)&&t.uint32(24).uint64(o.height),t),decode(o,t){const r=o instanceof e?o:new e(o);let a=void 0===t?r.len:r.pos+t;const s=d();for(;r.pos<a;){const o=r.uint32();switch(o>>>3){case 1:s.previousPeriod=r.uint64();break;case 2:s.stake=i.fromAtomics(r.string(),18).toString();break;case 3:s.height=r.uint64();break;default:r.skipType(7&o)}}return s},fromJSON:o=>({previousPeriod:a(o.previousPeriod)?BigInt(o.previousPeriod.toString()):BigInt(0),stake:a(o.stake)?String(o.stake):"",height:a(o.height)?BigInt(o.height.toString()):BigInt(0)}),toJSON(o){const t={};return void 0!==o.previousPeriod&&(t.previousPeriod=(o.previousPeriod||BigInt(0)).toString()),void 0!==o.stake&&(t.stake=o.stake),void 0!==o.height&&(t.height=(o.height||BigInt(0)).toString()),t},fromPartial(o){const t=d();return t.previousPeriod=void 0!==o.previousPeriod&&null!==o.previousPeriod?BigInt(o.previousPeriod.toString()):BigInt(0),t.stake=o.stake??"",t.height=void 0!==o.height&&null!==o.height?BigInt(o.height.toString()):BigInt(0),t},fromProtoMsg:o=>DelegatorStartingInfo.decode(o.value),toProto:o=>DelegatorStartingInfo.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.DelegatorStartingInfo",value:DelegatorStartingInfo.encode(o).finish()})};export const DelegationDelegatorReward={typeUrl:"/cosmos.distribution.v1beta1.DelegationDelegatorReward",aminoType:"cosmos-sdk/DelegationDelegatorReward",is:t=>t&&(t.$typeUrl===DelegationDelegatorReward.typeUrl||"string"==typeof t.validatorAddress&&Array.isArray(t.reward)&&(!t.reward.length||o.is(t.reward[0]))),isSDK:t=>t&&(t.$typeUrl===DelegationDelegatorReward.typeUrl||"string"==typeof t.validator_address&&Array.isArray(t.reward)&&(!t.reward.length||o.isSDK(t.reward[0]))),encode(t,e=r.create()){""!==t.validatorAddress&&e.uint32(10).string(t.validatorAddress);for(const r of t.reward)o.encode(r,e.uint32(18).fork()).ldelim();return e},decode(t,r){const i=t instanceof e?t:new e(t);let a=void 0===r?i.len:i.pos+r;const s={validatorAddress:"",reward:[]};for(;i.pos<a;){const t=i.uint32();switch(t>>>3){case 1:s.validatorAddress=i.string();break;case 2:s.reward.push(o.decode(i,i.uint32()));break;default:i.skipType(7&t)}}return s},fromJSON:t=>({validatorAddress:a(t.validatorAddress)?String(t.validatorAddress):"",reward:Array.isArray(t?.reward)?t.reward.map((t=>o.fromJSON(t))):[]}),toJSON(t){const e={};return void 0!==t.validatorAddress&&(e.validatorAddress=t.validatorAddress),t.reward?e.reward=t.reward.map((t=>t?o.toJSON(t):void 0)):e.reward=[],e},fromPartial(t){const e={validatorAddress:"",reward:[]};return e.validatorAddress=t.validatorAddress??"",e.reward=t.reward?.map((t=>o.fromPartial(t)))||[],e},fromProtoMsg:o=>DelegationDelegatorReward.decode(o.value),toProto:o=>DelegationDelegatorReward.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.DelegationDelegatorReward",value:DelegationDelegatorReward.encode(o).finish()})};export const CommunityPoolSpendProposalWithDeposit={typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",aminoType:"cosmos-sdk/CommunityPoolSpendProposalWithDeposit",is:o=>o&&(o.$typeUrl===CommunityPoolSpendProposalWithDeposit.typeUrl||"string"==typeof o.title&&"string"==typeof o.description&&"string"==typeof o.recipient&&"string"==typeof o.amount&&"string"==typeof o.deposit),isSDK:o=>o&&(o.$typeUrl===CommunityPoolSpendProposalWithDeposit.typeUrl||"string"==typeof o.title&&"string"==typeof o.description&&"string"==typeof o.recipient&&"string"==typeof o.amount&&"string"==typeof o.deposit),encode:(o,t=r.create())=>(""!==o.title&&t.uint32(10).string(o.title),""!==o.description&&t.uint32(18).string(o.description),""!==o.recipient&&t.uint32(26).string(o.recipient),""!==o.amount&&t.uint32(34).string(o.amount),""!==o.deposit&&t.uint32(42).string(o.deposit),t),decode(o,t){const r=o instanceof e?o:new e(o);let i=void 0===t?r.len:r.pos+t;const a={$typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",title:"",description:"",recipient:"",amount:"",deposit:""};for(;r.pos<i;){const o=r.uint32();switch(o>>>3){case 1:a.title=r.string();break;case 2:a.description=r.string();break;case 3:a.recipient=r.string();break;case 4:a.amount=r.string();break;case 5:a.deposit=r.string();break;default:r.skipType(7&o)}}return a},fromJSON:o=>({title:a(o.title)?String(o.title):"",description:a(o.description)?String(o.description):"",recipient:a(o.recipient)?String(o.recipient):"",amount:a(o.amount)?String(o.amount):"",deposit:a(o.deposit)?String(o.deposit):""}),toJSON(o){const t={};return void 0!==o.title&&(t.title=o.title),void 0!==o.description&&(t.description=o.description),void 0!==o.recipient&&(t.recipient=o.recipient),void 0!==o.amount&&(t.amount=o.amount),void 0!==o.deposit&&(t.deposit=o.deposit),t},fromPartial(o){const t={$typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",title:"",description:"",recipient:"",amount:"",deposit:""};return t.title=o.title??"",t.description=o.description??"",t.recipient=o.recipient??"",t.amount=o.amount??"",t.deposit=o.deposit??"",t},fromProtoMsg:o=>CommunityPoolSpendProposalWithDeposit.decode(o.value),toProto:o=>CommunityPoolSpendProposalWithDeposit.encode(o).finish(),toProtoMsg:o=>({typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",value:CommunityPoolSpendProposalWithDeposit.encode(o).finish()})};
1
+ "use strict";import{DecCoin as i,Coin as p}from"../../base/v1beta1/coin.js";import{BinaryReader as n,BinaryWriter as l}from"../../../binary.js";import{Decimal as u}from"../../../decimals.js";import{isSet as d}from"../../../helpers.js";import"../../../json-safe.js";function c(){return{communityTax:"",baseProposerReward:"",bonusProposerReward:"",withdrawAddrEnabled:!1}}export const Params={typeUrl:"/cosmos.distribution.v1beta1.Params",aminoType:"cosmos-sdk/x/distribution/Params",is(r){return r&&(r.$typeUrl===Params.typeUrl||typeof r.communityTax=="string"&&typeof r.baseProposerReward=="string"&&typeof r.bonusProposerReward=="string"&&typeof r.withdrawAddrEnabled=="boolean")},isSDK(r){return r&&(r.$typeUrl===Params.typeUrl||typeof r.community_tax=="string"&&typeof r.base_proposer_reward=="string"&&typeof r.bonus_proposer_reward=="string"&&typeof r.withdraw_addr_enabled=="boolean")},encode(r,t=l.create()){return r.communityTax!==""&&t.uint32(10).string(u.fromUserInput(r.communityTax,18).atomics),r.baseProposerReward!==""&&t.uint32(18).string(u.fromUserInput(r.baseProposerReward,18).atomics),r.bonusProposerReward!==""&&t.uint32(26).string(u.fromUserInput(r.bonusProposerReward,18).atomics),r.withdrawAddrEnabled===!0&&t.uint32(32).bool(r.withdrawAddrEnabled),t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=c();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.communityTax=u.fromAtomics(e.string(),18).toString();break;case 2:o.baseProposerReward=u.fromAtomics(e.string(),18).toString();break;case 3:o.bonusProposerReward=u.fromAtomics(e.string(),18).toString();break;case 4:o.withdrawAddrEnabled=e.bool();break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{communityTax:d(r.communityTax)?String(r.communityTax):"",baseProposerReward:d(r.baseProposerReward)?String(r.baseProposerReward):"",bonusProposerReward:d(r.bonusProposerReward)?String(r.bonusProposerReward):"",withdrawAddrEnabled:d(r.withdrawAddrEnabled)?!!r.withdrawAddrEnabled:!1}},toJSON(r){const t={};return r.communityTax!==void 0&&(t.communityTax=r.communityTax),r.baseProposerReward!==void 0&&(t.baseProposerReward=r.baseProposerReward),r.bonusProposerReward!==void 0&&(t.bonusProposerReward=r.bonusProposerReward),r.withdrawAddrEnabled!==void 0&&(t.withdrawAddrEnabled=r.withdrawAddrEnabled),t},fromPartial(r){const t=c();return t.communityTax=r.communityTax??"",t.baseProposerReward=r.baseProposerReward??"",t.bonusProposerReward=r.bonusProposerReward??"",t.withdrawAddrEnabled=r.withdrawAddrEnabled??!1,t},fromProtoMsg(r){return Params.decode(r.value)},toProto(r){return Params.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.Params",value:Params.encode(r).finish()}}};function m(){return{cumulativeRewardRatio:[],referenceCount:0}}export const ValidatorHistoricalRewards={typeUrl:"/cosmos.distribution.v1beta1.ValidatorHistoricalRewards",aminoType:"cosmos-sdk/ValidatorHistoricalRewards",is(r){return r&&(r.$typeUrl===ValidatorHistoricalRewards.typeUrl||Array.isArray(r.cumulativeRewardRatio)&&(!r.cumulativeRewardRatio.length||i.is(r.cumulativeRewardRatio[0]))&&typeof r.referenceCount=="number")},isSDK(r){return r&&(r.$typeUrl===ValidatorHistoricalRewards.typeUrl||Array.isArray(r.cumulative_reward_ratio)&&(!r.cumulative_reward_ratio.length||i.isSDK(r.cumulative_reward_ratio[0]))&&typeof r.reference_count=="number")},encode(r,t=l.create()){for(const e of r.cumulativeRewardRatio)i.encode(e,t.uint32(10).fork()).ldelim();return r.referenceCount!==0&&t.uint32(16).uint32(r.referenceCount),t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=m();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.cumulativeRewardRatio.push(i.decode(e,e.uint32()));break;case 2:o.referenceCount=e.uint32();break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{cumulativeRewardRatio:Array.isArray(r?.cumulativeRewardRatio)?r.cumulativeRewardRatio.map(t=>i.fromJSON(t)):[],referenceCount:d(r.referenceCount)?Number(r.referenceCount):0}},toJSON(r){const t={};return r.cumulativeRewardRatio?t.cumulativeRewardRatio=r.cumulativeRewardRatio.map(e=>e?i.toJSON(e):void 0):t.cumulativeRewardRatio=[],r.referenceCount!==void 0&&(t.referenceCount=Math.round(r.referenceCount)),t},fromPartial(r){const t=m();return t.cumulativeRewardRatio=r.cumulativeRewardRatio?.map(e=>i.fromPartial(e))||[],t.referenceCount=r.referenceCount??0,t},fromProtoMsg(r){return ValidatorHistoricalRewards.decode(r.value)},toProto(r){return ValidatorHistoricalRewards.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.ValidatorHistoricalRewards",value:ValidatorHistoricalRewards.encode(r).finish()}}};function y(){return{rewards:[],period:BigInt(0)}}export const ValidatorCurrentRewards={typeUrl:"/cosmos.distribution.v1beta1.ValidatorCurrentRewards",aminoType:"cosmos-sdk/ValidatorCurrentRewards",is(r){return r&&(r.$typeUrl===ValidatorCurrentRewards.typeUrl||Array.isArray(r.rewards)&&(!r.rewards.length||i.is(r.rewards[0]))&&typeof r.period=="bigint")},isSDK(r){return r&&(r.$typeUrl===ValidatorCurrentRewards.typeUrl||Array.isArray(r.rewards)&&(!r.rewards.length||i.isSDK(r.rewards[0]))&&typeof r.period=="bigint")},encode(r,t=l.create()){for(const e of r.rewards)i.encode(e,t.uint32(10).fork()).ldelim();return r.period!==BigInt(0)&&t.uint32(16).uint64(r.period),t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=y();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.rewards.push(i.decode(e,e.uint32()));break;case 2:o.period=e.uint64();break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{rewards:Array.isArray(r?.rewards)?r.rewards.map(t=>i.fromJSON(t)):[],period:d(r.period)?BigInt(r.period.toString()):BigInt(0)}},toJSON(r){const t={};return r.rewards?t.rewards=r.rewards.map(e=>e?i.toJSON(e):void 0):t.rewards=[],r.period!==void 0&&(t.period=(r.period||BigInt(0)).toString()),t},fromPartial(r){const t=y();return t.rewards=r.rewards?.map(e=>i.fromPartial(e))||[],t.period=r.period!==void 0&&r.period!==null?BigInt(r.period.toString()):BigInt(0),t},fromProtoMsg(r){return ValidatorCurrentRewards.decode(r.value)},toProto(r){return ValidatorCurrentRewards.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.ValidatorCurrentRewards",value:ValidatorCurrentRewards.encode(r).finish()}}};function f(){return{commission:[]}}export const ValidatorAccumulatedCommission={typeUrl:"/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission",aminoType:"cosmos-sdk/ValidatorAccumulatedCommission",is(r){return r&&(r.$typeUrl===ValidatorAccumulatedCommission.typeUrl||Array.isArray(r.commission)&&(!r.commission.length||i.is(r.commission[0])))},isSDK(r){return r&&(r.$typeUrl===ValidatorAccumulatedCommission.typeUrl||Array.isArray(r.commission)&&(!r.commission.length||i.isSDK(r.commission[0])))},encode(r,t=l.create()){for(const e of r.commission)i.encode(e,t.uint32(10).fork()).ldelim();return t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=f();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.commission.push(i.decode(e,e.uint32()));break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{commission:Array.isArray(r?.commission)?r.commission.map(t=>i.fromJSON(t)):[]}},toJSON(r){const t={};return r.commission?t.commission=r.commission.map(e=>e?i.toJSON(e):void 0):t.commission=[],t},fromPartial(r){const t=f();return t.commission=r.commission?.map(e=>i.fromPartial(e))||[],t},fromProtoMsg(r){return ValidatorAccumulatedCommission.decode(r.value)},toProto(r){return ValidatorAccumulatedCommission.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission",value:ValidatorAccumulatedCommission.encode(r).finish()}}};function P(){return{rewards:[]}}export const ValidatorOutstandingRewards={typeUrl:"/cosmos.distribution.v1beta1.ValidatorOutstandingRewards",aminoType:"cosmos-sdk/ValidatorOutstandingRewards",is(r){return r&&(r.$typeUrl===ValidatorOutstandingRewards.typeUrl||Array.isArray(r.rewards)&&(!r.rewards.length||i.is(r.rewards[0])))},isSDK(r){return r&&(r.$typeUrl===ValidatorOutstandingRewards.typeUrl||Array.isArray(r.rewards)&&(!r.rewards.length||i.isSDK(r.rewards[0])))},encode(r,t=l.create()){for(const e of r.rewards)i.encode(e,t.uint32(10).fork()).ldelim();return t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=P();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.rewards.push(i.decode(e,e.uint32()));break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{rewards:Array.isArray(r?.rewards)?r.rewards.map(t=>i.fromJSON(t)):[]}},toJSON(r){const t={};return r.rewards?t.rewards=r.rewards.map(e=>e?i.toJSON(e):void 0):t.rewards=[],t},fromPartial(r){const t=P();return t.rewards=r.rewards?.map(e=>i.fromPartial(e))||[],t},fromProtoMsg(r){return ValidatorOutstandingRewards.decode(r.value)},toProto(r){return ValidatorOutstandingRewards.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.ValidatorOutstandingRewards",value:ValidatorOutstandingRewards.encode(r).finish()}}};function g(){return{validatorPeriod:BigInt(0),fraction:""}}export const ValidatorSlashEvent={typeUrl:"/cosmos.distribution.v1beta1.ValidatorSlashEvent",aminoType:"cosmos-sdk/ValidatorSlashEvent",is(r){return r&&(r.$typeUrl===ValidatorSlashEvent.typeUrl||typeof r.validatorPeriod=="bigint"&&typeof r.fraction=="string")},isSDK(r){return r&&(r.$typeUrl===ValidatorSlashEvent.typeUrl||typeof r.validator_period=="bigint"&&typeof r.fraction=="string")},encode(r,t=l.create()){return r.validatorPeriod!==BigInt(0)&&t.uint32(8).uint64(r.validatorPeriod),r.fraction!==""&&t.uint32(18).string(u.fromUserInput(r.fraction,18).atomics),t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=g();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.validatorPeriod=e.uint64();break;case 2:o.fraction=u.fromAtomics(e.string(),18).toString();break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{validatorPeriod:d(r.validatorPeriod)?BigInt(r.validatorPeriod.toString()):BigInt(0),fraction:d(r.fraction)?String(r.fraction):""}},toJSON(r){const t={};return r.validatorPeriod!==void 0&&(t.validatorPeriod=(r.validatorPeriod||BigInt(0)).toString()),r.fraction!==void 0&&(t.fraction=r.fraction),t},fromPartial(r){const t=g();return t.validatorPeriod=r.validatorPeriod!==void 0&&r.validatorPeriod!==null?BigInt(r.validatorPeriod.toString()):BigInt(0),t.fraction=r.fraction??"",t},fromProtoMsg(r){return ValidatorSlashEvent.decode(r.value)},toProto(r){return ValidatorSlashEvent.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.ValidatorSlashEvent",value:ValidatorSlashEvent.encode(r).finish()}}};function S(){return{validatorSlashEvents:[]}}export const ValidatorSlashEvents={typeUrl:"/cosmos.distribution.v1beta1.ValidatorSlashEvents",aminoType:"cosmos-sdk/ValidatorSlashEvents",is(r){return r&&(r.$typeUrl===ValidatorSlashEvents.typeUrl||Array.isArray(r.validatorSlashEvents)&&(!r.validatorSlashEvents.length||ValidatorSlashEvent.is(r.validatorSlashEvents[0])))},isSDK(r){return r&&(r.$typeUrl===ValidatorSlashEvents.typeUrl||Array.isArray(r.validator_slash_events)&&(!r.validator_slash_events.length||ValidatorSlashEvent.isSDK(r.validator_slash_events[0])))},encode(r,t=l.create()){for(const e of r.validatorSlashEvents)ValidatorSlashEvent.encode(e,t.uint32(10).fork()).ldelim();return t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=S();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.validatorSlashEvents.push(ValidatorSlashEvent.decode(e,e.uint32()));break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{validatorSlashEvents:Array.isArray(r?.validatorSlashEvents)?r.validatorSlashEvents.map(t=>ValidatorSlashEvent.fromJSON(t)):[]}},toJSON(r){const t={};return r.validatorSlashEvents?t.validatorSlashEvents=r.validatorSlashEvents.map(e=>e?ValidatorSlashEvent.toJSON(e):void 0):t.validatorSlashEvents=[],t},fromPartial(r){const t=S();return t.validatorSlashEvents=r.validatorSlashEvents?.map(e=>ValidatorSlashEvent.fromPartial(e))||[],t},fromProtoMsg(r){return ValidatorSlashEvents.decode(r.value)},toProto(r){return ValidatorSlashEvents.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.ValidatorSlashEvents",value:ValidatorSlashEvents.encode(r).finish()}}};function v(){return{communityPool:[]}}export const FeePool={typeUrl:"/cosmos.distribution.v1beta1.FeePool",aminoType:"cosmos-sdk/FeePool",is(r){return r&&(r.$typeUrl===FeePool.typeUrl||Array.isArray(r.communityPool)&&(!r.communityPool.length||i.is(r.communityPool[0])))},isSDK(r){return r&&(r.$typeUrl===FeePool.typeUrl||Array.isArray(r.community_pool)&&(!r.community_pool.length||i.isSDK(r.community_pool[0])))},encode(r,t=l.create()){for(const e of r.communityPool)i.encode(e,t.uint32(10).fork()).ldelim();return t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=v();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.communityPool.push(i.decode(e,e.uint32()));break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{communityPool:Array.isArray(r?.communityPool)?r.communityPool.map(t=>i.fromJSON(t)):[]}},toJSON(r){const t={};return r.communityPool?t.communityPool=r.communityPool.map(e=>e?i.toJSON(e):void 0):t.communityPool=[],t},fromPartial(r){const t=v();return t.communityPool=r.communityPool?.map(e=>i.fromPartial(e))||[],t},fromProtoMsg(r){return FeePool.decode(r.value)},toProto(r){return FeePool.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.FeePool",value:FeePool.encode(r).finish()}}};function w(){return{$typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",title:"",description:"",recipient:"",amount:[]}}export const CommunityPoolSpendProposal={typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",aminoType:"cosmos-sdk/CommunityPoolSpendProposal",is(r){return r&&(r.$typeUrl===CommunityPoolSpendProposal.typeUrl||typeof r.title=="string"&&typeof r.description=="string"&&typeof r.recipient=="string"&&Array.isArray(r.amount)&&(!r.amount.length||p.is(r.amount[0])))},isSDK(r){return r&&(r.$typeUrl===CommunityPoolSpendProposal.typeUrl||typeof r.title=="string"&&typeof r.description=="string"&&typeof r.recipient=="string"&&Array.isArray(r.amount)&&(!r.amount.length||p.isSDK(r.amount[0])))},encode(r,t=l.create()){r.title!==""&&t.uint32(10).string(r.title),r.description!==""&&t.uint32(18).string(r.description),r.recipient!==""&&t.uint32(26).string(r.recipient);for(const e of r.amount)p.encode(e,t.uint32(34).fork()).ldelim();return t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=w();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.title=e.string();break;case 2:o.description=e.string();break;case 3:o.recipient=e.string();break;case 4:o.amount.push(p.decode(e,e.uint32()));break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{title:d(r.title)?String(r.title):"",description:d(r.description)?String(r.description):"",recipient:d(r.recipient)?String(r.recipient):"",amount:Array.isArray(r?.amount)?r.amount.map(t=>p.fromJSON(t)):[]}},toJSON(r){const t={};return r.title!==void 0&&(t.title=r.title),r.description!==void 0&&(t.description=r.description),r.recipient!==void 0&&(t.recipient=r.recipient),r.amount?t.amount=r.amount.map(e=>e?p.toJSON(e):void 0):t.amount=[],t},fromPartial(r){const t=w();return t.title=r.title??"",t.description=r.description??"",t.recipient=r.recipient??"",t.amount=r.amount?.map(e=>p.fromPartial(e))||[],t},fromProtoMsg(r){return CommunityPoolSpendProposal.decode(r.value)},toProto(r){return CommunityPoolSpendProposal.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",value:CommunityPoolSpendProposal.encode(r).finish()}}};function h(){return{previousPeriod:BigInt(0),stake:"",height:BigInt(0)}}export const DelegatorStartingInfo={typeUrl:"/cosmos.distribution.v1beta1.DelegatorStartingInfo",aminoType:"cosmos-sdk/DelegatorStartingInfo",is(r){return r&&(r.$typeUrl===DelegatorStartingInfo.typeUrl||typeof r.previousPeriod=="bigint"&&typeof r.stake=="string"&&typeof r.height=="bigint")},isSDK(r){return r&&(r.$typeUrl===DelegatorStartingInfo.typeUrl||typeof r.previous_period=="bigint"&&typeof r.stake=="string"&&typeof r.height=="bigint")},encode(r,t=l.create()){return r.previousPeriod!==BigInt(0)&&t.uint32(8).uint64(r.previousPeriod),r.stake!==""&&t.uint32(18).string(u.fromUserInput(r.stake,18).atomics),r.height!==BigInt(0)&&t.uint32(24).uint64(r.height),t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=h();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.previousPeriod=e.uint64();break;case 2:o.stake=u.fromAtomics(e.string(),18).toString();break;case 3:o.height=e.uint64();break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{previousPeriod:d(r.previousPeriod)?BigInt(r.previousPeriod.toString()):BigInt(0),stake:d(r.stake)?String(r.stake):"",height:d(r.height)?BigInt(r.height.toString()):BigInt(0)}},toJSON(r){const t={};return r.previousPeriod!==void 0&&(t.previousPeriod=(r.previousPeriod||BigInt(0)).toString()),r.stake!==void 0&&(t.stake=r.stake),r.height!==void 0&&(t.height=(r.height||BigInt(0)).toString()),t},fromPartial(r){const t=h();return t.previousPeriod=r.previousPeriod!==void 0&&r.previousPeriod!==null?BigInt(r.previousPeriod.toString()):BigInt(0),t.stake=r.stake??"",t.height=r.height!==void 0&&r.height!==null?BigInt(r.height.toString()):BigInt(0),t},fromProtoMsg(r){return DelegatorStartingInfo.decode(r.value)},toProto(r){return DelegatorStartingInfo.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.DelegatorStartingInfo",value:DelegatorStartingInfo.encode(r).finish()}}};function R(){return{validatorAddress:"",reward:[]}}export const DelegationDelegatorReward={typeUrl:"/cosmos.distribution.v1beta1.DelegationDelegatorReward",aminoType:"cosmos-sdk/DelegationDelegatorReward",is(r){return r&&(r.$typeUrl===DelegationDelegatorReward.typeUrl||typeof r.validatorAddress=="string"&&Array.isArray(r.reward)&&(!r.reward.length||i.is(r.reward[0])))},isSDK(r){return r&&(r.$typeUrl===DelegationDelegatorReward.typeUrl||typeof r.validator_address=="string"&&Array.isArray(r.reward)&&(!r.reward.length||i.isSDK(r.reward[0])))},encode(r,t=l.create()){r.validatorAddress!==""&&t.uint32(10).string(r.validatorAddress);for(const e of r.reward)i.encode(e,t.uint32(18).fork()).ldelim();return t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=R();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.validatorAddress=e.string();break;case 2:o.reward.push(i.decode(e,e.uint32()));break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{validatorAddress:d(r.validatorAddress)?String(r.validatorAddress):"",reward:Array.isArray(r?.reward)?r.reward.map(t=>i.fromJSON(t)):[]}},toJSON(r){const t={};return r.validatorAddress!==void 0&&(t.validatorAddress=r.validatorAddress),r.reward?t.reward=r.reward.map(e=>e?i.toJSON(e):void 0):t.reward=[],t},fromPartial(r){const t=R();return t.validatorAddress=r.validatorAddress??"",t.reward=r.reward?.map(e=>i.fromPartial(e))||[],t},fromProtoMsg(r){return DelegationDelegatorReward.decode(r.value)},toProto(r){return DelegationDelegatorReward.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.DelegationDelegatorReward",value:DelegationDelegatorReward.encode(r).finish()}}};function D(){return{$typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",title:"",description:"",recipient:"",amount:"",deposit:""}}export const CommunityPoolSpendProposalWithDeposit={typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",aminoType:"cosmos-sdk/CommunityPoolSpendProposalWithDeposit",is(r){return r&&(r.$typeUrl===CommunityPoolSpendProposalWithDeposit.typeUrl||typeof r.title=="string"&&typeof r.description=="string"&&typeof r.recipient=="string"&&typeof r.amount=="string"&&typeof r.deposit=="string")},isSDK(r){return r&&(r.$typeUrl===CommunityPoolSpendProposalWithDeposit.typeUrl||typeof r.title=="string"&&typeof r.description=="string"&&typeof r.recipient=="string"&&typeof r.amount=="string"&&typeof r.deposit=="string")},encode(r,t=l.create()){return r.title!==""&&t.uint32(10).string(r.title),r.description!==""&&t.uint32(18).string(r.description),r.recipient!==""&&t.uint32(26).string(r.recipient),r.amount!==""&&t.uint32(34).string(r.amount),r.deposit!==""&&t.uint32(42).string(r.deposit),t},decode(r,t){const e=r instanceof n?r:new n(r);let s=t===void 0?e.len:e.pos+t;const o=D();for(;e.pos<s;){const a=e.uint32();switch(a>>>3){case 1:o.title=e.string();break;case 2:o.description=e.string();break;case 3:o.recipient=e.string();break;case 4:o.amount=e.string();break;case 5:o.deposit=e.string();break;default:e.skipType(a&7);break}}return o},fromJSON(r){return{title:d(r.title)?String(r.title):"",description:d(r.description)?String(r.description):"",recipient:d(r.recipient)?String(r.recipient):"",amount:d(r.amount)?String(r.amount):"",deposit:d(r.deposit)?String(r.deposit):""}},toJSON(r){const t={};return r.title!==void 0&&(t.title=r.title),r.description!==void 0&&(t.description=r.description),r.recipient!==void 0&&(t.recipient=r.recipient),r.amount!==void 0&&(t.amount=r.amount),r.deposit!==void 0&&(t.deposit=r.deposit),t},fromPartial(r){const t=D();return t.title=r.title??"",t.description=r.description??"",t.recipient=r.recipient??"",t.amount=r.amount??"",t.deposit=r.deposit??"",t},fromProtoMsg(r){return CommunityPoolSpendProposalWithDeposit.decode(r.value)},toProto(r){return CommunityPoolSpendProposalWithDeposit.encode(r).finish()},toProtoMsg(r){return{typeUrl:"/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",value:CommunityPoolSpendProposalWithDeposit.encode(r).finish()}}};
2
+ //# sourceMappingURL=distribution.js.map