@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.
- package/dist/cjs/client/abacus/grpc/AbacusGrpcApi.js +1 -1
- package/dist/cjs/client/abacus/grpc/transformers/index.d.ts +1 -1
- package/dist/cjs/client/base/BaseGrpcConsumer.d.ts +1 -1
- package/dist/cjs/client/base/BaseGrpcConsumer.js +1 -1
- package/dist/cjs/client/base/BaseGrpcWebConsumer.js +1 -1
- package/dist/cjs/client/base/BaseIndexerGrpcConsumer.d.ts +1 -1
- package/dist/cjs/client/base/BaseIndexerGrpcConsumer.js +1 -1
- package/dist/cjs/client/base/BaseIndexerGrpcWebConsumer.js +1 -1
- package/dist/cjs/client/base/GrpcWebImpl.d.ts +1 -1
- package/dist/cjs/client/base/GrpcWebImpl.js +1 -1
- package/dist/cjs/client/base/IndexerGrpcWebImpl.d.ts +1 -1
- package/dist/cjs/client/base/IndexerGrpcWebImpl.js +2 -2
- package/dist/cjs/client/chain/ChainGrpcClient.d.ts +10 -10
- package/dist/cjs/client/chain/ChainGrpcClient.js +10 -10
- package/dist/cjs/client/chain/grpc/ChainGrpcAuctionApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcAuthApi.d.ts +1 -1
- package/dist/cjs/client/chain/grpc/ChainGrpcAuthApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcAuthZApi.d.ts +1 -1
- package/dist/cjs/client/chain/grpc/ChainGrpcAuthZApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcBankApi.d.ts +1 -1
- package/dist/cjs/client/chain/grpc/ChainGrpcBankApi.js +12 -12
- package/dist/cjs/client/chain/grpc/ChainGrpcDistributionApi.d.ts +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcDistributionApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcExchangeApi.js +34 -34
- package/dist/cjs/client/chain/grpc/ChainGrpcGovApi.d.ts +3 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcGovApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcIbcApi.d.ts +1 -1
- package/dist/cjs/client/chain/grpc/ChainGrpcIbcApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcInsuranceFundApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcMintApi.d.ts +1 -1
- package/dist/cjs/client/chain/grpc/ChainGrpcMintApi.js +8 -8
- package/dist/cjs/client/chain/grpc/ChainGrpcOracleApi.d.ts +1 -1
- package/dist/cjs/client/chain/grpc/ChainGrpcOracleApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcPeggyApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcPermissionsApi.js +17 -17
- package/dist/cjs/client/chain/grpc/ChainGrpcStakingApi.d.ts +1 -1
- package/dist/cjs/client/chain/grpc/ChainGrpcStakingApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcTendermintApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcTokenFactoryApi.js +2 -2
- package/dist/cjs/client/chain/grpc/ChainGrpcTxFeesApi.js +6 -6
- package/dist/cjs/client/chain/grpc/ChainGrpcWasmApi.d.ts +1 -1
- package/dist/cjs/client/chain/grpc/ChainGrpcWasmApi.js +3 -3
- package/dist/cjs/client/chain/grpc/ChainGrpcWasmXApi.js +2 -2
- package/dist/cjs/client/chain/rest/ChainRestAuthApi.d.ts +1 -1
- package/dist/cjs/client/chain/rest/ChainRestAuthApi.js +1 -1
- package/dist/cjs/client/chain/rest/ChainRestBankApi.d.ts +1 -1
- package/dist/cjs/client/chain/rest/ChainRestBankApi.js +1 -1
- package/dist/cjs/client/chain/rest/ChainRestTendermintApi.d.ts +1 -1
- package/dist/cjs/client/chain/rest/ChainRestTendermintApi.js +1 -1
- package/dist/cjs/client/chain/rest/ChainRestWasmApi.js +1 -1
- package/dist/cjs/client/chain/transformers/ChainGrpcAuctionTransformer.d.ts +2 -2
- package/dist/cjs/client/chain/transformers/ChainGrpcAuthTransformer.d.ts +2 -2
- package/dist/cjs/client/chain/transformers/ChainGrpcAuthTransformer.js +2 -2
- package/dist/cjs/client/chain/transformers/ChainGrpcAuthZTransformer.d.ts +3 -2
- package/dist/cjs/client/chain/transformers/ChainGrpcAuthZTransformer.js +1 -1
- package/dist/cjs/client/chain/transformers/ChainGrpcBankTransformer.d.ts +4 -4
- package/dist/cjs/client/chain/transformers/ChainGrpcBankTransformer.js +1 -1
- package/dist/cjs/client/chain/transformers/ChainGrpcCommonTransformer.d.ts +2 -2
- package/dist/cjs/client/chain/transformers/ChainGrpcDistributionTransformer.d.ts +4 -4
- package/dist/cjs/client/chain/transformers/ChainGrpcDistributionTransformer.js +4 -4
- package/dist/cjs/client/chain/transformers/ChainGrpcExchangeTransformer.d.ts +5 -3
- package/dist/cjs/client/chain/transformers/ChainGrpcExchangeTransformer.js +2 -4
- package/dist/cjs/client/chain/transformers/ChainGrpcGovTransformer.d.ts +3 -3
- package/dist/cjs/client/chain/transformers/ChainGrpcGovTransformer.js +3 -3
- package/dist/cjs/client/chain/transformers/ChainGrpcInsuranceFundTransformer.d.ts +3 -3
- package/dist/cjs/client/chain/transformers/ChainGrpcMintTransformer.d.ts +2 -2
- package/dist/cjs/client/chain/transformers/ChainGrpcPeggyTransformer.d.ts +2 -2
- package/dist/cjs/client/chain/transformers/ChainGrpcPermissionsTransformer.d.ts +2 -2
- package/dist/cjs/client/chain/transformers/ChainGrpcStakingTransformer.d.ts +4 -4
- package/dist/cjs/client/chain/transformers/ChainGrpcStakingTransformer.js +14 -15
- package/dist/cjs/client/chain/transformers/ChainGrpcTokenFactoryTransformer.d.ts +2 -2
- package/dist/cjs/client/chain/transformers/ChainGrpcTxFeesTransformer.d.ts +2 -2
- package/dist/cjs/client/chain/transformers/ChainGrpcWasmTransformer.d.ts +2 -2
- package/dist/cjs/client/chain/types/auction.d.ts +2 -2
- package/dist/cjs/client/chain/types/auth.d.ts +1 -1
- package/dist/cjs/client/chain/types/authZ.d.ts +1 -1
- package/dist/cjs/client/chain/types/bank.d.ts +2 -2
- package/dist/cjs/client/chain/types/distribution.d.ts +2 -2
- package/dist/cjs/client/chain/types/exchange.d.ts +3 -2
- package/dist/cjs/client/chain/types/gov.d.ts +2 -2
- package/dist/cjs/client/chain/types/index.d.ts +31 -32
- package/dist/cjs/client/chain/types/index.js +0 -13
- package/dist/cjs/client/chain/types/insurance.d.ts +2 -1
- package/dist/cjs/client/chain/types/mint.d.ts +1 -1
- package/dist/cjs/client/chain/types/oracle.d.ts +1 -1
- package/dist/cjs/client/chain/types/peggy.d.ts +1 -1
- package/dist/cjs/client/chain/types/permissions.d.ts +3 -3
- package/dist/cjs/client/chain/types/staking.d.ts +7 -6
- package/dist/cjs/client/chain/types/staking.js +5 -6
- package/dist/cjs/client/chain/types/tokenfactory.d.ts +1 -1
- package/dist/cjs/client/chain/types/txFees.d.ts +1 -1
- package/dist/cjs/client/chain/types/wasm.d.ts +3 -2
- package/dist/cjs/client/gql/index.d.ts +1 -1
- package/dist/cjs/client/gql/index.js +0 -1
- package/dist/cjs/client/indexer/IndexerGrpcClient.d.ts +4 -4
- package/dist/cjs/client/indexer/IndexerGrpcClient.js +4 -4
- package/dist/cjs/client/indexer/IndexerGrpcStreamClient.d.ts +4 -4
- package/dist/cjs/client/indexer/IndexerGrpcStreamClient.js +4 -4
- package/dist/cjs/client/indexer/IndexerRestClient.d.ts +1 -1
- package/dist/cjs/client/indexer/IndexerRestClient.js +1 -1
- package/dist/cjs/client/indexer/grpc/IndexerGrpcAccountApi.d.ts +1 -1
- package/dist/cjs/client/indexer/grpc/IndexerGrpcAccountApi.js +2 -2
- package/dist/cjs/client/indexer/grpc/IndexerGrpcArchiverApi.js +2 -2
- package/dist/cjs/client/indexer/grpc/IndexerGrpcAuctionApi.js +2 -2
- package/dist/cjs/client/indexer/grpc/IndexerGrpcCampaignApi.js +10 -10
- package/dist/cjs/client/indexer/grpc/IndexerGrpcDerivativesApi.d.ts +3 -3
- package/dist/cjs/client/indexer/grpc/IndexerGrpcDerivativesApi.js +2 -2
- package/dist/cjs/client/indexer/grpc/IndexerGrpcExplorerApi.js +2 -2
- package/dist/cjs/client/indexer/grpc/IndexerGrpcInsuranceFundApi.js +6 -6
- package/dist/cjs/client/indexer/grpc/IndexerGrpcMetaApi.js +2 -2
- package/dist/cjs/client/indexer/grpc/IndexerGrpcMitoApi.js +2 -2
- package/dist/cjs/client/indexer/grpc/IndexerGrpcOracleApi.js +2 -2
- package/dist/cjs/client/indexer/grpc/IndexerGrpcPortfolioApi.js +2 -2
- package/dist/cjs/client/indexer/grpc/IndexerGrpcReferralApi.js +7 -7
- package/dist/cjs/client/indexer/grpc/IndexerGrpcSpotApi.d.ts +3 -3
- package/dist/cjs/client/indexer/grpc/IndexerGrpcSpotApi.js +2 -2
- package/dist/cjs/client/indexer/grpc/IndexerGrpcTradingApi.d.ts +1 -1
- package/dist/cjs/client/indexer/grpc/IndexerGrpcTradingApi.js +2 -2
- package/dist/cjs/client/indexer/grpc/IndexerGrpcTransactionApi.d.ts +1 -1
- package/dist/cjs/client/indexer/grpc/IndexerGrpcTransactionApi.js +15 -5
- package/dist/cjs/client/indexer/grpc/IndexerGrpcWeb3GwApi.d.ts +1 -1
- package/dist/cjs/client/indexer/grpc/IndexerGrpcWeb3GwApi.js +3 -3
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAccountPortfolioStream.d.ts +3 -3
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAccountPortfolioStream.js +2 -2
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAccountStream.d.ts +3 -3
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAccountStream.js +1 -1
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAuctionStream.d.ts +3 -3
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcAuctionStream.js +1 -1
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcDerivativesStream.d.ts +6 -6
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcDerivativesStream.js +2 -2
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcExplorerStream.d.ts +3 -3
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcExplorerStream.js +1 -1
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcMitoStream.d.ts +3 -3
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcMitoStream.js +1 -1
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcOracleStream.d.ts +3 -3
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcOracleStream.js +2 -2
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcSpotStream.d.ts +6 -6
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcSpotStream.js +2 -2
- package/dist/cjs/client/indexer/grpc_stream/IndexerGrpcTradingStream.d.ts +2 -2
- package/dist/cjs/client/indexer/rest/IndexerRestDerivativesChronosApi.js +1 -1
- package/dist/cjs/client/indexer/rest/IndexerRestExplorerApi.d.ts +4 -4
- package/dist/cjs/client/indexer/rest/IndexerRestExplorerApi.js +35 -35
- package/dist/cjs/client/indexer/rest/IndexerRestLeaderboardChronosApi.js +1 -1
- package/dist/cjs/client/indexer/rest/IndexerRestMarketChronosApi.js +1 -1
- package/dist/cjs/client/indexer/rest/IndexerRestSpotChronosApi.js +1 -1
- package/dist/cjs/client/indexer/transformers/IndexerAccountPortfolioStreamTransformer.d.ts +1 -1
- package/dist/cjs/client/indexer/transformers/IndexerAccountPortfolioTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerAccountStreamTransformer.d.ts +2 -3
- package/dist/cjs/client/indexer/transformers/IndexerAccountStreamTransformer.js +1 -1
- package/dist/cjs/client/indexer/transformers/IndexerAuctionStreamTransformer.d.ts +3 -4
- package/dist/cjs/client/indexer/transformers/IndexerCampaignTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerCommonTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerDerivativeStreamTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerExplorerStreamTransformer.d.ts +4 -5
- package/dist/cjs/client/indexer/transformers/IndexerExplorerStreamTransformer.js +1 -1
- package/dist/cjs/client/indexer/transformers/IndexerGrpcAccountTransformer.d.ts +4 -4
- package/dist/cjs/client/indexer/transformers/IndexerGrpcArchiverTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerGrpcAuctionTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerGrpcDerivativeTransformer.d.ts +3 -3
- package/dist/cjs/client/indexer/transformers/IndexerGrpcDerivativeTransformer.js +1 -1
- package/dist/cjs/client/indexer/transformers/IndexerGrpcExplorerTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerGrpcExplorerTransformer.js +5 -5
- package/dist/cjs/client/indexer/transformers/IndexerGrpcInsuranceFundTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerGrpcMitoStreamTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerGrpcMitoTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerGrpcOracleTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerGrpcReferralTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/transformers/IndexerGrpcSpotTransformer.d.ts +3 -3
- package/dist/cjs/client/indexer/transformers/IndexerOracleStreamTransformer.d.ts +1 -1
- package/dist/cjs/client/indexer/transformers/IndexerRestExplorerTransformer.d.ts +3 -3
- package/dist/cjs/client/indexer/transformers/IndexerSpotStreamTransformer.d.ts +2 -2
- package/dist/cjs/client/indexer/types/account-portfolio.d.ts +3 -3
- package/dist/cjs/client/indexer/types/account.d.ts +9 -8
- package/dist/cjs/client/indexer/types/account.js +6 -7
- package/dist/cjs/client/indexer/types/archiver.d.ts +1 -1
- package/dist/cjs/client/indexer/types/auction.d.ts +2 -2
- package/dist/cjs/client/indexer/types/campaign.d.ts +2 -2
- package/dist/cjs/client/indexer/types/derivatives.d.ts +4 -4
- package/dist/cjs/client/indexer/types/exchange.d.ts +2 -2
- package/dist/cjs/client/indexer/types/explorer-rest.d.ts +2 -2
- package/dist/cjs/client/indexer/types/explorer.d.ts +26 -23
- package/dist/cjs/client/indexer/types/explorer.js +19 -22
- package/dist/cjs/client/indexer/types/incentives.d.ts +1 -1
- package/dist/cjs/client/indexer/types/index.d.ts +38 -39
- package/dist/cjs/client/indexer/types/index.js +0 -16
- package/dist/cjs/client/indexer/types/insurance-funds.d.ts +7 -6
- package/dist/cjs/client/indexer/types/insurance-funds.js +4 -5
- package/dist/cjs/client/indexer/types/mito.d.ts +7 -6
- package/dist/cjs/client/indexer/types/mito.js +4 -5
- package/dist/cjs/client/indexer/types/oracle.d.ts +1 -1
- package/dist/cjs/client/indexer/types/referral.d.ts +2 -2
- package/dist/cjs/client/indexer/types/spot.d.ts +6 -6
- package/dist/cjs/client/indexer/types/swap.d.ts +1 -1
- package/dist/cjs/client/indexer/types/trading.d.ts +12 -10
- package/dist/cjs/client/indexer/types/trading.js +10 -11
- package/dist/cjs/client/olp/grpc/OLPGrpcApi.js +2 -2
- package/dist/cjs/client/olp/grpc/index.d.ts +1 -1
- package/dist/cjs/client/olp/grpc/index.js +0 -15
- package/dist/cjs/client/olp/grpc/transformers/index.d.ts +2 -2
- package/dist/cjs/client/olp/grpc/types/index.d.ts +1 -1
- package/dist/cjs/client/wasm/incentives/index.d.ts +1 -1
- package/dist/cjs/client/wasm/incentives/index.js +0 -1
- package/dist/cjs/client/wasm/incentives/queries/QueryAllRounds.js +1 -1
- package/dist/cjs/client/wasm/incentives/queries/QueryGetCampaigns.js +1 -1
- package/dist/cjs/client/wasm/incentives/transformer.d.ts +1 -1
- package/dist/cjs/client/wasm/incentives/types.d.ts +1 -1
- package/dist/cjs/client/wasm/index.d.ts +1 -1
- package/dist/cjs/client/wasm/index.js +0 -1
- package/dist/cjs/client/wasm/nameservice/queries/QueryInjName.js +1 -1
- package/dist/cjs/client/wasm/nameservice/queries/QueryInjectiveAddress.js +1 -1
- package/dist/cjs/client/wasm/nameservice/queries/QueryResolverAddress.js +1 -1
- package/dist/cjs/client/wasm/nameservice/transformer.d.ts +1 -1
- package/dist/cjs/client/wasm/neptune/helper.d.ts +1 -1
- package/dist/cjs/client/wasm/neptune/queries/QueryGetPrices.d.ts +1 -1
- package/dist/cjs/client/wasm/neptune/queries/QueryGetPrices.js +1 -1
- package/dist/cjs/client/wasm/neptune/queries/QueryLendingRates.d.ts +1 -1
- package/dist/cjs/client/wasm/neptune/queries/QueryLendingRates.js +1 -1
- package/dist/cjs/client/wasm/neptune/service.d.ts +3 -2
- package/dist/cjs/client/wasm/neptune/service.js +11 -11
- package/dist/cjs/client/wasm/neptune/transformer.d.ts +2 -2
- package/dist/cjs/client/wasm/swap/index.d.ts +1 -1
- package/dist/cjs/client/wasm/swap/index.js +0 -1
- package/dist/cjs/client/wasm/swap/queries/QueryAllRoutes.js +1 -1
- package/dist/cjs/client/wasm/swap/queries/QueryInputQuantity.js +1 -1
- package/dist/cjs/client/wasm/swap/queries/QueryOutputQuantity.js +1 -1
- package/dist/cjs/client/wasm/swap/queries/QueryRoute.js +1 -1
- package/dist/cjs/client/wasm/swap/transformer.d.ts +1 -1
- package/dist/cjs/client/wasm/trading_strategies/queries/QueryTradingStrategyContractAllStrategies.js +1 -1
- package/dist/cjs/client/wasm/trading_strategies/queries/QueryTradingStrategyContractConfig.js +1 -1
- package/dist/cjs/client/wasm/trading_strategies/queries/QueryTradingStrategyContractTotalStrategies.js +1 -1
- package/dist/cjs/client/wasm/trading_strategies/queries/QueryTradingStrategyContractUserStrategies.js +1 -1
- package/dist/cjs/client/wasm/trading_strategies/types.d.ts +1 -1
- package/dist/cjs/core/accounts/AccountParser.d.ts +1 -1
- package/dist/cjs/core/accounts/Address.js +4 -4
- package/dist/cjs/core/accounts/BaseAccount.d.ts +2 -2
- package/dist/cjs/core/accounts/PrivateKey.d.ts +7 -6
- package/dist/cjs/core/accounts/PrivateKey.js +37 -31
- package/dist/cjs/core/accounts/PublicKey.d.ts +1 -1
- package/dist/cjs/core/accounts/PublicKey.js +7 -7
- package/dist/cjs/core/accounts/signers/DirectEthSecp256k1Wallet.d.ts +3 -3
- package/dist/cjs/core/accounts/signers/DirectEthSecp256k1Wallet.js +1 -1
- package/dist/cjs/core/accounts/signers/EthSecp256k1Wallet.d.ts +2 -2
- package/dist/cjs/core/accounts/signers/EthSecp256k1Wallet.js +1 -1
- package/dist/cjs/core/accounts/signers/types/amino-signer.d.ts +1 -1
- package/dist/cjs/core/accounts/signers/types/index.d.ts +2 -2
- package/dist/cjs/core/accounts/signers/types/proto-signer.d.ts +1 -1
- package/dist/cjs/core/modules/MsgBase.d.ts +2 -2
- package/dist/cjs/core/modules/MsgBase.js +1 -1
- package/dist/cjs/core/modules/auction/msgs/MsgBid.d.ts +1 -1
- package/dist/cjs/core/modules/auction/msgs/MsgBid.js +1 -1
- package/dist/cjs/core/modules/authz/msgs/MsgExec.d.ts +1 -1
- package/dist/cjs/core/modules/authz/msgs/MsgExec.js +1 -1
- package/dist/cjs/core/modules/authz/msgs/MsgGrant.d.ts +2 -1
- package/dist/cjs/core/modules/authz/msgs/MsgGrant.js +2 -2
- package/dist/cjs/core/modules/authz/msgs/MsgGrantWithAuthorization.d.ts +2 -2
- package/dist/cjs/core/modules/authz/msgs/MsgGrantWithAuthorization.js +2 -2
- package/dist/cjs/core/modules/authz/msgs/MsgRevoke.d.ts +2 -2
- package/dist/cjs/core/modules/authz/msgs/MsgRevoke.js +1 -1
- package/dist/cjs/core/modules/authz/msgs/authorizations/Base.d.ts +1 -1
- package/dist/cjs/core/modules/authz/msgs/authorizations/ContractExecutionAuthorization.d.ts +1 -1
- package/dist/cjs/core/modules/authz/msgs/authorizations/ContractExecutionCompatAuthorization.d.ts +1 -1
- package/dist/cjs/core/modules/authz/msgs/authorizations/GenericAuthorization.d.ts +2 -1
- package/dist/cjs/core/modules/authz/msgs/authorizations/GenericAuthorization.js +1 -1
- package/dist/cjs/core/modules/authz/types.d.ts +5 -4
- package/dist/cjs/core/modules/authz/types.js +4 -5
- package/dist/cjs/core/modules/authz/utils.d.ts +1 -1
- package/dist/cjs/core/modules/authz/utils.js +1 -1
- package/dist/cjs/core/modules/bank/msgs/MsgMultiSend.d.ts +1 -1
- package/dist/cjs/core/modules/bank/msgs/MsgMultiSend.js +1 -1
- package/dist/cjs/core/modules/bank/msgs/MsgSend.d.ts +1 -1
- package/dist/cjs/core/modules/bank/msgs/MsgSend.js +1 -1
- package/dist/cjs/core/modules/distribution/msgs/MsgWithdrawDelegatorReward.d.ts +1 -1
- package/dist/cjs/core/modules/distribution/msgs/MsgWithdrawDelegatorReward.js +1 -1
- package/dist/cjs/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.d.ts +1 -1
- package/dist/cjs/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.js +1 -1
- package/dist/cjs/core/modules/exchange/index.d.ts +5 -5
- package/dist/cjs/core/modules/exchange/index.js +10 -10
- package/dist/cjs/core/modules/exchange/msgs/MsgAdminUpdateBinaryOptionsMarket.d.ts +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgAdminUpdateBinaryOptionsMarket.js +4 -3
- package/dist/cjs/core/modules/exchange/msgs/MsgAuthorizeStakeGrants.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelBinaryOptionsOrders.d.ts +2 -2
- package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelBinaryOptionsOrders.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelDerivativeOrders.d.ts +2 -2
- package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelDerivativeOrders.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelSpotOrders.d.ts +2 -2
- package/dist/cjs/core/modules/exchange/msgs/MsgBatchCancelSpotOrders.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgBatchUpdateOrders.d.ts +2 -2
- package/dist/cjs/core/modules/exchange/msgs/MsgBatchUpdateOrders.js +13 -13
- package/dist/cjs/core/modules/exchange/msgs/MsgCancelBinaryOptionsOrder.d.ts +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgCancelBinaryOptionsOrder.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgCancelDerivativeOrder.d.ts +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgCancelDerivativeOrder.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgCancelSpotOrder.d.ts +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgCancelSpotOrder.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateBinaryOptionsLimitOrder.d.ts +2 -2
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateBinaryOptionsLimitOrder.js +11 -10
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateBinaryOptionsMarketOrder.d.ts +2 -2
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateBinaryOptionsMarketOrder.js +11 -10
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateDerivativeLimitOrder.d.ts +2 -2
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateDerivativeLimitOrder.js +11 -10
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateDerivativeMarketOrder.d.ts +2 -2
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateDerivativeMarketOrder.js +11 -10
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateSpotLimitOrder.d.ts +2 -2
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateSpotLimitOrder.js +9 -8
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateSpotMarketOrder.d.ts +2 -2
- package/dist/cjs/core/modules/exchange/msgs/MsgCreateSpotMarketOrder.js +9 -8
- package/dist/cjs/core/modules/exchange/msgs/MsgDeposit.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgExternalTransfer.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgIncreasePositionMargin.js +5 -4
- package/dist/cjs/core/modules/exchange/msgs/MsgInstantBinaryOptionsMarketLaunch.d.ts +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgInstantBinaryOptionsMarketLaunch.js +13 -12
- package/dist/cjs/core/modules/exchange/msgs/MsgInstantSpotMarketLaunch.js +7 -6
- package/dist/cjs/core/modules/exchange/msgs/MsgLiquidatePosition.d.ts +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgLiquidatePosition.js +10 -9
- package/dist/cjs/core/modules/exchange/msgs/MsgReclaimLockedFunds.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgRewardsOptOut.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgSetDelegationTransferReceivers.d.ts +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgSetDelegationTransferReceivers.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgSignData.js +1 -1
- package/dist/cjs/core/modules/exchange/msgs/MsgWithdraw.js +1 -1
- package/dist/cjs/core/modules/exchange/utils/classes/OrderHashManager.d.ts +3 -3
- package/dist/cjs/core/modules/exchange/utils/classes/OrderHashManager.js +8 -11
- package/dist/cjs/core/modules/feegrant/msgs/MsgGrantAllowance.d.ts +2 -2
- package/dist/cjs/core/modules/feegrant/msgs/MsgGrantAllowance.js +1 -1
- package/dist/cjs/core/modules/feegrant/msgs/MsgRevokeAllowance.d.ts +2 -2
- package/dist/cjs/core/modules/feegrant/msgs/MsgRevokeAllowance.js +1 -1
- package/dist/cjs/core/modules/feegrant/utils/allowance.d.ts +8 -6
- package/dist/cjs/core/modules/feegrant/utils/allowance.js +9 -10
- package/dist/cjs/core/modules/gov/index.d.ts +1 -1
- package/dist/cjs/core/modules/gov/index.js +2 -2
- package/dist/cjs/core/modules/gov/msgs/MsgDeposit.js +1 -1
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitGenericProposal.d.ts +1 -1
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalExpiryFuturesMarketLaunch.d.ts +1 -1
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalExpiryFuturesMarketLaunch.js +15 -14
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunch.d.ts +1 -1
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunch.js +15 -14
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunchV2.d.ts +1 -1
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunchV2.js +18 -17
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalSpotMarketLaunch.d.ts +1 -1
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalSpotMarketLaunch.js +11 -10
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalSpotMarketParamUpdate.d.ts +1 -1
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalSpotMarketParamUpdate.js +13 -12
- package/dist/cjs/core/modules/gov/msgs/MsgSubmitTextProposal.d.ts +1 -1
- package/dist/cjs/core/modules/gov/msgs/MsgVote.js +1 -1
- package/dist/cjs/core/modules/ibc/msgs/MsgTransfer.d.ts +2 -2
- package/dist/cjs/core/modules/ibc/msgs/MsgTransfer.js +1 -1
- package/dist/cjs/core/modules/index.d.ts +1 -1
- package/dist/cjs/core/modules/index.js +0 -1
- package/dist/cjs/core/modules/insurance/msgs/MsgCreateInsuranceFund.d.ts +1 -1
- package/dist/cjs/core/modules/insurance/msgs/MsgCreateInsuranceFund.js +1 -1
- package/dist/cjs/core/modules/insurance/msgs/MsgRequestRedemption.d.ts +1 -1
- package/dist/cjs/core/modules/insurance/msgs/MsgRequestRedemption.js +1 -1
- package/dist/cjs/core/modules/insurance/msgs/MsgUnderwrite.d.ts +1 -1
- package/dist/cjs/core/modules/insurance/msgs/MsgUnderwrite.js +1 -1
- package/dist/cjs/core/modules/msgs.d.ts +63 -63
- package/dist/cjs/core/modules/peggy/msgs/MsgSendToEth.d.ts +1 -1
- package/dist/cjs/core/modules/peggy/msgs/MsgSendToEth.js +2 -2
- package/dist/cjs/core/modules/permissions/msgs/MsgClaimVoucher.d.ts +1 -1
- package/dist/cjs/core/modules/permissions/msgs/MsgClaimVoucher.js +1 -1
- package/dist/cjs/core/modules/permissions/msgs/MsgCreateNamespace.d.ts +1 -1
- package/dist/cjs/core/modules/permissions/msgs/MsgCreateNamespace.js +1 -1
- package/dist/cjs/core/modules/permissions/msgs/MsgUpdateActorRoles.d.ts +1 -1
- package/dist/cjs/core/modules/permissions/msgs/MsgUpdateNamespace.d.ts +1 -1
- package/dist/cjs/core/modules/permissions/msgs/MsgUpdateNamespace.js +1 -1
- package/dist/cjs/core/modules/permissions/msgs/MsgUpdateParams.js +1 -1
- package/dist/cjs/core/modules/staking/index.d.ts +1 -1
- package/dist/cjs/core/modules/staking/index.js +2 -2
- package/dist/cjs/core/modules/staking/msgs/MsgBeginRedelegate.d.ts +1 -1
- package/dist/cjs/core/modules/staking/msgs/MsgBeginRedelegate.js +1 -1
- package/dist/cjs/core/modules/staking/msgs/MsgCancelUnbondingDelegation.d.ts +1 -1
- package/dist/cjs/core/modules/staking/msgs/MsgCancelUnbondingDelegation.js +1 -1
- package/dist/cjs/core/modules/staking/msgs/MsgCreateValidator.d.ts +1 -1
- package/dist/cjs/core/modules/staking/msgs/MsgCreateValidator.js +2 -2
- package/dist/cjs/core/modules/staking/msgs/MsgDelegate.d.ts +1 -1
- package/dist/cjs/core/modules/staking/msgs/MsgDelegate.js +1 -1
- package/dist/cjs/core/modules/staking/msgs/MsgEditValidator.d.ts +2 -2
- package/dist/cjs/core/modules/staking/msgs/MsgEditValidator.js +3 -2
- package/dist/cjs/core/modules/staking/msgs/MsgTransferDelegation.d.ts +1 -1
- package/dist/cjs/core/modules/staking/msgs/MsgTransferDelegation.js +1 -1
- package/dist/cjs/core/modules/staking/msgs/MsgUndelegate.d.ts +1 -1
- package/dist/cjs/core/modules/staking/msgs/MsgUndelegate.js +1 -1
- package/dist/cjs/core/modules/tokenfactory/index.d.ts +1 -1
- package/dist/cjs/core/modules/tokenfactory/index.js +2 -2
- package/dist/cjs/core/modules/tokenfactory/msgs/MsgBurn.d.ts +2 -2
- package/dist/cjs/core/modules/tokenfactory/msgs/MsgBurn.js +2 -1
- package/dist/cjs/core/modules/tokenfactory/msgs/MsgChangeAdmin.d.ts +1 -1
- package/dist/cjs/core/modules/tokenfactory/msgs/MsgChangeAdmin.js +1 -1
- package/dist/cjs/core/modules/tokenfactory/msgs/MsgCreateDenom.d.ts +1 -1
- package/dist/cjs/core/modules/tokenfactory/msgs/MsgCreateDenom.js +1 -1
- package/dist/cjs/core/modules/tokenfactory/msgs/MsgMint.d.ts +1 -1
- package/dist/cjs/core/modules/tokenfactory/msgs/MsgMint.js +1 -1
- package/dist/cjs/core/modules/tokenfactory/msgs/MsgSetDenomMetadata.d.ts +1 -1
- package/dist/cjs/core/modules/tokenfactory/msgs/MsgSetDenomMetadata.js +1 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgCW20AdapterRedeemAndTransfer.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgCW20Send.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgCW20Transfer.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreateCampaign.d.ts +3 -2
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreatePerpGridStrategy.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreatePerpGridStrategy.js +1 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreateRound.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.d.ts +4 -2
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.js +1 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgDepositTokens.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgFundCampaign.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgIncreaseAllowance.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgInitiateTransfer.d.ts +3 -2
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgInitiateTransfer.js +1 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgNeptuneDeposit.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.js +1 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgRemoveGridStrategy.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgSubmitVaa.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgSubmitVaa.js +1 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgSwapExactOutput.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgSwapMinOutput.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args/ExecArgUpdateGridConfig.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-args.d.ts +20 -20
- package/dist/cjs/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultRedeem.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultSubscribe.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultRedeem.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultSubscribe.d.ts +2 -1
- package/dist/cjs/core/modules/wasm/index.d.ts +13 -13
- package/dist/cjs/core/modules/wasm/index.js +24 -25
- package/dist/cjs/core/modules/wasm/msgs/MsgExecuteContract.d.ts +2 -2
- package/dist/cjs/core/modules/wasm/msgs/MsgExecuteContract.js +3 -3
- package/dist/cjs/core/modules/wasm/msgs/MsgExecuteContractCompat.d.ts +2 -2
- package/dist/cjs/core/modules/wasm/msgs/MsgExecuteContractCompat.js +1 -1
- package/dist/cjs/core/modules/wasm/msgs/MsgInstantiateContract.d.ts +1 -1
- package/dist/cjs/core/modules/wasm/msgs/MsgInstantiateContract.js +3 -3
- package/dist/cjs/core/modules/wasm/msgs/MsgMigrateContract.d.ts +1 -1
- package/dist/cjs/core/modules/wasm/msgs/MsgMigrateContract.js +3 -3
- package/dist/cjs/core/modules/wasm/msgs/MsgPrivilegedExecuteContract.d.ts +3 -3
- package/dist/cjs/core/modules/wasm/msgs/MsgPrivilegedExecuteContract.js +1 -1
- package/dist/cjs/core/modules/wasm/msgs/MsgStoreCode.d.ts +1 -1
- package/dist/cjs/core/modules/wasm/msgs/MsgStoreCode.js +4 -4
- package/dist/cjs/core/modules/wasm/msgs/MsgUpdateAdmin.d.ts +1 -1
- package/dist/cjs/core/modules/wasm/msgs/MsgUpdateAdmin.js +1 -1
- package/dist/cjs/core/modules/wasm/types.d.ts +12 -10
- package/dist/cjs/core/modules/wasm/types.js +10 -12
- package/dist/cjs/core/stargate/SigningStargateClient.d.ts +10 -8
- package/dist/cjs/core/stargate/SigningStargateClient.js +26 -26
- package/dist/cjs/core/stargate/StargateClient.d.ts +2 -1
- package/dist/cjs/core/tx/api/TxGrpcApi.d.ts +3 -3
- package/dist/cjs/core/tx/api/TxGrpcApi.js +2 -2
- package/dist/cjs/core/tx/api/TxRestApi.d.ts +3 -3
- package/dist/cjs/core/tx/api/TxRestApi.js +5 -5
- package/dist/cjs/core/tx/api/utils.d.ts +1 -1
- package/dist/cjs/core/tx/arbitrary.js +1 -1
- package/dist/cjs/core/tx/broadcaster/MsgBroadcasterWithPk.d.ts +5 -4
- package/dist/cjs/core/tx/broadcaster/MsgBroadcasterWithPk.js +20 -20
- package/dist/cjs/core/tx/eip712/MsgDecoder.d.ts +2 -2
- package/dist/cjs/core/tx/eip712/MsgDecoder.js +5 -5
- package/dist/cjs/core/tx/eip712/eip712.d.ts +3 -3
- package/dist/cjs/core/tx/eip712/eip712.js +8 -8
- package/dist/cjs/core/tx/eip712/index.d.ts +1 -1
- package/dist/cjs/core/tx/eip712/index.js +0 -1
- package/dist/cjs/core/tx/eip712/maps.d.ts +1 -1
- package/dist/cjs/core/tx/eip712/maps.js +1 -1
- package/dist/cjs/core/tx/eip712/utils.d.ts +2 -2
- package/dist/cjs/core/tx/eip712/utils.js +8 -6
- package/dist/cjs/core/tx/tx.d.ts +3 -3
- package/dist/cjs/core/tx/tx.js +13 -16
- package/dist/cjs/core/tx/types/tx-rest-client.d.ts +13 -11
- package/dist/cjs/core/tx/types/tx-rest-client.js +10 -12
- package/dist/cjs/core/tx/types/tx.d.ts +8 -7
- package/dist/cjs/core/tx/types/tx.js +4 -5
- package/dist/cjs/core/tx/utils/classes/TxClient.js +1 -1
- package/dist/cjs/core/tx/utils/tx.d.ts +8 -7
- package/dist/cjs/core/tx/utils/tx.js +2 -2
- package/dist/cjs/service/TokenFactoryStatic.d.ts +2 -1
- package/dist/cjs/service/TokenStaticFactory.d.ts +2 -1
- package/dist/cjs/types/cosmos.d.ts +12 -11
- package/dist/cjs/types/cosmos.js +7 -8
- package/dist/cjs/types/exchange.d.ts +19 -16
- package/dist/cjs/types/exchange.js +16 -19
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/cjs/types/index.js +0 -1
- package/dist/cjs/types/token.d.ts +37 -34
- package/dist/cjs/types/token.js +34 -37
- package/dist/cjs/utils/address.js +3 -9
- package/dist/cjs/utils/constants.d.ts +0 -2
- package/dist/cjs/utils/constants.js +1 -4
- package/dist/cjs/utils/crypto.d.ts +11 -7
- package/dist/cjs/utils/crypto.js +34 -8
- package/dist/cjs/utils/helpers.d.ts +2 -2
- package/dist/cjs/utils/helpers.js +1 -1
- package/dist/cjs/utils/msgs.d.ts +1 -1
- package/dist/cjs/utils/numbers.d.ts +36 -10
- package/dist/cjs/utils/numbers.js +52 -42
- package/dist/cjs/utils/pagination.d.ts +3 -3
- package/dist/cjs/utils/transaction.d.ts +2 -1
- package/dist/cjs/utils/transaction.js +12 -9
- package/dist/esm/client/abacus/grpc/AbacusGrpcApi.js +1 -1
- package/dist/esm/client/abacus/grpc/transformers/index.d.ts +1 -1
- package/dist/esm/client/base/BaseGrpcConsumer.d.ts +1 -1
- package/dist/esm/client/base/BaseGrpcConsumer.js +1 -1
- package/dist/esm/client/base/BaseGrpcWebConsumer.js +1 -1
- package/dist/esm/client/base/BaseIndexerGrpcConsumer.d.ts +1 -1
- package/dist/esm/client/base/BaseIndexerGrpcConsumer.js +1 -1
- package/dist/esm/client/base/BaseIndexerGrpcWebConsumer.js +1 -1
- package/dist/esm/client/base/GrpcWebImpl.d.ts +1 -1
- package/dist/esm/client/base/GrpcWebImpl.js +1 -1
- package/dist/esm/client/base/IndexerGrpcWebImpl.d.ts +1 -1
- package/dist/esm/client/base/IndexerGrpcWebImpl.js +2 -2
- package/dist/esm/client/chain/ChainGrpcClient.d.ts +10 -10
- package/dist/esm/client/chain/ChainGrpcClient.js +10 -10
- package/dist/esm/client/chain/grpc/ChainGrpcAuctionApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcAuthApi.d.ts +1 -1
- package/dist/esm/client/chain/grpc/ChainGrpcAuthApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcAuthZApi.d.ts +1 -1
- package/dist/esm/client/chain/grpc/ChainGrpcAuthZApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcBankApi.d.ts +1 -1
- package/dist/esm/client/chain/grpc/ChainGrpcBankApi.js +3 -3
- package/dist/esm/client/chain/grpc/ChainGrpcDistributionApi.d.ts +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcDistributionApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcExchangeApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcGovApi.d.ts +3 -2
- package/dist/esm/client/chain/grpc/ChainGrpcGovApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcIbcApi.d.ts +1 -1
- package/dist/esm/client/chain/grpc/ChainGrpcIbcApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcInsuranceFundApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcMintApi.d.ts +1 -1
- package/dist/esm/client/chain/grpc/ChainGrpcMintApi.js +6 -6
- package/dist/esm/client/chain/grpc/ChainGrpcOracleApi.d.ts +1 -1
- package/dist/esm/client/chain/grpc/ChainGrpcOracleApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcPeggyApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcPermissionsApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcStakingApi.d.ts +1 -1
- package/dist/esm/client/chain/grpc/ChainGrpcStakingApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcTendermintApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcTokenFactoryApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcTxFeesApi.js +2 -2
- package/dist/esm/client/chain/grpc/ChainGrpcWasmApi.d.ts +1 -1
- package/dist/esm/client/chain/grpc/ChainGrpcWasmApi.js +3 -3
- package/dist/esm/client/chain/grpc/ChainGrpcWasmXApi.js +2 -2
- package/dist/esm/client/chain/rest/ChainRestAuthApi.d.ts +1 -1
- package/dist/esm/client/chain/rest/ChainRestAuthApi.js +1 -1
- package/dist/esm/client/chain/rest/ChainRestBankApi.d.ts +1 -1
- package/dist/esm/client/chain/rest/ChainRestBankApi.js +1 -1
- package/dist/esm/client/chain/rest/ChainRestTendermintApi.d.ts +1 -1
- package/dist/esm/client/chain/rest/ChainRestTendermintApi.js +1 -1
- package/dist/esm/client/chain/rest/ChainRestWasmApi.js +1 -1
- package/dist/esm/client/chain/transformers/ChainGrpcAuctionTransformer.d.ts +2 -2
- package/dist/esm/client/chain/transformers/ChainGrpcAuthTransformer.d.ts +2 -2
- package/dist/esm/client/chain/transformers/ChainGrpcAuthTransformer.js +2 -2
- package/dist/esm/client/chain/transformers/ChainGrpcAuthZTransformer.d.ts +3 -2
- package/dist/esm/client/chain/transformers/ChainGrpcAuthZTransformer.js +1 -1
- package/dist/esm/client/chain/transformers/ChainGrpcBankTransformer.d.ts +4 -4
- package/dist/esm/client/chain/transformers/ChainGrpcBankTransformer.js +1 -1
- package/dist/esm/client/chain/transformers/ChainGrpcCommonTransformer.d.ts +2 -2
- package/dist/esm/client/chain/transformers/ChainGrpcDistributionTransformer.d.ts +4 -4
- package/dist/esm/client/chain/transformers/ChainGrpcDistributionTransformer.js +4 -4
- package/dist/esm/client/chain/transformers/ChainGrpcExchangeTransformer.d.ts +5 -3
- package/dist/esm/client/chain/transformers/ChainGrpcExchangeTransformer.js +3 -5
- package/dist/esm/client/chain/transformers/ChainGrpcGovTransformer.d.ts +3 -3
- package/dist/esm/client/chain/transformers/ChainGrpcGovTransformer.js +3 -3
- package/dist/esm/client/chain/transformers/ChainGrpcInsuranceFundTransformer.d.ts +3 -3
- package/dist/esm/client/chain/transformers/ChainGrpcMintTransformer.d.ts +2 -2
- package/dist/esm/client/chain/transformers/ChainGrpcPeggyTransformer.d.ts +2 -2
- package/dist/esm/client/chain/transformers/ChainGrpcPermissionsTransformer.d.ts +2 -2
- package/dist/esm/client/chain/transformers/ChainGrpcStakingTransformer.d.ts +4 -4
- package/dist/esm/client/chain/transformers/ChainGrpcStakingTransformer.js +16 -17
- package/dist/esm/client/chain/transformers/ChainGrpcTokenFactoryTransformer.d.ts +2 -2
- package/dist/esm/client/chain/transformers/ChainGrpcTxFeesTransformer.d.ts +2 -2
- package/dist/esm/client/chain/transformers/ChainGrpcWasmTransformer.d.ts +2 -2
- package/dist/esm/client/chain/types/auction.d.ts +2 -2
- package/dist/esm/client/chain/types/auth.d.ts +1 -1
- package/dist/esm/client/chain/types/authZ.d.ts +1 -1
- package/dist/esm/client/chain/types/bank.d.ts +2 -2
- package/dist/esm/client/chain/types/distribution.d.ts +2 -2
- package/dist/esm/client/chain/types/exchange.d.ts +3 -2
- package/dist/esm/client/chain/types/exchange.js +1 -1
- package/dist/esm/client/chain/types/gov.d.ts +2 -2
- package/dist/esm/client/chain/types/index.d.ts +31 -32
- package/dist/esm/client/chain/types/index.js +0 -13
- package/dist/esm/client/chain/types/insurance.d.ts +2 -1
- package/dist/esm/client/chain/types/mint.d.ts +1 -1
- package/dist/esm/client/chain/types/oracle.d.ts +1 -1
- package/dist/esm/client/chain/types/peggy.d.ts +1 -1
- package/dist/esm/client/chain/types/permissions.d.ts +3 -3
- package/dist/esm/client/chain/types/staking.d.ts +7 -6
- package/dist/esm/client/chain/types/staking.js +5 -6
- package/dist/esm/client/chain/types/tokenfactory.d.ts +1 -1
- package/dist/esm/client/chain/types/txFees.d.ts +1 -1
- package/dist/esm/client/chain/types/wasm.d.ts +3 -2
- package/dist/esm/client/gql/client.js +1 -1
- package/dist/esm/client/gql/index.d.ts +1 -1
- package/dist/esm/client/gql/index.js +0 -1
- package/dist/esm/client/indexer/IndexerGrpcClient.d.ts +4 -4
- package/dist/esm/client/indexer/IndexerGrpcClient.js +4 -4
- package/dist/esm/client/indexer/IndexerGrpcStreamClient.d.ts +4 -4
- package/dist/esm/client/indexer/IndexerGrpcStreamClient.js +4 -4
- package/dist/esm/client/indexer/IndexerRestClient.d.ts +1 -1
- package/dist/esm/client/indexer/IndexerRestClient.js +1 -1
- package/dist/esm/client/indexer/grpc/IndexerGrpcAccountApi.d.ts +1 -1
- package/dist/esm/client/indexer/grpc/IndexerGrpcAccountApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcArchiverApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcAuctionApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcCampaignApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcDerivativesApi.d.ts +3 -3
- package/dist/esm/client/indexer/grpc/IndexerGrpcDerivativesApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcExplorerApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcInsuranceFundApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcMetaApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcMitoApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcOracleApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcPortfolioApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcReferralApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcSpotApi.d.ts +3 -3
- package/dist/esm/client/indexer/grpc/IndexerGrpcSpotApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcTradingApi.d.ts +1 -1
- package/dist/esm/client/indexer/grpc/IndexerGrpcTradingApi.js +2 -2
- package/dist/esm/client/indexer/grpc/IndexerGrpcTransactionApi.d.ts +1 -1
- package/dist/esm/client/indexer/grpc/IndexerGrpcTransactionApi.js +15 -5
- package/dist/esm/client/indexer/grpc/IndexerGrpcWeb3GwApi.d.ts +1 -1
- package/dist/esm/client/indexer/grpc/IndexerGrpcWeb3GwApi.js +3 -3
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAccountPortfolioStream.d.ts +3 -3
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAccountPortfolioStream.js +2 -2
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAccountStream.d.ts +3 -3
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAccountStream.js +1 -1
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAuctionStream.d.ts +3 -3
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcAuctionStream.js +1 -1
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcDerivativesStream.d.ts +6 -6
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcDerivativesStream.js +2 -2
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcExplorerStream.d.ts +3 -3
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcExplorerStream.js +1 -1
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcMitoStream.d.ts +3 -3
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcMitoStream.js +1 -1
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcOracleStream.d.ts +3 -3
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcOracleStream.js +2 -2
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcSpotStream.d.ts +6 -6
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcSpotStream.js +2 -2
- package/dist/esm/client/indexer/grpc_stream/IndexerGrpcTradingStream.d.ts +2 -2
- package/dist/esm/client/indexer/rest/IndexerRestDerivativesChronosApi.js +1 -1
- package/dist/esm/client/indexer/rest/IndexerRestExplorerApi.d.ts +4 -4
- package/dist/esm/client/indexer/rest/IndexerRestExplorerApi.js +1 -1
- package/dist/esm/client/indexer/rest/IndexerRestLeaderboardChronosApi.js +1 -1
- package/dist/esm/client/indexer/rest/IndexerRestMarketChronosApi.js +1 -1
- package/dist/esm/client/indexer/rest/IndexerRestSpotChronosApi.js +1 -1
- package/dist/esm/client/indexer/transformers/IndexerAccountPortfolioStreamTransformer.d.ts +1 -1
- package/dist/esm/client/indexer/transformers/IndexerAccountPortfolioTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerAccountStreamTransformer.d.ts +2 -3
- package/dist/esm/client/indexer/transformers/IndexerAccountStreamTransformer.js +1 -1
- package/dist/esm/client/indexer/transformers/IndexerAuctionStreamTransformer.d.ts +3 -4
- package/dist/esm/client/indexer/transformers/IndexerCampaignTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerCommonTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerDerivativeStreamTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerExplorerStreamTransformer.d.ts +4 -5
- package/dist/esm/client/indexer/transformers/IndexerExplorerStreamTransformer.js +1 -1
- package/dist/esm/client/indexer/transformers/IndexerGrpcAccountTransformer.d.ts +4 -4
- package/dist/esm/client/indexer/transformers/IndexerGrpcArchiverTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerGrpcAuctionTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerGrpcDerivativeTransformer.d.ts +3 -3
- package/dist/esm/client/indexer/transformers/IndexerGrpcDerivativeTransformer.js +1 -1
- package/dist/esm/client/indexer/transformers/IndexerGrpcExplorerTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerGrpcExplorerTransformer.js +5 -5
- package/dist/esm/client/indexer/transformers/IndexerGrpcInsuranceFundTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerGrpcMitoStreamTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerGrpcMitoTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerGrpcOracleTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerGrpcReferralTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/transformers/IndexerGrpcSpotTransformer.d.ts +3 -3
- package/dist/esm/client/indexer/transformers/IndexerOracleStreamTransformer.d.ts +1 -1
- package/dist/esm/client/indexer/transformers/IndexerRestExplorerTransformer.d.ts +3 -3
- package/dist/esm/client/indexer/transformers/IndexerSpotStreamTransformer.d.ts +2 -2
- package/dist/esm/client/indexer/types/account-portfolio.d.ts +3 -3
- package/dist/esm/client/indexer/types/account.d.ts +9 -8
- package/dist/esm/client/indexer/types/account.js +6 -7
- package/dist/esm/client/indexer/types/archiver.d.ts +1 -1
- package/dist/esm/client/indexer/types/auction.d.ts +2 -2
- package/dist/esm/client/indexer/types/campaign.d.ts +2 -2
- package/dist/esm/client/indexer/types/derivatives.d.ts +4 -4
- package/dist/esm/client/indexer/types/exchange.d.ts +2 -2
- package/dist/esm/client/indexer/types/explorer-rest.d.ts +2 -2
- package/dist/esm/client/indexer/types/explorer.d.ts +26 -23
- package/dist/esm/client/indexer/types/explorer.js +19 -22
- package/dist/esm/client/indexer/types/incentives.d.ts +1 -1
- package/dist/esm/client/indexer/types/index.d.ts +38 -39
- package/dist/esm/client/indexer/types/index.js +0 -16
- package/dist/esm/client/indexer/types/insurance-funds.d.ts +7 -6
- package/dist/esm/client/indexer/types/insurance-funds.js +4 -5
- package/dist/esm/client/indexer/types/mito.d.ts +7 -6
- package/dist/esm/client/indexer/types/mito.js +4 -5
- package/dist/esm/client/indexer/types/oracle.d.ts +1 -1
- package/dist/esm/client/indexer/types/referral.d.ts +2 -2
- package/dist/esm/client/indexer/types/spot.d.ts +6 -6
- package/dist/esm/client/indexer/types/swap.d.ts +1 -1
- package/dist/esm/client/indexer/types/trading.d.ts +12 -10
- package/dist/esm/client/indexer/types/trading.js +10 -11
- package/dist/esm/client/olp/grpc/OLPGrpcApi.js +2 -2
- package/dist/esm/client/olp/grpc/index.d.ts +1 -1
- package/dist/esm/client/olp/grpc/index.js +0 -1
- package/dist/esm/client/olp/grpc/transformers/index.d.ts +2 -2
- package/dist/esm/client/olp/grpc/types/index.d.ts +1 -1
- package/dist/esm/client/wasm/incentives/index.d.ts +1 -1
- package/dist/esm/client/wasm/incentives/index.js +0 -1
- package/dist/esm/client/wasm/incentives/queries/QueryAllRounds.js +1 -1
- package/dist/esm/client/wasm/incentives/queries/QueryGetCampaigns.js +1 -1
- package/dist/esm/client/wasm/incentives/transformer.d.ts +1 -1
- package/dist/esm/client/wasm/incentives/types.d.ts +1 -1
- package/dist/esm/client/wasm/index.d.ts +1 -1
- package/dist/esm/client/wasm/index.js +0 -1
- package/dist/esm/client/wasm/nameservice/queries/QueryInjName.js +1 -1
- package/dist/esm/client/wasm/nameservice/queries/QueryInjectiveAddress.js +1 -1
- package/dist/esm/client/wasm/nameservice/queries/QueryResolverAddress.js +1 -1
- package/dist/esm/client/wasm/nameservice/transformer.d.ts +1 -1
- package/dist/esm/client/wasm/neptune/helper.d.ts +1 -1
- package/dist/esm/client/wasm/neptune/queries/QueryGetPrices.d.ts +1 -1
- package/dist/esm/client/wasm/neptune/queries/QueryGetPrices.js +1 -1
- package/dist/esm/client/wasm/neptune/queries/QueryLendingRates.d.ts +1 -1
- package/dist/esm/client/wasm/neptune/queries/QueryLendingRates.js +1 -1
- package/dist/esm/client/wasm/neptune/service.d.ts +3 -2
- package/dist/esm/client/wasm/neptune/service.js +6 -6
- package/dist/esm/client/wasm/neptune/transformer.d.ts +2 -2
- package/dist/esm/client/wasm/swap/index.d.ts +1 -1
- package/dist/esm/client/wasm/swap/index.js +0 -1
- package/dist/esm/client/wasm/swap/queries/QueryAllRoutes.js +1 -1
- package/dist/esm/client/wasm/swap/queries/QueryInputQuantity.js +1 -1
- package/dist/esm/client/wasm/swap/queries/QueryOutputQuantity.js +1 -1
- package/dist/esm/client/wasm/swap/queries/QueryRoute.js +1 -1
- package/dist/esm/client/wasm/swap/transformer.d.ts +1 -1
- package/dist/esm/client/wasm/trading_strategies/queries/QueryTradingStrategyContractAllStrategies.js +1 -1
- package/dist/esm/client/wasm/trading_strategies/queries/QueryTradingStrategyContractConfig.js +1 -1
- package/dist/esm/client/wasm/trading_strategies/queries/QueryTradingStrategyContractTotalStrategies.js +1 -1
- package/dist/esm/client/wasm/trading_strategies/queries/QueryTradingStrategyContractUserStrategies.js +1 -1
- package/dist/esm/client/wasm/trading_strategies/types.d.ts +1 -1
- package/dist/esm/core/accounts/AccountParser.d.ts +1 -1
- package/dist/esm/core/accounts/Address.js +4 -4
- package/dist/esm/core/accounts/BaseAccount.d.ts +2 -2
- package/dist/esm/core/accounts/PrivateKey.d.ts +7 -6
- package/dist/esm/core/accounts/PrivateKey.js +31 -25
- package/dist/esm/core/accounts/PublicKey.d.ts +1 -1
- package/dist/esm/core/accounts/PublicKey.js +6 -6
- package/dist/esm/core/accounts/signers/DirectEthSecp256k1Wallet.d.ts +3 -3
- package/dist/esm/core/accounts/signers/DirectEthSecp256k1Wallet.js +1 -1
- package/dist/esm/core/accounts/signers/EthSecp256k1Wallet.d.ts +2 -2
- package/dist/esm/core/accounts/signers/EthSecp256k1Wallet.js +1 -1
- package/dist/esm/core/accounts/signers/types/amino-signer.d.ts +1 -1
- package/dist/esm/core/accounts/signers/types/index.d.ts +2 -2
- package/dist/esm/core/accounts/signers/types/proto-signer.d.ts +1 -1
- package/dist/esm/core/modules/MsgBase.d.ts +2 -2
- package/dist/esm/core/modules/MsgBase.js +1 -1
- package/dist/esm/core/modules/auction/msgs/MsgBid.d.ts +1 -1
- package/dist/esm/core/modules/auction/msgs/MsgBid.js +1 -1
- package/dist/esm/core/modules/authz/msgs/MsgExec.d.ts +1 -1
- package/dist/esm/core/modules/authz/msgs/MsgExec.js +1 -1
- package/dist/esm/core/modules/authz/msgs/MsgGrant.d.ts +2 -1
- package/dist/esm/core/modules/authz/msgs/MsgGrant.js +2 -2
- package/dist/esm/core/modules/authz/msgs/MsgGrantWithAuthorization.d.ts +2 -2
- package/dist/esm/core/modules/authz/msgs/MsgGrantWithAuthorization.js +2 -2
- package/dist/esm/core/modules/authz/msgs/MsgRevoke.d.ts +2 -2
- package/dist/esm/core/modules/authz/msgs/MsgRevoke.js +1 -1
- package/dist/esm/core/modules/authz/msgs/authorizations/Base.d.ts +1 -1
- package/dist/esm/core/modules/authz/msgs/authorizations/ContractExecutionAuthorization.d.ts +1 -1
- package/dist/esm/core/modules/authz/msgs/authorizations/ContractExecutionCompatAuthorization.d.ts +1 -1
- package/dist/esm/core/modules/authz/msgs/authorizations/GenericAuthorization.d.ts +2 -1
- package/dist/esm/core/modules/authz/msgs/authorizations/GenericAuthorization.js +1 -1
- package/dist/esm/core/modules/authz/types.d.ts +5 -4
- package/dist/esm/core/modules/authz/types.js +4 -5
- package/dist/esm/core/modules/authz/utils.d.ts +1 -1
- package/dist/esm/core/modules/authz/utils.js +1 -1
- package/dist/esm/core/modules/bank/msgs/MsgMultiSend.d.ts +1 -1
- package/dist/esm/core/modules/bank/msgs/MsgMultiSend.js +1 -1
- package/dist/esm/core/modules/bank/msgs/MsgSend.d.ts +1 -1
- package/dist/esm/core/modules/bank/msgs/MsgSend.js +1 -1
- package/dist/esm/core/modules/distribution/msgs/MsgWithdrawDelegatorReward.d.ts +1 -1
- package/dist/esm/core/modules/distribution/msgs/MsgWithdrawDelegatorReward.js +1 -1
- package/dist/esm/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.d.ts +1 -1
- package/dist/esm/core/modules/distribution/msgs/MsgWithdrawValidatorCommission.js +1 -1
- package/dist/esm/core/modules/exchange/index.d.ts +5 -5
- package/dist/esm/core/modules/exchange/index.js +5 -5
- package/dist/esm/core/modules/exchange/msgs/MsgAdminUpdateBinaryOptionsMarket.d.ts +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgAdminUpdateBinaryOptionsMarket.js +5 -4
- package/dist/esm/core/modules/exchange/msgs/MsgAuthorizeStakeGrants.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelBinaryOptionsOrders.d.ts +2 -2
- package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelBinaryOptionsOrders.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelDerivativeOrders.d.ts +2 -2
- package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelDerivativeOrders.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelSpotOrders.d.ts +2 -2
- package/dist/esm/core/modules/exchange/msgs/MsgBatchCancelSpotOrders.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgBatchUpdateOrders.d.ts +2 -2
- package/dist/esm/core/modules/exchange/msgs/MsgBatchUpdateOrders.js +13 -13
- package/dist/esm/core/modules/exchange/msgs/MsgCancelBinaryOptionsOrder.d.ts +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgCancelBinaryOptionsOrder.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgCancelDerivativeOrder.d.ts +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgCancelDerivativeOrder.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgCancelSpotOrder.d.ts +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgCancelSpotOrder.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgCreateBinaryOptionsLimitOrder.d.ts +2 -2
- package/dist/esm/core/modules/exchange/msgs/MsgCreateBinaryOptionsLimitOrder.js +11 -10
- package/dist/esm/core/modules/exchange/msgs/MsgCreateBinaryOptionsMarketOrder.d.ts +2 -2
- package/dist/esm/core/modules/exchange/msgs/MsgCreateBinaryOptionsMarketOrder.js +11 -10
- package/dist/esm/core/modules/exchange/msgs/MsgCreateDerivativeLimitOrder.d.ts +2 -2
- package/dist/esm/core/modules/exchange/msgs/MsgCreateDerivativeLimitOrder.js +11 -10
- package/dist/esm/core/modules/exchange/msgs/MsgCreateDerivativeMarketOrder.d.ts +2 -2
- package/dist/esm/core/modules/exchange/msgs/MsgCreateDerivativeMarketOrder.js +11 -10
- package/dist/esm/core/modules/exchange/msgs/MsgCreateSpotLimitOrder.d.ts +2 -2
- package/dist/esm/core/modules/exchange/msgs/MsgCreateSpotLimitOrder.js +10 -9
- package/dist/esm/core/modules/exchange/msgs/MsgCreateSpotMarketOrder.d.ts +2 -2
- package/dist/esm/core/modules/exchange/msgs/MsgCreateSpotMarketOrder.js +10 -9
- package/dist/esm/core/modules/exchange/msgs/MsgDeposit.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgExternalTransfer.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgIncreasePositionMargin.js +5 -4
- package/dist/esm/core/modules/exchange/msgs/MsgInstantBinaryOptionsMarketLaunch.d.ts +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgInstantBinaryOptionsMarketLaunch.js +13 -12
- package/dist/esm/core/modules/exchange/msgs/MsgInstantSpotMarketLaunch.js +8 -7
- package/dist/esm/core/modules/exchange/msgs/MsgLiquidatePosition.d.ts +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgLiquidatePosition.js +12 -11
- package/dist/esm/core/modules/exchange/msgs/MsgReclaimLockedFunds.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgRewardsOptOut.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgSetDelegationTransferReceivers.d.ts +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgSetDelegationTransferReceivers.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgSignData.js +1 -1
- package/dist/esm/core/modules/exchange/msgs/MsgWithdraw.js +1 -1
- package/dist/esm/core/modules/exchange/utils/classes/OrderHashManager.d.ts +3 -3
- package/dist/esm/core/modules/exchange/utils/classes/OrderHashManager.js +7 -7
- package/dist/esm/core/modules/feegrant/msgs/MsgGrantAllowance.d.ts +2 -2
- package/dist/esm/core/modules/feegrant/msgs/MsgGrantAllowance.js +1 -1
- package/dist/esm/core/modules/feegrant/msgs/MsgRevokeAllowance.d.ts +2 -2
- package/dist/esm/core/modules/feegrant/msgs/MsgRevokeAllowance.js +1 -1
- package/dist/esm/core/modules/feegrant/utils/allowance.d.ts +8 -6
- package/dist/esm/core/modules/feegrant/utils/allowance.js +6 -7
- package/dist/esm/core/modules/gov/index.d.ts +1 -1
- package/dist/esm/core/modules/gov/index.js +1 -1
- package/dist/esm/core/modules/gov/msgs/MsgDeposit.js +1 -1
- package/dist/esm/core/modules/gov/msgs/MsgSubmitGenericProposal.d.ts +1 -1
- package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalExpiryFuturesMarketLaunch.d.ts +1 -1
- package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalExpiryFuturesMarketLaunch.js +16 -15
- package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunch.d.ts +1 -1
- package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunch.js +16 -15
- package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunchV2.d.ts +1 -1
- package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalPerpetualMarketLaunchV2.js +19 -18
- package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalSpotMarketLaunch.d.ts +1 -1
- package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalSpotMarketLaunch.js +12 -11
- package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalSpotMarketParamUpdate.d.ts +1 -1
- package/dist/esm/core/modules/gov/msgs/MsgSubmitProposalSpotMarketParamUpdate.js +14 -13
- package/dist/esm/core/modules/gov/msgs/MsgSubmitTextProposal.d.ts +1 -1
- package/dist/esm/core/modules/gov/msgs/MsgVote.js +1 -1
- package/dist/esm/core/modules/ibc/msgs/MsgTransfer.d.ts +2 -2
- package/dist/esm/core/modules/ibc/msgs/MsgTransfer.js +1 -1
- package/dist/esm/core/modules/index.d.ts +1 -1
- package/dist/esm/core/modules/index.js +0 -1
- package/dist/esm/core/modules/insurance/msgs/MsgCreateInsuranceFund.d.ts +1 -1
- package/dist/esm/core/modules/insurance/msgs/MsgCreateInsuranceFund.js +1 -1
- package/dist/esm/core/modules/insurance/msgs/MsgRequestRedemption.d.ts +1 -1
- package/dist/esm/core/modules/insurance/msgs/MsgRequestRedemption.js +1 -1
- package/dist/esm/core/modules/insurance/msgs/MsgUnderwrite.d.ts +1 -1
- package/dist/esm/core/modules/insurance/msgs/MsgUnderwrite.js +1 -1
- package/dist/esm/core/modules/msgs.d.ts +63 -63
- package/dist/esm/core/modules/peggy/msgs/MsgSendToEth.d.ts +1 -1
- package/dist/esm/core/modules/peggy/msgs/MsgSendToEth.js +2 -2
- package/dist/esm/core/modules/permissions/msgs/MsgClaimVoucher.d.ts +1 -1
- package/dist/esm/core/modules/permissions/msgs/MsgClaimVoucher.js +1 -1
- package/dist/esm/core/modules/permissions/msgs/MsgCreateNamespace.d.ts +1 -1
- package/dist/esm/core/modules/permissions/msgs/MsgCreateNamespace.js +1 -1
- package/dist/esm/core/modules/permissions/msgs/MsgUpdateActorRoles.d.ts +1 -1
- package/dist/esm/core/modules/permissions/msgs/MsgUpdateNamespace.d.ts +1 -1
- package/dist/esm/core/modules/permissions/msgs/MsgUpdateNamespace.js +1 -1
- package/dist/esm/core/modules/permissions/msgs/MsgUpdateParams.js +1 -1
- package/dist/esm/core/modules/staking/index.d.ts +1 -1
- package/dist/esm/core/modules/staking/index.js +1 -1
- package/dist/esm/core/modules/staking/msgs/MsgBeginRedelegate.d.ts +1 -1
- package/dist/esm/core/modules/staking/msgs/MsgBeginRedelegate.js +1 -1
- package/dist/esm/core/modules/staking/msgs/MsgCancelUnbondingDelegation.d.ts +1 -1
- package/dist/esm/core/modules/staking/msgs/MsgCancelUnbondingDelegation.js +1 -1
- package/dist/esm/core/modules/staking/msgs/MsgCreateValidator.d.ts +1 -1
- package/dist/esm/core/modules/staking/msgs/MsgCreateValidator.js +2 -2
- package/dist/esm/core/modules/staking/msgs/MsgDelegate.d.ts +1 -1
- package/dist/esm/core/modules/staking/msgs/MsgDelegate.js +1 -1
- package/dist/esm/core/modules/staking/msgs/MsgEditValidator.d.ts +2 -2
- package/dist/esm/core/modules/staking/msgs/MsgEditValidator.js +4 -3
- package/dist/esm/core/modules/staking/msgs/MsgTransferDelegation.d.ts +1 -1
- package/dist/esm/core/modules/staking/msgs/MsgTransferDelegation.js +1 -1
- package/dist/esm/core/modules/staking/msgs/MsgUndelegate.d.ts +1 -1
- package/dist/esm/core/modules/staking/msgs/MsgUndelegate.js +1 -1
- package/dist/esm/core/modules/tokenfactory/index.d.ts +1 -1
- package/dist/esm/core/modules/tokenfactory/index.js +1 -1
- package/dist/esm/core/modules/tokenfactory/msgs/MsgBurn.d.ts +2 -2
- package/dist/esm/core/modules/tokenfactory/msgs/MsgBurn.js +2 -1
- package/dist/esm/core/modules/tokenfactory/msgs/MsgChangeAdmin.d.ts +1 -1
- package/dist/esm/core/modules/tokenfactory/msgs/MsgChangeAdmin.js +1 -1
- package/dist/esm/core/modules/tokenfactory/msgs/MsgCreateDenom.d.ts +1 -1
- package/dist/esm/core/modules/tokenfactory/msgs/MsgCreateDenom.js +1 -1
- package/dist/esm/core/modules/tokenfactory/msgs/MsgMint.d.ts +1 -1
- package/dist/esm/core/modules/tokenfactory/msgs/MsgMint.js +1 -1
- package/dist/esm/core/modules/tokenfactory/msgs/MsgSetDenomMetadata.d.ts +1 -1
- package/dist/esm/core/modules/tokenfactory/msgs/MsgSetDenomMetadata.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20AdapterRedeemAndTransfer.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20AdapterRedeemAndTransfer.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20Send.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20Send.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20Transfer.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCW20Transfer.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateCampaign.d.ts +3 -2
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateCampaign.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCreatePerpGridStrategy.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCreatePerpGridStrategy.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateRound.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateRound.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.d.ts +4 -2
- package/dist/esm/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.js +2 -2
- package/dist/esm/core/modules/wasm/exec-args/ExecArgDepositTokens.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgDepositTokens.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgFundCampaign.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgFundCampaign.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgIncreaseAllowance.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgIncreaseAllowance.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgInitiateTransfer.d.ts +3 -2
- package/dist/esm/core/modules/wasm/exec-args/ExecArgInitiateTransfer.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgNeptuneDeposit.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgNeptuneDeposit.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgRemoveGridStrategy.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgRemoveGridStrategy.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgSubmitVaa.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgSubmitVaa.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgSwapExactOutput.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgSwapExactOutput.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgSwapMinOutput.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgSwapMinOutput.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgUpdateGridConfig.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-args/ExecArgUpdateGridConfig.js +1 -1
- package/dist/esm/core/modules/wasm/exec-args.d.ts +20 -20
- package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultRedeem.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultRedeem.js +1 -1
- package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultSubscribe.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgOffChainVaultSubscribe.js +1 -1
- package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultRedeem.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultRedeem.js +1 -1
- package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultSubscribe.d.ts +2 -1
- package/dist/esm/core/modules/wasm/exec-priv-args/ExecPrivilegedArgVaultSubscribe.js +1 -1
- package/dist/esm/core/modules/wasm/index.d.ts +13 -13
- package/dist/esm/core/modules/wasm/index.js +12 -13
- package/dist/esm/core/modules/wasm/msgs/MsgExecuteContract.d.ts +2 -2
- package/dist/esm/core/modules/wasm/msgs/MsgExecuteContract.js +3 -3
- package/dist/esm/core/modules/wasm/msgs/MsgExecuteContractCompat.d.ts +2 -2
- package/dist/esm/core/modules/wasm/msgs/MsgExecuteContractCompat.js +1 -1
- package/dist/esm/core/modules/wasm/msgs/MsgInstantiateContract.d.ts +1 -1
- package/dist/esm/core/modules/wasm/msgs/MsgInstantiateContract.js +3 -3
- package/dist/esm/core/modules/wasm/msgs/MsgMigrateContract.d.ts +1 -1
- package/dist/esm/core/modules/wasm/msgs/MsgMigrateContract.js +3 -3
- package/dist/esm/core/modules/wasm/msgs/MsgPrivilegedExecuteContract.d.ts +3 -3
- package/dist/esm/core/modules/wasm/msgs/MsgPrivilegedExecuteContract.js +1 -1
- package/dist/esm/core/modules/wasm/msgs/MsgStoreCode.d.ts +1 -1
- package/dist/esm/core/modules/wasm/msgs/MsgStoreCode.js +4 -4
- package/dist/esm/core/modules/wasm/msgs/MsgUpdateAdmin.d.ts +1 -1
- package/dist/esm/core/modules/wasm/msgs/MsgUpdateAdmin.js +1 -1
- package/dist/esm/core/modules/wasm/types.d.ts +12 -10
- package/dist/esm/core/modules/wasm/types.js +10 -12
- package/dist/esm/core/stargate/SigningStargateClient.d.ts +10 -8
- package/dist/esm/core/stargate/SigningStargateClient.js +10 -10
- package/dist/esm/core/stargate/StargateClient.d.ts +2 -1
- package/dist/esm/core/tx/api/TxGrpcApi.d.ts +3 -3
- package/dist/esm/core/tx/api/TxGrpcApi.js +2 -2
- package/dist/esm/core/tx/api/TxRestApi.d.ts +3 -3
- package/dist/esm/core/tx/api/TxRestApi.js +5 -5
- package/dist/esm/core/tx/api/utils.d.ts +1 -1
- package/dist/esm/core/tx/arbitrary.js +1 -1
- package/dist/esm/core/tx/broadcaster/MsgBroadcasterWithPk.d.ts +5 -4
- package/dist/esm/core/tx/broadcaster/MsgBroadcasterWithPk.js +8 -8
- package/dist/esm/core/tx/eip712/MsgDecoder.d.ts +2 -2
- package/dist/esm/core/tx/eip712/MsgDecoder.js +1 -1
- package/dist/esm/core/tx/eip712/eip712.d.ts +3 -3
- package/dist/esm/core/tx/eip712/eip712.js +1 -1
- package/dist/esm/core/tx/eip712/index.d.ts +1 -1
- package/dist/esm/core/tx/eip712/index.js +0 -1
- package/dist/esm/core/tx/eip712/maps.d.ts +1 -1
- package/dist/esm/core/tx/eip712/maps.js +1 -1
- package/dist/esm/core/tx/eip712/utils.d.ts +2 -2
- package/dist/esm/core/tx/eip712/utils.js +9 -7
- package/dist/esm/core/tx/tx.d.ts +3 -3
- package/dist/esm/core/tx/tx.js +7 -7
- package/dist/esm/core/tx/types/tx-rest-client.d.ts +13 -11
- package/dist/esm/core/tx/types/tx-rest-client.js +10 -12
- package/dist/esm/core/tx/types/tx.d.ts +8 -7
- package/dist/esm/core/tx/types/tx.js +4 -5
- package/dist/esm/core/tx/utils/classes/TxClient.js +1 -1
- package/dist/esm/core/tx/utils/tx.d.ts +8 -7
- package/dist/esm/core/tx/utils/tx.js +2 -2
- package/dist/esm/service/TokenFactoryStatic.d.ts +2 -1
- package/dist/esm/service/TokenStaticFactory.d.ts +2 -1
- package/dist/esm/types/cosmos.d.ts +12 -11
- package/dist/esm/types/cosmos.js +7 -8
- package/dist/esm/types/exchange.d.ts +19 -16
- package/dist/esm/types/exchange.js +16 -19
- package/dist/esm/types/index.d.ts +1 -1
- package/dist/esm/types/index.js +0 -1
- package/dist/esm/types/token.d.ts +37 -34
- package/dist/esm/types/token.js +34 -37
- package/dist/esm/utils/address.js +3 -6
- package/dist/esm/utils/constants.d.ts +0 -2
- package/dist/esm/utils/constants.js +0 -2
- package/dist/esm/utils/crypto.d.ts +11 -7
- package/dist/esm/utils/crypto.js +34 -8
- package/dist/esm/utils/helpers.d.ts +2 -2
- package/dist/esm/utils/helpers.js +1 -1
- package/dist/esm/utils/msgs.d.ts +1 -1
- package/dist/esm/utils/numbers.d.ts +36 -10
- package/dist/esm/utils/numbers.js +51 -40
- package/dist/esm/utils/pagination.d.ts +3 -3
- package/dist/esm/utils/transaction.d.ts +2 -1
- package/dist/esm/utils/transaction.js +12 -9
- 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
|
|
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 =
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
2
|
-
import {
|
|
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
|
|
2
|
-
import {
|
|
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 {
|
|
3
|
-
import {
|
|
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
|
|
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,
|
|
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,
|
|
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,
|
|
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 {
|
|
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:
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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,
|
|
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,
|
|
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 {
|
|
2
|
-
import {
|
|
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 {
|
|
2
|
-
import {
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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):
|
|
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,
|
|
40
|
+
shares: (0, utils_1.toHumanReadable)(delegation ? delegation.shares : 0).toFixed(),
|
|
42
41
|
},
|
|
43
42
|
balance: {
|
|
44
43
|
denom: balance ? balance.denom : '',
|
|
45
|
-
amount:
|
|
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,
|
|
57
|
+
shares: (0, utils_1.toHumanReadable)(delegation ? delegation.shares : 0).toFixed(),
|
|
59
58
|
},
|
|
60
59
|
balance: {
|
|
61
60
|
denom: balance ? balance.denom : '',
|
|
62
|
-
amount:
|
|
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:
|
|
85
|
-
balance:
|
|
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:
|
|
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,
|
|
131
|
-
delegatorShares: (0,
|
|
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,
|
|
149
|
-
bondedTokens: (0,
|
|
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,
|
|
166
|
-
maxRate: (0,
|
|
167
|
-
maxChangeRate: (0,
|
|
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 {
|
|
2
|
-
import {
|
|
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 {
|
|
2
|
-
import {
|
|
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 {
|
|
2
|
-
import {
|
|
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 { 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 {
|
|
2
|
-
import {
|
|
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 {
|
|
2
|
-
import {
|
|
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
|
|
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 };
|