@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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { CosmosDistributionV1Beta1Query } from '@injectivelabs/core-proto-ts';
|
|
3
|
-
import
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
4
3
|
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
5
5
|
import { ChainGrpcDistributionTransformer } from '../transformers/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* @category Chain Grpc API
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { InjectiveExchangeV1Beta1Query } from '@injectivelabs/core-proto-ts';
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
3
|
+
import { ChainModule } from '../types/index.js';
|
|
3
4
|
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
4
5
|
import { ChainGrpcExchangeTransformer } from '../transformers/index.js';
|
|
5
|
-
import { ChainModule } from '../types/index.js';
|
|
6
6
|
InjectiveExchangeV1Beta1Query;
|
|
7
7
|
/**
|
|
8
8
|
* @category Chain Grpc API
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CosmosGovV1Query } from '@injectivelabs/core-proto-ts';
|
|
2
2
|
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
3
|
-
import {
|
|
3
|
+
import type { CosmosGovV1Gov } from '@injectivelabs/core-proto-ts';
|
|
4
|
+
import type { PaginationOption } from '../../../types/pagination.js';
|
|
4
5
|
/**
|
|
5
6
|
* @category Chain Grpc API
|
|
6
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { CosmosGovV1Query } from '@injectivelabs/core-proto-ts';
|
|
3
|
-
import
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
4
3
|
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
5
5
|
import { paginationRequestFromPagination } from '../../../utils/pagination.js';
|
|
6
6
|
import { ChainGrpcGovTransformer } from '../transformers/ChainGrpcGovTransformer.js';
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IbcApplicationsTransferV1Query } 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
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { IbcApplicationsTransferV1Query } from '@injectivelabs/core-proto-ts';
|
|
3
|
-
import
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
4
3
|
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
5
5
|
import { paginationRequestFromPagination } from '../../../utils/pagination.js';
|
|
6
6
|
/**
|
|
7
7
|
* @category Chain Grpc API
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { InjectiveInsuranceV1Beta1Query } from '@injectivelabs/core-proto-ts';
|
|
3
|
-
import
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
4
3
|
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
5
5
|
import { ChainGrpcInsuranceFundTransformer } from '../transformers/ChainGrpcInsuranceFundTransformer.js';
|
|
6
6
|
/**
|
|
7
7
|
* @category Chain Grpc API
|
|
@@ -9,7 +9,7 @@ export declare class ChainGrpcMintApi extends BaseGrpcConsumer {
|
|
|
9
9
|
constructor(endpoint: string);
|
|
10
10
|
fetchModuleParams(): Promise<import("../types/mint.js").MinModuleParams>;
|
|
11
11
|
fetchInflation(): Promise<{
|
|
12
|
-
inflation:
|
|
12
|
+
inflation: import("bignumber.js").BigNumber;
|
|
13
13
|
}>;
|
|
14
14
|
fetchAnnualProvisions(): Promise<{
|
|
15
15
|
annualProvisions: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { toHumanReadable } from '@injectivelabs/utils';
|
|
2
2
|
import { CosmosMintV1Beta1Query } from '@injectivelabs/core-proto-ts';
|
|
3
|
-
import {
|
|
4
|
-
import { BigNumberInBase } from '@injectivelabs/utils';
|
|
5
|
-
import { ChainGrpcMintTransformer } from './../transformers/ChainGrpcMintTransformer.js';
|
|
3
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
6
4
|
import { ChainModule } from '../types/index.js';
|
|
5
|
+
import { uint8ArrayToString } from '../../../utils/index.js';
|
|
7
6
|
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
7
|
+
import { ChainGrpcMintTransformer } from './../transformers/ChainGrpcMintTransformer.js';
|
|
8
8
|
/**
|
|
9
9
|
* @category Chain Grpc API
|
|
10
10
|
*/
|
|
@@ -41,7 +41,7 @@ export class ChainGrpcMintApi extends BaseGrpcConsumer {
|
|
|
41
41
|
try {
|
|
42
42
|
const response = await this.retry(() => this.client.Inflation(request, this.metadata));
|
|
43
43
|
return {
|
|
44
|
-
inflation:
|
|
44
|
+
inflation: toHumanReadable(uint8ArrayToString(response.inflation)),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
catch (e) {
|
|
@@ -64,7 +64,7 @@ export class ChainGrpcMintApi extends BaseGrpcConsumer {
|
|
|
64
64
|
try {
|
|
65
65
|
const response = await this.retry(() => this.client.AnnualProvisions(request, this.metadata));
|
|
66
66
|
return {
|
|
67
|
-
annualProvisions:
|
|
67
|
+
annualProvisions: toHumanReadable(uint8ArrayToString(response.annualProvisions)).toFixed(),
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
catch (e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectiveOracleV1Beta1Query } from '@injectivelabs/core-proto-ts';
|
|
2
2
|
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
3
|
-
import { OracleModuleParams } from '../types/index.js';
|
|
3
|
+
import type { OracleModuleParams } from '../types/index.js';
|
|
4
4
|
/**
|
|
5
5
|
* @category Chain Grpc API
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { InjectiveOracleV1Beta1Query } from '@injectivelabs/core-proto-ts';
|
|
3
|
-
import
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
4
3
|
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
5
5
|
/**
|
|
6
6
|
* @category Chain Grpc API
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { InjectivePeggyV1Query } from '@injectivelabs/core-proto-ts';
|
|
3
|
-
import
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
4
3
|
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
5
5
|
import { ChainGrpcPeggyTransformer } from '../transformers/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* @category Chain Grpc API
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { InjectivePermissionsV1Beta1Query } from '@injectivelabs/core-proto-ts';
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
3
|
+
import { ChainModule } from '../types/index.js';
|
|
3
4
|
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
4
5
|
import { ChainGrpcPermissionsTransformer } from '../transformers/index.js';
|
|
5
|
-
import { ChainModule } from '../types/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* @category Chain Grpc API
|
|
8
8
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CosmosStakingV1Beta1Query } 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
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { CosmosStakingV1Beta1Query } from '@injectivelabs/core-proto-ts';
|
|
3
|
-
import
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
4
3
|
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
5
5
|
import { ChainGrpcStakingTransformer } from '../transformers/index.js';
|
|
6
6
|
import { paginationRequestFromPagination } from '../../../utils/pagination.js';
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CosmosBaseTendermintV1Beta1Query } from '@injectivelabs/core-proto-ts';
|
|
2
|
-
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
3
|
-
import { ChainModule } from '../types/index.js';
|
|
4
2
|
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
3
|
+
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
5
5
|
/**
|
|
6
6
|
* @category Chain Grpc API
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { InjectiveTokenFactoryV1Beta1Query } from '@injectivelabs/core-proto-ts';
|
|
3
|
-
import
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
4
3
|
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
5
5
|
import { ChainGrpcTokenFactoryTransformer } from '../index.js';
|
|
6
6
|
/**
|
|
7
7
|
* @category TokenFactory Grpc API
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { InjectiveTxFeesV1Beta1Query } from '@injectivelabs/core-proto-ts';
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
3
|
+
import { ChainModule } from '../types/index.js';
|
|
3
4
|
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
4
5
|
import { ChainGrpcTxFeesTransformer } from '../transformers/index.js';
|
|
5
|
-
import { ChainModule } from '../types/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* @category Chain Grpc API
|
|
8
8
|
*/
|
|
@@ -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
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { CosmwasmWasmV1Query } from '@injectivelabs/core-proto-ts';
|
|
3
|
-
import
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
4
3
|
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import { toBase64 } from '../../../utils/utf8.js';
|
|
5
|
+
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
5
6
|
import { ChainGrpcWasmTransformer } from '../transformers/index.js';
|
|
6
7
|
import { paginationRequestFromPagination } from '../../../utils/pagination.js';
|
|
7
|
-
import { toBase64 } from '../../../utils/utf8.js';
|
|
8
8
|
/**
|
|
9
9
|
* @category Chain Grpc API
|
|
10
10
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
2
1
|
import { InjectiveWasmxV1Query } from '@injectivelabs/core-proto-ts';
|
|
3
|
-
import
|
|
2
|
+
import { UnspecifiedErrorCode, grpcErrorCodeToErrorCode, GrpcUnaryRequestException, } from '@injectivelabs/exceptions';
|
|
4
3
|
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js';
|
|
5
5
|
/**
|
|
6
6
|
* @category Chain Grpc API
|
|
7
7
|
*/
|
|
@@ -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
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpRequestException, UnspecifiedErrorCode, } from '@injectivelabs/exceptions';
|
|
2
|
-
import BaseRestConsumer from '../../base/BaseRestConsumer.js';
|
|
3
2
|
import { ChainModule } from '../types/index.js';
|
|
3
|
+
import BaseRestConsumer from '../../base/BaseRestConsumer.js';
|
|
4
4
|
/**
|
|
5
5
|
* @category Chain Rest API
|
|
6
6
|
*/
|
|
@@ -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
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StatusCodes } from 'http-status-codes';
|
|
2
2
|
import { ErrorType, GeneralException, HttpRequestException, UnspecifiedErrorCode, } from '@injectivelabs/exceptions';
|
|
3
|
-
import BaseRestConsumer from '../../base/BaseRestConsumer.js';
|
|
4
3
|
import { ChainModule } from '../types/index.js';
|
|
4
|
+
import BaseRestConsumer from '../../base/BaseRestConsumer.js';
|
|
5
5
|
/**
|
|
6
6
|
* @category Chain Rest API
|
|
7
7
|
*/
|
|
@@ -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
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpRequestException, UnspecifiedErrorCode, } from '@injectivelabs/exceptions';
|
|
2
|
-
import BaseRestConsumer from '../../base/BaseRestConsumer.js';
|
|
3
2
|
import { ChainModule } from '../types/index.js';
|
|
3
|
+
import BaseRestConsumer from '../../base/BaseRestConsumer.js';
|
|
4
4
|
/**
|
|
5
5
|
* @category Chain Rest API
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpRequestException, UnspecifiedErrorCode, } from '@injectivelabs/exceptions';
|
|
2
|
-
import BaseRestConsumer from '../../base/BaseRestConsumer.js';
|
|
3
2
|
import { ChainModule } from '../types/index.js';
|
|
3
|
+
import BaseRestConsumer from '../../base/BaseRestConsumer.js';
|
|
4
4
|
/**
|
|
5
5
|
* @category Chain Wasm API
|
|
6
6
|
*/
|
|
@@ -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,6 +1,6 @@
|
|
|
1
|
-
import { grpcPaginationToPagination } from '../../../utils/pagination.js';
|
|
2
|
-
import { uint8ArrayToString } from '../../../utils/index.js';
|
|
3
1
|
import { InjectiveTypesV1Beta1Account, InjectiveCryptoV1Beta1Ethsecp256k1Keys, } from '@injectivelabs/core-proto-ts';
|
|
2
|
+
import { uint8ArrayToString } from '../../../utils/index.js';
|
|
3
|
+
import { grpcPaginationToPagination } from '../../../utils/pagination.js';
|
|
4
4
|
/**
|
|
5
5
|
* @category Chain Grpc Transformer
|
|
6
6
|
*/
|
|
@@ -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
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GeneralException } from '@injectivelabs/exceptions';
|
|
2
|
+
import { CosmosAuthzV1Beta1Authz } from '@injectivelabs/core-proto-ts';
|
|
2
3
|
import { grpcPaginationToPagination } from '../../../utils/pagination.js';
|
|
3
|
-
import { CosmosAuthzV1Beta1Authz, } from '@injectivelabs/core-proto-ts';
|
|
4
4
|
/**
|
|
5
5
|
* @category Chain Grpc Transformer
|
|
6
6
|
*/
|
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import { ChainGrpcCommonTransformer } from './ChainGrpcCommonTransformer.js';
|
|
2
1
|
import { grpcPaginationToPagination } from '../../../utils/pagination.js';
|
|
2
|
+
import { ChainGrpcCommonTransformer } from './ChainGrpcCommonTransformer.js';
|
|
3
3
|
/**
|
|
4
4
|
* @category Chain Grpc Transformer
|
|
5
5
|
*/
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { toHumanReadable } from '@injectivelabs/utils';
|
|
2
2
|
/**
|
|
3
3
|
* @category Chain Grpc Transformer
|
|
4
4
|
*/
|
|
@@ -6,7 +6,7 @@ export class ChainGrpcDistributionTransformer {
|
|
|
6
6
|
static moduleParamsResponseToModuleParams(response) {
|
|
7
7
|
const params = response.params;
|
|
8
8
|
return {
|
|
9
|
-
communityTax:
|
|
9
|
+
communityTax: toHumanReadable(params.communityTax).toFixed(),
|
|
10
10
|
baseProposerReward: params.baseProposerReward,
|
|
11
11
|
bonusProposerReward: params.bonusProposerReward,
|
|
12
12
|
withdrawAddrEnabled: params.withdrawAddrEnabled,
|
|
@@ -16,7 +16,7 @@ export class ChainGrpcDistributionTransformer {
|
|
|
16
16
|
const grpcRewards = response.rewards;
|
|
17
17
|
return grpcRewards.map((grpcReward) => {
|
|
18
18
|
return {
|
|
19
|
-
amount:
|
|
19
|
+
amount: toHumanReadable(grpcReward.amount).toFixed(),
|
|
20
20
|
denom: grpcReward.denom,
|
|
21
21
|
};
|
|
22
22
|
});
|
|
@@ -25,7 +25,7 @@ export class ChainGrpcDistributionTransformer {
|
|
|
25
25
|
const grpcRewards = response.rewards;
|
|
26
26
|
return grpcRewards.map((grpcReward) => {
|
|
27
27
|
const rewards = grpcReward.reward.map((reward) => ({
|
|
28
|
-
amount:
|
|
28
|
+
amount: toHumanReadable(reward.amount).toFixed(),
|
|
29
29
|
denom: reward.denom,
|
|
30
30
|
}));
|
|
31
31
|
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,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { toHumanReadable } from '@injectivelabs/utils';
|
|
2
|
+
import { InjectiveOracleV1Beta1Oracle, InjectiveExchangeV1Beta1Exchange, } from '@injectivelabs/core-proto-ts';
|
|
3
3
|
import { denomAmountFromGrpcChainDenomAmount } from './../../../utils/numbers.js';
|
|
4
4
|
/**
|
|
5
5
|
* @category Chain Grpc Transformer
|
|
@@ -177,9 +177,7 @@ export class ChainGrpcExchangeTransformer {
|
|
|
177
177
|
static denomMinNotionalsResponseToDenomMinNotionals(response) {
|
|
178
178
|
return response.denomMinNotionals.map((denomDecimals) => ({
|
|
179
179
|
denom: denomDecimals.denom,
|
|
180
|
-
minNotional:
|
|
181
|
-
.dividedBy(10 ** 18)
|
|
182
|
-
.toFixed(),
|
|
180
|
+
minNotional: toHumanReadable(denomDecimals.minNotional).toFixed(),
|
|
183
181
|
}));
|
|
184
182
|
}
|
|
185
183
|
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,6 +1,6 @@
|
|
|
1
|
+
import { toHumanReadable } from '@injectivelabs/utils';
|
|
1
2
|
import { uint8ArrayToString } from '../../../utils/index.js';
|
|
2
3
|
import { grpcPaginationToPagination } from '../../../utils/pagination.js';
|
|
3
|
-
import { cosmosSdkDecToBigNumber } from '../../../utils/index.js';
|
|
4
4
|
/**
|
|
5
5
|
* @category Chain Grpc Transformer
|
|
6
6
|
*/
|
|
@@ -66,7 +66,7 @@ export class ChainGrpcGovTransformer {
|
|
|
66
66
|
depositor: deposit.depositor,
|
|
67
67
|
amounts: deposit.amount.map((coin) => ({
|
|
68
68
|
denom: coin.denom,
|
|
69
|
-
amount:
|
|
69
|
+
amount: toHumanReadable(coin.amount).toFixed(),
|
|
70
70
|
})),
|
|
71
71
|
};
|
|
72
72
|
});
|
|
@@ -129,7 +129,7 @@ export class ChainGrpcGovTransformer {
|
|
|
129
129
|
: 0,
|
|
130
130
|
totalDeposits: proposal.totalDeposit.map((coin) => ({
|
|
131
131
|
denom: coin.denom,
|
|
132
|
-
amount:
|
|
132
|
+
amount: toHumanReadable(coin.amount).toFixed(),
|
|
133
133
|
})),
|
|
134
134
|
votingStartTime: proposal.votingStartTime
|
|
135
135
|
? 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
|
}
|