@injectivelabs/sdk-ts 1.16.12 → 1.16.13-alpha.0

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 (1004) hide show
  1. package/dist/cjs/client/abacus/grpc/AbacusGrpcApi.js +1 -1
  2. package/dist/cjs/client/abacus/grpc/transformers/index.d.ts +1 -1
  3. package/dist/cjs/client/base/BaseGrpcConsumer.d.ts +1 -1
  4. package/dist/cjs/client/base/BaseGrpcConsumer.js +1 -1
  5. package/dist/cjs/client/base/BaseGrpcWebConsumer.js +1 -1
  6. package/dist/cjs/client/base/BaseIndexerGrpcConsumer.d.ts +1 -1
  7. package/dist/cjs/client/base/BaseIndexerGrpcConsumer.js +1 -1
  8. package/dist/cjs/client/base/BaseIndexerGrpcWebConsumer.js +1 -1
  9. package/dist/cjs/client/base/GrpcWebImpl.d.ts +1 -1
  10. package/dist/cjs/client/base/GrpcWebImpl.js +1 -1
  11. package/dist/cjs/client/base/IndexerGrpcWebImpl.d.ts +1 -1
  12. package/dist/cjs/client/base/IndexerGrpcWebImpl.js +2 -2
  13. package/dist/cjs/client/chain/ChainGrpcClient.d.ts +10 -10
  14. package/dist/cjs/client/chain/ChainGrpcClient.js +10 -10
  15. package/dist/cjs/client/chain/grpc/ChainGrpcAuctionApi.js +2 -2
  16. package/dist/cjs/client/chain/grpc/ChainGrpcAuthApi.d.ts +1 -1
  17. package/dist/cjs/client/chain/grpc/ChainGrpcAuthApi.js +2 -2
  18. package/dist/cjs/client/chain/grpc/ChainGrpcAuthZApi.d.ts +1 -1
  19. package/dist/cjs/client/chain/grpc/ChainGrpcAuthZApi.js +2 -2
  20. package/dist/cjs/client/chain/grpc/ChainGrpcBankApi.d.ts +1 -1
  21. package/dist/cjs/client/chain/grpc/ChainGrpcBankApi.js +12 -12
  22. package/dist/cjs/client/chain/grpc/ChainGrpcDistributionApi.d.ts +2 -2
  23. package/dist/cjs/client/chain/grpc/ChainGrpcDistributionApi.js +2 -2
  24. package/dist/cjs/client/chain/grpc/ChainGrpcExchangeApi.js +34 -34
  25. package/dist/cjs/client/chain/grpc/ChainGrpcGovApi.d.ts +3 -2
  26. package/dist/cjs/client/chain/grpc/ChainGrpcGovApi.js +2 -2
  27. package/dist/cjs/client/chain/grpc/ChainGrpcIbcApi.d.ts +1 -1
  28. package/dist/cjs/client/chain/grpc/ChainGrpcIbcApi.js +2 -2
  29. package/dist/cjs/client/chain/grpc/ChainGrpcInsuranceFundApi.js +2 -2
  30. package/dist/cjs/client/chain/grpc/ChainGrpcMintApi.d.ts +1 -1
  31. package/dist/cjs/client/chain/grpc/ChainGrpcMintApi.js +8 -8
  32. package/dist/cjs/client/chain/grpc/ChainGrpcOracleApi.d.ts +1 -1
  33. package/dist/cjs/client/chain/grpc/ChainGrpcOracleApi.js +2 -2
  34. package/dist/cjs/client/chain/grpc/ChainGrpcPeggyApi.js +2 -2
  35. package/dist/cjs/client/chain/grpc/ChainGrpcPermissionsApi.js +17 -17
  36. package/dist/cjs/client/chain/grpc/ChainGrpcStakingApi.d.ts +1 -1
  37. package/dist/cjs/client/chain/grpc/ChainGrpcStakingApi.js +2 -2
  38. package/dist/cjs/client/chain/grpc/ChainGrpcTendermintApi.js +2 -2
  39. package/dist/cjs/client/chain/grpc/ChainGrpcTokenFactoryApi.js +2 -2
  40. package/dist/cjs/client/chain/grpc/ChainGrpcTxFeesApi.js +6 -6
  41. package/dist/cjs/client/chain/grpc/ChainGrpcWasmApi.d.ts +1 -1
  42. package/dist/cjs/client/chain/grpc/ChainGrpcWasmApi.js +3 -3
  43. package/dist/cjs/client/chain/grpc/ChainGrpcWasmXApi.js +2 -2
  44. package/dist/cjs/client/chain/rest/ChainRestAuthApi.d.ts +1 -1
  45. package/dist/cjs/client/chain/rest/ChainRestAuthApi.js +1 -1
  46. package/dist/cjs/client/chain/rest/ChainRestBankApi.d.ts +1 -1
  47. package/dist/cjs/client/chain/rest/ChainRestBankApi.js +1 -1
  48. package/dist/cjs/client/chain/rest/ChainRestTendermintApi.d.ts +1 -1
  49. package/dist/cjs/client/chain/rest/ChainRestTendermintApi.js +1 -1
  50. package/dist/cjs/client/chain/rest/ChainRestWasmApi.js +1 -1
  51. package/dist/cjs/client/chain/transformers/ChainGrpcAuctionTransformer.d.ts +2 -2
  52. package/dist/cjs/client/chain/transformers/ChainGrpcAuthTransformer.d.ts +2 -2
  53. package/dist/cjs/client/chain/transformers/ChainGrpcAuthTransformer.js +2 -2
  54. package/dist/cjs/client/chain/transformers/ChainGrpcAuthZTransformer.d.ts +3 -2
  55. package/dist/cjs/client/chain/transformers/ChainGrpcAuthZTransformer.js +1 -1
  56. package/dist/cjs/client/chain/transformers/ChainGrpcBankTransformer.d.ts +4 -4
  57. package/dist/cjs/client/chain/transformers/ChainGrpcBankTransformer.js +1 -1
  58. package/dist/cjs/client/chain/transformers/ChainGrpcCommonTransformer.d.ts +2 -2
  59. package/dist/cjs/client/chain/transformers/ChainGrpcDistributionTransformer.d.ts +4 -4
  60. package/dist/cjs/client/chain/transformers/ChainGrpcDistributionTransformer.js +4 -4
  61. package/dist/cjs/client/chain/transformers/ChainGrpcExchangeTransformer.d.ts +5 -3
  62. package/dist/cjs/client/chain/transformers/ChainGrpcExchangeTransformer.js +2 -4
  63. package/dist/cjs/client/chain/transformers/ChainGrpcGovTransformer.d.ts +3 -3
  64. package/dist/cjs/client/chain/transformers/ChainGrpcGovTransformer.js +3 -3
  65. package/dist/cjs/client/chain/transformers/ChainGrpcInsuranceFundTransformer.d.ts +3 -3
  66. package/dist/cjs/client/chain/transformers/ChainGrpcMintTransformer.d.ts +2 -2
  67. package/dist/cjs/client/chain/transformers/ChainGrpcPeggyTransformer.d.ts +2 -2
  68. package/dist/cjs/client/chain/transformers/ChainGrpcPermissionsTransformer.d.ts +2 -2
  69. package/dist/cjs/client/chain/transformers/ChainGrpcStakingTransformer.d.ts +4 -4
  70. package/dist/cjs/client/chain/transformers/ChainGrpcStakingTransformer.js +14 -15
  71. package/dist/cjs/client/chain/transformers/ChainGrpcTokenFactoryTransformer.d.ts +2 -2
  72. package/dist/cjs/client/chain/transformers/ChainGrpcTxFeesTransformer.d.ts +2 -2
  73. package/dist/cjs/client/chain/transformers/ChainGrpcWasmTransformer.d.ts +2 -2
  74. package/dist/cjs/client/chain/types/auction.d.ts +2 -2
  75. package/dist/cjs/client/chain/types/auth.d.ts +1 -1
  76. package/dist/cjs/client/chain/types/authZ.d.ts +1 -1
  77. package/dist/cjs/client/chain/types/bank.d.ts +2 -2
  78. package/dist/cjs/client/chain/types/distribution.d.ts +2 -2
  79. package/dist/cjs/client/chain/types/exchange.d.ts +3 -2
  80. package/dist/cjs/client/chain/types/gov.d.ts +2 -2
  81. package/dist/cjs/client/chain/types/index.d.ts +31 -32
  82. package/dist/cjs/client/chain/types/index.js +0 -13
  83. package/dist/cjs/client/chain/types/insurance.d.ts +2 -1
  84. package/dist/cjs/client/chain/types/mint.d.ts +1 -1
  85. package/dist/cjs/client/chain/types/oracle.d.ts +1 -1
  86. package/dist/cjs/client/chain/types/peggy.d.ts +1 -1
  87. package/dist/cjs/client/chain/types/permissions.d.ts +3 -3
  88. package/dist/cjs/client/chain/types/staking.d.ts +7 -6
  89. package/dist/cjs/client/chain/types/staking.js +5 -6
  90. package/dist/cjs/client/chain/types/tokenfactory.d.ts +1 -1
  91. package/dist/cjs/client/chain/types/txFees.d.ts +1 -1
  92. package/dist/cjs/client/chain/types/wasm.d.ts +3 -2
  93. package/dist/cjs/client/gql/index.d.ts +1 -1
  94. package/dist/cjs/client/gql/index.js +0 -1
  95. package/dist/cjs/client/indexer/IndexerGrpcClient.d.ts +4 -4
  96. package/dist/cjs/client/indexer/IndexerGrpcClient.js +4 -4
  97. package/dist/cjs/client/indexer/IndexerGrpcStreamClient.d.ts +4 -4
  98. package/dist/cjs/client/indexer/IndexerGrpcStreamClient.js +4 -4
  99. package/dist/cjs/client/indexer/IndexerRestClient.d.ts +1 -1
  100. package/dist/cjs/client/indexer/IndexerRestClient.js +1 -1
  101. package/dist/cjs/client/indexer/grpc/IndexerGrpcAccountApi.d.ts +1 -1
  102. package/dist/cjs/client/indexer/grpc/IndexerGrpcAccountApi.js +2 -2
  103. package/dist/cjs/client/indexer/grpc/IndexerGrpcArchiverApi.js +2 -2
  104. package/dist/cjs/client/indexer/grpc/IndexerGrpcAuctionApi.js +2 -2
  105. package/dist/cjs/client/indexer/grpc/IndexerGrpcCampaignApi.js +10 -10
  106. package/dist/cjs/client/indexer/grpc/IndexerGrpcDerivativesApi.d.ts +3 -3
  107. package/dist/cjs/client/indexer/grpc/IndexerGrpcDerivativesApi.js +2 -2
  108. package/dist/cjs/client/indexer/grpc/IndexerGrpcExplorerApi.js +2 -2
  109. package/dist/cjs/client/indexer/grpc/IndexerGrpcInsuranceFundApi.js +6 -6
  110. package/dist/cjs/client/indexer/grpc/IndexerGrpcMetaApi.js +2 -2
  111. package/dist/cjs/client/indexer/grpc/IndexerGrpcMitoApi.js +2 -2
  112. package/dist/cjs/client/indexer/grpc/IndexerGrpcOracleApi.js +2 -2
  113. package/dist/cjs/client/indexer/grpc/IndexerGrpcPortfolioApi.js +2 -2
  114. package/dist/cjs/client/indexer/grpc/IndexerGrpcReferralApi.js +7 -7
  115. package/dist/cjs/client/indexer/grpc/IndexerGrpcSpotApi.d.ts +3 -3
  116. package/dist/cjs/client/indexer/grpc/IndexerGrpcSpotApi.js +2 -2
  117. package/dist/cjs/client/indexer/grpc/IndexerGrpcTradingApi.d.ts +1 -1
  118. package/dist/cjs/client/indexer/grpc/IndexerGrpcTradingApi.js +2 -2
  119. package/dist/cjs/client/indexer/grpc/IndexerGrpcTransactionApi.d.ts +1 -1
  120. package/dist/cjs/client/indexer/grpc/IndexerGrpcTransactionApi.js +15 -5
  121. package/dist/cjs/client/indexer/grpc/IndexerGrpcWeb3GwApi.d.ts +1 -1
  122. package/dist/cjs/client/indexer/grpc/IndexerGrpcWeb3GwApi.js +3 -3
  123. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAccountPortfolioStream.d.ts +3 -3
  124. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAccountPortfolioStream.js +2 -2
  125. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAccountStream.d.ts +3 -3
  126. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAccountStream.js +1 -1
  127. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAuctionStream.d.ts +3 -3
  128. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAuctionStream.js +1 -1
  129. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcDerivativesStream.d.ts +6 -6
  130. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcDerivativesStream.js +2 -2
  131. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcExplorerStream.d.ts +3 -3
  132. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcExplorerStream.js +1 -1
  133. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcMitoStream.d.ts +3 -3
  134. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcMitoStream.js +1 -1
  135. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcOracleStream.d.ts +3 -3
  136. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcOracleStream.js +2 -2
  137. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcSpotStream.d.ts +6 -6
  138. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcSpotStream.js +2 -2
  139. package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcTradingStream.d.ts +2 -2
  140. package/dist/cjs/client/indexer/rest/IndexerRestDerivativesChronosApi.js +1 -1
  141. package/dist/cjs/client/indexer/rest/IndexerRestExplorerApi.d.ts +4 -4
  142. package/dist/cjs/client/indexer/rest/IndexerRestExplorerApi.js +35 -35
  143. package/dist/cjs/client/indexer/rest/IndexerRestLeaderboardChronosApi.js +1 -1
  144. package/dist/cjs/client/indexer/rest/IndexerRestMarketChronosApi.js +1 -1
  145. package/dist/cjs/client/indexer/rest/IndexerRestSpotChronosApi.js +1 -1
  146. package/dist/cjs/client/indexer/transformers/IndexerAccountPortfolioStreamTransformer.d.ts +1 -1
  147. package/dist/cjs/client/indexer/transformers/IndexerAccountPortfolioTransformer.d.ts +2 -2
  148. package/dist/cjs/client/indexer/transformers/IndexerAccountStreamTransformer.d.ts +2 -3
  149. package/dist/cjs/client/indexer/transformers/IndexerAccountStreamTransformer.js +1 -1
  150. package/dist/cjs/client/indexer/transformers/IndexerAuctionStreamTransformer.d.ts +3 -4
  151. package/dist/cjs/client/indexer/transformers/IndexerCampaignTransformer.d.ts +2 -2
  152. package/dist/cjs/client/indexer/transformers/IndexerCommonTransformer.d.ts +2 -2
  153. package/dist/cjs/client/indexer/transformers/IndexerDerivativeStreamTransformer.d.ts +2 -2
  154. package/dist/cjs/client/indexer/transformers/IndexerExplorerStreamTransformer.d.ts +4 -5
  155. package/dist/cjs/client/indexer/transformers/IndexerExplorerStreamTransformer.js +1 -1
  156. package/dist/cjs/client/indexer/transformers/IndexerGrpcAccountTransformer.d.ts +4 -4
  157. package/dist/cjs/client/indexer/transformers/IndexerGrpcArchiverTransformer.d.ts +2 -2
  158. package/dist/cjs/client/indexer/transformers/IndexerGrpcAuctionTransformer.d.ts +2 -2
  159. package/dist/cjs/client/indexer/transformers/IndexerGrpcDerivativeTransformer.d.ts +3 -3
  160. package/dist/cjs/client/indexer/transformers/IndexerGrpcDerivativeTransformer.js +1 -1
  161. package/dist/cjs/client/indexer/transformers/IndexerGrpcExplorerTransformer.d.ts +2 -2
  162. package/dist/cjs/client/indexer/transformers/IndexerGrpcExplorerTransformer.js +5 -5
  163. package/dist/cjs/client/indexer/transformers/IndexerGrpcInsuranceFundTransformer.d.ts +2 -2
  164. package/dist/cjs/client/indexer/transformers/IndexerGrpcMitoStreamTransformer.d.ts +2 -2
  165. package/dist/cjs/client/indexer/transformers/IndexerGrpcMitoTransformer.d.ts +2 -2
  166. package/dist/cjs/client/indexer/transformers/IndexerGrpcOracleTransformer.d.ts +2 -2
  167. package/dist/cjs/client/indexer/transformers/IndexerGrpcReferralTransformer.d.ts +2 -2
  168. package/dist/cjs/client/indexer/transformers/IndexerGrpcSpotTransformer.d.ts +3 -3
  169. package/dist/cjs/client/indexer/transformers/IndexerOracleStreamTransformer.d.ts +1 -1
  170. package/dist/cjs/client/indexer/transformers/IndexerRestExplorerTransformer.d.ts +3 -3
  171. package/dist/cjs/client/indexer/transformers/IndexerSpotStreamTransformer.d.ts +2 -2
  172. package/dist/cjs/client/indexer/types/account-portfolio.d.ts +3 -3
  173. package/dist/cjs/client/indexer/types/account.d.ts +9 -8
  174. package/dist/cjs/client/indexer/types/account.js +6 -7
  175. package/dist/cjs/client/indexer/types/archiver.d.ts +1 -1
  176. package/dist/cjs/client/indexer/types/auction.d.ts +2 -2
  177. package/dist/cjs/client/indexer/types/campaign.d.ts +2 -2
  178. package/dist/cjs/client/indexer/types/derivatives.d.ts +4 -4
  179. package/dist/cjs/client/indexer/types/exchange.d.ts +2 -2
  180. package/dist/cjs/client/indexer/types/explorer-rest.d.ts +2 -2
  181. package/dist/cjs/client/indexer/types/explorer.d.ts +26 -23
  182. package/dist/cjs/client/indexer/types/explorer.js +19 -22
  183. package/dist/cjs/client/indexer/types/incentives.d.ts +1 -1
  184. package/dist/cjs/client/indexer/types/index.d.ts +38 -39
  185. package/dist/cjs/client/indexer/types/index.js +0 -16
  186. package/dist/cjs/client/indexer/types/insurance-funds.d.ts +7 -6
  187. package/dist/cjs/client/indexer/types/insurance-funds.js +4 -5
  188. package/dist/cjs/client/indexer/types/mito.d.ts +7 -6
  189. package/dist/cjs/client/indexer/types/mito.js +4 -5
  190. package/dist/cjs/client/indexer/types/oracle.d.ts +1 -1
  191. package/dist/cjs/client/indexer/types/referral.d.ts +2 -2
  192. package/dist/cjs/client/indexer/types/spot.d.ts +6 -6
  193. package/dist/cjs/client/indexer/types/swap.d.ts +1 -1
  194. package/dist/cjs/client/indexer/types/trading.d.ts +12 -10
  195. package/dist/cjs/client/indexer/types/trading.js +10 -11
  196. package/dist/cjs/client/olp/grpc/OLPGrpcApi.js +2 -2
  197. package/dist/cjs/client/olp/grpc/index.d.ts +1 -1
  198. package/dist/cjs/client/olp/grpc/index.js +0 -15
  199. package/dist/cjs/client/olp/grpc/transformers/index.d.ts +2 -2
  200. package/dist/cjs/client/olp/grpc/types/index.d.ts +1 -1
  201. package/dist/cjs/client/wasm/incentives/index.d.ts +1 -1
  202. package/dist/cjs/client/wasm/incentives/index.js +0 -1
  203. package/dist/cjs/client/wasm/incentives/queries/QueryAllRounds.js +1 -1
  204. package/dist/cjs/client/wasm/incentives/queries/QueryGetCampaigns.js +1 -1
  205. package/dist/cjs/client/wasm/incentives/transformer.d.ts +1 -1
  206. package/dist/cjs/client/wasm/incentives/types.d.ts +1 -1
  207. package/dist/cjs/client/wasm/index.d.ts +1 -1
  208. package/dist/cjs/client/wasm/index.js +0 -1
  209. package/dist/cjs/client/wasm/nameservice/queries/QueryInjName.js +1 -1
  210. package/dist/cjs/client/wasm/nameservice/queries/QueryInjectiveAddress.js +1 -1
  211. package/dist/cjs/client/wasm/nameservice/queries/QueryResolverAddress.js +1 -1
  212. package/dist/cjs/client/wasm/nameservice/transformer.d.ts +1 -1
  213. package/dist/cjs/client/wasm/neptune/helper.d.ts +1 -1
  214. package/dist/cjs/client/wasm/neptune/queries/QueryGetPrices.d.ts +1 -1
  215. package/dist/cjs/client/wasm/neptune/queries/QueryGetPrices.js +1 -1
  216. package/dist/cjs/client/wasm/neptune/queries/QueryLendingRates.d.ts +1 -1
  217. package/dist/cjs/client/wasm/neptune/queries/QueryLendingRates.js +1 -1
  218. package/dist/cjs/client/wasm/neptune/service.d.ts +3 -2
  219. package/dist/cjs/client/wasm/neptune/service.js +11 -11
  220. package/dist/cjs/client/wasm/neptune/transformer.d.ts +2 -2
  221. package/dist/cjs/client/wasm/swap/index.d.ts +1 -1
  222. package/dist/cjs/client/wasm/swap/index.js +0 -1
  223. package/dist/cjs/client/wasm/swap/queries/QueryAllRoutes.js +1 -1
  224. package/dist/cjs/client/wasm/swap/queries/QueryInputQuantity.js +1 -1
  225. package/dist/cjs/client/wasm/swap/queries/QueryOutputQuantity.js +1 -1
  226. package/dist/cjs/client/wasm/swap/queries/QueryRoute.js +1 -1
  227. package/dist/cjs/client/wasm/swap/transformer.d.ts +1 -1
  228. package/dist/cjs/client/wasm/trading_strategies/queries/QueryTradingStrategyContractAllStrategies.js +1 -1
  229. package/dist/cjs/client/wasm/trading_strategies/queries/QueryTradingStrategyContractConfig.js +1 -1
  230. package/dist/cjs/client/wasm/trading_strategies/queries/QueryTradingStrategyContractTotalStrategies.js +1 -1
  231. package/dist/cjs/client/wasm/trading_strategies/queries/QueryTradingStrategyContractUserStrategies.js +1 -1
  232. package/dist/cjs/client/wasm/trading_strategies/types.d.ts +1 -1
  233. package/dist/cjs/core/accounts/AccountParser.d.ts +1 -1
  234. package/dist/cjs/core/accounts/Address.js +4 -4
  235. package/dist/cjs/core/accounts/BaseAccount.d.ts +2 -2
  236. package/dist/cjs/core/accounts/PrivateKey.d.ts +7 -6
  237. package/dist/cjs/core/accounts/PrivateKey.js +37 -31
  238. package/dist/cjs/core/accounts/PublicKey.d.ts +1 -1
  239. package/dist/cjs/core/accounts/PublicKey.js +7 -7
  240. package/dist/cjs/core/accounts/signers/DirectEthSecp256k1Wallet.d.ts +3 -3
  241. package/dist/cjs/core/accounts/signers/DirectEthSecp256k1Wallet.js +1 -1
  242. package/dist/cjs/core/accounts/signers/EthSecp256k1Wallet.d.ts +2 -2
  243. package/dist/cjs/core/accounts/signers/EthSecp256k1Wallet.js +1 -1
  244. package/dist/cjs/core/accounts/signers/types/amino-signer.d.ts +1 -1
  245. package/dist/cjs/core/accounts/signers/types/index.d.ts +2 -2
  246. package/dist/cjs/core/accounts/signers/types/proto-signer.d.ts +1 -1
  247. package/dist/cjs/core/modules/MsgBase.d.ts +2 -2
  248. package/dist/cjs/core/modules/MsgBase.js +1 -1
  249. package/dist/cjs/core/modules/auction/msgs/MsgBid.d.ts +1 -1
  250. package/dist/cjs/core/modules/auction/msgs/MsgBid.js +1 -1
  251. package/dist/cjs/core/modules/authz/msgs/MsgExec.d.ts +1 -1
  252. package/dist/cjs/core/modules/authz/msgs/MsgExec.js +1 -1
  253. package/dist/cjs/core/modules/authz/msgs/MsgGrant.d.ts +2 -1
  254. package/dist/cjs/core/modules/authz/msgs/MsgGrant.js +2 -2
  255. package/dist/cjs/core/modules/authz/msgs/MsgGrantWithAuthorization.d.ts +2 -2
  256. package/dist/cjs/core/modules/authz/msgs/MsgGrantWithAuthorization.js +2 -2
  257. package/dist/cjs/core/modules/authz/msgs/MsgRevoke.d.ts +2 -2
  258. package/dist/cjs/core/modules/authz/msgs/MsgRevoke.js +1 -1
  259. package/dist/cjs/core/modules/authz/msgs/authorizations/Base.d.ts +1 -1
  260. package/dist/cjs/core/modules/authz/msgs/authorizations/ContractExecutionAuthorization.d.ts +1 -1
  261. package/dist/cjs/core/modules/authz/msgs/authorizations/ContractExecutionCompatAuthorization.d.ts +1 -1
  262. package/dist/cjs/core/modules/authz/msgs/authorizations/GenericAuthorization.d.ts +2 -1
  263. package/dist/cjs/core/modules/authz/msgs/authorizations/GenericAuthorization.js +1 -1
  264. package/dist/cjs/core/modules/authz/types.d.ts +5 -4
  265. package/dist/cjs/core/modules/authz/types.js +4 -5
  266. package/dist/cjs/core/modules/authz/utils.d.ts +1 -1
  267. package/dist/cjs/core/modules/authz/utils.js +1 -1
  268. package/dist/cjs/core/modules/bank/msgs/MsgMultiSend.d.ts +1 -1
  269. package/dist/cjs/core/modules/bank/msgs/MsgMultiSend.js +1 -1
  270. package/dist/cjs/core/modules/bank/msgs/MsgSend.d.ts +1 -1
  271. package/dist/cjs/core/modules/bank/msgs/MsgSend.js +1 -1
  272. package/dist/cjs/core/modules/distribution/msgs/MsgWithdrawDelegatorReward.d.ts +1 -1
  273. package/dist/cjs/core/modules/distribution/msgs/MsgWithdrawDelegatorReward.js +1 -1
  274. package/dist/cjs/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.d.ts +1 -1
  275. package/dist/cjs/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.js +1 -1
  276. package/dist/cjs/core/modules/exchange/index.d.ts +5 -5
  277. package/dist/cjs/core/modules/exchange/index.js +10 -10
  278. package/dist/cjs/core/modules/exchange/msgs/MsgAdminUpdateBinaryOptionsMarket.d.ts +1 -1
  279. package/dist/cjs/core/modules/exchange/msgs/MsgAdminUpdateBinaryOptionsMarket.js +4 -3
  280. package/dist/cjs/core/modules/exchange/msgs/MsgAuthorizeStakeGrants.js +1 -1
  281. package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelBinaryOptionsOrders.d.ts +2 -2
  282. package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelBinaryOptionsOrders.js +1 -1
  283. package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelDerivativeOrders.d.ts +2 -2
  284. package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelDerivativeOrders.js +1 -1
  285. package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelSpotOrders.d.ts +2 -2
  286. package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelSpotOrders.js +1 -1
  287. package/dist/cjs/core/modules/exchange/msgs/MsgBatchUpdateOrders.d.ts +2 -2
  288. package/dist/cjs/core/modules/exchange/msgs/MsgBatchUpdateOrders.js +13 -13
  289. package/dist/cjs/core/modules/exchange/msgs/MsgCancelBinaryOptionsOrder.d.ts +1 -1
  290. package/dist/cjs/core/modules/exchange/msgs/MsgCancelBinaryOptionsOrder.js +1 -1
  291. package/dist/cjs/core/modules/exchange/msgs/MsgCancelDerivativeOrder.d.ts +1 -1
  292. package/dist/cjs/core/modules/exchange/msgs/MsgCancelDerivativeOrder.js +1 -1
  293. package/dist/cjs/core/modules/exchange/msgs/MsgCancelSpotOrder.d.ts +1 -1
  294. package/dist/cjs/core/modules/exchange/msgs/MsgCancelSpotOrder.js +1 -1
  295. package/dist/cjs/core/modules/exchange/msgs/MsgCreateBinaryOptionsLimitOrder.d.ts +2 -2
  296. package/dist/cjs/core/modules/exchange/msgs/MsgCreateBinaryOptionsLimitOrder.js +11 -10
  297. package/dist/cjs/core/modules/exchange/msgs/MsgCreateBinaryOptionsMarketOrder.d.ts +2 -2
  298. package/dist/cjs/core/modules/exchange/msgs/MsgCreateBinaryOptionsMarketOrder.js +11 -10
  299. package/dist/cjs/core/modules/exchange/msgs/MsgCreateDerivativeLimitOrder.d.ts +2 -2
  300. package/dist/cjs/core/modules/exchange/msgs/MsgCreateDerivativeLimitOrder.js +11 -10
  301. package/dist/cjs/core/modules/exchange/msgs/MsgCreateDerivativeMarketOrder.d.ts +2 -2
  302. package/dist/cjs/core/modules/exchange/msgs/MsgCreateDerivativeMarketOrder.js +11 -10
  303. package/dist/cjs/core/modules/exchange/msgs/MsgCreateSpotLimitOrder.d.ts +2 -2
  304. package/dist/cjs/core/modules/exchange/msgs/MsgCreateSpotLimitOrder.js +9 -8
  305. package/dist/cjs/core/modules/exchange/msgs/MsgCreateSpotMarketOrder.d.ts +2 -2
  306. package/dist/cjs/core/modules/exchange/msgs/MsgCreateSpotMarketOrder.js +9 -8
  307. package/dist/cjs/core/modules/exchange/msgs/MsgDeposit.js +1 -1
  308. package/dist/cjs/core/modules/exchange/msgs/MsgExternalTransfer.js +1 -1
  309. package/dist/cjs/core/modules/exchange/msgs/MsgIncreasePositionMargin.js +5 -4
  310. package/dist/cjs/core/modules/exchange/msgs/MsgInstantBinaryOptionsMarketLaunch.d.ts +1 -1
  311. package/dist/cjs/core/modules/exchange/msgs/MsgInstantBinaryOptionsMarketLaunch.js +13 -12
  312. package/dist/cjs/core/modules/exchange/msgs/MsgInstantSpotMarketLaunch.js +7 -6
  313. package/dist/cjs/core/modules/exchange/msgs/MsgLiquidatePosition.d.ts +1 -1
  314. package/dist/cjs/core/modules/exchange/msgs/MsgLiquidatePosition.js +10 -9
  315. package/dist/cjs/core/modules/exchange/msgs/MsgReclaimLockedFunds.js +1 -1
  316. package/dist/cjs/core/modules/exchange/msgs/MsgRewardsOptOut.js +1 -1
  317. package/dist/cjs/core/modules/exchange/msgs/MsgSetDelegationTransferReceivers.d.ts +1 -1
  318. package/dist/cjs/core/modules/exchange/msgs/MsgSetDelegationTransferReceivers.js +1 -1
  319. package/dist/cjs/core/modules/exchange/msgs/MsgSignData.js +1 -1
  320. package/dist/cjs/core/modules/exchange/msgs/MsgWithdraw.js +1 -1
  321. package/dist/cjs/core/modules/exchange/utils/classes/OrderHashManager.d.ts +3 -3
  322. package/dist/cjs/core/modules/exchange/utils/classes/OrderHashManager.js +8 -11
  323. package/dist/cjs/core/modules/feegrant/msgs/MsgGrantAllowance.d.ts +2 -2
  324. package/dist/cjs/core/modules/feegrant/msgs/MsgGrantAllowance.js +1 -1
  325. package/dist/cjs/core/modules/feegrant/msgs/MsgRevokeAllowance.d.ts +2 -2
  326. package/dist/cjs/core/modules/feegrant/msgs/MsgRevokeAllowance.js +1 -1
  327. package/dist/cjs/core/modules/feegrant/utils/allowance.d.ts +8 -6
  328. package/dist/cjs/core/modules/feegrant/utils/allowance.js +9 -10
  329. package/dist/cjs/core/modules/gov/index.d.ts +1 -1
  330. package/dist/cjs/core/modules/gov/index.js +2 -2
  331. package/dist/cjs/core/modules/gov/msgs/MsgDeposit.js +1 -1
  332. package/dist/cjs/core/modules/gov/msgs/MsgSubmitGenericProposal.d.ts +1 -1
  333. package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalExpiryFuturesMarketLaunch.d.ts +1 -1
  334. package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalExpiryFuturesMarketLaunch.js +15 -14
  335. package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunch.d.ts +1 -1
  336. package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunch.js +15 -14
  337. package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunchV2.d.ts +1 -1
  338. package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunchV2.js +18 -17
  339. package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalSpotMarketLaunch.d.ts +1 -1
  340. package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalSpotMarketLaunch.js +11 -10
  341. package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalSpotMarketParamUpdate.d.ts +1 -1
  342. package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalSpotMarketParamUpdate.js +13 -12
  343. package/dist/cjs/core/modules/gov/msgs/MsgSubmitTextProposal.d.ts +1 -1
  344. package/dist/cjs/core/modules/gov/msgs/MsgVote.js +1 -1
  345. package/dist/cjs/core/modules/ibc/msgs/MsgTransfer.d.ts +2 -2
  346. package/dist/cjs/core/modules/ibc/msgs/MsgTransfer.js +1 -1
  347. package/dist/cjs/core/modules/index.d.ts +1 -1
  348. package/dist/cjs/core/modules/index.js +0 -1
  349. package/dist/cjs/core/modules/insurance/msgs/MsgCreateInsuranceFund.d.ts +1 -1
  350. package/dist/cjs/core/modules/insurance/msgs/MsgCreateInsuranceFund.js +1 -1
  351. package/dist/cjs/core/modules/insurance/msgs/MsgRequestRedemption.d.ts +1 -1
  352. package/dist/cjs/core/modules/insurance/msgs/MsgRequestRedemption.js +1 -1
  353. package/dist/cjs/core/modules/insurance/msgs/MsgUnderwrite.d.ts +1 -1
  354. package/dist/cjs/core/modules/insurance/msgs/MsgUnderwrite.js +1 -1
  355. package/dist/cjs/core/modules/msgs.d.ts +63 -63
  356. package/dist/cjs/core/modules/peggy/msgs/MsgSendToEth.d.ts +1 -1
  357. package/dist/cjs/core/modules/peggy/msgs/MsgSendToEth.js +2 -2
  358. package/dist/cjs/core/modules/permissions/msgs/MsgClaimVoucher.d.ts +1 -1
  359. package/dist/cjs/core/modules/permissions/msgs/MsgClaimVoucher.js +1 -1
  360. package/dist/cjs/core/modules/permissions/msgs/MsgCreateNamespace.d.ts +1 -1
  361. package/dist/cjs/core/modules/permissions/msgs/MsgCreateNamespace.js +1 -1
  362. package/dist/cjs/core/modules/permissions/msgs/MsgUpdateActorRoles.d.ts +1 -1
  363. package/dist/cjs/core/modules/permissions/msgs/MsgUpdateNamespace.d.ts +1 -1
  364. package/dist/cjs/core/modules/permissions/msgs/MsgUpdateNamespace.js +1 -1
  365. package/dist/cjs/core/modules/permissions/msgs/MsgUpdateParams.js +1 -1
  366. package/dist/cjs/core/modules/staking/index.d.ts +1 -1
  367. package/dist/cjs/core/modules/staking/index.js +2 -2
  368. package/dist/cjs/core/modules/staking/msgs/MsgBeginRedelegate.d.ts +1 -1
  369. package/dist/cjs/core/modules/staking/msgs/MsgBeginRedelegate.js +1 -1
  370. package/dist/cjs/core/modules/staking/msgs/MsgCancelUnbondingDelegation.d.ts +1 -1
  371. package/dist/cjs/core/modules/staking/msgs/MsgCancelUnbondingDelegation.js +1 -1
  372. package/dist/cjs/core/modules/staking/msgs/MsgCreateValidator.d.ts +1 -1
  373. package/dist/cjs/core/modules/staking/msgs/MsgCreateValidator.js +2 -2
  374. package/dist/cjs/core/modules/staking/msgs/MsgDelegate.d.ts +1 -1
  375. package/dist/cjs/core/modules/staking/msgs/MsgDelegate.js +1 -1
  376. package/dist/cjs/core/modules/staking/msgs/MsgEditValidator.d.ts +2 -2
  377. package/dist/cjs/core/modules/staking/msgs/MsgEditValidator.js +3 -2
  378. package/dist/cjs/core/modules/staking/msgs/MsgTransferDelegation.d.ts +1 -1
  379. package/dist/cjs/core/modules/staking/msgs/MsgTransferDelegation.js +1 -1
  380. package/dist/cjs/core/modules/staking/msgs/MsgUndelegate.d.ts +1 -1
  381. package/dist/cjs/core/modules/staking/msgs/MsgUndelegate.js +1 -1
  382. package/dist/cjs/core/modules/tokenfactory/index.d.ts +1 -1
  383. package/dist/cjs/core/modules/tokenfactory/index.js +2 -2
  384. package/dist/cjs/core/modules/tokenfactory/msgs/MsgBurn.d.ts +2 -2
  385. package/dist/cjs/core/modules/tokenfactory/msgs/MsgBurn.js +2 -1
  386. package/dist/cjs/core/modules/tokenfactory/msgs/MsgChangeAdmin.d.ts +1 -1
  387. package/dist/cjs/core/modules/tokenfactory/msgs/MsgChangeAdmin.js +1 -1
  388. package/dist/cjs/core/modules/tokenfactory/msgs/MsgCreateDenom.d.ts +1 -1
  389. package/dist/cjs/core/modules/tokenfactory/msgs/MsgCreateDenom.js +1 -1
  390. package/dist/cjs/core/modules/tokenfactory/msgs/MsgMint.d.ts +1 -1
  391. package/dist/cjs/core/modules/tokenfactory/msgs/MsgMint.js +1 -1
  392. package/dist/cjs/core/modules/tokenfactory/msgs/MsgSetDenomMetadata.d.ts +1 -1
  393. package/dist/cjs/core/modules/tokenfactory/msgs/MsgSetDenomMetadata.js +1 -1
  394. package/dist/cjs/core/modules/wasm/exec-args/ExecArgCW20AdapterRedeemAndTransfer.d.ts +2 -1
  395. package/dist/cjs/core/modules/wasm/exec-args/ExecArgCW20Send.d.ts +2 -1
  396. package/dist/cjs/core/modules/wasm/exec-args/ExecArgCW20Transfer.d.ts +2 -1
  397. package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreateCampaign.d.ts +3 -2
  398. package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreatePerpGridStrategy.d.ts +2 -1
  399. package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreatePerpGridStrategy.js +1 -1
  400. package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreateRound.d.ts +2 -1
  401. package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.d.ts +4 -2
  402. package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.js +1 -1
  403. package/dist/cjs/core/modules/wasm/exec-args/ExecArgDepositTokens.d.ts +2 -1
  404. package/dist/cjs/core/modules/wasm/exec-args/ExecArgFundCampaign.d.ts +2 -1
  405. package/dist/cjs/core/modules/wasm/exec-args/ExecArgIncreaseAllowance.d.ts +2 -1
  406. package/dist/cjs/core/modules/wasm/exec-args/ExecArgInitiateTransfer.d.ts +3 -2
  407. package/dist/cjs/core/modules/wasm/exec-args/ExecArgInitiateTransfer.js +1 -1
  408. package/dist/cjs/core/modules/wasm/exec-args/ExecArgNeptuneDeposit.d.ts +2 -1
  409. package/dist/cjs/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.d.ts +2 -1
  410. package/dist/cjs/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.js +1 -1
  411. package/dist/cjs/core/modules/wasm/exec-args/ExecArgRemoveGridStrategy.d.ts +2 -1
  412. package/dist/cjs/core/modules/wasm/exec-args/ExecArgSubmitVaa.d.ts +2 -1
  413. package/dist/cjs/core/modules/wasm/exec-args/ExecArgSubmitVaa.js +1 -1
  414. package/dist/cjs/core/modules/wasm/exec-args/ExecArgSwapExactOutput.d.ts +2 -1
  415. package/dist/cjs/core/modules/wasm/exec-args/ExecArgSwapMinOutput.d.ts +2 -1
  416. package/dist/cjs/core/modules/wasm/exec-args/ExecArgUpdateGridConfig.d.ts +2 -1
  417. package/dist/cjs/core/modules/wasm/exec-args.d.ts +20 -20
  418. package/dist/cjs/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultRedeem.d.ts +2 -1
  419. package/dist/cjs/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultSubscribe.d.ts +2 -1
  420. package/dist/cjs/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultRedeem.d.ts +2 -1
  421. package/dist/cjs/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultSubscribe.d.ts +2 -1
  422. package/dist/cjs/core/modules/wasm/index.d.ts +13 -13
  423. package/dist/cjs/core/modules/wasm/index.js +24 -25
  424. package/dist/cjs/core/modules/wasm/msgs/MsgExecuteContract.d.ts +2 -2
  425. package/dist/cjs/core/modules/wasm/msgs/MsgExecuteContract.js +3 -3
  426. package/dist/cjs/core/modules/wasm/msgs/MsgExecuteContractCompat.d.ts +2 -2
  427. package/dist/cjs/core/modules/wasm/msgs/MsgExecuteContractCompat.js +1 -1
  428. package/dist/cjs/core/modules/wasm/msgs/MsgInstantiateContract.d.ts +1 -1
  429. package/dist/cjs/core/modules/wasm/msgs/MsgInstantiateContract.js +3 -3
  430. package/dist/cjs/core/modules/wasm/msgs/MsgMigrateContract.d.ts +1 -1
  431. package/dist/cjs/core/modules/wasm/msgs/MsgMigrateContract.js +3 -3
  432. package/dist/cjs/core/modules/wasm/msgs/MsgPrivilegedExecuteContract.d.ts +3 -3
  433. package/dist/cjs/core/modules/wasm/msgs/MsgPrivilegedExecuteContract.js +1 -1
  434. package/dist/cjs/core/modules/wasm/msgs/MsgStoreCode.d.ts +1 -1
  435. package/dist/cjs/core/modules/wasm/msgs/MsgStoreCode.js +4 -4
  436. package/dist/cjs/core/modules/wasm/msgs/MsgUpdateAdmin.d.ts +1 -1
  437. package/dist/cjs/core/modules/wasm/msgs/MsgUpdateAdmin.js +1 -1
  438. package/dist/cjs/core/modules/wasm/types.d.ts +12 -10
  439. package/dist/cjs/core/modules/wasm/types.js +10 -12
  440. package/dist/cjs/core/stargate/SigningStargateClient.d.ts +10 -8
  441. package/dist/cjs/core/stargate/SigningStargateClient.js +26 -26
  442. package/dist/cjs/core/stargate/StargateClient.d.ts +2 -1
  443. package/dist/cjs/core/tx/api/TxGrpcApi.d.ts +3 -3
  444. package/dist/cjs/core/tx/api/TxGrpcApi.js +2 -2
  445. package/dist/cjs/core/tx/api/TxRestApi.d.ts +3 -3
  446. package/dist/cjs/core/tx/api/TxRestApi.js +5 -5
  447. package/dist/cjs/core/tx/api/utils.d.ts +1 -1
  448. package/dist/cjs/core/tx/arbitrary.js +1 -1
  449. package/dist/cjs/core/tx/broadcaster/MsgBroadcasterWithPk.d.ts +5 -4
  450. package/dist/cjs/core/tx/broadcaster/MsgBroadcasterWithPk.js +20 -20
  451. package/dist/cjs/core/tx/eip712/MsgDecoder.d.ts +2 -2
  452. package/dist/cjs/core/tx/eip712/MsgDecoder.js +5 -5
  453. package/dist/cjs/core/tx/eip712/eip712.d.ts +3 -3
  454. package/dist/cjs/core/tx/eip712/eip712.js +8 -8
  455. package/dist/cjs/core/tx/eip712/index.d.ts +1 -1
  456. package/dist/cjs/core/tx/eip712/index.js +0 -1
  457. package/dist/cjs/core/tx/eip712/maps.d.ts +1 -1
  458. package/dist/cjs/core/tx/eip712/maps.js +1 -1
  459. package/dist/cjs/core/tx/eip712/utils.d.ts +2 -2
  460. package/dist/cjs/core/tx/eip712/utils.js +8 -6
  461. package/dist/cjs/core/tx/tx.d.ts +3 -3
  462. package/dist/cjs/core/tx/tx.js +13 -16
  463. package/dist/cjs/core/tx/types/tx-rest-client.d.ts +13 -11
  464. package/dist/cjs/core/tx/types/tx-rest-client.js +10 -12
  465. package/dist/cjs/core/tx/types/tx.d.ts +8 -7
  466. package/dist/cjs/core/tx/types/tx.js +4 -5
  467. package/dist/cjs/core/tx/utils/classes/TxClient.js +1 -1
  468. package/dist/cjs/core/tx/utils/tx.d.ts +8 -7
  469. package/dist/cjs/core/tx/utils/tx.js +2 -2
  470. package/dist/cjs/service/TokenFactoryStatic.d.ts +2 -1
  471. package/dist/cjs/service/TokenStaticFactory.d.ts +2 -1
  472. package/dist/cjs/types/cosmos.d.ts +12 -11
  473. package/dist/cjs/types/cosmos.js +7 -8
  474. package/dist/cjs/types/exchange.d.ts +19 -16
  475. package/dist/cjs/types/exchange.js +16 -19
  476. package/dist/cjs/types/index.d.ts +1 -1
  477. package/dist/cjs/types/index.js +0 -1
  478. package/dist/cjs/types/token.d.ts +37 -34
  479. package/dist/cjs/types/token.js +34 -37
  480. package/dist/cjs/utils/address.js +3 -9
  481. package/dist/cjs/utils/constants.d.ts +0 -2
  482. package/dist/cjs/utils/constants.js +1 -4
  483. package/dist/cjs/utils/crypto.d.ts +11 -7
  484. package/dist/cjs/utils/crypto.js +34 -8
  485. package/dist/cjs/utils/helpers.d.ts +2 -2
  486. package/dist/cjs/utils/helpers.js +1 -1
  487. package/dist/cjs/utils/msgs.d.ts +1 -1
  488. package/dist/cjs/utils/numbers.d.ts +36 -10
  489. package/dist/cjs/utils/numbers.js +52 -42
  490. package/dist/cjs/utils/pagination.d.ts +3 -3
  491. package/dist/cjs/utils/transaction.d.ts +2 -1
  492. package/dist/cjs/utils/transaction.js +12 -9
  493. package/dist/esm/client/abacus/grpc/AbacusGrpcApi.js +1 -1
  494. package/dist/esm/client/abacus/grpc/transformers/index.d.ts +1 -1
  495. package/dist/esm/client/base/BaseGrpcConsumer.d.ts +1 -1
  496. package/dist/esm/client/base/BaseGrpcConsumer.js +1 -1
  497. package/dist/esm/client/base/BaseGrpcWebConsumer.js +1 -1
  498. package/dist/esm/client/base/BaseIndexerGrpcConsumer.d.ts +1 -1
  499. package/dist/esm/client/base/BaseIndexerGrpcConsumer.js +1 -1
  500. package/dist/esm/client/base/BaseIndexerGrpcWebConsumer.js +1 -1
  501. package/dist/esm/client/base/GrpcWebImpl.d.ts +1 -1
  502. package/dist/esm/client/base/GrpcWebImpl.js +1 -1
  503. package/dist/esm/client/base/IndexerGrpcWebImpl.d.ts +1 -1
  504. package/dist/esm/client/base/IndexerGrpcWebImpl.js +2 -2
  505. package/dist/esm/client/chain/ChainGrpcClient.d.ts +10 -10
  506. package/dist/esm/client/chain/ChainGrpcClient.js +10 -10
  507. package/dist/esm/client/chain/grpc/ChainGrpcAuctionApi.js +2 -2
  508. package/dist/esm/client/chain/grpc/ChainGrpcAuthApi.d.ts +1 -1
  509. package/dist/esm/client/chain/grpc/ChainGrpcAuthApi.js +2 -2
  510. package/dist/esm/client/chain/grpc/ChainGrpcAuthZApi.d.ts +1 -1
  511. package/dist/esm/client/chain/grpc/ChainGrpcAuthZApi.js +2 -2
  512. package/dist/esm/client/chain/grpc/ChainGrpcBankApi.d.ts +1 -1
  513. package/dist/esm/client/chain/grpc/ChainGrpcBankApi.js +3 -3
  514. package/dist/esm/client/chain/grpc/ChainGrpcDistributionApi.d.ts +2 -2
  515. package/dist/esm/client/chain/grpc/ChainGrpcDistributionApi.js +2 -2
  516. package/dist/esm/client/chain/grpc/ChainGrpcExchangeApi.js +2 -2
  517. package/dist/esm/client/chain/grpc/ChainGrpcGovApi.d.ts +3 -2
  518. package/dist/esm/client/chain/grpc/ChainGrpcGovApi.js +2 -2
  519. package/dist/esm/client/chain/grpc/ChainGrpcIbcApi.d.ts +1 -1
  520. package/dist/esm/client/chain/grpc/ChainGrpcIbcApi.js +2 -2
  521. package/dist/esm/client/chain/grpc/ChainGrpcInsuranceFundApi.js +2 -2
  522. package/dist/esm/client/chain/grpc/ChainGrpcMintApi.d.ts +1 -1
  523. package/dist/esm/client/chain/grpc/ChainGrpcMintApi.js +6 -6
  524. package/dist/esm/client/chain/grpc/ChainGrpcOracleApi.d.ts +1 -1
  525. package/dist/esm/client/chain/grpc/ChainGrpcOracleApi.js +2 -2
  526. package/dist/esm/client/chain/grpc/ChainGrpcPeggyApi.js +2 -2
  527. package/dist/esm/client/chain/grpc/ChainGrpcPermissionsApi.js +2 -2
  528. package/dist/esm/client/chain/grpc/ChainGrpcStakingApi.d.ts +1 -1
  529. package/dist/esm/client/chain/grpc/ChainGrpcStakingApi.js +2 -2
  530. package/dist/esm/client/chain/grpc/ChainGrpcTendermintApi.js +2 -2
  531. package/dist/esm/client/chain/grpc/ChainGrpcTokenFactoryApi.js +2 -2
  532. package/dist/esm/client/chain/grpc/ChainGrpcTxFeesApi.js +2 -2
  533. package/dist/esm/client/chain/grpc/ChainGrpcWasmApi.d.ts +1 -1
  534. package/dist/esm/client/chain/grpc/ChainGrpcWasmApi.js +3 -3
  535. package/dist/esm/client/chain/grpc/ChainGrpcWasmXApi.js +2 -2
  536. package/dist/esm/client/chain/rest/ChainRestAuthApi.d.ts +1 -1
  537. package/dist/esm/client/chain/rest/ChainRestAuthApi.js +1 -1
  538. package/dist/esm/client/chain/rest/ChainRestBankApi.d.ts +1 -1
  539. package/dist/esm/client/chain/rest/ChainRestBankApi.js +1 -1
  540. package/dist/esm/client/chain/rest/ChainRestTendermintApi.d.ts +1 -1
  541. package/dist/esm/client/chain/rest/ChainRestTendermintApi.js +1 -1
  542. package/dist/esm/client/chain/rest/ChainRestWasmApi.js +1 -1
  543. package/dist/esm/client/chain/transformers/ChainGrpcAuctionTransformer.d.ts +2 -2
  544. package/dist/esm/client/chain/transformers/ChainGrpcAuthTransformer.d.ts +2 -2
  545. package/dist/esm/client/chain/transformers/ChainGrpcAuthTransformer.js +2 -2
  546. package/dist/esm/client/chain/transformers/ChainGrpcAuthZTransformer.d.ts +3 -2
  547. package/dist/esm/client/chain/transformers/ChainGrpcAuthZTransformer.js +1 -1
  548. package/dist/esm/client/chain/transformers/ChainGrpcBankTransformer.d.ts +4 -4
  549. package/dist/esm/client/chain/transformers/ChainGrpcBankTransformer.js +1 -1
  550. package/dist/esm/client/chain/transformers/ChainGrpcCommonTransformer.d.ts +2 -2
  551. package/dist/esm/client/chain/transformers/ChainGrpcDistributionTransformer.d.ts +4 -4
  552. package/dist/esm/client/chain/transformers/ChainGrpcDistributionTransformer.js +4 -4
  553. package/dist/esm/client/chain/transformers/ChainGrpcExchangeTransformer.d.ts +5 -3
  554. package/dist/esm/client/chain/transformers/ChainGrpcExchangeTransformer.js +3 -5
  555. package/dist/esm/client/chain/transformers/ChainGrpcGovTransformer.d.ts +3 -3
  556. package/dist/esm/client/chain/transformers/ChainGrpcGovTransformer.js +3 -3
  557. package/dist/esm/client/chain/transformers/ChainGrpcInsuranceFundTransformer.d.ts +3 -3
  558. package/dist/esm/client/chain/transformers/ChainGrpcMintTransformer.d.ts +2 -2
  559. package/dist/esm/client/chain/transformers/ChainGrpcPeggyTransformer.d.ts +2 -2
  560. package/dist/esm/client/chain/transformers/ChainGrpcPermissionsTransformer.d.ts +2 -2
  561. package/dist/esm/client/chain/transformers/ChainGrpcStakingTransformer.d.ts +4 -4
  562. package/dist/esm/client/chain/transformers/ChainGrpcStakingTransformer.js +16 -17
  563. package/dist/esm/client/chain/transformers/ChainGrpcTokenFactoryTransformer.d.ts +2 -2
  564. package/dist/esm/client/chain/transformers/ChainGrpcTxFeesTransformer.d.ts +2 -2
  565. package/dist/esm/client/chain/transformers/ChainGrpcWasmTransformer.d.ts +2 -2
  566. package/dist/esm/client/chain/types/auction.d.ts +2 -2
  567. package/dist/esm/client/chain/types/auth.d.ts +1 -1
  568. package/dist/esm/client/chain/types/authZ.d.ts +1 -1
  569. package/dist/esm/client/chain/types/bank.d.ts +2 -2
  570. package/dist/esm/client/chain/types/distribution.d.ts +2 -2
  571. package/dist/esm/client/chain/types/exchange.d.ts +3 -2
  572. package/dist/esm/client/chain/types/exchange.js +1 -1
  573. package/dist/esm/client/chain/types/gov.d.ts +2 -2
  574. package/dist/esm/client/chain/types/index.d.ts +31 -32
  575. package/dist/esm/client/chain/types/index.js +0 -13
  576. package/dist/esm/client/chain/types/insurance.d.ts +2 -1
  577. package/dist/esm/client/chain/types/mint.d.ts +1 -1
  578. package/dist/esm/client/chain/types/oracle.d.ts +1 -1
  579. package/dist/esm/client/chain/types/peggy.d.ts +1 -1
  580. package/dist/esm/client/chain/types/permissions.d.ts +3 -3
  581. package/dist/esm/client/chain/types/staking.d.ts +7 -6
  582. package/dist/esm/client/chain/types/staking.js +5 -6
  583. package/dist/esm/client/chain/types/tokenfactory.d.ts +1 -1
  584. package/dist/esm/client/chain/types/txFees.d.ts +1 -1
  585. package/dist/esm/client/chain/types/wasm.d.ts +3 -2
  586. package/dist/esm/client/gql/client.js +1 -1
  587. package/dist/esm/client/gql/index.d.ts +1 -1
  588. package/dist/esm/client/gql/index.js +0 -1
  589. package/dist/esm/client/indexer/IndexerGrpcClient.d.ts +4 -4
  590. package/dist/esm/client/indexer/IndexerGrpcClient.js +4 -4
  591. package/dist/esm/client/indexer/IndexerGrpcStreamClient.d.ts +4 -4
  592. package/dist/esm/client/indexer/IndexerGrpcStreamClient.js +4 -4
  593. package/dist/esm/client/indexer/IndexerRestClient.d.ts +1 -1
  594. package/dist/esm/client/indexer/IndexerRestClient.js +1 -1
  595. package/dist/esm/client/indexer/grpc/IndexerGrpcAccountApi.d.ts +1 -1
  596. package/dist/esm/client/indexer/grpc/IndexerGrpcAccountApi.js +2 -2
  597. package/dist/esm/client/indexer/grpc/IndexerGrpcArchiverApi.js +2 -2
  598. package/dist/esm/client/indexer/grpc/IndexerGrpcAuctionApi.js +2 -2
  599. package/dist/esm/client/indexer/grpc/IndexerGrpcCampaignApi.js +2 -2
  600. package/dist/esm/client/indexer/grpc/IndexerGrpcDerivativesApi.d.ts +3 -3
  601. package/dist/esm/client/indexer/grpc/IndexerGrpcDerivativesApi.js +2 -2
  602. package/dist/esm/client/indexer/grpc/IndexerGrpcExplorerApi.js +2 -2
  603. package/dist/esm/client/indexer/grpc/IndexerGrpcInsuranceFundApi.js +2 -2
  604. package/dist/esm/client/indexer/grpc/IndexerGrpcMetaApi.js +2 -2
  605. package/dist/esm/client/indexer/grpc/IndexerGrpcMitoApi.js +2 -2
  606. package/dist/esm/client/indexer/grpc/IndexerGrpcOracleApi.js +2 -2
  607. package/dist/esm/client/indexer/grpc/IndexerGrpcPortfolioApi.js +2 -2
  608. package/dist/esm/client/indexer/grpc/IndexerGrpcReferralApi.js +2 -2
  609. package/dist/esm/client/indexer/grpc/IndexerGrpcSpotApi.d.ts +3 -3
  610. package/dist/esm/client/indexer/grpc/IndexerGrpcSpotApi.js +2 -2
  611. package/dist/esm/client/indexer/grpc/IndexerGrpcTradingApi.d.ts +1 -1
  612. package/dist/esm/client/indexer/grpc/IndexerGrpcTradingApi.js +2 -2
  613. package/dist/esm/client/indexer/grpc/IndexerGrpcTransactionApi.d.ts +1 -1
  614. package/dist/esm/client/indexer/grpc/IndexerGrpcTransactionApi.js +15 -5
  615. package/dist/esm/client/indexer/grpc/IndexerGrpcWeb3GwApi.d.ts +1 -1
  616. package/dist/esm/client/indexer/grpc/IndexerGrpcWeb3GwApi.js +3 -3
  617. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAccountPortfolioStream.d.ts +3 -3
  618. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAccountPortfolioStream.js +2 -2
  619. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAccountStream.d.ts +3 -3
  620. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAccountStream.js +1 -1
  621. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAuctionStream.d.ts +3 -3
  622. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAuctionStream.js +1 -1
  623. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcDerivativesStream.d.ts +6 -6
  624. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcDerivativesStream.js +2 -2
  625. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcExplorerStream.d.ts +3 -3
  626. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcExplorerStream.js +1 -1
  627. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcMitoStream.d.ts +3 -3
  628. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcMitoStream.js +1 -1
  629. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcOracleStream.d.ts +3 -3
  630. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcOracleStream.js +2 -2
  631. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcSpotStream.d.ts +6 -6
  632. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcSpotStream.js +2 -2
  633. package/dist/esm/client/indexer/grpc_stream/IndexerGrpcTradingStream.d.ts +2 -2
  634. package/dist/esm/client/indexer/rest/IndexerRestDerivativesChronosApi.js +1 -1
  635. package/dist/esm/client/indexer/rest/IndexerRestExplorerApi.d.ts +4 -4
  636. package/dist/esm/client/indexer/rest/IndexerRestExplorerApi.js +1 -1
  637. package/dist/esm/client/indexer/rest/IndexerRestLeaderboardChronosApi.js +1 -1
  638. package/dist/esm/client/indexer/rest/IndexerRestMarketChronosApi.js +1 -1
  639. package/dist/esm/client/indexer/rest/IndexerRestSpotChronosApi.js +1 -1
  640. package/dist/esm/client/indexer/transformers/IndexerAccountPortfolioStreamTransformer.d.ts +1 -1
  641. package/dist/esm/client/indexer/transformers/IndexerAccountPortfolioTransformer.d.ts +2 -2
  642. package/dist/esm/client/indexer/transformers/IndexerAccountStreamTransformer.d.ts +2 -3
  643. package/dist/esm/client/indexer/transformers/IndexerAccountStreamTransformer.js +1 -1
  644. package/dist/esm/client/indexer/transformers/IndexerAuctionStreamTransformer.d.ts +3 -4
  645. package/dist/esm/client/indexer/transformers/IndexerCampaignTransformer.d.ts +2 -2
  646. package/dist/esm/client/indexer/transformers/IndexerCommonTransformer.d.ts +2 -2
  647. package/dist/esm/client/indexer/transformers/IndexerDerivativeStreamTransformer.d.ts +2 -2
  648. package/dist/esm/client/indexer/transformers/IndexerExplorerStreamTransformer.d.ts +4 -5
  649. package/dist/esm/client/indexer/transformers/IndexerExplorerStreamTransformer.js +1 -1
  650. package/dist/esm/client/indexer/transformers/IndexerGrpcAccountTransformer.d.ts +4 -4
  651. package/dist/esm/client/indexer/transformers/IndexerGrpcArchiverTransformer.d.ts +2 -2
  652. package/dist/esm/client/indexer/transformers/IndexerGrpcAuctionTransformer.d.ts +2 -2
  653. package/dist/esm/client/indexer/transformers/IndexerGrpcDerivativeTransformer.d.ts +3 -3
  654. package/dist/esm/client/indexer/transformers/IndexerGrpcDerivativeTransformer.js +1 -1
  655. package/dist/esm/client/indexer/transformers/IndexerGrpcExplorerTransformer.d.ts +2 -2
  656. package/dist/esm/client/indexer/transformers/IndexerGrpcExplorerTransformer.js +5 -5
  657. package/dist/esm/client/indexer/transformers/IndexerGrpcInsuranceFundTransformer.d.ts +2 -2
  658. package/dist/esm/client/indexer/transformers/IndexerGrpcMitoStreamTransformer.d.ts +2 -2
  659. package/dist/esm/client/indexer/transformers/IndexerGrpcMitoTransformer.d.ts +2 -2
  660. package/dist/esm/client/indexer/transformers/IndexerGrpcOracleTransformer.d.ts +2 -2
  661. package/dist/esm/client/indexer/transformers/IndexerGrpcReferralTransformer.d.ts +2 -2
  662. package/dist/esm/client/indexer/transformers/IndexerGrpcSpotTransformer.d.ts +3 -3
  663. package/dist/esm/client/indexer/transformers/IndexerOracleStreamTransformer.d.ts +1 -1
  664. package/dist/esm/client/indexer/transformers/IndexerRestExplorerTransformer.d.ts +3 -3
  665. package/dist/esm/client/indexer/transformers/IndexerSpotStreamTransformer.d.ts +2 -2
  666. package/dist/esm/client/indexer/types/account-portfolio.d.ts +3 -3
  667. package/dist/esm/client/indexer/types/account.d.ts +9 -8
  668. package/dist/esm/client/indexer/types/account.js +6 -7
  669. package/dist/esm/client/indexer/types/archiver.d.ts +1 -1
  670. package/dist/esm/client/indexer/types/auction.d.ts +2 -2
  671. package/dist/esm/client/indexer/types/campaign.d.ts +2 -2
  672. package/dist/esm/client/indexer/types/derivatives.d.ts +4 -4
  673. package/dist/esm/client/indexer/types/exchange.d.ts +2 -2
  674. package/dist/esm/client/indexer/types/explorer-rest.d.ts +2 -2
  675. package/dist/esm/client/indexer/types/explorer.d.ts +26 -23
  676. package/dist/esm/client/indexer/types/explorer.js +19 -22
  677. package/dist/esm/client/indexer/types/incentives.d.ts +1 -1
  678. package/dist/esm/client/indexer/types/index.d.ts +38 -39
  679. package/dist/esm/client/indexer/types/index.js +0 -16
  680. package/dist/esm/client/indexer/types/insurance-funds.d.ts +7 -6
  681. package/dist/esm/client/indexer/types/insurance-funds.js +4 -5
  682. package/dist/esm/client/indexer/types/mito.d.ts +7 -6
  683. package/dist/esm/client/indexer/types/mito.js +4 -5
  684. package/dist/esm/client/indexer/types/oracle.d.ts +1 -1
  685. package/dist/esm/client/indexer/types/referral.d.ts +2 -2
  686. package/dist/esm/client/indexer/types/spot.d.ts +6 -6
  687. package/dist/esm/client/indexer/types/swap.d.ts +1 -1
  688. package/dist/esm/client/indexer/types/trading.d.ts +12 -10
  689. package/dist/esm/client/indexer/types/trading.js +10 -11
  690. package/dist/esm/client/olp/grpc/OLPGrpcApi.js +2 -2
  691. package/dist/esm/client/olp/grpc/index.d.ts +1 -1
  692. package/dist/esm/client/olp/grpc/index.js +0 -1
  693. package/dist/esm/client/olp/grpc/transformers/index.d.ts +2 -2
  694. package/dist/esm/client/olp/grpc/types/index.d.ts +1 -1
  695. package/dist/esm/client/wasm/incentives/index.d.ts +1 -1
  696. package/dist/esm/client/wasm/incentives/index.js +0 -1
  697. package/dist/esm/client/wasm/incentives/queries/QueryAllRounds.js +1 -1
  698. package/dist/esm/client/wasm/incentives/queries/QueryGetCampaigns.js +1 -1
  699. package/dist/esm/client/wasm/incentives/transformer.d.ts +1 -1
  700. package/dist/esm/client/wasm/incentives/types.d.ts +1 -1
  701. package/dist/esm/client/wasm/index.d.ts +1 -1
  702. package/dist/esm/client/wasm/index.js +0 -1
  703. package/dist/esm/client/wasm/nameservice/queries/QueryInjName.js +1 -1
  704. package/dist/esm/client/wasm/nameservice/queries/QueryInjectiveAddress.js +1 -1
  705. package/dist/esm/client/wasm/nameservice/queries/QueryResolverAddress.js +1 -1
  706. package/dist/esm/client/wasm/nameservice/transformer.d.ts +1 -1
  707. package/dist/esm/client/wasm/neptune/helper.d.ts +1 -1
  708. package/dist/esm/client/wasm/neptune/queries/QueryGetPrices.d.ts +1 -1
  709. package/dist/esm/client/wasm/neptune/queries/QueryGetPrices.js +1 -1
  710. package/dist/esm/client/wasm/neptune/queries/QueryLendingRates.d.ts +1 -1
  711. package/dist/esm/client/wasm/neptune/queries/QueryLendingRates.js +1 -1
  712. package/dist/esm/client/wasm/neptune/service.d.ts +3 -2
  713. package/dist/esm/client/wasm/neptune/service.js +6 -6
  714. package/dist/esm/client/wasm/neptune/transformer.d.ts +2 -2
  715. package/dist/esm/client/wasm/swap/index.d.ts +1 -1
  716. package/dist/esm/client/wasm/swap/index.js +0 -1
  717. package/dist/esm/client/wasm/swap/queries/QueryAllRoutes.js +1 -1
  718. package/dist/esm/client/wasm/swap/queries/QueryInputQuantity.js +1 -1
  719. package/dist/esm/client/wasm/swap/queries/QueryOutputQuantity.js +1 -1
  720. package/dist/esm/client/wasm/swap/queries/QueryRoute.js +1 -1
  721. package/dist/esm/client/wasm/swap/transformer.d.ts +1 -1
  722. package/dist/esm/client/wasm/trading_strategies/queries/QueryTradingStrategyContractAllStrategies.js +1 -1
  723. package/dist/esm/client/wasm/trading_strategies/queries/QueryTradingStrategyContractConfig.js +1 -1
  724. package/dist/esm/client/wasm/trading_strategies/queries/QueryTradingStrategyContractTotalStrategies.js +1 -1
  725. package/dist/esm/client/wasm/trading_strategies/queries/QueryTradingStrategyContractUserStrategies.js +1 -1
  726. package/dist/esm/client/wasm/trading_strategies/types.d.ts +1 -1
  727. package/dist/esm/core/accounts/AccountParser.d.ts +1 -1
  728. package/dist/esm/core/accounts/Address.js +4 -4
  729. package/dist/esm/core/accounts/BaseAccount.d.ts +2 -2
  730. package/dist/esm/core/accounts/PrivateKey.d.ts +7 -6
  731. package/dist/esm/core/accounts/PrivateKey.js +31 -25
  732. package/dist/esm/core/accounts/PublicKey.d.ts +1 -1
  733. package/dist/esm/core/accounts/PublicKey.js +6 -6
  734. package/dist/esm/core/accounts/signers/DirectEthSecp256k1Wallet.d.ts +3 -3
  735. package/dist/esm/core/accounts/signers/DirectEthSecp256k1Wallet.js +1 -1
  736. package/dist/esm/core/accounts/signers/EthSecp256k1Wallet.d.ts +2 -2
  737. package/dist/esm/core/accounts/signers/EthSecp256k1Wallet.js +1 -1
  738. package/dist/esm/core/accounts/signers/types/amino-signer.d.ts +1 -1
  739. package/dist/esm/core/accounts/signers/types/index.d.ts +2 -2
  740. package/dist/esm/core/accounts/signers/types/proto-signer.d.ts +1 -1
  741. package/dist/esm/core/modules/MsgBase.d.ts +2 -2
  742. package/dist/esm/core/modules/MsgBase.js +1 -1
  743. package/dist/esm/core/modules/auction/msgs/MsgBid.d.ts +1 -1
  744. package/dist/esm/core/modules/auction/msgs/MsgBid.js +1 -1
  745. package/dist/esm/core/modules/authz/msgs/MsgExec.d.ts +1 -1
  746. package/dist/esm/core/modules/authz/msgs/MsgExec.js +1 -1
  747. package/dist/esm/core/modules/authz/msgs/MsgGrant.d.ts +2 -1
  748. package/dist/esm/core/modules/authz/msgs/MsgGrant.js +2 -2
  749. package/dist/esm/core/modules/authz/msgs/MsgGrantWithAuthorization.d.ts +2 -2
  750. package/dist/esm/core/modules/authz/msgs/MsgGrantWithAuthorization.js +2 -2
  751. package/dist/esm/core/modules/authz/msgs/MsgRevoke.d.ts +2 -2
  752. package/dist/esm/core/modules/authz/msgs/MsgRevoke.js +1 -1
  753. package/dist/esm/core/modules/authz/msgs/authorizations/Base.d.ts +1 -1
  754. package/dist/esm/core/modules/authz/msgs/authorizations/ContractExecutionAuthorization.d.ts +1 -1
  755. package/dist/esm/core/modules/authz/msgs/authorizations/ContractExecutionCompatAuthorization.d.ts +1 -1
  756. package/dist/esm/core/modules/authz/msgs/authorizations/GenericAuthorization.d.ts +2 -1
  757. package/dist/esm/core/modules/authz/msgs/authorizations/GenericAuthorization.js +1 -1
  758. package/dist/esm/core/modules/authz/types.d.ts +5 -4
  759. package/dist/esm/core/modules/authz/types.js +4 -5
  760. package/dist/esm/core/modules/authz/utils.d.ts +1 -1
  761. package/dist/esm/core/modules/authz/utils.js +1 -1
  762. package/dist/esm/core/modules/bank/msgs/MsgMultiSend.d.ts +1 -1
  763. package/dist/esm/core/modules/bank/msgs/MsgMultiSend.js +1 -1
  764. package/dist/esm/core/modules/bank/msgs/MsgSend.d.ts +1 -1
  765. package/dist/esm/core/modules/bank/msgs/MsgSend.js +1 -1
  766. package/dist/esm/core/modules/distribution/msgs/MsgWithdrawDelegatorReward.d.ts +1 -1
  767. package/dist/esm/core/modules/distribution/msgs/MsgWithdrawDelegatorReward.js +1 -1
  768. package/dist/esm/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.d.ts +1 -1
  769. package/dist/esm/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.js +1 -1
  770. package/dist/esm/core/modules/exchange/index.d.ts +5 -5
  771. package/dist/esm/core/modules/exchange/index.js +5 -5
  772. package/dist/esm/core/modules/exchange/msgs/MsgAdminUpdateBinaryOptionsMarket.d.ts +1 -1
  773. package/dist/esm/core/modules/exchange/msgs/MsgAdminUpdateBinaryOptionsMarket.js +5 -4
  774. package/dist/esm/core/modules/exchange/msgs/MsgAuthorizeStakeGrants.js +1 -1
  775. package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelBinaryOptionsOrders.d.ts +2 -2
  776. package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelBinaryOptionsOrders.js +1 -1
  777. package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelDerivativeOrders.d.ts +2 -2
  778. package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelDerivativeOrders.js +1 -1
  779. package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelSpotOrders.d.ts +2 -2
  780. package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelSpotOrders.js +1 -1
  781. package/dist/esm/core/modules/exchange/msgs/MsgBatchUpdateOrders.d.ts +2 -2
  782. package/dist/esm/core/modules/exchange/msgs/MsgBatchUpdateOrders.js +13 -13
  783. package/dist/esm/core/modules/exchange/msgs/MsgCancelBinaryOptionsOrder.d.ts +1 -1
  784. package/dist/esm/core/modules/exchange/msgs/MsgCancelBinaryOptionsOrder.js +1 -1
  785. package/dist/esm/core/modules/exchange/msgs/MsgCancelDerivativeOrder.d.ts +1 -1
  786. package/dist/esm/core/modules/exchange/msgs/MsgCancelDerivativeOrder.js +1 -1
  787. package/dist/esm/core/modules/exchange/msgs/MsgCancelSpotOrder.d.ts +1 -1
  788. package/dist/esm/core/modules/exchange/msgs/MsgCancelSpotOrder.js +1 -1
  789. package/dist/esm/core/modules/exchange/msgs/MsgCreateBinaryOptionsLimitOrder.d.ts +2 -2
  790. package/dist/esm/core/modules/exchange/msgs/MsgCreateBinaryOptionsLimitOrder.js +11 -10
  791. package/dist/esm/core/modules/exchange/msgs/MsgCreateBinaryOptionsMarketOrder.d.ts +2 -2
  792. package/dist/esm/core/modules/exchange/msgs/MsgCreateBinaryOptionsMarketOrder.js +11 -10
  793. package/dist/esm/core/modules/exchange/msgs/MsgCreateDerivativeLimitOrder.d.ts +2 -2
  794. package/dist/esm/core/modules/exchange/msgs/MsgCreateDerivativeLimitOrder.js +11 -10
  795. package/dist/esm/core/modules/exchange/msgs/MsgCreateDerivativeMarketOrder.d.ts +2 -2
  796. package/dist/esm/core/modules/exchange/msgs/MsgCreateDerivativeMarketOrder.js +11 -10
  797. package/dist/esm/core/modules/exchange/msgs/MsgCreateSpotLimitOrder.d.ts +2 -2
  798. package/dist/esm/core/modules/exchange/msgs/MsgCreateSpotLimitOrder.js +10 -9
  799. package/dist/esm/core/modules/exchange/msgs/MsgCreateSpotMarketOrder.d.ts +2 -2
  800. package/dist/esm/core/modules/exchange/msgs/MsgCreateSpotMarketOrder.js +10 -9
  801. package/dist/esm/core/modules/exchange/msgs/MsgDeposit.js +1 -1
  802. package/dist/esm/core/modules/exchange/msgs/MsgExternalTransfer.js +1 -1
  803. package/dist/esm/core/modules/exchange/msgs/MsgIncreasePositionMargin.js +5 -4
  804. package/dist/esm/core/modules/exchange/msgs/MsgInstantBinaryOptionsMarketLaunch.d.ts +1 -1
  805. package/dist/esm/core/modules/exchange/msgs/MsgInstantBinaryOptionsMarketLaunch.js +13 -12
  806. package/dist/esm/core/modules/exchange/msgs/MsgInstantSpotMarketLaunch.js +8 -7
  807. package/dist/esm/core/modules/exchange/msgs/MsgLiquidatePosition.d.ts +1 -1
  808. package/dist/esm/core/modules/exchange/msgs/MsgLiquidatePosition.js +12 -11
  809. package/dist/esm/core/modules/exchange/msgs/MsgReclaimLockedFunds.js +1 -1
  810. package/dist/esm/core/modules/exchange/msgs/MsgRewardsOptOut.js +1 -1
  811. package/dist/esm/core/modules/exchange/msgs/MsgSetDelegationTransferReceivers.d.ts +1 -1
  812. package/dist/esm/core/modules/exchange/msgs/MsgSetDelegationTransferReceivers.js +1 -1
  813. package/dist/esm/core/modules/exchange/msgs/MsgSignData.js +1 -1
  814. package/dist/esm/core/modules/exchange/msgs/MsgWithdraw.js +1 -1
  815. package/dist/esm/core/modules/exchange/utils/classes/OrderHashManager.d.ts +3 -3
  816. package/dist/esm/core/modules/exchange/utils/classes/OrderHashManager.js +7 -7
  817. package/dist/esm/core/modules/feegrant/msgs/MsgGrantAllowance.d.ts +2 -2
  818. package/dist/esm/core/modules/feegrant/msgs/MsgGrantAllowance.js +1 -1
  819. package/dist/esm/core/modules/feegrant/msgs/MsgRevokeAllowance.d.ts +2 -2
  820. package/dist/esm/core/modules/feegrant/msgs/MsgRevokeAllowance.js +1 -1
  821. package/dist/esm/core/modules/feegrant/utils/allowance.d.ts +8 -6
  822. package/dist/esm/core/modules/feegrant/utils/allowance.js +6 -7
  823. package/dist/esm/core/modules/gov/index.d.ts +1 -1
  824. package/dist/esm/core/modules/gov/index.js +1 -1
  825. package/dist/esm/core/modules/gov/msgs/MsgDeposit.js +1 -1
  826. package/dist/esm/core/modules/gov/msgs/MsgSubmitGenericProposal.d.ts +1 -1
  827. package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalExpiryFuturesMarketLaunch.d.ts +1 -1
  828. package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalExpiryFuturesMarketLaunch.js +16 -15
  829. package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunch.d.ts +1 -1
  830. package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunch.js +16 -15
  831. package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunchV2.d.ts +1 -1
  832. package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunchV2.js +19 -18
  833. package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalSpotMarketLaunch.d.ts +1 -1
  834. package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalSpotMarketLaunch.js +12 -11
  835. package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalSpotMarketParamUpdate.d.ts +1 -1
  836. package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalSpotMarketParamUpdate.js +14 -13
  837. package/dist/esm/core/modules/gov/msgs/MsgSubmitTextProposal.d.ts +1 -1
  838. package/dist/esm/core/modules/gov/msgs/MsgVote.js +1 -1
  839. package/dist/esm/core/modules/ibc/msgs/MsgTransfer.d.ts +2 -2
  840. package/dist/esm/core/modules/ibc/msgs/MsgTransfer.js +1 -1
  841. package/dist/esm/core/modules/index.d.ts +1 -1
  842. package/dist/esm/core/modules/index.js +0 -1
  843. package/dist/esm/core/modules/insurance/msgs/MsgCreateInsuranceFund.d.ts +1 -1
  844. package/dist/esm/core/modules/insurance/msgs/MsgCreateInsuranceFund.js +1 -1
  845. package/dist/esm/core/modules/insurance/msgs/MsgRequestRedemption.d.ts +1 -1
  846. package/dist/esm/core/modules/insurance/msgs/MsgRequestRedemption.js +1 -1
  847. package/dist/esm/core/modules/insurance/msgs/MsgUnderwrite.d.ts +1 -1
  848. package/dist/esm/core/modules/insurance/msgs/MsgUnderwrite.js +1 -1
  849. package/dist/esm/core/modules/msgs.d.ts +63 -63
  850. package/dist/esm/core/modules/peggy/msgs/MsgSendToEth.d.ts +1 -1
  851. package/dist/esm/core/modules/peggy/msgs/MsgSendToEth.js +2 -2
  852. package/dist/esm/core/modules/permissions/msgs/MsgClaimVoucher.d.ts +1 -1
  853. package/dist/esm/core/modules/permissions/msgs/MsgClaimVoucher.js +1 -1
  854. package/dist/esm/core/modules/permissions/msgs/MsgCreateNamespace.d.ts +1 -1
  855. package/dist/esm/core/modules/permissions/msgs/MsgCreateNamespace.js +1 -1
  856. package/dist/esm/core/modules/permissions/msgs/MsgUpdateActorRoles.d.ts +1 -1
  857. package/dist/esm/core/modules/permissions/msgs/MsgUpdateNamespace.d.ts +1 -1
  858. package/dist/esm/core/modules/permissions/msgs/MsgUpdateNamespace.js +1 -1
  859. package/dist/esm/core/modules/permissions/msgs/MsgUpdateParams.js +1 -1
  860. package/dist/esm/core/modules/staking/index.d.ts +1 -1
  861. package/dist/esm/core/modules/staking/index.js +1 -1
  862. package/dist/esm/core/modules/staking/msgs/MsgBeginRedelegate.d.ts +1 -1
  863. package/dist/esm/core/modules/staking/msgs/MsgBeginRedelegate.js +1 -1
  864. package/dist/esm/core/modules/staking/msgs/MsgCancelUnbondingDelegation.d.ts +1 -1
  865. package/dist/esm/core/modules/staking/msgs/MsgCancelUnbondingDelegation.js +1 -1
  866. package/dist/esm/core/modules/staking/msgs/MsgCreateValidator.d.ts +1 -1
  867. package/dist/esm/core/modules/staking/msgs/MsgCreateValidator.js +2 -2
  868. package/dist/esm/core/modules/staking/msgs/MsgDelegate.d.ts +1 -1
  869. package/dist/esm/core/modules/staking/msgs/MsgDelegate.js +1 -1
  870. package/dist/esm/core/modules/staking/msgs/MsgEditValidator.d.ts +2 -2
  871. package/dist/esm/core/modules/staking/msgs/MsgEditValidator.js +4 -3
  872. package/dist/esm/core/modules/staking/msgs/MsgTransferDelegation.d.ts +1 -1
  873. package/dist/esm/core/modules/staking/msgs/MsgTransferDelegation.js +1 -1
  874. package/dist/esm/core/modules/staking/msgs/MsgUndelegate.d.ts +1 -1
  875. package/dist/esm/core/modules/staking/msgs/MsgUndelegate.js +1 -1
  876. package/dist/esm/core/modules/tokenfactory/index.d.ts +1 -1
  877. package/dist/esm/core/modules/tokenfactory/index.js +1 -1
  878. package/dist/esm/core/modules/tokenfactory/msgs/MsgBurn.d.ts +2 -2
  879. package/dist/esm/core/modules/tokenfactory/msgs/MsgBurn.js +2 -1
  880. package/dist/esm/core/modules/tokenfactory/msgs/MsgChangeAdmin.d.ts +1 -1
  881. package/dist/esm/core/modules/tokenfactory/msgs/MsgChangeAdmin.js +1 -1
  882. package/dist/esm/core/modules/tokenfactory/msgs/MsgCreateDenom.d.ts +1 -1
  883. package/dist/esm/core/modules/tokenfactory/msgs/MsgCreateDenom.js +1 -1
  884. package/dist/esm/core/modules/tokenfactory/msgs/MsgMint.d.ts +1 -1
  885. package/dist/esm/core/modules/tokenfactory/msgs/MsgMint.js +1 -1
  886. package/dist/esm/core/modules/tokenfactory/msgs/MsgSetDenomMetadata.d.ts +1 -1
  887. package/dist/esm/core/modules/tokenfactory/msgs/MsgSetDenomMetadata.js +1 -1
  888. package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20AdapterRedeemAndTransfer.d.ts +2 -1
  889. package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20AdapterRedeemAndTransfer.js +1 -1
  890. package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20Send.d.ts +2 -1
  891. package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20Send.js +1 -1
  892. package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20Transfer.d.ts +2 -1
  893. package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20Transfer.js +1 -1
  894. package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateCampaign.d.ts +3 -2
  895. package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateCampaign.js +1 -1
  896. package/dist/esm/core/modules/wasm/exec-args/ExecArgCreatePerpGridStrategy.d.ts +2 -1
  897. package/dist/esm/core/modules/wasm/exec-args/ExecArgCreatePerpGridStrategy.js +1 -1
  898. package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateRound.d.ts +2 -1
  899. package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateRound.js +1 -1
  900. package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.d.ts +4 -2
  901. package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.js +2 -2
  902. package/dist/esm/core/modules/wasm/exec-args/ExecArgDepositTokens.d.ts +2 -1
  903. package/dist/esm/core/modules/wasm/exec-args/ExecArgDepositTokens.js +1 -1
  904. package/dist/esm/core/modules/wasm/exec-args/ExecArgFundCampaign.d.ts +2 -1
  905. package/dist/esm/core/modules/wasm/exec-args/ExecArgFundCampaign.js +1 -1
  906. package/dist/esm/core/modules/wasm/exec-args/ExecArgIncreaseAllowance.d.ts +2 -1
  907. package/dist/esm/core/modules/wasm/exec-args/ExecArgIncreaseAllowance.js +1 -1
  908. package/dist/esm/core/modules/wasm/exec-args/ExecArgInitiateTransfer.d.ts +3 -2
  909. package/dist/esm/core/modules/wasm/exec-args/ExecArgInitiateTransfer.js +1 -1
  910. package/dist/esm/core/modules/wasm/exec-args/ExecArgNeptuneDeposit.d.ts +2 -1
  911. package/dist/esm/core/modules/wasm/exec-args/ExecArgNeptuneDeposit.js +1 -1
  912. package/dist/esm/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.d.ts +2 -1
  913. package/dist/esm/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.js +1 -1
  914. package/dist/esm/core/modules/wasm/exec-args/ExecArgRemoveGridStrategy.d.ts +2 -1
  915. package/dist/esm/core/modules/wasm/exec-args/ExecArgRemoveGridStrategy.js +1 -1
  916. package/dist/esm/core/modules/wasm/exec-args/ExecArgSubmitVaa.d.ts +2 -1
  917. package/dist/esm/core/modules/wasm/exec-args/ExecArgSubmitVaa.js +1 -1
  918. package/dist/esm/core/modules/wasm/exec-args/ExecArgSwapExactOutput.d.ts +2 -1
  919. package/dist/esm/core/modules/wasm/exec-args/ExecArgSwapExactOutput.js +1 -1
  920. package/dist/esm/core/modules/wasm/exec-args/ExecArgSwapMinOutput.d.ts +2 -1
  921. package/dist/esm/core/modules/wasm/exec-args/ExecArgSwapMinOutput.js +1 -1
  922. package/dist/esm/core/modules/wasm/exec-args/ExecArgUpdateGridConfig.d.ts +2 -1
  923. package/dist/esm/core/modules/wasm/exec-args/ExecArgUpdateGridConfig.js +1 -1
  924. package/dist/esm/core/modules/wasm/exec-args.d.ts +20 -20
  925. package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultRedeem.d.ts +2 -1
  926. package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultRedeem.js +1 -1
  927. package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultSubscribe.d.ts +2 -1
  928. package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultSubscribe.js +1 -1
  929. package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultRedeem.d.ts +2 -1
  930. package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultRedeem.js +1 -1
  931. package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultSubscribe.d.ts +2 -1
  932. package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultSubscribe.js +1 -1
  933. package/dist/esm/core/modules/wasm/index.d.ts +13 -13
  934. package/dist/esm/core/modules/wasm/index.js +12 -13
  935. package/dist/esm/core/modules/wasm/msgs/MsgExecuteContract.d.ts +2 -2
  936. package/dist/esm/core/modules/wasm/msgs/MsgExecuteContract.js +3 -3
  937. package/dist/esm/core/modules/wasm/msgs/MsgExecuteContractCompat.d.ts +2 -2
  938. package/dist/esm/core/modules/wasm/msgs/MsgExecuteContractCompat.js +1 -1
  939. package/dist/esm/core/modules/wasm/msgs/MsgInstantiateContract.d.ts +1 -1
  940. package/dist/esm/core/modules/wasm/msgs/MsgInstantiateContract.js +3 -3
  941. package/dist/esm/core/modules/wasm/msgs/MsgMigrateContract.d.ts +1 -1
  942. package/dist/esm/core/modules/wasm/msgs/MsgMigrateContract.js +3 -3
  943. package/dist/esm/core/modules/wasm/msgs/MsgPrivilegedExecuteContract.d.ts +3 -3
  944. package/dist/esm/core/modules/wasm/msgs/MsgPrivilegedExecuteContract.js +1 -1
  945. package/dist/esm/core/modules/wasm/msgs/MsgStoreCode.d.ts +1 -1
  946. package/dist/esm/core/modules/wasm/msgs/MsgStoreCode.js +4 -4
  947. package/dist/esm/core/modules/wasm/msgs/MsgUpdateAdmin.d.ts +1 -1
  948. package/dist/esm/core/modules/wasm/msgs/MsgUpdateAdmin.js +1 -1
  949. package/dist/esm/core/modules/wasm/types.d.ts +12 -10
  950. package/dist/esm/core/modules/wasm/types.js +10 -12
  951. package/dist/esm/core/stargate/SigningStargateClient.d.ts +10 -8
  952. package/dist/esm/core/stargate/SigningStargateClient.js +10 -10
  953. package/dist/esm/core/stargate/StargateClient.d.ts +2 -1
  954. package/dist/esm/core/tx/api/TxGrpcApi.d.ts +3 -3
  955. package/dist/esm/core/tx/api/TxGrpcApi.js +2 -2
  956. package/dist/esm/core/tx/api/TxRestApi.d.ts +3 -3
  957. package/dist/esm/core/tx/api/TxRestApi.js +5 -5
  958. package/dist/esm/core/tx/api/utils.d.ts +1 -1
  959. package/dist/esm/core/tx/arbitrary.js +1 -1
  960. package/dist/esm/core/tx/broadcaster/MsgBroadcasterWithPk.d.ts +5 -4
  961. package/dist/esm/core/tx/broadcaster/MsgBroadcasterWithPk.js +8 -8
  962. package/dist/esm/core/tx/eip712/MsgDecoder.d.ts +2 -2
  963. package/dist/esm/core/tx/eip712/MsgDecoder.js +1 -1
  964. package/dist/esm/core/tx/eip712/eip712.d.ts +3 -3
  965. package/dist/esm/core/tx/eip712/eip712.js +1 -1
  966. package/dist/esm/core/tx/eip712/index.d.ts +1 -1
  967. package/dist/esm/core/tx/eip712/index.js +0 -1
  968. package/dist/esm/core/tx/eip712/maps.d.ts +1 -1
  969. package/dist/esm/core/tx/eip712/maps.js +1 -1
  970. package/dist/esm/core/tx/eip712/utils.d.ts +2 -2
  971. package/dist/esm/core/tx/eip712/utils.js +9 -7
  972. package/dist/esm/core/tx/tx.d.ts +3 -3
  973. package/dist/esm/core/tx/tx.js +7 -7
  974. package/dist/esm/core/tx/types/tx-rest-client.d.ts +13 -11
  975. package/dist/esm/core/tx/types/tx-rest-client.js +10 -12
  976. package/dist/esm/core/tx/types/tx.d.ts +8 -7
  977. package/dist/esm/core/tx/types/tx.js +4 -5
  978. package/dist/esm/core/tx/utils/classes/TxClient.js +1 -1
  979. package/dist/esm/core/tx/utils/tx.d.ts +8 -7
  980. package/dist/esm/core/tx/utils/tx.js +2 -2
  981. package/dist/esm/service/TokenFactoryStatic.d.ts +2 -1
  982. package/dist/esm/service/TokenStaticFactory.d.ts +2 -1
  983. package/dist/esm/types/cosmos.d.ts +12 -11
  984. package/dist/esm/types/cosmos.js +7 -8
  985. package/dist/esm/types/exchange.d.ts +19 -16
  986. package/dist/esm/types/exchange.js +16 -19
  987. package/dist/esm/types/index.d.ts +1 -1
  988. package/dist/esm/types/index.js +0 -1
  989. package/dist/esm/types/token.d.ts +37 -34
  990. package/dist/esm/types/token.js +34 -37
  991. package/dist/esm/utils/address.js +3 -6
  992. package/dist/esm/utils/constants.d.ts +0 -2
  993. package/dist/esm/utils/constants.js +0 -2
  994. package/dist/esm/utils/crypto.d.ts +11 -7
  995. package/dist/esm/utils/crypto.js +34 -8
  996. package/dist/esm/utils/helpers.d.ts +2 -2
  997. package/dist/esm/utils/helpers.js +1 -1
  998. package/dist/esm/utils/msgs.d.ts +1 -1
  999. package/dist/esm/utils/numbers.d.ts +36 -10
  1000. package/dist/esm/utils/numbers.js +51 -40
  1001. package/dist/esm/utils/pagination.d.ts +3 -3
  1002. package/dist/esm/utils/transaction.d.ts +2 -1
  1003. package/dist/esm/utils/transaction.js +12 -9
  1004. package/package.json +15 -15
@@ -4,16 +4,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ChainGrpcTxFeesApi = void 0;
7
- const exceptions_1 = require("@injectivelabs/exceptions");
8
7
  const core_proto_ts_1 = require("@injectivelabs/core-proto-ts");
8
+ const exceptions_1 = require("@injectivelabs/exceptions");
9
+ const index_js_1 = require("../types/index.js");
9
10
  const BaseGrpcConsumer_js_1 = __importDefault(require("../../base/BaseGrpcConsumer.js"));
10
- const index_js_1 = require("../transformers/index.js");
11
- const index_js_2 = require("../types/index.js");
11
+ const index_js_2 = require("../transformers/index.js");
12
12
  /**
13
13
  * @category Chain Grpc API
14
14
  */
15
15
  class ChainGrpcTxFeesApi extends BaseGrpcConsumer_js_1.default {
16
- module = index_js_2.ChainModule.TxFees;
16
+ module = index_js_1.ChainModule.TxFees;
17
17
  client;
18
18
  constructor(endpoint) {
19
19
  super(endpoint);
@@ -23,7 +23,7 @@ class ChainGrpcTxFeesApi extends BaseGrpcConsumer_js_1.default {
23
23
  const request = core_proto_ts_1.InjectiveTxFeesV1Beta1Query.QueryParamsRequest.create();
24
24
  try {
25
25
  const response = await this.retry(() => this.client.Params(request, this.metadata));
26
- return index_js_1.ChainGrpcTxFeesTransformer.moduleParamsResponseToModuleParams(response);
26
+ return index_js_2.ChainGrpcTxFeesTransformer.moduleParamsResponseToModuleParams(response);
27
27
  }
28
28
  catch (e) {
29
29
  if (e instanceof core_proto_ts_1.InjectiveTxFeesV1Beta1Query.GrpcWebError) {
@@ -44,7 +44,7 @@ class ChainGrpcTxFeesApi extends BaseGrpcConsumer_js_1.default {
44
44
  const request = core_proto_ts_1.InjectiveTxFeesV1Beta1Query.QueryEipBaseFeeRequest.create();
45
45
  try {
46
46
  const response = await this.retry(() => this.client.GetEipBaseFee(request, this.metadata));
47
- return index_js_1.ChainGrpcTxFeesTransformer.eipBaseFeeResponseToEipBaseFee(response);
47
+ return index_js_2.ChainGrpcTxFeesTransformer.eipBaseFeeResponseToEipBaseFee(response);
48
48
  }
49
49
  catch (e) {
50
50
  if (e instanceof core_proto_ts_1.InjectiveTxFeesV1Beta1Query.GrpcWebError) {
@@ -1,6 +1,6 @@
1
1
  import { CosmwasmWasmV1Query } from '@injectivelabs/core-proto-ts';
2
2
  import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
3
- import { PaginationOption } from '../../../types/pagination.js';
3
+ import type { PaginationOption } from '../../../types/pagination.js';
4
4
  /**
5
5
  * @category Chain Grpc API
6
6
  */
@@ -4,13 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ChainGrpcWasmApi = void 0;
7
- const exceptions_1 = require("@injectivelabs/exceptions");
8
7
  const core_proto_ts_1 = require("@injectivelabs/core-proto-ts");
9
- const BaseGrpcConsumer_js_1 = __importDefault(require("../../base/BaseGrpcConsumer.js"));
8
+ const exceptions_1 = require("@injectivelabs/exceptions");
10
9
  const index_js_1 = require("../types/index.js");
10
+ const utf8_js_1 = require("../../../utils/utf8.js");
11
+ const BaseGrpcConsumer_js_1 = __importDefault(require("../../base/BaseGrpcConsumer.js"));
11
12
  const index_js_2 = require("../transformers/index.js");
12
13
  const pagination_js_1 = require("../../../utils/pagination.js");
13
- const utf8_js_1 = require("../../../utils/utf8.js");
14
14
  /**
15
15
  * @category Chain Grpc API
16
16
  */
@@ -4,10 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ChainGrpcWasmXApi = void 0;
7
- const exceptions_1 = require("@injectivelabs/exceptions");
8
7
  const core_proto_ts_1 = require("@injectivelabs/core-proto-ts");
9
- const BaseGrpcConsumer_js_1 = __importDefault(require("../../base/BaseGrpcConsumer.js"));
8
+ const exceptions_1 = require("@injectivelabs/exceptions");
10
9
  const index_js_1 = require("../types/index.js");
10
+ const BaseGrpcConsumer_js_1 = __importDefault(require("../../base/BaseGrpcConsumer.js"));
11
11
  /**
12
12
  * @category Chain Grpc API
13
13
  */
@@ -1,5 +1,5 @@
1
1
  import BaseRestConsumer from '../../base/BaseRestConsumer.js';
2
- import { AccountResponse, BaseAccountRestResponse } from './../types/auth-rest.js';
2
+ import type { AccountResponse, BaseAccountRestResponse } from './../types/auth-rest.js';
3
3
  /**
4
4
  * @category Chain Rest API
5
5
  */
@@ -5,8 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ChainRestAuthApi = void 0;
7
7
  const exceptions_1 = require("@injectivelabs/exceptions");
8
- const BaseRestConsumer_js_1 = __importDefault(require("../../base/BaseRestConsumer.js"));
9
8
  const index_js_1 = require("../types/index.js");
9
+ const BaseRestConsumer_js_1 = __importDefault(require("../../base/BaseRestConsumer.js"));
10
10
  /**
11
11
  * @category Chain Rest API
12
12
  */
@@ -1,5 +1,5 @@
1
1
  import BaseRestConsumer from '../../base/BaseRestConsumer.js';
2
- import { BalancesResponse, DenomBalance, DenomOwnersResponse } from './../types/bank-rest.js';
2
+ import type { BalancesResponse, DenomBalance, DenomOwnersResponse } from './../types/bank-rest.js';
3
3
  /**
4
4
  * @category Chain Rest API
5
5
  */
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ChainRestBankApi = void 0;
7
7
  const http_status_codes_1 = require("http-status-codes");
8
8
  const exceptions_1 = require("@injectivelabs/exceptions");
9
- const BaseRestConsumer_js_1 = __importDefault(require("../../base/BaseRestConsumer.js"));
10
9
  const index_js_1 = require("../types/index.js");
10
+ const BaseRestConsumer_js_1 = __importDefault(require("../../base/BaseRestConsumer.js"));
11
11
  /**
12
12
  * @category Chain Rest API
13
13
  */
@@ -1,5 +1,5 @@
1
1
  import BaseRestConsumer from '../../base/BaseRestConsumer.js';
2
- import { BlockLatestRestResponse, NodeInfoRestResponse } from './../types/tendermint-rest.js';
2
+ import type { BlockLatestRestResponse, NodeInfoRestResponse } from './../types/tendermint-rest.js';
3
3
  /**
4
4
  * @category Chain Rest API
5
5
  */
@@ -5,8 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ChainRestTendermintApi = void 0;
7
7
  const exceptions_1 = require("@injectivelabs/exceptions");
8
- const BaseRestConsumer_js_1 = __importDefault(require("../../base/BaseRestConsumer.js"));
9
8
  const index_js_1 = require("../types/index.js");
9
+ const BaseRestConsumer_js_1 = __importDefault(require("../../base/BaseRestConsumer.js"));
10
10
  /**
11
11
  * @category Chain Rest API
12
12
  */
@@ -5,8 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ChainRestWasmApi = void 0;
7
7
  const exceptions_1 = require("@injectivelabs/exceptions");
8
- const BaseRestConsumer_js_1 = __importDefault(require("../../base/BaseRestConsumer.js"));
9
8
  const index_js_1 = require("../types/index.js");
9
+ const BaseRestConsumer_js_1 = __importDefault(require("../../base/BaseRestConsumer.js"));
10
10
  /**
11
11
  * @category Chain Wasm API
12
12
  */
@@ -1,5 +1,5 @@
1
- import { AuctionBid, GrpcAuctionBid, AuctionModuleState, AuctionCurrentBasket, AuctionModuleStateParams, AuctionLastAuctionResult, GrpcAuctionLastAuctionResult } from '../types/auction.js';
2
- import { InjectiveAuctionV1Beta1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { InjectiveAuctionV1Beta1Query } from '@injectivelabs/core-proto-ts';
2
+ import type { AuctionBid, GrpcAuctionBid, AuctionModuleState, AuctionCurrentBasket, AuctionModuleStateParams, AuctionLastAuctionResult, GrpcAuctionLastAuctionResult } from '../types/auction.js';
3
3
  /**
4
4
  * @category Chain Grpc Transformer
5
5
  */
@@ -1,5 +1,5 @@
1
- import { Account, AuthModuleParams } from '../types/auth.js';
2
- import { GoogleProtobufAny, CosmosAuthV1Beta1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { Account, AuthModuleParams } from '../types/auth.js';
2
+ import type { GoogleProtobufAny, CosmosAuthV1Beta1Query } from '@injectivelabs/core-proto-ts';
3
3
  /**
4
4
  * @category Chain Grpc Transformer
5
5
  */
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChainGrpcAuthTransformer = void 0;
4
- const pagination_js_1 = require("../../../utils/pagination.js");
5
- const index_js_1 = require("../../../utils/index.js");
6
4
  const core_proto_ts_1 = require("@injectivelabs/core-proto-ts");
5
+ const index_js_1 = require("../../../utils/index.js");
6
+ const pagination_js_1 = require("../../../utils/pagination.js");
7
7
  /**
8
8
  * @category Chain Grpc Transformer
9
9
  */
@@ -1,5 +1,6 @@
1
- import { CosmosAuthzV1Beta1Authz, CosmosAuthzV1Beta1Query } from '@injectivelabs/core-proto-ts';
2
- import { GrantAuthorizationWithDecodedAuthorization, GrantWithDecodedAuthorization } from '../types/index.js';
1
+ import { CosmosAuthzV1Beta1Authz } from '@injectivelabs/core-proto-ts';
2
+ import type { CosmosAuthzV1Beta1Query } from '@injectivelabs/core-proto-ts';
3
+ import type { GrantAuthorizationWithDecodedAuthorization, GrantWithDecodedAuthorization } from '../types/index.js';
3
4
  /**
4
5
  * @category Chain Grpc Transformer
5
6
  */
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChainGrpcAuthZTransformer = void 0;
4
4
  const exceptions_1 = require("@injectivelabs/exceptions");
5
- const pagination_js_1 = require("../../../utils/pagination.js");
6
5
  const core_proto_ts_1 = require("@injectivelabs/core-proto-ts");
6
+ const pagination_js_1 = require("../../../utils/pagination.js");
7
7
  /**
8
8
  * @category Chain Grpc Transformer
9
9
  */
@@ -1,7 +1,7 @@
1
- import { Coin } from '@injectivelabs/ts-types';
2
- import { Pagination } from '../../../types/index.js';
3
- import { BankModuleParams, Metadata, TotalSupply } from '../types/index.js';
4
- import { CosmosBankV1Beta1Bank, CosmosBankV1Beta1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { Coin } from '@injectivelabs/ts-types';
2
+ import type { Pagination } from '../../../types/index.js';
3
+ import type { BankModuleParams, Metadata, TotalSupply } from '../types/index.js';
4
+ import type { CosmosBankV1Beta1Bank, CosmosBankV1Beta1Query } from '@injectivelabs/core-proto-ts';
5
5
  /**
6
6
  * @category Chain Grpc Transformer
7
7
  */
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChainGrpcBankTransformer = void 0;
4
- const ChainGrpcCommonTransformer_js_1 = require("./ChainGrpcCommonTransformer.js");
5
4
  const pagination_js_1 = require("../../../utils/pagination.js");
5
+ const ChainGrpcCommonTransformer_js_1 = require("./ChainGrpcCommonTransformer.js");
6
6
  /**
7
7
  * @category Chain Grpc Transformer
8
8
  */
@@ -1,5 +1,5 @@
1
- import { Coin } from '@injectivelabs/ts-types';
2
- import { GrpcCoin } from '../../../types/index.js';
1
+ import type { Coin } from '@injectivelabs/ts-types';
2
+ import type { GrpcCoin } from '../../../types/index.js';
3
3
  export declare class ChainGrpcCommonTransformer {
4
4
  static grpcCoinToCoin(coin: GrpcCoin): Coin;
5
5
  }
@@ -1,7 +1,7 @@
1
- import { Coin } from '@injectivelabs/ts-types';
2
- import { DistributionModuleParams } from '../types/distribution.js';
3
- import { ValidatorRewards } from '../types/distribution.js';
4
- import { CosmosDistributionV1Beta1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { Coin } from '@injectivelabs/ts-types';
2
+ import type { ValidatorRewards } from '../types/distribution.js';
3
+ import type { DistributionModuleParams } from '../types/distribution.js';
4
+ import type { CosmosDistributionV1Beta1Query } from '@injectivelabs/core-proto-ts';
5
5
  /**
6
6
  * @category Chain Grpc Transformer
7
7
  */
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChainGrpcDistributionTransformer = void 0;
4
- const index_js_1 = require("../../../utils/index.js");
4
+ const utils_1 = require("@injectivelabs/utils");
5
5
  /**
6
6
  * @category Chain Grpc Transformer
7
7
  */
@@ -9,7 +9,7 @@ class ChainGrpcDistributionTransformer {
9
9
  static moduleParamsResponseToModuleParams(response) {
10
10
  const params = response.params;
11
11
  return {
12
- communityTax: (0, index_js_1.cosmosSdkDecToBigNumber)(params.communityTax).toFixed(),
12
+ communityTax: (0, utils_1.toHumanReadable)(params.communityTax).toFixed(),
13
13
  baseProposerReward: params.baseProposerReward,
14
14
  bonusProposerReward: params.bonusProposerReward,
15
15
  withdrawAddrEnabled: params.withdrawAddrEnabled,
@@ -19,7 +19,7 @@ class ChainGrpcDistributionTransformer {
19
19
  const grpcRewards = response.rewards;
20
20
  return grpcRewards.map((grpcReward) => {
21
21
  return {
22
- amount: (0, index_js_1.cosmosSdkDecToBigNumber)(grpcReward.amount).toFixed(),
22
+ amount: (0, utils_1.toHumanReadable)(grpcReward.amount).toFixed(),
23
23
  denom: grpcReward.denom,
24
24
  };
25
25
  });
@@ -28,7 +28,7 @@ class ChainGrpcDistributionTransformer {
28
28
  const grpcRewards = response.rewards;
29
29
  return grpcRewards.map((grpcReward) => {
30
30
  const rewards = grpcReward.reward.map((reward) => ({
31
- amount: (0, index_js_1.cosmosSdkDecToBigNumber)(reward.amount).toFixed(),
31
+ amount: (0, utils_1.toHumanReadable)(reward.amount).toFixed(),
32
32
  denom: reward.denom,
33
33
  }));
34
34
  return {
@@ -1,7 +1,9 @@
1
- import { InjectiveExchangeV1Beta1Query, InjectiveExchangeV1Beta1Exchange } from '@injectivelabs/core-proto-ts';
2
- import { ChainPosition, PointsMultiplier, ChainDenomDecimal, GrpcChainPosition, CampaignRewardPool, FeeDiscountTierTTL, IsOptedOutOfRewards, FeeDiscountSchedule, FeeDiscountTierInfo, TradeRewardCampaign, ChainDenomMinNotional, GrpcPointsMultiplier, ExchangeModuleParams, GrpcCampaignRewardPool, FeeDiscountAccountInfo, GrpcFeeDiscountTierTTL, GrpcFeeDiscountTierInfo, ChainDerivativePosition, TradingRewardCampaignInfo, GrpcTradingRewardCampaignInfo, TradingRewardCampaignBoostInfo, GrpcTradingRewardCampaignBoostInfo, type GrpcChainFullDerivativeMarket, type GrpcChainFullSpotMarket, type GrpcChainSpotMarket } from '../types/exchange.js';
3
- import type { DerivativeMarket } from '../../indexer/types/derivatives.js';
1
+ import { InjectiveExchangeV1Beta1Exchange } from '@injectivelabs/core-proto-ts';
4
2
  import type { SpotMarket } from '../../indexer/types/spot.js';
3
+ import type { DerivativeMarket } from '../../indexer/types/derivatives.js';
4
+ import type { InjectiveExchangeV1Beta1Query } from '@injectivelabs/core-proto-ts';
5
+ import type { GrpcChainSpotMarket, GrpcChainFullSpotMarket, GrpcChainFullDerivativeMarket } from '../types/exchange.js';
6
+ import type { ChainPosition, PointsMultiplier, ChainDenomDecimal, GrpcChainPosition, CampaignRewardPool, FeeDiscountTierTTL, IsOptedOutOfRewards, FeeDiscountSchedule, FeeDiscountTierInfo, TradeRewardCampaign, ChainDenomMinNotional, GrpcPointsMultiplier, ExchangeModuleParams, GrpcCampaignRewardPool, FeeDiscountAccountInfo, GrpcFeeDiscountTierTTL, GrpcFeeDiscountTierInfo, ChainDerivativePosition, TradingRewardCampaignInfo, GrpcTradingRewardCampaignInfo, TradingRewardCampaignBoostInfo, GrpcTradingRewardCampaignBoostInfo } from '../types/exchange.js';
5
7
  /**
6
8
  * @category Chain Grpc Transformer
7
9
  */
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChainGrpcExchangeTransformer = void 0;
4
- const core_proto_ts_1 = require("@injectivelabs/core-proto-ts");
5
4
  const utils_1 = require("@injectivelabs/utils");
5
+ const core_proto_ts_1 = require("@injectivelabs/core-proto-ts");
6
6
  const numbers_js_1 = require("./../../../utils/numbers.js");
7
7
  /**
8
8
  * @category Chain Grpc Transformer
@@ -180,9 +180,7 @@ class ChainGrpcExchangeTransformer {
180
180
  static denomMinNotionalsResponseToDenomMinNotionals(response) {
181
181
  return response.denomMinNotionals.map((denomDecimals) => ({
182
182
  denom: denomDecimals.denom,
183
- minNotional: new utils_1.BigNumberInBase(denomDecimals.minNotional)
184
- .dividedBy(10 ** 18)
185
- .toFixed(),
183
+ minNotional: (0, utils_1.toHumanReadable)(denomDecimals.minNotional).toFixed(),
186
184
  }));
187
185
  }
188
186
  static spotMarketsResponseToSpotMarkets(response) {
@@ -1,6 +1,6 @@
1
- import { Vote, Proposal, GrpcVote, TallyResult, GrpcProposal, ProposalDeposit, GrpcTallyResult, GovModuleStateParams, GrpcGovernanceTallyParams, GrpcGovernanceVotingParams, GrpcGovernanceDepositParams } from '../types/gov.js';
2
- import { Pagination } from '../../../types/index.js';
3
- import { CosmosGovV1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { Pagination } from '../../../types/index.js';
2
+ import type { CosmosGovV1Query } from '@injectivelabs/core-proto-ts';
3
+ import type { Vote, Proposal, GrpcVote, TallyResult, GrpcProposal, ProposalDeposit, GrpcTallyResult, GovModuleStateParams, GrpcGovernanceTallyParams, GrpcGovernanceVotingParams, GrpcGovernanceDepositParams } from '../types/gov.js';
4
4
  /**
5
5
  * @category Chain Grpc Transformer
6
6
  */
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChainGrpcGovTransformer = void 0;
4
+ const utils_1 = require("@injectivelabs/utils");
4
5
  const index_js_1 = require("../../../utils/index.js");
5
6
  const pagination_js_1 = require("../../../utils/pagination.js");
6
- const index_js_2 = require("../../../utils/index.js");
7
7
  /**
8
8
  * @category Chain Grpc Transformer
9
9
  */
@@ -69,7 +69,7 @@ class ChainGrpcGovTransformer {
69
69
  depositor: deposit.depositor,
70
70
  amounts: deposit.amount.map((coin) => ({
71
71
  denom: coin.denom,
72
- amount: (0, index_js_2.cosmosSdkDecToBigNumber)(coin.amount).toFixed(),
72
+ amount: (0, utils_1.toHumanReadable)(coin.amount).toFixed(),
73
73
  })),
74
74
  };
75
75
  });
@@ -132,7 +132,7 @@ class ChainGrpcGovTransformer {
132
132
  : 0,
133
133
  totalDeposits: proposal.totalDeposit.map((coin) => ({
134
134
  denom: coin.denom,
135
- amount: (0, index_js_2.cosmosSdkDecToBigNumber)(coin.amount).toFixed(),
135
+ amount: (0, utils_1.toHumanReadable)(coin.amount).toFixed(),
136
136
  })),
137
137
  votingStartTime: proposal.votingStartTime
138
138
  ? Math.floor(proposal.votingStartTime.getTime() / 1000)
@@ -1,6 +1,6 @@
1
- import { InsuranceFund, InsuranceModuleParams } from '../types/insurance.js';
2
- import { GrpcInsuranceFund } from '../types/insurance.js';
3
- import { InjectiveInsuranceV1Beta1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { GrpcInsuranceFund } from '../types/insurance.js';
2
+ import type { InsuranceFund, InsuranceModuleParams } from '../types/insurance.js';
3
+ import type { InjectiveInsuranceV1Beta1Query } from '@injectivelabs/core-proto-ts';
4
4
  /**
5
5
  * @category Chain Grpc Transformer
6
6
  */
@@ -1,5 +1,5 @@
1
- import { MinModuleParams } from '../types/mint.js';
2
- import { CosmosMintV1Beta1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { MinModuleParams } from '../types/mint.js';
2
+ import type { CosmosMintV1Beta1Query } from '@injectivelabs/core-proto-ts';
3
3
  /**
4
4
  * @category Chain Grpc Transformer
5
5
  */
@@ -1,5 +1,5 @@
1
- import { PeggyModuleParams } from '../types/peggy.js';
2
- import { InjectivePeggyV1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { PeggyModuleParams } from '../types/peggy.js';
2
+ import type { InjectivePeggyV1Query } from '@injectivelabs/core-proto-ts';
3
3
  /**
4
4
  * @category Chain Grpc Transformer
5
5
  */
@@ -1,5 +1,5 @@
1
- import { PermissionRole, PermissionNamespace, PermissionActorRoles, PermissionRoleManager, PermissionPolicyStatus, PermissionsModuleParams, PermissionAddressVoucher, PermissionPolicyManagerCapability, GrpcPermissionRole, GrpcPermissionNamespace, GrpcPermissionActorRoles, GrpcPermissionRoleManager, GrpcPermissionPolicyStatus, GrpcPermissionAddressVoucher, GrpcPermissionPolicyStatusManagerCapability } from '../types/permissions.js';
2
- import { InjectivePermissionsV1Beta1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { InjectivePermissionsV1Beta1Query } from '@injectivelabs/core-proto-ts';
2
+ import type { PermissionRole, PermissionNamespace, PermissionActorRoles, PermissionRoleManager, PermissionPolicyStatus, PermissionsModuleParams, PermissionAddressVoucher, PermissionPolicyManagerCapability, GrpcPermissionRole, GrpcPermissionNamespace, GrpcPermissionActorRoles, GrpcPermissionRoleManager, GrpcPermissionPolicyStatus, GrpcPermissionAddressVoucher, GrpcPermissionPolicyStatusManagerCapability } from '../types/permissions.js';
3
3
  /**
4
4
  * @category Chain Grpc Transformer
5
5
  */
@@ -1,6 +1,6 @@
1
- import { GrpcValidator, GrpcValidatorCommission, GrpcValidatorDescription, BondStatus, Validator, ValidatorCommission, ValidatorDescription, Delegation, UnBondingDelegation, ReDelegation, Pool, StakingModuleParams } from '../types/staking.js';
2
- import { Pagination } from '../../../types/index.js';
3
- import { CosmosStakingV1Beta1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { Pagination } from '../../../types/index.js';
2
+ import type { CosmosStakingV1Beta1Query } from '@injectivelabs/core-proto-ts';
3
+ import type { GrpcValidator, GrpcValidatorCommission, GrpcValidatorDescription, Validator, ValidatorCommission, ValidatorDescription, Delegation, UnBondingDelegation, ReDelegation, Pool, StakingModuleParams } from '../types/staking.js';
4
4
  /**
5
5
  * @category Chain Grpc Transformer
6
6
  */
@@ -28,5 +28,5 @@ export declare class ChainGrpcStakingTransformer {
28
28
  static poolResponseToPool(response: CosmosStakingV1Beta1Query.QueryPoolResponse): Pool;
29
29
  static grpcValidatorDescriptionToDescription(description?: GrpcValidatorDescription): ValidatorDescription;
30
30
  static grpcValidatorCommissionToCommission(commission?: GrpcValidatorCommission): ValidatorCommission;
31
- static grpcValidatorStatusToStatus(status: number): BondStatus;
31
+ static grpcValidatorStatusToStatus(status: number): "UnBonded" | "UnBonding" | "Bonded";
32
32
  }
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChainGrpcStakingTransformer = void 0;
4
4
  const utils_1 = require("@injectivelabs/utils");
5
5
  const staking_js_1 = require("../types/staking.js");
6
- const index_js_1 = require("../../../utils/index.js");
7
6
  const pagination_js_1 = require("../../../utils/pagination.js");
8
7
  /**
9
8
  * @category Chain Grpc Transformer
@@ -38,11 +37,11 @@ class ChainGrpcStakingTransformer {
38
37
  delegation: {
39
38
  delegatorAddress: delegation ? delegation.delegatorAddress : '',
40
39
  validatorAddress: delegation ? delegation.validatorAddress : '',
41
- shares: (0, index_js_1.cosmosSdkDecToBigNumber)(delegation ? delegation.shares : 0).toFixed(),
40
+ shares: (0, utils_1.toHumanReadable)(delegation ? delegation.shares : 0).toFixed(),
42
41
  },
43
42
  balance: {
44
43
  denom: balance ? balance.denom : '',
45
- amount: new utils_1.BigNumberInWei(balance ? balance.amount : 0).toFixed(),
44
+ amount: (0, utils_1.toBigNumber)(balance ? balance.amount : 0).toFixed(),
46
45
  },
47
46
  };
48
47
  }
@@ -55,11 +54,11 @@ class ChainGrpcStakingTransformer {
55
54
  delegation: {
56
55
  delegatorAddress: delegation ? delegation.delegatorAddress : '',
57
56
  validatorAddress: delegation ? delegation.validatorAddress : '',
58
- shares: (0, index_js_1.cosmosSdkDecToBigNumber)(delegation ? delegation.shares : 0).toFixed(),
57
+ shares: (0, utils_1.toHumanReadable)(delegation ? delegation.shares : 0).toFixed(),
59
58
  },
60
59
  balance: {
61
60
  denom: balance ? balance.denom : '',
62
- amount: new utils_1.BigNumberInWei(balance ? balance.amount : 0).toFixed(),
61
+ amount: (0, utils_1.toBigNumber)(balance ? balance.amount : 0).toFixed(),
63
62
  },
64
63
  };
65
64
  });
@@ -81,8 +80,8 @@ class ChainGrpcStakingTransformer {
81
80
  : '',
82
81
  creationHeight: parseInt(entry.creationHeight, 10),
83
82
  completionTime: Math.floor(entry.completionTime.getTime() / 1000),
84
- initialBalance: new utils_1.BigNumberInWei(entry.initialBalance).toFixed(),
85
- balance: new utils_1.BigNumberInWei(entry.balance).toFixed(),
83
+ initialBalance: (0, utils_1.toBigNumber)(entry.initialBalance).toFixed(),
84
+ balance: (0, utils_1.toBigNumber)(entry.balance).toFixed(),
86
85
  }));
87
86
  return [...unbondingDelegations, ...mappedEntries];
88
87
  }, []);
@@ -111,7 +110,7 @@ class ChainGrpcStakingTransformer {
111
110
  sourceValidatorAddress: grpcRedelegation.validatorSrcAddress || '',
112
111
  destinationValidatorAddress: grpcRedelegation?.validatorDstAddress || '',
113
112
  },
114
- balance: new utils_1.BigNumberInWei(entry.balance).toFixed(),
113
+ balance: (0, utils_1.toBigNumber)(entry.balance).toFixed(),
115
114
  },
116
115
  ];
117
116
  }, []);
@@ -127,8 +126,8 @@ class ChainGrpcStakingTransformer {
127
126
  operatorAddress: validator.operatorAddress,
128
127
  jailed: validator.jailed,
129
128
  status: ChainGrpcStakingTransformer.grpcValidatorStatusToStatus(validator.status),
130
- tokens: (0, index_js_1.cosmosSdkDecToBigNumber)(validator.tokens).toFixed(),
131
- delegatorShares: (0, index_js_1.cosmosSdkDecToBigNumber)(validator.delegatorShares).toFixed(),
129
+ tokens: (0, utils_1.toHumanReadable)(validator.tokens).toFixed(),
130
+ delegatorShares: (0, utils_1.toHumanReadable)(validator.delegatorShares).toFixed(),
132
131
  description: ChainGrpcStakingTransformer.grpcValidatorDescriptionToDescription(validator.description),
133
132
  unbondingHeight: parseInt(validator.unbondingHeight, 10),
134
133
  unbondingTime: validator.unbondingTime,
@@ -145,8 +144,8 @@ class ChainGrpcStakingTransformer {
145
144
  };
146
145
  }
147
146
  return {
148
- notBondedTokens: (0, index_js_1.cosmosSdkDecToBigNumber)(pool.notBondedTokens).toFixed(),
149
- bondedTokens: (0, index_js_1.cosmosSdkDecToBigNumber)(pool.bondedTokens).toFixed(),
147
+ notBondedTokens: (0, utils_1.toHumanReadable)(pool.notBondedTokens).toFixed(),
148
+ bondedTokens: (0, utils_1.toHumanReadable)(pool.bondedTokens).toFixed(),
150
149
  };
151
150
  }
152
151
  static grpcValidatorDescriptionToDescription(description) {
@@ -162,9 +161,9 @@ class ChainGrpcStakingTransformer {
162
161
  const commissionRates = commission ? commission.commissionRates : null;
163
162
  return {
164
163
  commissionRates: {
165
- rate: (0, index_js_1.cosmosSdkDecToBigNumber)(commissionRates ? commissionRates.rate : '0').toFixed(),
166
- maxRate: (0, index_js_1.cosmosSdkDecToBigNumber)(commissionRates ? commissionRates.maxRate : '0').toFixed(),
167
- maxChangeRate: (0, index_js_1.cosmosSdkDecToBigNumber)(commissionRates ? commissionRates.maxChangeRate : '0').toFixed(),
164
+ rate: (0, utils_1.toHumanReadable)(commissionRates ? commissionRates.rate : '0').toFixed(),
165
+ maxRate: (0, utils_1.toHumanReadable)(commissionRates ? commissionRates.maxRate : '0').toFixed(),
166
+ maxChangeRate: (0, utils_1.toHumanReadable)(commissionRates ? commissionRates.maxChangeRate : '0').toFixed(),
168
167
  },
169
168
  updateTime: commission ? commission.updateTime : new Date(),
170
169
  };
@@ -1,5 +1,5 @@
1
- import { AuthorityMetadata, TokenFactoryModuleParams, TokenFactoryModuleState } from '../types/tokenfactory.js';
2
- import { InjectiveTokenFactoryV1Beta1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { InjectiveTokenFactoryV1Beta1Query } from '@injectivelabs/core-proto-ts';
2
+ import type { AuthorityMetadata, TokenFactoryModuleParams, TokenFactoryModuleState } from '../types/tokenfactory.js';
3
3
  /**
4
4
  * @category Chain Grpc Transformer
5
5
  */
@@ -1,5 +1,5 @@
1
- import { TxFeesEipBaseFee, TxFeesModuleStateParams } from '../types/txFees.js';
2
- import { InjectiveTxFeesV1Beta1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { InjectiveTxFeesV1Beta1Query } from '@injectivelabs/core-proto-ts';
2
+ import type { TxFeesEipBaseFee, TxFeesModuleStateParams } from '../types/txFees.js';
3
3
  /**
4
4
  * @category Chain Grpc Transformer
5
5
  */
@@ -1,5 +1,5 @@
1
- import { ContractInfo, CodeInfoResponse, grpcContractInfo, GrpcCodeInfoResponse, ContractCodeHistoryEntry, ContractStateWithPagination, GrpcContractCodeHistoryEntry, ContractAccountsBalanceWithPagination } from '../types/wasm.js';
2
- import { CosmwasmWasmV1Query } from '@injectivelabs/core-proto-ts';
1
+ import type { CosmwasmWasmV1Query } from '@injectivelabs/core-proto-ts';
2
+ import type { ContractInfo, CodeInfoResponse, grpcContractInfo, GrpcCodeInfoResponse, ContractCodeHistoryEntry, ContractStateWithPagination, GrpcContractCodeHistoryEntry, ContractAccountsBalanceWithPagination } from '../types/wasm.js';
3
3
  /**
4
4
  * @category Chain Grpc Transformer
5
5
  */
@@ -1,5 +1,5 @@
1
- import { Coin } from '@injectivelabs/ts-types';
2
- import { InjectiveAuctionV1Beta1Auction } from '@injectivelabs/core-proto-ts';
1
+ import type { Coin } from '@injectivelabs/ts-types';
2
+ import type { InjectiveAuctionV1Beta1Auction } from '@injectivelabs/core-proto-ts';
3
3
  export interface AuctionParams {
4
4
  auctionPeriod: number;
5
5
  minNextBidIncrementRate: string;
@@ -1,4 +1,4 @@
1
- import { InjectiveTypesV1Beta1Account } from '@injectivelabs/core-proto-ts';
1
+ import type { InjectiveTypesV1Beta1Account } from '@injectivelabs/core-proto-ts';
2
2
  export interface AuthModuleParams {
3
3
  maxMemoCharacters: number;
4
4
  txSigLimit: number;
@@ -1,4 +1,4 @@
1
- import { CosmosAuthzV1Beta1Authz, InjectiveExchangeV1Beta1Authz } from '@injectivelabs/core-proto-ts';
1
+ import type { CosmosAuthzV1Beta1Authz, InjectiveExchangeV1Beta1Authz } from '@injectivelabs/core-proto-ts';
2
2
  export type Grant = CosmosAuthzV1Beta1Authz.Grant;
3
3
  export type GrantAuthorization = CosmosAuthzV1Beta1Authz.GrantAuthorization;
4
4
  export type GenericAuthorization = CosmosAuthzV1Beta1Authz.GenericAuthorization;
@@ -1,5 +1,5 @@
1
- import { CosmosBankV1Beta1Bank } from '@injectivelabs/core-proto-ts';
2
- import { Coin } from '@injectivelabs/ts-types';
1
+ import type { Coin } from '@injectivelabs/ts-types';
2
+ import type { CosmosBankV1Beta1Bank } from '@injectivelabs/core-proto-ts';
3
3
  export interface BankModuleParams {
4
4
  sendEnabledList: Array<SendEnabled>;
5
5
  defaultSendEnabled: boolean;
@@ -1,5 +1,5 @@
1
- import { CosmosDistributionV1Beta1Distribution } from '@injectivelabs/core-proto-ts';
2
- import { Coin } from '@injectivelabs/ts-types';
1
+ import type { Coin } from '@injectivelabs/ts-types';
2
+ import type { CosmosDistributionV1Beta1Distribution } from '@injectivelabs/core-proto-ts';
3
3
  export interface DistributionModuleParams {
4
4
  communityTax: string;
5
5
  baseProposerReward: string;
@@ -1,5 +1,6 @@
1
- import { InjectiveExchangeV1Beta1Exchange, InjectiveExchangeV1Beta1Query, InjectiveExchangeV1Beta1Genesis } from '@injectivelabs/core-proto-ts';
2
- import { Coin } from '@injectivelabs/ts-types';
1
+ import { InjectiveExchangeV1Beta1Exchange } from '@injectivelabs/core-proto-ts';
2
+ import type { Coin } from '@injectivelabs/ts-types';
3
+ import type { InjectiveExchangeV1Beta1Query, InjectiveExchangeV1Beta1Genesis } from '@injectivelabs/core-proto-ts';
3
4
  export interface DepositProposalParams {
4
5
  amount: string;
5
6
  denom: string;
@@ -1,5 +1,5 @@
1
1
  import { CosmosGovV1Gov } from '@injectivelabs/core-proto-ts';
2
- import { Coin } from '@injectivelabs/ts-types';
2
+ import type { Coin } from '@injectivelabs/ts-types';
3
3
  export interface GovModuleStateParams {
4
4
  votingParams: {
5
5
  votingPeriod: number;
@@ -65,4 +65,4 @@ export type VoteOption = CosmosGovV1Gov.VoteOption;
65
65
  export type ProposalStatus = CosmosGovV1Gov.ProposalStatus;
66
66
  export declare const VoteOptionMap: typeof CosmosGovV1Gov.VoteOption;
67
67
  export declare const ProposalStatusMap: typeof CosmosGovV1Gov.ProposalStatus;
68
- export { ProposalStatus as GrpcProposalStatus };
68
+ export type { ProposalStatus as GrpcProposalStatus };