carbon-js-sdk 0.0.2 → 0.0.3

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 (1100) hide show
  1. package/README.md +1 -1
  2. package/examples/add_collateral.ts +1 -1
  3. package/examples/add_debt.ts +1 -1
  4. package/examples/add_liquidity.ts +1 -1
  5. package/examples/broadcast_tx.ts +1 -1
  6. package/examples/cancel_all_orders.ts +1 -1
  7. package/examples/cancel_order.ts +1 -1
  8. package/examples/change_num_quotes.ts +1 -1
  9. package/examples/change_swap_fee.ts +1 -1
  10. package/examples/claim_pool_rewards.ts +1 -1
  11. package/examples/connect_sdk.ts +1 -1
  12. package/examples/create_market.ts +1 -1
  13. package/examples/create_oracle.ts +1 -1
  14. package/examples/create_order.ts +1 -1
  15. package/examples/create_pool.ts +1 -1
  16. package/examples/create_pool_with_liquidity.ts +1 -1
  17. package/examples/create_subaccount.ts +1 -1
  18. package/examples/create_token.ts +8 -11
  19. package/examples/create_vault_type.ts +1 -1
  20. package/examples/create_vote.ts +1 -1
  21. package/examples/create_withdrawal.ts +1 -1
  22. package/examples/custom_node.ts +1 -1
  23. package/examples/delegate_tokens.ts +1 -1
  24. package/examples/deposit_proposal.ts +1 -1
  25. package/examples/edit_margin.ts +1 -1
  26. package/examples/edit_order.ts +1 -1
  27. package/examples/initiate_liquidation.ts +1 -1
  28. package/examples/link_pool.ts +1 -1
  29. package/examples/mint.ts +1 -1
  30. package/examples/query.ts +16 -9
  31. package/examples/query_balance.ts +1 -1
  32. package/examples/query_external_balances.ts +40 -0
  33. package/examples/remove_collateral.ts +1 -1
  34. package/examples/remove_debt.ts +1 -1
  35. package/examples/remove_liquidity.ts +1 -1
  36. package/examples/send_tokens.ts +1 -1
  37. package/examples/set_commitment_curve.ts +1 -1
  38. package/examples/set_leverage.ts +1 -1
  39. package/examples/set_msg_fee.ts +1 -1
  40. package/examples/set_reward_curve.ts +1 -1
  41. package/examples/set_rewards_weights.ts +1 -1
  42. package/examples/set_trading_flag.ts +1 -1
  43. package/examples/stake_pool_token.ts +1 -1
  44. package/examples/submit_proposal.ts +1 -1
  45. package/examples/sync_token.ts +1 -1
  46. package/examples/unbind_token.ts +24 -0
  47. package/examples/unlink_pool.ts +1 -1
  48. package/examples/unstake_pool_token.ts +1 -1
  49. package/examples/update_market.ts +1 -1
  50. package/examples/update_profile.ts +1 -1
  51. package/examples/vote_proposal.ts +1 -1
  52. package/lib/CarbonSDK.d.ts.map +1 -1
  53. package/lib/CarbonSDK.js +4 -2
  54. package/lib/CarbonSDK.js.map +1 -1
  55. package/lib/clients/CarbonQueryClient.js +1 -1
  56. package/lib/clients/CarbonQueryClient.js.map +1 -1
  57. package/lib/clients/ETHClient.d.ts +10 -3
  58. package/lib/clients/ETHClient.d.ts.map +1 -1
  59. package/lib/clients/ETHClient.js +41 -36
  60. package/lib/clients/ETHClient.js.map +1 -1
  61. package/lib/clients/InsightsQueryClient.d.ts +3 -3
  62. package/lib/clients/InsightsQueryClient.d.ts.map +1 -1
  63. package/lib/clients/InsightsQueryClient.js +2 -2
  64. package/lib/clients/InsightsQueryClient.js.map +1 -1
  65. package/lib/clients/NEOClient.d.ts +1 -1
  66. package/lib/clients/NEOClient.d.ts.map +1 -1
  67. package/lib/clients/NEOClient.js +6 -6
  68. package/lib/clients/NEOClient.js.map +1 -1
  69. package/lib/clients/TokenClient.d.ts +6 -1
  70. package/lib/clients/TokenClient.d.ts.map +1 -1
  71. package/lib/clients/TokenClient.js +71 -6
  72. package/lib/clients/TokenClient.js.map +1 -1
  73. package/lib/clients/ZILClient.d.ts +1 -1
  74. package/lib/clients/ZILClient.d.ts.map +1 -1
  75. package/lib/clients/ZILClient.js +14 -15
  76. package/lib/clients/ZILClient.js.map +1 -1
  77. package/lib/codec/adl/genesis.d.ts +2 -2
  78. package/lib/codec/adl/genesis.d.ts.map +1 -1
  79. package/lib/codec/adl/genesis.js.map +1 -1
  80. package/lib/codec/bank/event.d.ts +2 -2
  81. package/lib/codec/bank/event.d.ts.map +1 -1
  82. package/lib/codec/bank/event.js +12 -25
  83. package/lib/codec/bank/event.js.map +1 -1
  84. package/lib/codec/book/book.d.ts +2 -2
  85. package/lib/codec/book/book.d.ts.map +1 -1
  86. package/lib/codec/book/book.js +32 -87
  87. package/lib/codec/book/book.js.map +1 -1
  88. package/lib/codec/book/event.d.ts +2 -2
  89. package/lib/codec/book/event.d.ts.map +1 -1
  90. package/lib/codec/book/event.js +20 -30
  91. package/lib/codec/book/event.js.map +1 -1
  92. package/lib/codec/book/genesis.d.ts +2 -2
  93. package/lib/codec/book/genesis.d.ts.map +1 -1
  94. package/lib/codec/book/genesis.js +6 -24
  95. package/lib/codec/book/genesis.js.map +1 -1
  96. package/lib/codec/book/query.d.ts +4 -3
  97. package/lib/codec/book/query.d.ts.map +1 -1
  98. package/lib/codec/book/query.js +32 -54
  99. package/lib/codec/book/query.js.map +1 -1
  100. package/lib/codec/broker/amm.d.ts +2 -2
  101. package/lib/codec/broker/amm.d.ts.map +1 -1
  102. package/lib/codec/broker/amm.js +20 -35
  103. package/lib/codec/broker/amm.js.map +1 -1
  104. package/lib/codec/broker/candlestick.d.ts +2 -2
  105. package/lib/codec/broker/candlestick.d.ts.map +1 -1
  106. package/lib/codec/broker/candlestick.js +38 -60
  107. package/lib/codec/broker/candlestick.js.map +1 -1
  108. package/lib/codec/broker/event.d.ts +2 -2
  109. package/lib/codec/broker/event.d.ts.map +1 -1
  110. package/lib/codec/broker/event.js +76 -114
  111. package/lib/codec/broker/event.js.map +1 -1
  112. package/lib/codec/broker/genesis.d.ts +2 -2
  113. package/lib/codec/broker/genesis.d.ts.map +1 -1
  114. package/lib/codec/broker/genesis.js +4 -12
  115. package/lib/codec/broker/genesis.js.map +1 -1
  116. package/lib/codec/broker/incoming_liquidations.d.ts +2 -2
  117. package/lib/codec/broker/incoming_liquidations.d.ts.map +1 -1
  118. package/lib/codec/broker/incoming_liquidations.js +4 -12
  119. package/lib/codec/broker/incoming_liquidations.js.map +1 -1
  120. package/lib/codec/broker/incoming_pool_swap.d.ts +2 -2
  121. package/lib/codec/broker/incoming_pool_swap.d.ts.map +1 -1
  122. package/lib/codec/broker/incoming_pool_swap.js +30 -46
  123. package/lib/codec/broker/incoming_pool_swap.js.map +1 -1
  124. package/lib/codec/broker/pagination.d.ts +20 -0
  125. package/lib/codec/broker/pagination.d.ts.map +1 -0
  126. package/lib/codec/broker/pagination.js +79 -0
  127. package/lib/codec/broker/pagination.js.map +1 -0
  128. package/lib/codec/broker/query.d.ts +37 -35
  129. package/lib/codec/broker/query.d.ts.map +1 -1
  130. package/lib/codec/broker/query.js +328 -305
  131. package/lib/codec/broker/query.js.map +1 -1
  132. package/lib/codec/broker/trade.d.ts +28 -0
  133. package/lib/codec/broker/trade.d.ts.map +1 -0
  134. package/lib/codec/broker/trade.js +208 -0
  135. package/lib/codec/broker/trade.js.map +1 -0
  136. package/lib/codec/broker/tx.d.ts +2 -2
  137. package/lib/codec/broker/tx.d.ts.map +1 -1
  138. package/lib/codec/broker/tx.js +16 -31
  139. package/lib/codec/broker/tx.js.map +1 -1
  140. package/lib/codec/cdp/event.d.ts +2 -2
  141. package/lib/codec/cdp/event.d.ts.map +1 -1
  142. package/lib/codec/cdp/event.js +36 -55
  143. package/lib/codec/cdp/event.js.map +1 -1
  144. package/lib/codec/cdp/genesis.d.ts +2 -2
  145. package/lib/codec/cdp/genesis.d.ts.map +1 -1
  146. package/lib/codec/cdp/genesis.js +6 -24
  147. package/lib/codec/cdp/genesis.js.map +1 -1
  148. package/lib/codec/cdp/query.d.ts +8 -5
  149. package/lib/codec/cdp/query.d.ts.map +1 -1
  150. package/lib/codec/cdp/query.js +87 -137
  151. package/lib/codec/cdp/query.js.map +1 -1
  152. package/lib/codec/cdp/tx.d.ts +2 -2
  153. package/lib/codec/cdp/tx.d.ts.map +1 -1
  154. package/lib/codec/cdp/tx.js +81 -122
  155. package/lib/codec/cdp/tx.js.map +1 -1
  156. package/lib/codec/cdp/vault.d.ts +2 -2
  157. package/lib/codec/cdp/vault.d.ts.map +1 -1
  158. package/lib/codec/cdp/vault.js +49 -74
  159. package/lib/codec/cdp/vault.js.map +1 -1
  160. package/lib/codec/coin/bridge.d.ts +2 -2
  161. package/lib/codec/coin/bridge.d.ts.map +1 -1
  162. package/lib/codec/coin/bridge.js +32 -48
  163. package/lib/codec/coin/bridge.js.map +1 -1
  164. package/lib/codec/coin/event.d.ts +2 -2
  165. package/lib/codec/coin/event.d.ts.map +1 -1
  166. package/lib/codec/coin/event.js +44 -66
  167. package/lib/codec/coin/event.js.map +1 -1
  168. package/lib/codec/coin/extevents.d.ts +2 -2
  169. package/lib/codec/coin/extevents.d.ts.map +1 -1
  170. package/lib/codec/coin/extevents.js +54 -85
  171. package/lib/codec/coin/extevents.js.map +1 -1
  172. package/lib/codec/coin/genesis.d.ts +2 -2
  173. package/lib/codec/coin/genesis.d.ts.map +1 -1
  174. package/lib/codec/coin/genesis.js +25 -75
  175. package/lib/codec/coin/genesis.js.map +1 -1
  176. package/lib/codec/coin/proposal.d.ts +2 -2
  177. package/lib/codec/coin/proposal.d.ts.map +1 -1
  178. package/lib/codec/coin/proposal.js +16 -24
  179. package/lib/codec/coin/proposal.js.map +1 -1
  180. package/lib/codec/coin/query.d.ts +13 -4
  181. package/lib/codec/coin/query.d.ts.map +1 -1
  182. package/lib/codec/coin/query.js +207 -309
  183. package/lib/codec/coin/query.js.map +1 -1
  184. package/lib/codec/coin/token.d.ts +2 -2
  185. package/lib/codec/coin/token.d.ts.map +1 -1
  186. package/lib/codec/coin/token.js +142 -223
  187. package/lib/codec/coin/token.js.map +1 -1
  188. package/lib/codec/coin/tx.d.ts +2 -2
  189. package/lib/codec/coin/tx.d.ts.map +1 -1
  190. package/lib/codec/coin/tx.js +204 -314
  191. package/lib/codec/coin/tx.js.map +1 -1
  192. package/lib/codec/confio/proofs.d.ts.map +1 -1
  193. package/lib/codec/confio/proofs.js +131 -32
  194. package/lib/codec/confio/proofs.js.map +1 -1
  195. package/lib/codec/cosmos/auth/v1beta1/auth.d.ts +2 -2
  196. package/lib/codec/cosmos/auth/v1beta1/auth.d.ts.map +1 -1
  197. package/lib/codec/cosmos/auth/v1beta1/auth.js +92 -141
  198. package/lib/codec/cosmos/auth/v1beta1/auth.js.map +1 -1
  199. package/lib/codec/cosmos/auth/v1beta1/export.d.ts +1 -1
  200. package/lib/codec/cosmos/auth/v1beta1/export.d.ts.map +1 -1
  201. package/lib/codec/cosmos/auth/v1beta1/export.js +3 -1
  202. package/lib/codec/cosmos/auth/v1beta1/export.js.map +1 -1
  203. package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +2 -2
  204. package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts.map +1 -1
  205. package/lib/codec/cosmos/auth/v1beta1/genesis.js +12 -24
  206. package/lib/codec/cosmos/auth/v1beta1/genesis.js.map +1 -1
  207. package/lib/codec/cosmos/auth/v1beta1/query.d.ts +32 -2
  208. package/lib/codec/cosmos/auth/v1beta1/query.d.ts.map +1 -1
  209. package/lib/codec/cosmos/auth/v1beta1/query.js +145 -31
  210. package/lib/codec/cosmos/auth/v1beta1/query.js.map +1 -1
  211. package/lib/codec/cosmos/authz/v1beta1/authz.d.ts +40 -0
  212. package/lib/codec/cosmos/authz/v1beta1/authz.d.ts.map +1 -0
  213. package/lib/codec/cosmos/authz/v1beta1/authz.js +148 -0
  214. package/lib/codec/cosmos/authz/v1beta1/authz.js.map +1 -0
  215. package/lib/codec/cosmos/authz/v1beta1/event.d.ts +41 -0
  216. package/lib/codec/cosmos/authz/v1beta1/event.d.ts.map +1 -0
  217. package/lib/codec/cosmos/authz/v1beta1/event.js +153 -0
  218. package/lib/codec/cosmos/authz/v1beta1/event.js.map +1 -0
  219. package/lib/codec/cosmos/authz/v1beta1/genesis.d.ts +35 -0
  220. package/lib/codec/cosmos/authz/v1beta1/genesis.d.ts.map +1 -0
  221. package/lib/codec/cosmos/authz/v1beta1/genesis.js +178 -0
  222. package/lib/codec/cosmos/authz/v1beta1/genesis.js.map +1 -0
  223. package/lib/codec/cosmos/authz/v1beta1/query.d.ts +54 -0
  224. package/lib/codec/cosmos/authz/v1beta1/query.d.ts.map +1 -0
  225. package/lib/codec/cosmos/authz/v1beta1/query.js +187 -0
  226. package/lib/codec/cosmos/authz/v1beta1/query.js.map +1 -0
  227. package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +126 -0
  228. package/lib/codec/cosmos/authz/v1beta1/tx.d.ts.map +1 -0
  229. package/lib/codec/cosmos/authz/v1beta1/tx.js +387 -0
  230. package/lib/codec/cosmos/authz/v1beta1/tx.js.map +1 -0
  231. package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +24 -0
  232. package/lib/codec/cosmos/bank/v1beta1/authz.d.ts.map +1 -0
  233. package/lib/codec/cosmos/bank/v1beta1/authz.js +65 -0
  234. package/lib/codec/cosmos/bank/v1beta1/authz.js.map +1 -0
  235. package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +12 -2
  236. package/lib/codec/cosmos/bank/v1beta1/bank.d.ts.map +1 -1
  237. package/lib/codec/cosmos/bank/v1beta1/bank.js +99 -142
  238. package/lib/codec/cosmos/bank/v1beta1/bank.js.map +1 -1
  239. package/lib/codec/cosmos/bank/v1beta1/export.d.ts +1 -0
  240. package/lib/codec/cosmos/bank/v1beta1/export.d.ts.map +1 -1
  241. package/lib/codec/cosmos/bank/v1beta1/export.js +3 -1
  242. package/lib/codec/cosmos/bank/v1beta1/export.js.map +1 -1
  243. package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +6 -3
  244. package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts.map +1 -1
  245. package/lib/codec/cosmos/bank/v1beta1/genesis.js +24 -67
  246. package/lib/codec/cosmos/bank/v1beta1/genesis.js.map +1 -1
  247. package/lib/codec/cosmos/bank/v1beta1/query.d.ts +10 -6
  248. package/lib/codec/cosmos/bank/v1beta1/query.d.ts.map +1 -1
  249. package/lib/codec/cosmos/bank/v1beta1/query.js +136 -166
  250. package/lib/codec/cosmos/bank/v1beta1/query.js.map +1 -1
  251. package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +2 -2
  252. package/lib/codec/cosmos/bank/v1beta1/tx.d.ts.map +1 -1
  253. package/lib/codec/cosmos/bank/v1beta1/tx.js +18 -49
  254. package/lib/codec/cosmos/bank/v1beta1/tx.js.map +1 -1
  255. package/lib/codec/cosmos/base/abci/v1beta1/abci.d.ts +2 -2
  256. package/lib/codec/cosmos/base/abci/v1beta1/abci.d.ts.map +1 -1
  257. package/lib/codec/cosmos/base/abci/v1beta1/abci.js +188 -326
  258. package/lib/codec/cosmos/base/abci/v1beta1/abci.js.map +1 -1
  259. package/lib/codec/cosmos/base/kv/v1beta1/kv.d.ts +2 -2
  260. package/lib/codec/cosmos/base/kv/v1beta1/kv.d.ts.map +1 -1
  261. package/lib/codec/cosmos/base/kv/v1beta1/kv.js +12 -20
  262. package/lib/codec/cosmos/base/kv/v1beta1/kv.js.map +1 -1
  263. package/lib/codec/cosmos/base/query/v1beta1/pagination.d.ts +4 -2
  264. package/lib/codec/cosmos/base/query/v1beta1/pagination.d.ts.map +1 -1
  265. package/lib/codec/cosmos/base/query/v1beta1/pagination.js +50 -51
  266. package/lib/codec/cosmos/base/query/v1beta1/pagination.js.map +1 -1
  267. package/lib/codec/cosmos/base/reflection/v1beta1/reflection.d.ts +2 -2
  268. package/lib/codec/cosmos/base/reflection/v1beta1/reflection.d.ts.map +1 -1
  269. package/lib/codec/cosmos/base/reflection/v1beta1/reflection.js +12 -32
  270. package/lib/codec/cosmos/base/reflection/v1beta1/reflection.js.map +1 -1
  271. package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.d.ts +414 -0
  272. package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.d.ts.map +1 -0
  273. package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.js +1439 -0
  274. package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.js.map +1 -0
  275. package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +2 -2
  276. package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts.map +1 -1
  277. package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.js +32 -52
  278. package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.js.map +1 -1
  279. package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts +2 -2
  280. package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts.map +1 -1
  281. package/lib/codec/cosmos/base/store/v1beta1/commit_info.js +36 -58
  282. package/lib/codec/cosmos/base/store/v1beta1/commit_info.js.map +1 -1
  283. package/lib/codec/cosmos/base/store/v1beta1/listening.d.ts +29 -0
  284. package/lib/codec/cosmos/base/store/v1beta1/listening.d.ts.map +1 -0
  285. package/lib/codec/cosmos/base/store/v1beta1/listening.js +130 -0
  286. package/lib/codec/cosmos/base/store/v1beta1/listening.js.map +1 -0
  287. package/lib/codec/cosmos/base/store/v1beta1/snapshot.d.ts +2 -2
  288. package/lib/codec/cosmos/base/store/v1beta1/snapshot.d.ts.map +1 -1
  289. package/lib/codec/cosmos/base/store/v1beta1/snapshot.js +40 -56
  290. package/lib/codec/cosmos/base/store/v1beta1/snapshot.js.map +1 -1
  291. package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +3 -2
  292. package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts.map +1 -1
  293. package/lib/codec/cosmos/base/tendermint/v1beta1/query.js +206 -313
  294. package/lib/codec/cosmos/base/tendermint/v1beta1/query.js.map +1 -1
  295. package/lib/codec/cosmos/base/v1beta1/coin.d.ts +2 -2
  296. package/lib/codec/cosmos/base/v1beta1/coin.d.ts.map +1 -1
  297. package/lib/codec/cosmos/base/v1beta1/coin.js +20 -36
  298. package/lib/codec/cosmos/base/v1beta1/coin.js.map +1 -1
  299. package/lib/codec/cosmos/capability/v1beta1/capability.d.ts +2 -2
  300. package/lib/codec/cosmos/capability/v1beta1/capability.d.ts.map +1 -1
  301. package/lib/codec/cosmos/capability/v1beta1/capability.js +20 -36
  302. package/lib/codec/cosmos/capability/v1beta1/capability.js.map +1 -1
  303. package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts +2 -2
  304. package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts.map +1 -1
  305. package/lib/codec/cosmos/capability/v1beta1/genesis.js +28 -48
  306. package/lib/codec/cosmos/capability/v1beta1/genesis.js.map +1 -1
  307. package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts +2 -2
  308. package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts.map +1 -1
  309. package/lib/codec/cosmos/crisis/v1beta1/genesis.js +8 -12
  310. package/lib/codec/cosmos/crisis/v1beta1/genesis.js.map +1 -1
  311. package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts +2 -2
  312. package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts.map +1 -1
  313. package/lib/codec/cosmos/crisis/v1beta1/tx.js +13 -19
  314. package/lib/codec/cosmos/crisis/v1beta1/tx.js.map +1 -1
  315. package/lib/codec/cosmos/crypto/ed25519/keys.d.ts +11 -8
  316. package/lib/codec/cosmos/crypto/ed25519/keys.d.ts.map +1 -1
  317. package/lib/codec/cosmos/crypto/ed25519/keys.js +8 -8
  318. package/lib/codec/cosmos/crypto/ed25519/keys.js.map +1 -1
  319. package/lib/codec/cosmos/crypto/multisig/keys.d.ts +2 -2
  320. package/lib/codec/cosmos/crypto/multisig/keys.d.ts.map +1 -1
  321. package/lib/codec/cosmos/crypto/multisig/keys.js +8 -19
  322. package/lib/codec/cosmos/crypto/multisig/keys.js.map +1 -1
  323. package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.d.ts +2 -2
  324. package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.d.ts.map +1 -1
  325. package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.js +12 -23
  326. package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.js.map +1 -1
  327. package/lib/codec/cosmos/crypto/secp256k1/keys.d.ts +2 -2
  328. package/lib/codec/cosmos/crypto/secp256k1/keys.d.ts.map +1 -1
  329. package/lib/codec/cosmos/crypto/secp256k1/keys.js +8 -8
  330. package/lib/codec/cosmos/crypto/secp256k1/keys.js.map +1 -1
  331. package/lib/codec/cosmos/crypto/secp256r1/keys.d.ts +36 -0
  332. package/lib/codec/cosmos/crypto/secp256r1/keys.d.ts.map +1 -0
  333. package/lib/codec/cosmos/crypto/secp256r1/keys.js +139 -0
  334. package/lib/codec/cosmos/crypto/secp256r1/keys.js.map +1 -0
  335. package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +2 -6
  336. package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts.map +1 -1
  337. package/lib/codec/cosmos/distribution/v1beta1/distribution.js +134 -300
  338. package/lib/codec/cosmos/distribution/v1beta1/distribution.js.map +1 -1
  339. package/lib/codec/cosmos/distribution/v1beta1/export.d.ts +1 -1
  340. package/lib/codec/cosmos/distribution/v1beta1/export.d.ts.map +1 -1
  341. package/lib/codec/cosmos/distribution/v1beta1/export.js +1 -3
  342. package/lib/codec/cosmos/distribution/v1beta1/export.js.map +1 -1
  343. package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +2 -2
  344. package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts.map +1 -1
  345. package/lib/codec/cosmos/distribution/v1beta1/genesis.js +143 -307
  346. package/lib/codec/cosmos/distribution/v1beta1/genesis.js.map +1 -1
  347. package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +2 -33
  348. package/lib/codec/cosmos/distribution/v1beta1/query.d.ts.map +1 -1
  349. package/lib/codec/cosmos/distribution/v1beta1/query.js +115 -315
  350. package/lib/codec/cosmos/distribution/v1beta1/query.js.map +1 -1
  351. package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +2 -2
  352. package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts.map +1 -1
  353. package/lib/codec/cosmos/distribution/v1beta1/tx.js +29 -55
  354. package/lib/codec/cosmos/distribution/v1beta1/tx.js.map +1 -1
  355. package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts +2 -2
  356. package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts.map +1 -1
  357. package/lib/codec/cosmos/evidence/v1beta1/evidence.js +24 -37
  358. package/lib/codec/cosmos/evidence/v1beta1/evidence.js.map +1 -1
  359. package/lib/codec/cosmos/evidence/v1beta1/genesis.d.ts +2 -2
  360. package/lib/codec/cosmos/evidence/v1beta1/genesis.d.ts.map +1 -1
  361. package/lib/codec/cosmos/evidence/v1beta1/genesis.js +4 -12
  362. package/lib/codec/cosmos/evidence/v1beta1/genesis.js.map +1 -1
  363. package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +2 -2
  364. package/lib/codec/cosmos/evidence/v1beta1/query.d.ts.map +1 -1
  365. package/lib/codec/cosmos/evidence/v1beta1/query.js +32 -52
  366. package/lib/codec/cosmos/evidence/v1beta1/query.js.map +1 -1
  367. package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts +2 -2
  368. package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts.map +1 -1
  369. package/lib/codec/cosmos/evidence/v1beta1/tx.js +16 -22
  370. package/lib/codec/cosmos/evidence/v1beta1/tx.js.map +1 -1
  371. package/lib/codec/cosmos/feegrant/v1beta1/feegrant.d.ts +96 -0
  372. package/lib/codec/cosmos/feegrant/v1beta1/feegrant.d.ts.map +1 -0
  373. package/lib/codec/cosmos/feegrant/v1beta1/feegrant.js +360 -0
  374. package/lib/codec/cosmos/feegrant/v1beta1/feegrant.js.map +1 -0
  375. package/lib/codec/cosmos/feegrant/v1beta1/genesis.d.ts +21 -0
  376. package/lib/codec/cosmos/feegrant/v1beta1/genesis.d.ts.map +1 -0
  377. package/lib/codec/cosmos/feegrant/v1beta1/genesis.js +65 -0
  378. package/lib/codec/cosmos/feegrant/v1beta1/genesis.js.map +1 -0
  379. package/lib/codec/cosmos/feegrant/v1beta1/query.d.ts +80 -0
  380. package/lib/codec/cosmos/feegrant/v1beta1/query.d.ts.map +1 -0
  381. package/lib/codec/cosmos/feegrant/v1beta1/query.js +272 -0
  382. package/lib/codec/cosmos/feegrant/v1beta1/query.js.map +1 -0
  383. package/lib/codec/cosmos/feegrant/v1beta1/tx.d.ts +85 -0
  384. package/lib/codec/cosmos/feegrant/v1beta1/tx.d.ts.map +1 -0
  385. package/lib/codec/cosmos/feegrant/v1beta1/tx.js +230 -0
  386. package/lib/codec/cosmos/feegrant/v1beta1/tx.js.map +1 -0
  387. package/lib/codec/cosmos/genutil/v1beta1/genesis.d.ts +2 -2
  388. package/lib/codec/cosmos/genutil/v1beta1/genesis.d.ts.map +1 -1
  389. package/lib/codec/cosmos/genutil/v1beta1/genesis.js +4 -12
  390. package/lib/codec/cosmos/genutil/v1beta1/genesis.js.map +1 -1
  391. package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +2 -2
  392. package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts.map +1 -1
  393. package/lib/codec/cosmos/gov/v1beta1/genesis.js +42 -86
  394. package/lib/codec/cosmos/gov/v1beta1/genesis.js.map +1 -1
  395. package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +22 -2
  396. package/lib/codec/cosmos/gov/v1beta1/gov.d.ts.map +1 -1
  397. package/lib/codec/cosmos/gov/v1beta1/gov.js +210 -227
  398. package/lib/codec/cosmos/gov/v1beta1/gov.js.map +1 -1
  399. package/lib/codec/cosmos/gov/v1beta1/query.d.ts +2 -2
  400. package/lib/codec/cosmos/gov/v1beta1/query.d.ts.map +1 -1
  401. package/lib/codec/cosmos/gov/v1beta1/query.js +189 -301
  402. package/lib/codec/cosmos/gov/v1beta1/query.js.map +1 -1
  403. package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +29 -3
  404. package/lib/codec/cosmos/gov/v1beta1/tx.d.ts.map +1 -1
  405. package/lib/codec/cosmos/gov/v1beta1/tx.js +174 -101
  406. package/lib/codec/cosmos/gov/v1beta1/tx.js.map +1 -1
  407. package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +2 -2
  408. package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts.map +1 -1
  409. package/lib/codec/cosmos/mint/v1beta1/genesis.js +16 -24
  410. package/lib/codec/cosmos/mint/v1beta1/genesis.js.map +1 -1
  411. package/lib/codec/cosmos/mint/v1beta1/mint.d.ts +2 -2
  412. package/lib/codec/cosmos/mint/v1beta1/mint.d.ts.map +1 -1
  413. package/lib/codec/cosmos/mint/v1beta1/mint.js +37 -56
  414. package/lib/codec/cosmos/mint/v1beta1/mint.js.map +1 -1
  415. package/lib/codec/cosmos/mint/v1beta1/query.d.ts +2 -2
  416. package/lib/codec/cosmos/mint/v1beta1/query.d.ts.map +1 -1
  417. package/lib/codec/cosmos/mint/v1beta1/query.js +16 -21
  418. package/lib/codec/cosmos/mint/v1beta1/query.js.map +1 -1
  419. package/lib/codec/cosmos/params/v1beta1/params.d.ts +2 -2
  420. package/lib/codec/cosmos/params/v1beta1/params.d.ts.map +1 -1
  421. package/lib/codec/cosmos/params/v1beta1/params.js +22 -43
  422. package/lib/codec/cosmos/params/v1beta1/params.js.map +1 -1
  423. package/lib/codec/cosmos/params/v1beta1/query.d.ts +2 -2
  424. package/lib/codec/cosmos/params/v1beta1/query.d.ts.map +1 -1
  425. package/lib/codec/cosmos/params/v1beta1/query.js +14 -24
  426. package/lib/codec/cosmos/params/v1beta1/query.js.map +1 -1
  427. package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +3 -3
  428. package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts.map +1 -1
  429. package/lib/codec/cosmos/slashing/v1beta1/genesis.js +48 -93
  430. package/lib/codec/cosmos/slashing/v1beta1/genesis.js.map +1 -1
  431. package/lib/codec/cosmos/slashing/v1beta1/query.d.ts +2 -2
  432. package/lib/codec/cosmos/slashing/v1beta1/query.d.ts.map +1 -1
  433. package/lib/codec/cosmos/slashing/v1beta1/query.js +40 -66
  434. package/lib/codec/cosmos/slashing/v1beta1/query.js.map +1 -1
  435. package/lib/codec/cosmos/slashing/v1beta1/slashing.d.ts +15 -8
  436. package/lib/codec/cosmos/slashing/v1beta1/slashing.d.ts.map +1 -1
  437. package/lib/codec/cosmos/slashing/v1beta1/slashing.js +73 -99
  438. package/lib/codec/cosmos/slashing/v1beta1/slashing.js.map +1 -1
  439. package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts +2 -2
  440. package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts.map +1 -1
  441. package/lib/codec/cosmos/slashing/v1beta1/tx.js +4 -6
  442. package/lib/codec/cosmos/slashing/v1beta1/tx.js.map +1 -1
  443. package/lib/codec/cosmos/staking/v1beta1/authz.d.ts +59 -0
  444. package/lib/codec/cosmos/staking/v1beta1/authz.d.ts.map +1 -0
  445. package/lib/codec/cosmos/staking/v1beta1/authz.js +215 -0
  446. package/lib/codec/cosmos/staking/v1beta1/authz.js.map +1 -0
  447. package/lib/codec/cosmos/staking/v1beta1/export.d.ts +1 -0
  448. package/lib/codec/cosmos/staking/v1beta1/export.d.ts.map +1 -1
  449. package/lib/codec/cosmos/staking/v1beta1/export.js +8 -2
  450. package/lib/codec/cosmos/staking/v1beta1/export.js.map +1 -1
  451. package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +2 -2
  452. package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts.map +1 -1
  453. package/lib/codec/cosmos/staking/v1beta1/genesis.js +41 -106
  454. package/lib/codec/cosmos/staking/v1beta1/genesis.js.map +1 -1
  455. package/lib/codec/cosmos/staking/v1beta1/query.d.ts +2 -2
  456. package/lib/codec/cosmos/staking/v1beta1/query.d.ts.map +1 -1
  457. package/lib/codec/cosmos/staking/v1beta1/query.js +270 -458
  458. package/lib/codec/cosmos/staking/v1beta1/query.js.map +1 -1
  459. package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +2 -2
  460. package/lib/codec/cosmos/staking/v1beta1/staking.d.ts.map +1 -1
  461. package/lib/codec/cosmos/staking/v1beta1/staking.js +308 -520
  462. package/lib/codec/cosmos/staking/v1beta1/staking.js.map +1 -1
  463. package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +2 -2
  464. package/lib/codec/cosmos/staking/v1beta1/tx.d.ts.map +1 -1
  465. package/lib/codec/cosmos/staking/v1beta1/tx.js +128 -198
  466. package/lib/codec/cosmos/staking/v1beta1/tx.js.map +1 -1
  467. package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts +2 -2
  468. package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts.map +1 -1
  469. package/lib/codec/cosmos/tx/signing/v1beta1/signing.js +64 -106
  470. package/lib/codec/cosmos/tx/signing/v1beta1/signing.js.map +1 -1
  471. package/lib/codec/cosmos/tx/v1beta1/service.d.ts +10 -3
  472. package/lib/codec/cosmos/tx/v1beta1/service.d.ts.map +1 -1
  473. package/lib/codec/cosmos/tx/v1beta1/service.js +106 -156
  474. package/lib/codec/cosmos/tx/v1beta1/service.js.map +1 -1
  475. package/lib/codec/cosmos/tx/v1beta1/tx.d.ts +7 -3
  476. package/lib/codec/cosmos/tx/v1beta1/tx.d.ts.map +1 -1
  477. package/lib/codec/cosmos/tx/v1beta1/tx.js +164 -297
  478. package/lib/codec/cosmos/tx/v1beta1/tx.js.map +1 -1
  479. package/lib/codec/cosmos/upgrade/v1beta1/query.d.ts +49 -5
  480. package/lib/codec/cosmos/upgrade/v1beta1/query.d.ts.map +1 -1
  481. package/lib/codec/cosmos/upgrade/v1beta1/query.js +172 -62
  482. package/lib/codec/cosmos/upgrade/v1beta1/query.js.map +1 -1
  483. package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts +26 -9
  484. package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts.map +1 -1
  485. package/lib/codec/cosmos/upgrade/v1beta1/upgrade.js +116 -81
  486. package/lib/codec/cosmos/upgrade/v1beta1/upgrade.js.map +1 -1
  487. package/lib/codec/cosmos/vesting/v1beta1/export.d.ts +1 -1
  488. package/lib/codec/cosmos/vesting/v1beta1/export.d.ts.map +1 -1
  489. package/lib/codec/cosmos/vesting/v1beta1/export.js +2 -1
  490. package/lib/codec/cosmos/vesting/v1beta1/export.js.map +1 -1
  491. package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts +2 -2
  492. package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts.map +1 -1
  493. package/lib/codec/cosmos/vesting/v1beta1/tx.js +25 -44
  494. package/lib/codec/cosmos/vesting/v1beta1/tx.js.map +1 -1
  495. package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts +17 -2
  496. package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts.map +1 -1
  497. package/lib/codec/cosmos/vesting/v1beta1/vesting.js +136 -164
  498. package/lib/codec/cosmos/vesting/v1beta1/vesting.js.map +1 -1
  499. package/lib/codec/fee/fee.d.ts +2 -2
  500. package/lib/codec/fee/fee.d.ts.map +1 -1
  501. package/lib/codec/fee/fee.js +6 -12
  502. package/lib/codec/fee/fee.js.map +1 -1
  503. package/lib/codec/fee/genesis.d.ts +2 -2
  504. package/lib/codec/fee/genesis.d.ts.map +1 -1
  505. package/lib/codec/fee/genesis.js +4 -12
  506. package/lib/codec/fee/genesis.js.map +1 -1
  507. package/lib/codec/fee/proposal.d.ts +2 -2
  508. package/lib/codec/fee/proposal.d.ts.map +1 -1
  509. package/lib/codec/fee/proposal.js +16 -24
  510. package/lib/codec/fee/proposal.js.map +1 -1
  511. package/lib/codec/fee/query.d.ts +5 -4
  512. package/lib/codec/fee/query.d.ts.map +1 -1
  513. package/lib/codec/fee/query.js +37 -59
  514. package/lib/codec/fee/query.js.map +1 -1
  515. package/lib/codec/fee/tx.d.ts +2 -2
  516. package/lib/codec/fee/tx.d.ts.map +1 -1
  517. package/lib/codec/fee/tx.js +12 -18
  518. package/lib/codec/fee/tx.js.map +1 -1
  519. package/lib/codec/google/protobuf/any.d.ts +2 -2
  520. package/lib/codec/google/protobuf/any.d.ts.map +1 -1
  521. package/lib/codec/google/protobuf/any.js +8 -10
  522. package/lib/codec/google/protobuf/any.js.map +1 -1
  523. package/lib/codec/google/protobuf/duration.d.ts +2 -2
  524. package/lib/codec/google/protobuf/duration.d.ts.map +1 -1
  525. package/lib/codec/google/protobuf/duration.js +12 -18
  526. package/lib/codec/google/protobuf/duration.js.map +1 -1
  527. package/lib/codec/google/protobuf/timestamp.d.ts +2 -2
  528. package/lib/codec/google/protobuf/timestamp.d.ts.map +1 -1
  529. package/lib/codec/google/protobuf/timestamp.js +12 -18
  530. package/lib/codec/google/protobuf/timestamp.js.map +1 -1
  531. package/lib/codec/google/protobuf/wrappers.d.ts +2 -2
  532. package/lib/codec/google/protobuf/wrappers.d.ts.map +1 -1
  533. package/lib/codec/google/protobuf/wrappers.js +44 -64
  534. package/lib/codec/google/protobuf/wrappers.js.map +1 -1
  535. package/lib/codec/ibc/applications/transfer/v1/genesis.d.ts.map +1 -1
  536. package/lib/codec/ibc/applications/transfer/v1/genesis.js +6 -2
  537. package/lib/codec/ibc/applications/transfer/v1/genesis.js.map +1 -1
  538. package/lib/codec/ibc/applications/transfer/v1/query.d.ts.map +1 -1
  539. package/lib/codec/ibc/applications/transfer/v1/query.js +6 -2
  540. package/lib/codec/ibc/applications/transfer/v1/query.js.map +1 -1
  541. package/lib/codec/ibc/applications/transfer/v1/transfer.d.ts.map +1 -1
  542. package/lib/codec/ibc/applications/transfer/v1/transfer.js +42 -10
  543. package/lib/codec/ibc/applications/transfer/v1/transfer.js.map +1 -1
  544. package/lib/codec/ibc/applications/transfer/v1/tx.d.ts.map +1 -1
  545. package/lib/codec/ibc/applications/transfer/v1/tx.js +24 -5
  546. package/lib/codec/ibc/applications/transfer/v1/tx.js.map +1 -1
  547. package/lib/codec/ibc/core/channel/v1/channel.d.ts.map +1 -1
  548. package/lib/codec/ibc/core/channel/v1/channel.js +124 -28
  549. package/lib/codec/ibc/core/channel/v1/channel.js.map +1 -1
  550. package/lib/codec/ibc/core/channel/v1/genesis.d.ts.map +1 -1
  551. package/lib/codec/ibc/core/channel/v1/genesis.js +18 -9
  552. package/lib/codec/ibc/core/channel/v1/genesis.js.map +1 -1
  553. package/lib/codec/ibc/core/channel/v1/query.d.ts.map +1 -1
  554. package/lib/codec/ibc/core/channel/v1/query.js +205 -53
  555. package/lib/codec/ibc/core/channel/v1/query.js.map +1 -1
  556. package/lib/codec/ibc/core/channel/v1/tx.d.ts.map +1 -1
  557. package/lib/codec/ibc/core/channel/v1/tx.js +212 -44
  558. package/lib/codec/ibc/core/channel/v1/tx.js.map +1 -1
  559. package/lib/codec/ibc/core/client/v1/client.d.ts.map +1 -1
  560. package/lib/codec/ibc/core/client/v1/client.js +30 -8
  561. package/lib/codec/ibc/core/client/v1/client.js.map +1 -1
  562. package/lib/codec/ibc/core/client/v1/genesis.d.ts.map +1 -1
  563. package/lib/codec/ibc/core/client/v1/genesis.js +27 -9
  564. package/lib/codec/ibc/core/client/v1/genesis.js.map +1 -1
  565. package/lib/codec/ibc/core/client/v1/query.d.ts.map +1 -1
  566. package/lib/codec/ibc/core/client/v1/query.js +36 -11
  567. package/lib/codec/ibc/core/client/v1/query.js.map +1 -1
  568. package/lib/codec/ibc/core/client/v1/tx.d.ts.map +1 -1
  569. package/lib/codec/ibc/core/client/v1/tx.js +56 -14
  570. package/lib/codec/ibc/core/client/v1/tx.js.map +1 -1
  571. package/lib/codec/ibc/core/commitment/v1/commitment.d.ts.map +1 -1
  572. package/lib/codec/ibc/core/commitment/v1/commitment.js +12 -4
  573. package/lib/codec/ibc/core/commitment/v1/commitment.js.map +1 -1
  574. package/lib/codec/ibc/core/connection/v1/connection.d.ts.map +1 -1
  575. package/lib/codec/ibc/core/connection/v1/connection.js +54 -14
  576. package/lib/codec/ibc/core/connection/v1/connection.js.map +1 -1
  577. package/lib/codec/ibc/core/connection/v1/genesis.js +1 -1
  578. package/lib/codec/ibc/core/connection/v1/genesis.js.map +1 -1
  579. package/lib/codec/ibc/core/connection/v1/query.d.ts.map +1 -1
  580. package/lib/codec/ibc/core/connection/v1/query.js +54 -17
  581. package/lib/codec/ibc/core/connection/v1/query.js.map +1 -1
  582. package/lib/codec/ibc/core/connection/v1/tx.d.ts.map +1 -1
  583. package/lib/codec/ibc/core/connection/v1/tx.js +105 -22
  584. package/lib/codec/ibc/core/connection/v1/tx.js.map +1 -1
  585. package/lib/codec/ibc/lightclients/localhost/v1/localhost.d.ts.map +1 -1
  586. package/lib/codec/ibc/lightclients/localhost/v1/localhost.js +6 -2
  587. package/lib/codec/ibc/lightclients/localhost/v1/localhost.js.map +1 -1
  588. package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.d.ts.map +1 -1
  589. package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.js +140 -39
  590. package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.js.map +1 -1
  591. package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts.map +1 -1
  592. package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.js +42 -12
  593. package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.js.map +1 -1
  594. package/lib/codec/index.d.ts +28 -54
  595. package/lib/codec/index.d.ts.map +1 -1
  596. package/lib/codec/index.js +295 -371
  597. package/lib/codec/index.js.map +1 -1
  598. package/lib/codec/inflation/genesis.d.ts +2 -2
  599. package/lib/codec/inflation/genesis.d.ts.map +1 -1
  600. package/lib/codec/inflation/genesis.js +12 -19
  601. package/lib/codec/inflation/genesis.js.map +1 -1
  602. package/lib/codec/inflation/inflation.d.ts +2 -2
  603. package/lib/codec/inflation/inflation.d.ts.map +1 -1
  604. package/lib/codec/inflation/inflation.js +20 -30
  605. package/lib/codec/inflation/inflation.js.map +1 -1
  606. package/lib/codec/inflation/query.d.ts +3 -6
  607. package/lib/codec/inflation/query.d.ts.map +1 -1
  608. package/lib/codec/inflation/query.js +8 -12
  609. package/lib/codec/inflation/query.js.map +1 -1
  610. package/lib/codec/insurance/event.d.ts +2 -2
  611. package/lib/codec/insurance/event.d.ts.map +1 -1
  612. package/lib/codec/insurance/event.js.map +1 -1
  613. package/lib/codec/insurance/fund.d.ts +2 -2
  614. package/lib/codec/insurance/fund.d.ts.map +1 -1
  615. package/lib/codec/insurance/fund.js +12 -16
  616. package/lib/codec/insurance/fund.js.map +1 -1
  617. package/lib/codec/insurance/genesis.d.ts +2 -2
  618. package/lib/codec/insurance/genesis.d.ts.map +1 -1
  619. package/lib/codec/insurance/genesis.js +6 -28
  620. package/lib/codec/insurance/genesis.js.map +1 -1
  621. package/lib/codec/insurance/query.d.ts +29 -0
  622. package/lib/codec/insurance/query.d.ts.map +1 -1
  623. package/lib/codec/insurance/query.js +89 -1
  624. package/lib/codec/insurance/query.js.map +1 -1
  625. package/lib/codec/leverage/event.d.ts +2 -2
  626. package/lib/codec/leverage/event.d.ts.map +1 -1
  627. package/lib/codec/leverage/event.js +16 -24
  628. package/lib/codec/leverage/event.js.map +1 -1
  629. package/lib/codec/leverage/genesis.d.ts +4 -4
  630. package/lib/codec/leverage/genesis.d.ts.map +1 -1
  631. package/lib/codec/leverage/genesis.js +11 -21
  632. package/lib/codec/leverage/genesis.js.map +1 -1
  633. package/lib/codec/leverage/leverage.d.ts +10 -10
  634. package/lib/codec/leverage/leverage.d.ts.map +1 -1
  635. package/lib/codec/leverage/leverage.js +34 -74
  636. package/lib/codec/leverage/leverage.js.map +1 -1
  637. package/lib/codec/leverage/query.d.ts +3 -3
  638. package/lib/codec/leverage/query.d.ts.map +1 -1
  639. package/lib/codec/leverage/query.js +30 -50
  640. package/lib/codec/leverage/query.js.map +1 -1
  641. package/lib/codec/leverage/tx.d.ts +2 -2
  642. package/lib/codec/leverage/tx.d.ts.map +1 -1
  643. package/lib/codec/leverage/tx.js +12 -18
  644. package/lib/codec/leverage/tx.js.map +1 -1
  645. package/lib/codec/liquidation/genesis.d.ts +2 -2
  646. package/lib/codec/liquidation/genesis.d.ts.map +1 -1
  647. package/lib/codec/liquidation/genesis.js +22 -36
  648. package/lib/codec/liquidation/genesis.js.map +1 -1
  649. package/lib/codec/liquidation/history.d.ts +2 -2
  650. package/lib/codec/liquidation/history.d.ts.map +1 -1
  651. package/lib/codec/liquidation/history.js +44 -66
  652. package/lib/codec/liquidation/history.js.map +1 -1
  653. package/lib/codec/liquidation/outstanding_position.d.ts +2 -2
  654. package/lib/codec/liquidation/outstanding_position.d.ts.map +1 -1
  655. package/lib/codec/liquidation/outstanding_position.js +25 -46
  656. package/lib/codec/liquidation/outstanding_position.js.map +1 -1
  657. package/lib/codec/liquidation/query.d.ts +5 -5
  658. package/lib/codec/liquidation/query.d.ts.map +1 -1
  659. package/lib/codec/liquidation/query.js +68 -106
  660. package/lib/codec/liquidation/query.js.map +1 -1
  661. package/lib/codec/liquiditypool/event.d.ts +2 -2
  662. package/lib/codec/liquiditypool/event.d.ts.map +1 -1
  663. package/lib/codec/liquiditypool/event.js +84 -129
  664. package/lib/codec/liquiditypool/event.js.map +1 -1
  665. package/lib/codec/liquiditypool/genesis.d.ts +10 -11
  666. package/lib/codec/liquiditypool/genesis.d.ts.map +1 -1
  667. package/lib/codec/liquiditypool/genesis.js +93 -183
  668. package/lib/codec/liquiditypool/genesis.js.map +1 -1
  669. package/lib/codec/liquiditypool/liquiditypool.d.ts +2 -2
  670. package/lib/codec/liquiditypool/liquiditypool.d.ts.map +1 -1
  671. package/lib/codec/liquiditypool/liquiditypool.js +116 -194
  672. package/lib/codec/liquiditypool/liquiditypool.js.map +1 -1
  673. package/lib/codec/liquiditypool/proposal.d.ts +11 -23
  674. package/lib/codec/liquiditypool/proposal.d.ts.map +1 -1
  675. package/lib/codec/liquiditypool/proposal.js +105 -237
  676. package/lib/codec/liquiditypool/proposal.js.map +1 -1
  677. package/lib/codec/liquiditypool/query.d.ts +20 -21
  678. package/lib/codec/liquiditypool/query.d.ts.map +1 -1
  679. package/lib/codec/liquiditypool/query.js +266 -468
  680. package/lib/codec/liquiditypool/query.js.map +1 -1
  681. package/lib/codec/liquiditypool/reward.d.ts +120 -119
  682. package/lib/codec/liquiditypool/reward.d.ts.map +1 -1
  683. package/lib/codec/liquiditypool/reward.js +566 -705
  684. package/lib/codec/liquiditypool/reward.js.map +1 -1
  685. package/lib/codec/liquiditypool/tx.d.ts +31 -73
  686. package/lib/codec/liquiditypool/tx.d.ts.map +1 -1
  687. package/lib/codec/liquiditypool/tx.js +372 -770
  688. package/lib/codec/liquiditypool/tx.js.map +1 -1
  689. package/lib/codec/market/event.d.ts +2 -2
  690. package/lib/codec/market/event.d.ts.map +1 -1
  691. package/lib/codec/market/event.js +12 -18
  692. package/lib/codec/market/event.js.map +1 -1
  693. package/lib/codec/market/genesis.d.ts +2 -2
  694. package/lib/codec/market/genesis.d.ts.map +1 -1
  695. package/lib/codec/market/genesis.js +4 -12
  696. package/lib/codec/market/genesis.js.map +1 -1
  697. package/lib/codec/market/market.d.ts +2 -2
  698. package/lib/codec/market/market.d.ts.map +1 -1
  699. package/lib/codec/market/market.js +226 -330
  700. package/lib/codec/market/market.js.map +1 -1
  701. package/lib/codec/market/proposal.d.ts +2 -2
  702. package/lib/codec/market/proposal.d.ts.map +1 -1
  703. package/lib/codec/market/proposal.js +32 -48
  704. package/lib/codec/market/proposal.js.map +1 -1
  705. package/lib/codec/market/query.d.ts +5 -4
  706. package/lib/codec/market/query.d.ts.map +1 -1
  707. package/lib/codec/market/query.js +37 -59
  708. package/lib/codec/market/query.js.map +1 -1
  709. package/lib/codec/market/tx.d.ts +2 -2
  710. package/lib/codec/market/tx.d.ts.map +1 -1
  711. package/lib/codec/market/tx.js +28 -42
  712. package/lib/codec/market/tx.js.map +1 -1
  713. package/lib/codec/misc/message.d.ts +3 -2
  714. package/lib/codec/misc/message.d.ts.map +1 -1
  715. package/lib/codec/misc/message.js +55 -25
  716. package/lib/codec/misc/message.js.map +1 -1
  717. package/lib/codec/misc/message_type.d.ts +2 -2
  718. package/lib/codec/misc/message_type.d.ts.map +1 -1
  719. package/lib/codec/misc/message_type.js +4 -6
  720. package/lib/codec/misc/message_type.js.map +1 -1
  721. package/lib/codec/misc/query.d.ts +4 -4
  722. package/lib/codec/misc/query.d.ts.map +1 -1
  723. package/lib/codec/misc/query.js +21 -45
  724. package/lib/codec/misc/query.js.map +1 -1
  725. package/lib/codec/misc/transaction.d.ts +2 -2
  726. package/lib/codec/misc/transaction.d.ts.map +1 -1
  727. package/lib/codec/misc/transaction.js +48 -79
  728. package/lib/codec/misc/transaction.js.map +1 -1
  729. package/lib/codec/oracle/event.d.ts +2 -2
  730. package/lib/codec/oracle/event.d.ts.map +1 -1
  731. package/lib/codec/oracle/event.js +40 -60
  732. package/lib/codec/oracle/event.js.map +1 -1
  733. package/lib/codec/oracle/genesis.d.ts +2 -2
  734. package/lib/codec/oracle/genesis.d.ts.map +1 -1
  735. package/lib/codec/oracle/genesis.js +8 -36
  736. package/lib/codec/oracle/genesis.js.map +1 -1
  737. package/lib/codec/oracle/oracle.d.ts +2 -2
  738. package/lib/codec/oracle/oracle.d.ts.map +1 -1
  739. package/lib/codec/oracle/oracle.js +100 -152
  740. package/lib/codec/oracle/oracle.js.map +1 -1
  741. package/lib/codec/oracle/proposal.d.ts +2 -2
  742. package/lib/codec/oracle/proposal.d.ts.map +1 -1
  743. package/lib/codec/oracle/proposal.js +16 -24
  744. package/lib/codec/oracle/proposal.js.map +1 -1
  745. package/lib/codec/oracle/query.d.ts +77 -69
  746. package/lib/codec/oracle/query.d.ts.map +1 -1
  747. package/lib/codec/oracle/query.js +210 -212
  748. package/lib/codec/oracle/query.js.map +1 -1
  749. package/lib/codec/oracle/tx.d.ts +2 -2
  750. package/lib/codec/oracle/tx.d.ts.map +1 -1
  751. package/lib/codec/oracle/tx.js +84 -130
  752. package/lib/codec/oracle/tx.js.map +1 -1
  753. package/lib/codec/order/event.d.ts +2 -2
  754. package/lib/codec/order/event.d.ts.map +1 -1
  755. package/lib/codec/order/event.js +26 -38
  756. package/lib/codec/order/event.js.map +1 -1
  757. package/lib/codec/order/genesis.d.ts +2 -2
  758. package/lib/codec/order/genesis.d.ts.map +1 -1
  759. package/lib/codec/order/genesis.js +46 -107
  760. package/lib/codec/order/genesis.js.map +1 -1
  761. package/lib/codec/order/order.d.ts +37 -2
  762. package/lib/codec/order/order.d.ts.map +1 -1
  763. package/lib/codec/order/order.js +528 -236
  764. package/lib/codec/order/order.js.map +1 -1
  765. package/lib/codec/order/query.d.ts +13 -8
  766. package/lib/codec/order/query.d.ts.map +1 -1
  767. package/lib/codec/order/query.js +90 -89
  768. package/lib/codec/order/query.js.map +1 -1
  769. package/lib/codec/order/tx.d.ts +2 -2
  770. package/lib/codec/order/tx.d.ts.map +1 -1
  771. package/lib/codec/order/tx.js +88 -138
  772. package/lib/codec/order/tx.js.map +1 -1
  773. package/lib/codec/position/event.d.ts +2 -2
  774. package/lib/codec/position/event.d.ts.map +1 -1
  775. package/lib/codec/position/event.js +56 -82
  776. package/lib/codec/position/event.js.map +1 -1
  777. package/lib/codec/position/genesis.d.ts +2 -2
  778. package/lib/codec/position/genesis.d.ts.map +1 -1
  779. package/lib/codec/position/genesis.js +4 -12
  780. package/lib/codec/position/genesis.js.map +1 -1
  781. package/lib/codec/position/position.d.ts +25 -2
  782. package/lib/codec/position/position.d.ts.map +1 -1
  783. package/lib/codec/position/position.js +291 -69
  784. package/lib/codec/position/position.js.map +1 -1
  785. package/lib/codec/position/query.d.ts +8 -8
  786. package/lib/codec/position/query.d.ts.map +1 -1
  787. package/lib/codec/position/query.js +87 -122
  788. package/lib/codec/position/query.js.map +1 -1
  789. package/lib/codec/position/tx.d.ts +2 -2
  790. package/lib/codec/position/tx.d.ts.map +1 -1
  791. package/lib/codec/position/tx.js +12 -18
  792. package/lib/codec/position/tx.js.map +1 -1
  793. package/lib/codec/pricing/event.d.ts +3 -3
  794. package/lib/codec/pricing/event.d.ts.map +1 -1
  795. package/lib/codec/pricing/event.js +14 -18
  796. package/lib/codec/pricing/event.js.map +1 -1
  797. package/lib/codec/pricing/genesis.d.ts +2 -2
  798. package/lib/codec/pricing/genesis.d.ts.map +1 -1
  799. package/lib/codec/pricing/genesis.js +4 -12
  800. package/lib/codec/pricing/genesis.js.map +1 -1
  801. package/lib/codec/pricing/pricing.d.ts +2 -2
  802. package/lib/codec/pricing/pricing.d.ts.map +1 -1
  803. package/lib/codec/pricing/pricing.js +46 -69
  804. package/lib/codec/pricing/pricing.js.map +1 -1
  805. package/lib/codec/pricing/proposal.d.ts +2 -2
  806. package/lib/codec/pricing/proposal.d.ts.map +1 -1
  807. package/lib/codec/pricing/proposal.js +24 -37
  808. package/lib/codec/pricing/proposal.js.map +1 -1
  809. package/lib/codec/pricing/query.d.ts +22 -20
  810. package/lib/codec/pricing/query.d.ts.map +1 -1
  811. package/lib/codec/pricing/query.js +63 -92
  812. package/lib/codec/pricing/query.js.map +1 -1
  813. package/lib/codec/profile/event.d.ts +2 -2
  814. package/lib/codec/profile/event.d.ts.map +1 -1
  815. package/lib/codec/profile/event.js +12 -18
  816. package/lib/codec/profile/event.js.map +1 -1
  817. package/lib/codec/profile/genesis.d.ts +2 -2
  818. package/lib/codec/profile/genesis.d.ts.map +1 -1
  819. package/lib/codec/profile/genesis.js +4 -12
  820. package/lib/codec/profile/genesis.js.map +1 -1
  821. package/lib/codec/profile/profile.d.ts +2 -2
  822. package/lib/codec/profile/profile.d.ts.map +1 -1
  823. package/lib/codec/profile/profile.js +12 -18
  824. package/lib/codec/profile/profile.js.map +1 -1
  825. package/lib/codec/profile/query.d.ts +5 -4
  826. package/lib/codec/profile/query.d.ts.map +1 -1
  827. package/lib/codec/profile/query.js +42 -66
  828. package/lib/codec/profile/query.js.map +1 -1
  829. package/lib/codec/profile/tx.d.ts +2 -2
  830. package/lib/codec/profile/tx.d.ts.map +1 -1
  831. package/lib/codec/profile/tx.js +12 -18
  832. package/lib/codec/profile/tx.js.map +1 -1
  833. package/lib/codec/query/pagination.d.ts +30 -0
  834. package/lib/codec/query/pagination.d.ts.map +1 -0
  835. package/lib/codec/query/pagination.js +127 -0
  836. package/lib/codec/query/pagination.js.map +1 -0
  837. package/lib/codec/staking/event.d.ts +4 -4
  838. package/lib/codec/staking/event.d.ts.map +1 -1
  839. package/lib/codec/staking/event.js +62 -79
  840. package/lib/codec/staking/event.js.map +1 -1
  841. package/lib/codec/subaccount/genesis.d.ts +2 -2
  842. package/lib/codec/subaccount/genesis.d.ts.map +1 -1
  843. package/lib/codec/subaccount/genesis.js +4 -12
  844. package/lib/codec/subaccount/genesis.js.map +1 -1
  845. package/lib/codec/subaccount/query.d.ts +11 -8
  846. package/lib/codec/subaccount/query.d.ts.map +1 -1
  847. package/lib/codec/subaccount/query.js +84 -114
  848. package/lib/codec/subaccount/query.js.map +1 -1
  849. package/lib/codec/subaccount/subaccount.d.ts +2 -2
  850. package/lib/codec/subaccount/subaccount.d.ts.map +1 -1
  851. package/lib/codec/subaccount/subaccount.js +20 -30
  852. package/lib/codec/subaccount/subaccount.js.map +1 -1
  853. package/lib/codec/subaccount/tx.d.ts +2 -2
  854. package/lib/codec/subaccount/tx.d.ts.map +1 -1
  855. package/lib/codec/subaccount/tx.js +25 -37
  856. package/lib/codec/subaccount/tx.js.map +1 -1
  857. package/lib/codec/tendermint/abci/types.d.ts +2 -2
  858. package/lib/codec/tendermint/abci/types.d.ts.map +1 -1
  859. package/lib/codec/tendermint/abci/types.js +871 -1373
  860. package/lib/codec/tendermint/abci/types.js.map +1 -1
  861. package/lib/codec/tendermint/crypto/keys.d.ts +2 -2
  862. package/lib/codec/tendermint/crypto/keys.d.ts.map +1 -1
  863. package/lib/codec/tendermint/crypto/keys.js +8 -6
  864. package/lib/codec/tendermint/crypto/keys.js.map +1 -1
  865. package/lib/codec/tendermint/crypto/proof.d.ts +2 -2
  866. package/lib/codec/tendermint/crypto/proof.d.ts.map +1 -1
  867. package/lib/codec/tendermint/crypto/proof.js +62 -101
  868. package/lib/codec/tendermint/crypto/proof.js.map +1 -1
  869. package/lib/codec/tendermint/p2p/types.d.ts +2 -2
  870. package/lib/codec/tendermint/p2p/types.d.ts.map +1 -1
  871. package/lib/codec/tendermint/p2p/types.js +80 -126
  872. package/lib/codec/tendermint/p2p/types.js.map +1 -1
  873. package/lib/codec/tendermint/types/block.d.ts +2 -2
  874. package/lib/codec/tendermint/types/block.d.ts.map +1 -1
  875. package/lib/codec/tendermint/types/block.js +32 -48
  876. package/lib/codec/tendermint/types/block.js.map +1 -1
  877. package/lib/codec/tendermint/types/evidence.d.ts +2 -2
  878. package/lib/codec/tendermint/types/evidence.d.ts.map +1 -1
  879. package/lib/codec/tendermint/types/evidence.js +93 -158
  880. package/lib/codec/tendermint/types/evidence.js.map +1 -1
  881. package/lib/codec/tendermint/types/params.d.ts +2 -2
  882. package/lib/codec/tendermint/types/params.d.ts.map +1 -1
  883. package/lib/codec/tendermint/types/params.js +108 -170
  884. package/lib/codec/tendermint/types/params.js.map +1 -1
  885. package/lib/codec/tendermint/types/types.d.ts +2 -2
  886. package/lib/codec/tendermint/types/types.d.ts.map +1 -1
  887. package/lib/codec/tendermint/types/types.js +305 -436
  888. package/lib/codec/tendermint/types/types.js.map +1 -1
  889. package/lib/codec/tendermint/types/validator.d.ts +2 -2
  890. package/lib/codec/tendermint/types/validator.d.ts.map +1 -1
  891. package/lib/codec/tendermint/types/validator.js +64 -104
  892. package/lib/codec/tendermint/types/validator.js.map +1 -1
  893. package/lib/codec/tendermint/version/types.d.ts +2 -2
  894. package/lib/codec/tendermint/version/types.d.ts.map +1 -1
  895. package/lib/codec/tendermint/version/types.js +28 -42
  896. package/lib/codec/tendermint/version/types.js.map +1 -1
  897. package/lib/constant/generic.js +1 -1
  898. package/lib/constant/generic.js.map +1 -1
  899. package/lib/constant/index.d.ts +1 -0
  900. package/lib/constant/index.d.ts.map +1 -1
  901. package/lib/constant/index.js +1 -0
  902. package/lib/constant/index.js.map +1 -1
  903. package/lib/constant/network.d.ts +2 -2
  904. package/lib/constant/network.d.ts.map +1 -1
  905. package/lib/constant/network.js +25 -23
  906. package/lib/constant/network.js.map +1 -1
  907. package/lib/constant/node.d.ts +6 -0
  908. package/lib/constant/node.d.ts.map +1 -0
  909. package/lib/constant/node.js +35 -0
  910. package/lib/constant/node.js.map +1 -0
  911. package/lib/index.d.ts +2 -1
  912. package/lib/index.d.ts.map +1 -1
  913. package/lib/index.js +8 -1
  914. package/lib/index.js.map +1 -1
  915. package/lib/insights/balance.d.ts +1 -1
  916. package/lib/insights/balance.d.ts.map +1 -1
  917. package/lib/insights/block.d.ts +1 -1
  918. package/lib/insights/block.d.ts.map +1 -1
  919. package/lib/insights/node.d.ts +16 -2
  920. package/lib/insights/node.d.ts.map +1 -1
  921. package/lib/insights/pool.d.ts +1 -1
  922. package/lib/insights/pool.d.ts.map +1 -1
  923. package/lib/insights/transaction.d.ts +1 -1
  924. package/lib/insights/transaction.d.ts.map +1 -1
  925. package/lib/insights/user.d.ts +1 -1
  926. package/lib/insights/user.d.ts.map +1 -1
  927. package/lib/modules/admin.d.ts +64 -15
  928. package/lib/modules/admin.d.ts.map +1 -1
  929. package/lib/modules/admin.js +137 -43
  930. package/lib/modules/admin.js.map +1 -1
  931. package/lib/modules/fee.d.ts.map +1 -1
  932. package/lib/modules/fee.js +2 -1
  933. package/lib/modules/fee.js.map +1 -1
  934. package/lib/modules/gov.d.ts +2 -2
  935. package/lib/modules/gov.d.ts.map +1 -1
  936. package/lib/modules/gov.js +21 -23
  937. package/lib/modules/gov.js.map +1 -1
  938. package/lib/modules/liquiditypool.d.ts +2 -2
  939. package/lib/modules/liquiditypool.d.ts.map +1 -1
  940. package/lib/modules/liquiditypool.js +23 -22
  941. package/lib/modules/liquiditypool.js.map +1 -1
  942. package/lib/modules/market.js +1 -1
  943. package/lib/modules/market.js.map +1 -1
  944. package/lib/modules/order.js +4 -4
  945. package/lib/modules/order.js.map +1 -1
  946. package/lib/modules/subaccount.d.ts +4 -0
  947. package/lib/modules/subaccount.d.ts.map +1 -1
  948. package/lib/modules/subaccount.js +13 -0
  949. package/lib/modules/subaccount.js.map +1 -1
  950. package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.js +1 -1
  951. package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.js.map +1 -1
  952. package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.js +3 -3
  953. package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.js.map +1 -1
  954. package/lib/provider/account/NeoLedgerAccount/NeonLedger.js +1 -1
  955. package/lib/provider/account/NeoLedgerAccount/NeonLedger.js.map +1 -1
  956. package/lib/provider/account/index.d.ts +1 -1
  957. package/lib/provider/account/index.d.ts.map +1 -1
  958. package/lib/provider/account/index.js +4 -1
  959. package/lib/provider/account/index.js.map +1 -1
  960. package/lib/provider/amino/AminoTypesMap.d.ts +4 -0
  961. package/lib/provider/amino/AminoTypesMap.d.ts.map +1 -0
  962. package/lib/provider/amino/AminoTypesMap.js +9 -0
  963. package/lib/provider/amino/AminoTypesMap.js.map +1 -0
  964. package/lib/provider/amino/index.d.ts +2 -0
  965. package/lib/provider/amino/index.d.ts.map +1 -0
  966. package/lib/provider/amino/index.js +9 -0
  967. package/lib/provider/amino/index.js.map +1 -0
  968. package/lib/provider/amino/types/admin.d.ts +5 -0
  969. package/lib/provider/amino/types/admin.d.ts.map +1 -0
  970. package/lib/provider/amino/types/admin.js +177 -0
  971. package/lib/provider/amino/types/admin.js.map +1 -0
  972. package/lib/provider/amino/types/bank.d.ts +5 -0
  973. package/lib/provider/amino/types/bank.d.ts.map +1 -0
  974. package/lib/provider/amino/types/bank.js +16 -0
  975. package/lib/provider/amino/types/bank.js.map +1 -0
  976. package/lib/provider/amino/types/broker.d.ts +5 -0
  977. package/lib/provider/amino/types/broker.d.ts.map +1 -0
  978. package/lib/provider/amino/types/broker.js +16 -0
  979. package/lib/provider/amino/types/broker.js.map +1 -0
  980. package/lib/provider/amino/types/cdp.d.ts +5 -0
  981. package/lib/provider/amino/types/cdp.d.ts.map +1 -0
  982. package/lib/provider/amino/types/cdp.js +46 -0
  983. package/lib/provider/amino/types/cdp.js.map +1 -0
  984. package/lib/provider/amino/types/coin.d.ts +5 -0
  985. package/lib/provider/amino/types/coin.d.ts.map +1 -0
  986. package/lib/provider/amino/types/coin.js +25 -0
  987. package/lib/provider/amino/types/coin.js.map +1 -0
  988. package/lib/provider/amino/types/gov.d.ts +5 -0
  989. package/lib/provider/amino/types/gov.d.ts.map +1 -0
  990. package/lib/provider/amino/types/gov.js +377 -0
  991. package/lib/provider/amino/types/gov.js.map +1 -0
  992. package/lib/provider/amino/types/index.d.ts +16 -0
  993. package/lib/provider/amino/types/index.d.ts.map +1 -0
  994. package/lib/provider/amino/types/index.js +37 -0
  995. package/lib/provider/amino/types/index.js.map +1 -0
  996. package/lib/provider/amino/types/leverage.d.ts +5 -0
  997. package/lib/provider/amino/types/leverage.d.ts.map +1 -0
  998. package/lib/provider/amino/types/leverage.js +18 -0
  999. package/lib/provider/amino/types/leverage.js.map +1 -0
  1000. package/lib/provider/amino/types/liquidityPool.d.ts +5 -0
  1001. package/lib/provider/amino/types/liquidityPool.d.ts.map +1 -0
  1002. package/lib/provider/amino/types/liquidityPool.js +95 -0
  1003. package/lib/provider/amino/types/liquidityPool.js.map +1 -0
  1004. package/lib/provider/amino/types/market.d.ts +5 -0
  1005. package/lib/provider/amino/types/market.d.ts.map +1 -0
  1006. package/lib/provider/amino/types/market.js +28 -0
  1007. package/lib/provider/amino/types/market.js.map +1 -0
  1008. package/lib/provider/amino/types/oracle.d.ts +5 -0
  1009. package/lib/provider/amino/types/oracle.d.ts.map +1 -0
  1010. package/lib/provider/amino/types/oracle.js +18 -0
  1011. package/lib/provider/amino/types/oracle.js.map +1 -0
  1012. package/lib/provider/amino/types/order.d.ts +5 -0
  1013. package/lib/provider/amino/types/order.d.ts.map +1 -0
  1014. package/lib/provider/amino/types/order.js +69 -0
  1015. package/lib/provider/amino/types/order.js.map +1 -0
  1016. package/lib/provider/amino/types/position.d.ts +5 -0
  1017. package/lib/provider/amino/types/position.d.ts.map +1 -0
  1018. package/lib/provider/amino/types/position.js +18 -0
  1019. package/lib/provider/amino/types/position.js.map +1 -0
  1020. package/lib/provider/amino/types/profile.d.ts +5 -0
  1021. package/lib/provider/amino/types/profile.d.ts.map +1 -0
  1022. package/lib/provider/amino/types/profile.js +32 -0
  1023. package/lib/provider/amino/types/profile.js.map +1 -0
  1024. package/lib/provider/amino/types/staking.d.ts +5 -0
  1025. package/lib/provider/amino/types/staking.d.ts.map +1 -0
  1026. package/lib/provider/amino/types/staking.js +34 -0
  1027. package/lib/provider/amino/types/staking.js.map +1 -0
  1028. package/lib/provider/amino/types/subaccount.d.ts +5 -0
  1029. package/lib/provider/amino/types/subaccount.d.ts.map +1 -0
  1030. package/lib/provider/amino/types/subaccount.js +28 -0
  1031. package/lib/provider/amino/types/subaccount.js.map +1 -0
  1032. package/lib/provider/amino/utils.d.ts +42 -0
  1033. package/lib/provider/amino/utils.d.ts.map +1 -0
  1034. package/lib/provider/amino/utils.js +187 -0
  1035. package/lib/provider/amino/utils.js.map +1 -0
  1036. package/lib/provider/index.d.ts +6 -4
  1037. package/lib/provider/index.d.ts.map +1 -1
  1038. package/lib/provider/index.js +9 -4
  1039. package/lib/provider/index.js.map +1 -1
  1040. package/lib/provider/keplr/KeplrAccount.js +1 -1
  1041. package/lib/provider/keplr/KeplrAccount.js.map +1 -1
  1042. package/lib/provider/ledger/ledger.js +2 -2
  1043. package/lib/provider/ledger/ledger.js.map +1 -1
  1044. package/lib/provider/metamask/MetaMask.d.ts.map +1 -1
  1045. package/lib/provider/metamask/MetaMask.js +5 -10
  1046. package/lib/provider/metamask/MetaMask.js.map +1 -1
  1047. package/lib/provider/zilpay/Zilpay.d.ts +34 -0
  1048. package/lib/provider/zilpay/Zilpay.d.ts.map +1 -0
  1049. package/lib/provider/zilpay/Zilpay.js +83 -0
  1050. package/lib/provider/zilpay/Zilpay.js.map +1 -0
  1051. package/lib/provider/zilpay/index.d.ts +2 -0
  1052. package/lib/provider/zilpay/index.d.ts.map +1 -0
  1053. package/lib/provider/zilpay/index.js +14 -0
  1054. package/lib/provider/zilpay/index.js.map +1 -0
  1055. package/lib/util/address.js +12 -12
  1056. package/lib/util/address.js.map +1 -1
  1057. package/lib/util/api.js +5 -5
  1058. package/lib/util/api.js.map +1 -1
  1059. package/lib/util/blockchain.d.ts.map +1 -1
  1060. package/lib/util/blockchain.js +5 -1
  1061. package/lib/util/blockchain.js.map +1 -1
  1062. package/lib/util/fetch.js +1 -1
  1063. package/lib/util/fetch.js.map +1 -1
  1064. package/lib/util/generic.js +3 -3
  1065. package/lib/util/generic.js.map +1 -1
  1066. package/lib/util/gov.d.ts +25 -0
  1067. package/lib/util/gov.d.ts.map +1 -0
  1068. package/lib/util/gov.js +59 -0
  1069. package/lib/util/gov.js.map +1 -0
  1070. package/lib/util/index.d.ts +2 -0
  1071. package/lib/util/index.d.ts.map +1 -1
  1072. package/lib/util/index.js +3 -1
  1073. package/lib/util/index.js.map +1 -1
  1074. package/lib/util/number.js +5 -5
  1075. package/lib/util/number.js.map +1 -1
  1076. package/lib/util/transferfees.d.ts +5 -0
  1077. package/lib/util/transferfees.d.ts.map +1 -1
  1078. package/lib/util/transferfees.js +7 -0
  1079. package/lib/util/transferfees.js.map +1 -1
  1080. package/lib/util/tx.d.ts +14 -78
  1081. package/lib/util/tx.d.ts.map +1 -1
  1082. package/lib/util/tx.js +1 -53
  1083. package/lib/util/tx.js.map +1 -1
  1084. package/lib/util/type.d.ts +11 -0
  1085. package/lib/util/type.d.ts.map +1 -1
  1086. package/lib/util/type.js +46 -0
  1087. package/lib/util/type.js.map +1 -1
  1088. package/lib/wallet/CarbonSigner.d.ts +23 -10
  1089. package/lib/wallet/CarbonSigner.d.ts.map +1 -1
  1090. package/lib/wallet/CarbonSigner.js +56 -23
  1091. package/lib/wallet/CarbonSigner.js.map +1 -1
  1092. package/lib/wallet/CarbonWallet.d.ts +4 -8
  1093. package/lib/wallet/CarbonWallet.d.ts.map +1 -1
  1094. package/lib/wallet/CarbonWallet.js +26 -64
  1095. package/lib/wallet/CarbonWallet.js.map +1 -1
  1096. package/lib/websocket/connector.js +3 -3
  1097. package/lib/websocket/connector.js.map +1 -1
  1098. package/lib/websocket/models.d.ts +5 -4
  1099. package/lib/websocket/models.d.ts.map +1 -1
  1100. package/package.json +4 -5
@@ -9,7 +9,6 @@ const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
10
  const reward_1 = require("../liquiditypool/reward");
11
11
  const liquiditypool_1 = require("../liquiditypool/liquiditypool");
12
- const coin_1 = require("../cosmos/base/v1beta1/coin");
13
12
  exports.protobufPackage = "Switcheo.carbon.liquiditypool";
14
13
  const baseGenesisState = {};
15
14
  exports.GenesisState = {
@@ -23,26 +22,26 @@ exports.GenesisState = {
23
22
  if (message.commitmentCurve !== undefined) {
24
23
  reward_1.CommitmentCurve.encode(message.commitmentCurve, writer.uint32(26).fork()).ldelim();
25
24
  }
26
- for (const v of message.commitmentExpiries) {
27
- reward_1.CommitmentExpiryIndex.encode(v, writer.uint32(34).fork()).ldelim();
25
+ if (message.rewardWeights !== undefined) {
26
+ reward_1.RewardWeights.encode(message.rewardWeights, writer.uint32(34).fork()).ldelim();
28
27
  }
29
- for (const v of message.commitmentWithKeys) {
30
- reward_1.CommitmentWithKey.encode(v, writer.uint32(42).fork()).ldelim();
28
+ for (const v of message.commitments) {
29
+ reward_1.CommitmentRecord.encode(v, writer.uint32(42).fork()).ldelim();
31
30
  }
32
- for (const v of message.commitmentTotalsWithKeys) {
33
- reward_1.CommitmentTotalWithKey.encode(v, writer.uint32(50).fork()).ldelim();
31
+ for (const v of message.totalCommitments) {
32
+ reward_1.TotalCommitmentRecord.encode(v, writer.uint32(50).fork()).ldelim();
34
33
  }
35
- for (const v of message.rewardHistoriesWithKeys) {
36
- reward_1.RewardHistoryWithKey.encode(v, writer.uint32(58).fork()).ldelim();
34
+ for (const v of message.commitmentExpiries) {
35
+ reward_1.CommitmentExpiriesRecord.encode(v, writer.uint32(58).fork()).ldelim();
37
36
  }
38
- for (const v of message.allLastClaimedWithKeys) {
39
- reward_1.LastClaimedWithKey.encode(v, writer.uint32(66).fork()).ldelim();
37
+ for (const v of message.rewardHistories) {
38
+ reward_1.RewardHistoryRecord.encode(v, writer.uint32(66).fork()).ldelim();
40
39
  }
41
- for (const v of message.totalAllocated) {
42
- coin_1.DecCoin.encode(v, writer.uint32(74).fork()).ldelim();
40
+ for (const v of message.lastClaims) {
41
+ reward_1.LastClaimRecord.encode(v, writer.uint32(74).fork()).ldelim();
43
42
  }
44
- if (message.rewardWeights !== undefined) {
45
- reward_1.WrappedRewardWeights.encode(message.rewardWeights, writer.uint32(82).fork()).ldelim();
43
+ if (message.allocatedRewards !== undefined) {
44
+ reward_1.AllocatedRewards.encode(message.allocatedRewards, writer.uint32(82).fork()).ldelim();
46
45
  }
47
46
  return writer;
48
47
  },
@@ -51,12 +50,11 @@ exports.GenesisState = {
51
50
  let end = length === undefined ? reader.len : reader.pos + length;
52
51
  const message = Object.assign({}, baseGenesisState);
53
52
  message.pools = [];
53
+ message.commitments = [];
54
+ message.totalCommitments = [];
54
55
  message.commitmentExpiries = [];
55
- message.commitmentWithKeys = [];
56
- message.commitmentTotalsWithKeys = [];
57
- message.rewardHistoriesWithKeys = [];
58
- message.allLastClaimedWithKeys = [];
59
- message.totalAllocated = [];
56
+ message.rewardHistories = [];
57
+ message.lastClaims = [];
60
58
  while (reader.pos < end) {
61
59
  const tag = reader.uint32();
62
60
  switch (tag >>> 3) {
@@ -70,25 +68,25 @@ exports.GenesisState = {
70
68
  message.commitmentCurve = reward_1.CommitmentCurve.decode(reader, reader.uint32());
71
69
  break;
72
70
  case 4:
73
- message.commitmentExpiries.push(reward_1.CommitmentExpiryIndex.decode(reader, reader.uint32()));
71
+ message.rewardWeights = reward_1.RewardWeights.decode(reader, reader.uint32());
74
72
  break;
75
73
  case 5:
76
- message.commitmentWithKeys.push(reward_1.CommitmentWithKey.decode(reader, reader.uint32()));
74
+ message.commitments.push(reward_1.CommitmentRecord.decode(reader, reader.uint32()));
77
75
  break;
78
76
  case 6:
79
- message.commitmentTotalsWithKeys.push(reward_1.CommitmentTotalWithKey.decode(reader, reader.uint32()));
77
+ message.totalCommitments.push(reward_1.TotalCommitmentRecord.decode(reader, reader.uint32()));
80
78
  break;
81
79
  case 7:
82
- message.rewardHistoriesWithKeys.push(reward_1.RewardHistoryWithKey.decode(reader, reader.uint32()));
80
+ message.commitmentExpiries.push(reward_1.CommitmentExpiriesRecord.decode(reader, reader.uint32()));
83
81
  break;
84
82
  case 8:
85
- message.allLastClaimedWithKeys.push(reward_1.LastClaimedWithKey.decode(reader, reader.uint32()));
83
+ message.rewardHistories.push(reward_1.RewardHistoryRecord.decode(reader, reader.uint32()));
86
84
  break;
87
85
  case 9:
88
- message.totalAllocated.push(coin_1.DecCoin.decode(reader, reader.uint32()));
86
+ message.lastClaims.push(reward_1.LastClaimRecord.decode(reader, reader.uint32()));
89
87
  break;
90
88
  case 10:
91
- message.rewardWeights = reward_1.WrappedRewardWeights.decode(reader, reader.uint32());
89
+ message.allocatedRewards = reward_1.AllocatedRewards.decode(reader, reader.uint32());
92
90
  break;
93
91
  default:
94
92
  reader.skipType(tag & 7);
@@ -98,73 +96,30 @@ exports.GenesisState = {
98
96
  return message;
99
97
  },
100
98
  fromJSON(object) {
99
+ var _a, _b, _c, _d, _e, _f;
101
100
  const message = Object.assign({}, baseGenesisState);
102
- message.pools = [];
103
- message.commitmentExpiries = [];
104
- message.commitmentWithKeys = [];
105
- message.commitmentTotalsWithKeys = [];
106
- message.rewardHistoriesWithKeys = [];
107
- message.allLastClaimedWithKeys = [];
108
- message.totalAllocated = [];
109
- if (object.pools !== undefined && object.pools !== null) {
110
- for (const e of object.pools) {
111
- message.pools.push(liquiditypool_1.Pool.fromJSON(e));
112
- }
113
- }
114
- if (object.rewardCurve !== undefined && object.rewardCurve !== null) {
115
- message.rewardCurve = reward_1.RewardCurve.fromJSON(object.rewardCurve);
116
- }
117
- else {
118
- message.rewardCurve = undefined;
119
- }
120
- if (object.commitmentCurve !== undefined &&
121
- object.commitmentCurve !== null) {
122
- message.commitmentCurve = reward_1.CommitmentCurve.fromJSON(object.commitmentCurve);
123
- }
124
- else {
125
- message.commitmentCurve = undefined;
126
- }
127
- if (object.commitmentExpiries !== undefined &&
128
- object.commitmentExpiries !== null) {
129
- for (const e of object.commitmentExpiries) {
130
- message.commitmentExpiries.push(reward_1.CommitmentExpiryIndex.fromJSON(e));
131
- }
132
- }
133
- if (object.commitmentWithKeys !== undefined &&
134
- object.commitmentWithKeys !== null) {
135
- for (const e of object.commitmentWithKeys) {
136
- message.commitmentWithKeys.push(reward_1.CommitmentWithKey.fromJSON(e));
137
- }
138
- }
139
- if (object.commitmentTotalsWithKeys !== undefined &&
140
- object.commitmentTotalsWithKeys !== null) {
141
- for (const e of object.commitmentTotalsWithKeys) {
142
- message.commitmentTotalsWithKeys.push(reward_1.CommitmentTotalWithKey.fromJSON(e));
143
- }
144
- }
145
- if (object.rewardHistoriesWithKeys !== undefined &&
146
- object.rewardHistoriesWithKeys !== null) {
147
- for (const e of object.rewardHistoriesWithKeys) {
148
- message.rewardHistoriesWithKeys.push(reward_1.RewardHistoryWithKey.fromJSON(e));
149
- }
150
- }
151
- if (object.allLastClaimedWithKeys !== undefined &&
152
- object.allLastClaimedWithKeys !== null) {
153
- for (const e of object.allLastClaimedWithKeys) {
154
- message.allLastClaimedWithKeys.push(reward_1.LastClaimedWithKey.fromJSON(e));
155
- }
156
- }
157
- if (object.totalAllocated !== undefined && object.totalAllocated !== null) {
158
- for (const e of object.totalAllocated) {
159
- message.totalAllocated.push(coin_1.DecCoin.fromJSON(e));
160
- }
161
- }
162
- if (object.rewardWeights !== undefined && object.rewardWeights !== null) {
163
- message.rewardWeights = reward_1.WrappedRewardWeights.fromJSON(object.rewardWeights);
164
- }
165
- else {
166
- message.rewardWeights = undefined;
167
- }
101
+ message.pools = ((_a = object.pools) !== null && _a !== void 0 ? _a : []).map((e) => liquiditypool_1.Pool.fromJSON(e));
102
+ message.rewardCurve =
103
+ object.rewardCurve !== undefined && object.rewardCurve !== null
104
+ ? reward_1.RewardCurve.fromJSON(object.rewardCurve)
105
+ : undefined;
106
+ message.commitmentCurve =
107
+ object.commitmentCurve !== undefined && object.commitmentCurve !== null
108
+ ? reward_1.CommitmentCurve.fromJSON(object.commitmentCurve)
109
+ : undefined;
110
+ message.rewardWeights =
111
+ object.rewardWeights !== undefined && object.rewardWeights !== null
112
+ ? reward_1.RewardWeights.fromJSON(object.rewardWeights)
113
+ : undefined;
114
+ message.commitments = ((_b = object.commitments) !== null && _b !== void 0 ? _b : []).map((e) => reward_1.CommitmentRecord.fromJSON(e));
115
+ message.totalCommitments = ((_c = object.totalCommitments) !== null && _c !== void 0 ? _c : []).map((e) => reward_1.TotalCommitmentRecord.fromJSON(e));
116
+ message.commitmentExpiries = ((_d = object.commitmentExpiries) !== null && _d !== void 0 ? _d : []).map((e) => reward_1.CommitmentExpiriesRecord.fromJSON(e));
117
+ message.rewardHistories = ((_e = object.rewardHistories) !== null && _e !== void 0 ? _e : []).map((e) => reward_1.RewardHistoryRecord.fromJSON(e));
118
+ message.lastClaims = ((_f = object.lastClaims) !== null && _f !== void 0 ? _f : []).map((e) => reward_1.LastClaimRecord.fromJSON(e));
119
+ message.allocatedRewards =
120
+ object.allocatedRewards !== undefined && object.allocatedRewards !== null
121
+ ? reward_1.AllocatedRewards.fromJSON(object.allocatedRewards)
122
+ : undefined;
168
123
  return message;
169
124
  },
170
125
  toJSON(message) {
@@ -183,116 +138,71 @@ exports.GenesisState = {
183
138
  (obj.commitmentCurve = message.commitmentCurve
184
139
  ? reward_1.CommitmentCurve.toJSON(message.commitmentCurve)
185
140
  : undefined);
186
- if (message.commitmentExpiries) {
187
- obj.commitmentExpiries = message.commitmentExpiries.map((e) => e ? reward_1.CommitmentExpiryIndex.toJSON(e) : undefined);
188
- }
189
- else {
190
- obj.commitmentExpiries = [];
191
- }
192
- if (message.commitmentWithKeys) {
193
- obj.commitmentWithKeys = message.commitmentWithKeys.map((e) => e ? reward_1.CommitmentWithKey.toJSON(e) : undefined);
141
+ message.rewardWeights !== undefined &&
142
+ (obj.rewardWeights = message.rewardWeights
143
+ ? reward_1.RewardWeights.toJSON(message.rewardWeights)
144
+ : undefined);
145
+ if (message.commitments) {
146
+ obj.commitments = message.commitments.map((e) => e ? reward_1.CommitmentRecord.toJSON(e) : undefined);
194
147
  }
195
148
  else {
196
- obj.commitmentWithKeys = [];
149
+ obj.commitments = [];
197
150
  }
198
- if (message.commitmentTotalsWithKeys) {
199
- obj.commitmentTotalsWithKeys = message.commitmentTotalsWithKeys.map((e) => e ? reward_1.CommitmentTotalWithKey.toJSON(e) : undefined);
151
+ if (message.totalCommitments) {
152
+ obj.totalCommitments = message.totalCommitments.map((e) => e ? reward_1.TotalCommitmentRecord.toJSON(e) : undefined);
200
153
  }
201
154
  else {
202
- obj.commitmentTotalsWithKeys = [];
155
+ obj.totalCommitments = [];
203
156
  }
204
- if (message.rewardHistoriesWithKeys) {
205
- obj.rewardHistoriesWithKeys = message.rewardHistoriesWithKeys.map((e) => e ? reward_1.RewardHistoryWithKey.toJSON(e) : undefined);
157
+ if (message.commitmentExpiries) {
158
+ obj.commitmentExpiries = message.commitmentExpiries.map((e) => e ? reward_1.CommitmentExpiriesRecord.toJSON(e) : undefined);
206
159
  }
207
160
  else {
208
- obj.rewardHistoriesWithKeys = [];
161
+ obj.commitmentExpiries = [];
209
162
  }
210
- if (message.allLastClaimedWithKeys) {
211
- obj.allLastClaimedWithKeys = message.allLastClaimedWithKeys.map((e) => e ? reward_1.LastClaimedWithKey.toJSON(e) : undefined);
163
+ if (message.rewardHistories) {
164
+ obj.rewardHistories = message.rewardHistories.map((e) => e ? reward_1.RewardHistoryRecord.toJSON(e) : undefined);
212
165
  }
213
166
  else {
214
- obj.allLastClaimedWithKeys = [];
167
+ obj.rewardHistories = [];
215
168
  }
216
- if (message.totalAllocated) {
217
- obj.totalAllocated = message.totalAllocated.map((e) => e ? coin_1.DecCoin.toJSON(e) : undefined);
169
+ if (message.lastClaims) {
170
+ obj.lastClaims = message.lastClaims.map((e) => e ? reward_1.LastClaimRecord.toJSON(e) : undefined);
218
171
  }
219
172
  else {
220
- obj.totalAllocated = [];
173
+ obj.lastClaims = [];
221
174
  }
222
- message.rewardWeights !== undefined &&
223
- (obj.rewardWeights = message.rewardWeights
224
- ? reward_1.WrappedRewardWeights.toJSON(message.rewardWeights)
175
+ message.allocatedRewards !== undefined &&
176
+ (obj.allocatedRewards = message.allocatedRewards
177
+ ? reward_1.AllocatedRewards.toJSON(message.allocatedRewards)
225
178
  : undefined);
226
179
  return obj;
227
180
  },
228
181
  fromPartial(object) {
182
+ var _a, _b, _c, _d, _e, _f;
229
183
  const message = Object.assign({}, baseGenesisState);
230
- message.pools = [];
231
- if (object.pools !== undefined && object.pools !== null) {
232
- for (const e of object.pools) {
233
- message.pools.push(liquiditypool_1.Pool.fromPartial(e));
234
- }
235
- }
236
- if (object.rewardCurve !== undefined && object.rewardCurve !== null) {
237
- message.rewardCurve = reward_1.RewardCurve.fromPartial(object.rewardCurve);
238
- }
239
- else {
240
- message.rewardCurve = undefined;
241
- }
242
- if (object.commitmentCurve !== undefined &&
243
- object.commitmentCurve !== null) {
244
- message.commitmentCurve = reward_1.CommitmentCurve.fromPartial(object.commitmentCurve);
245
- }
246
- else {
247
- message.commitmentCurve = undefined;
248
- }
249
- message.commitmentExpiries = [];
250
- if (object.commitmentExpiries !== undefined &&
251
- object.commitmentExpiries !== null) {
252
- for (const e of object.commitmentExpiries) {
253
- message.commitmentExpiries.push(reward_1.CommitmentExpiryIndex.fromPartial(e));
254
- }
255
- }
256
- message.commitmentWithKeys = [];
257
- if (object.commitmentWithKeys !== undefined &&
258
- object.commitmentWithKeys !== null) {
259
- for (const e of object.commitmentWithKeys) {
260
- message.commitmentWithKeys.push(reward_1.CommitmentWithKey.fromPartial(e));
261
- }
262
- }
263
- message.commitmentTotalsWithKeys = [];
264
- if (object.commitmentTotalsWithKeys !== undefined &&
265
- object.commitmentTotalsWithKeys !== null) {
266
- for (const e of object.commitmentTotalsWithKeys) {
267
- message.commitmentTotalsWithKeys.push(reward_1.CommitmentTotalWithKey.fromPartial(e));
268
- }
269
- }
270
- message.rewardHistoriesWithKeys = [];
271
- if (object.rewardHistoriesWithKeys !== undefined &&
272
- object.rewardHistoriesWithKeys !== null) {
273
- for (const e of object.rewardHistoriesWithKeys) {
274
- message.rewardHistoriesWithKeys.push(reward_1.RewardHistoryWithKey.fromPartial(e));
275
- }
276
- }
277
- message.allLastClaimedWithKeys = [];
278
- if (object.allLastClaimedWithKeys !== undefined &&
279
- object.allLastClaimedWithKeys !== null) {
280
- for (const e of object.allLastClaimedWithKeys) {
281
- message.allLastClaimedWithKeys.push(reward_1.LastClaimedWithKey.fromPartial(e));
282
- }
283
- }
284
- message.totalAllocated = [];
285
- if (object.totalAllocated !== undefined && object.totalAllocated !== null) {
286
- for (const e of object.totalAllocated) {
287
- message.totalAllocated.push(coin_1.DecCoin.fromPartial(e));
288
- }
289
- }
290
- if (object.rewardWeights !== undefined && object.rewardWeights !== null) {
291
- message.rewardWeights = reward_1.WrappedRewardWeights.fromPartial(object.rewardWeights);
292
- }
293
- else {
294
- message.rewardWeights = undefined;
295
- }
184
+ message.pools = ((_a = object.pools) !== null && _a !== void 0 ? _a : []).map((e) => liquiditypool_1.Pool.fromPartial(e));
185
+ message.rewardCurve =
186
+ object.rewardCurve !== undefined && object.rewardCurve !== null
187
+ ? reward_1.RewardCurve.fromPartial(object.rewardCurve)
188
+ : undefined;
189
+ message.commitmentCurve =
190
+ object.commitmentCurve !== undefined && object.commitmentCurve !== null
191
+ ? reward_1.CommitmentCurve.fromPartial(object.commitmentCurve)
192
+ : undefined;
193
+ message.rewardWeights =
194
+ object.rewardWeights !== undefined && object.rewardWeights !== null
195
+ ? reward_1.RewardWeights.fromPartial(object.rewardWeights)
196
+ : undefined;
197
+ message.commitments = ((_b = object.commitments) !== null && _b !== void 0 ? _b : []).map((e) => reward_1.CommitmentRecord.fromPartial(e));
198
+ message.totalCommitments = ((_c = object.totalCommitments) !== null && _c !== void 0 ? _c : []).map((e) => reward_1.TotalCommitmentRecord.fromPartial(e));
199
+ message.commitmentExpiries = ((_d = object.commitmentExpiries) !== null && _d !== void 0 ? _d : []).map((e) => reward_1.CommitmentExpiriesRecord.fromPartial(e));
200
+ message.rewardHistories = ((_e = object.rewardHistories) !== null && _e !== void 0 ? _e : []).map((e) => reward_1.RewardHistoryRecord.fromPartial(e));
201
+ message.lastClaims = ((_f = object.lastClaims) !== null && _f !== void 0 ? _f : []).map((e) => reward_1.LastClaimRecord.fromPartial(e));
202
+ message.allocatedRewards =
203
+ object.allocatedRewards !== undefined && object.allocatedRewards !== null
204
+ ? reward_1.AllocatedRewards.fromPartial(object.allocatedRewards)
205
+ : undefined;
296
206
  return message;
297
207
  },
298
208
  };
@@ -1 +1 @@
1
- {"version":3,"file":"genesis.js","sourceRoot":"","sources":["../../../src/codec/liquiditypool/genesis.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,gDAAwB;AACxB,iEAAqC;AACrC,oDASiC;AACjC,kEAAsD;AACtD,sDAAsD;AAEzC,QAAA,eAAe,GAAG,+BAA+B,CAAC;AAgB/D,MAAM,gBAAgB,GAAW,EAAE,CAAC;AAEvB,QAAA,YAAY,GAAG;IAC1B,MAAM,CACJ,OAAqB,EACrB,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAExC,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,KAAK,EAAE;YAC7B,oBAAI,CAAC,MAAM,CAAC,CAAE,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SACpD;QACD,IAAI,OAAO,CAAC,WAAW,KAAK,SAAS,EAAE;YACrC,oBAAW,CAAC,MAAM,CAChB,OAAO,CAAC,WAAW,EACnB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CACzB,CAAC,MAAM,EAAE,CAAC;SACZ;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EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACjE,4BAAmB,CAAC,WAAW,CAAC,CAAC,CAAC,CACnC,CAAC;QACF,OAAO,CAAC,UAAU,GAAG,CAAC,MAAA,MAAM,CAAC,UAAU,mCAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACvD,wBAAe,CAAC,WAAW,CAAC,CAAC,CAAC,CAC/B,CAAC;QACF,OAAO,CAAC,gBAAgB;YACtB,MAAM,CAAC,gBAAgB,KAAK,SAAS,IAAI,MAAM,CAAC,gBAAgB,KAAK,IAAI;gBACvE,CAAC,CAAC,yBAAgB,CAAC,WAAW,CAAC,MAAM,CAAC,gBAAgB,CAAC;gBACvD,CAAC,CAAC,SAAS,CAAC;QAChB,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC;AAsBF,IAAI,iBAAG,CAAC,IAAI,CAAC,IAAI,KAAK,cAAI,EAAE;IAC1B,iBAAG,CAAC,IAAI,CAAC,IAAI,GAAG,cAAW,CAAC;IAC5B,iBAAG,CAAC,SAAS,EAAE,CAAC;CACjB"}
@@ -80,8 +80,8 @@ export declare const RemoveLiquidities: {
80
80
  toJSON(message: RemoveLiquidities): unknown;
81
81
  fromPartial(object: DeepPartial<RemoveLiquidities>): RemoveLiquidities;
82
82
  };
83
- declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined | Long;
84
- export declare type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
83
+ declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
84
+ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
85
85
  [K in keyof T]?: DeepPartial<T[K]>;
86
86
  } : Partial<T>;
87
87
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"liquiditypool.d.ts","sourceRoot":"","sources":["../../../src/codec/liquiditypool/liquiditypool.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAO,MAAM,eAAe,kCAAkC,CAAC;AAE/D,MAAM,WAAW,IAAI;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,IAAI,CAAC;IACT,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,IAAI,EAAE,CAAC;CACf;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,IAAI,CAAC;IACT,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,cAAc,EAAE,YAAY,EAAE,CAAC;CAChC;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,IAAI,CAAC;IACT,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,iBAAiB,EAAE,eAAe,EAAE,CAAC;CACtC;AAmBD,eAAO,MAAM,IAAI;oBACC,IAAI,WAAU,IAAI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