@injectivelabs/sdk-ts 1.17.2-alpha.1 → 1.17.2-alpha.11
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/{ChainGrpcExchangeApi-BtyGj9nz.cjs → ChainGrpcExchangeApi-DLpkgEyg.cjs} +2 -2
- package/dist/cjs/{ChainRestTendermintApi-QfW64O3w.cjs → ChainRestTendermintApi-BiZOeKcG.cjs} +1 -1
- package/dist/cjs/{DirectEthSecp256k1Wallet-DoKnf40T.cjs → DirectEthSecp256k1Wallet-CU18lti3.cjs} +2 -2
- package/dist/cjs/{ExecArgNeptuneWithdraw-Bq-vm03i.cjs → ExecArgNeptuneWithdraw-DOHeo3AJ.cjs} +6 -6
- package/dist/cjs/{IndexerGrpcWeb3GwApi-DqzAO5JM.cjs → IndexerGrpcWeb3GwApi-BgWT2tWK.cjs} +6 -6
- package/dist/cjs/{MsgBase-BJ1-Qh5c.cjs → MsgBase-DqOmzCyS.cjs} +1 -0
- package/dist/cjs/{MsgSetDenomMetadata-DRNtJ4-D.cjs → MsgSetDenomMetadata-CUoGqV8P.cjs} +9 -9
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-C9cHGYOE.cjs → QueryTradingStrategyContractTotalStrategies-Bh8AXm4k.cjs} +3 -3
- package/dist/cjs/{IndexerGrpcAccountPortfolioStream-DeTA0ie2.cjs → StreamManager-ikNObdr-.cjs} +1257 -278
- package/dist/cjs/{accounts-D7eN2BGD.cjs → accounts-CXaUasU5.cjs} +9 -8
- package/dist/cjs/{any_pb-CP-3DVyl.d.cts → any_pb-CutLnOUR.d.cts} +2 -2
- package/dist/cjs/{chain--FmH8auB.cjs → chain-Cs9sNuT1.cjs} +2 -2
- package/dist/cjs/client/chain.cjs +4 -4
- package/dist/cjs/client/chain.d.cts +7 -7
- package/dist/cjs/client/indexer.cjs +72 -58
- package/dist/cjs/client/indexer.d.cts +8 -8
- package/dist/cjs/client/olp.d.cts +1 -1
- package/dist/cjs/client/wasm.cjs +7 -7
- package/dist/cjs/client/wasm.d.cts +2 -2
- package/dist/cjs/core/accounts.cjs +3 -3
- package/dist/cjs/core/accounts.d.cts +7 -7
- package/dist/cjs/core/modules.cjs +9 -9
- package/dist/cjs/core/modules.d.cts +7 -7
- package/dist/cjs/core/tx.cjs +6 -6
- package/dist/cjs/core/tx.d.cts +7 -7
- package/dist/cjs/cosmjs.cjs +7 -7
- package/dist/cjs/cosmjs.d.cts +3 -3
- package/dist/cjs/exports.cjs +7 -7
- package/dist/cjs/exports.d.cts +3 -3
- package/dist/cjs/{index-Cqfc1ppG.d.cts → index-B1AYbshM.d.cts} +223 -19
- package/dist/cjs/{index-D4uWOVE5.d.cts → index-B8XmWgDc.d.cts} +5 -5
- package/dist/cjs/{index-Cc4mqAsR.d.cts → index-D6ubyMlR.d.cts} +1 -1
- package/dist/cjs/{index-9KV6P3U_.d.cts → index-DDQzXOux.d.cts} +933 -154
- package/dist/cjs/{index-CKBod1ba.d.cts → index-D__cYp7U.d.cts} +3 -2
- package/dist/cjs/{index-Cc5Q73-y.d.cts → index-FEXnDdOc.d.cts} +1 -1
- package/dist/cjs/index.cjs +89 -68
- package/dist/cjs/index.d.cts +8 -8
- package/dist/cjs/{service-BsjIvzFh.cjs → service-yA6fSem8.cjs} +2 -2
- package/dist/cjs/service.cjs +3 -3
- package/dist/cjs/service.d.cts +4 -4
- package/dist/cjs/{tx-BXz2UdNK.cjs → tx-Cn0j2SRh.cjs} +4 -4
- package/dist/{esm/tx_pb-TiSRD5ay.d.ts → cjs/tx_pb-D-cNmrlO.d.cts} +4 -3
- package/dist/cjs/{types-NFV4P_J_.cjs → types-DvoTS2v1.cjs} +104 -7
- package/dist/cjs/types.cjs +6 -1
- package/dist/cjs/types.d.cts +4 -4
- package/dist/cjs/{utils-WpVZ-fdd.cjs → utils-V1uXtT51.cjs} +120 -88
- package/dist/cjs/utils.cjs +3 -1
- package/dist/cjs/utils.d.cts +8 -8
- package/dist/esm/{ChainGrpcExchangeApi-C2PzFFLo.js → ChainGrpcExchangeApi-C-2XsVVs.js} +2 -2
- package/dist/esm/{ChainRestTendermintApi-iWnboboL.js → ChainRestTendermintApi-CMrAg0Zm.js} +1 -1
- package/dist/esm/{DirectEthSecp256k1Wallet-3qFMEHzf.js → DirectEthSecp256k1Wallet-a9KiF9fA.js} +2 -2
- package/dist/esm/{ExecArgNeptuneWithdraw-D_zdRFlV.js → ExecArgNeptuneWithdraw-DEljIeLd.js} +6 -6
- package/dist/esm/{IndexerGrpcWeb3GwApi-C82holuJ.js → IndexerGrpcWeb3GwApi-CtUYowus.js} +6 -6
- package/dist/esm/{MsgBase-aKq3ln6R.js → MsgBase-BkRgVbdY.js} +1 -0
- package/dist/esm/{MsgSetDenomMetadata-WwlO0X1r.js → MsgSetDenomMetadata-BhJMebO9.js} +9 -9
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-Bov-bhFt.js → QueryTradingStrategyContractTotalStrategies-7IjWZLsc.js} +3 -3
- package/dist/esm/{IndexerGrpcAccountPortfolioStream-CxK8ZbH1.js → StreamManager-Bz2mGjMt.js} +926 -31
- package/dist/esm/{accounts-B8PWTc1V.js → accounts-DFC9RYDH.js} +9 -8
- package/dist/esm/{any_pb-B1YYUSUf.d.ts → any_pb-DBt7qvTr.d.ts} +2 -2
- package/dist/esm/{chain-B93GTjUS.js → chain-phKWVf8c.js} +2 -2
- package/dist/esm/client/chain.d.ts +7 -7
- package/dist/esm/client/chain.js +4 -4
- package/dist/esm/client/indexer.d.ts +8 -8
- package/dist/esm/client/indexer.js +5 -5
- package/dist/esm/client/olp.d.ts +1 -1
- package/dist/esm/client/wasm.d.ts +2 -2
- package/dist/esm/client/wasm.js +7 -7
- package/dist/esm/core/accounts.d.ts +7 -7
- package/dist/esm/core/accounts.js +3 -3
- package/dist/esm/core/modules.d.ts +7 -7
- package/dist/esm/core/modules.js +9 -9
- package/dist/esm/core/tx.d.ts +7 -7
- package/dist/esm/core/tx.js +6 -6
- package/dist/esm/cosmjs.d.ts +3 -3
- package/dist/esm/cosmjs.js +7 -7
- package/dist/esm/exports.d.ts +3 -3
- package/dist/esm/exports.js +7 -7
- package/dist/esm/{index-BOKuUpVZ.d.ts → index--sg5xbEP.d.ts} +1 -1
- package/dist/esm/{index-aNMYd-s0.d.ts → index-BoEe6weX.d.ts} +3 -2
- package/dist/esm/{index-CIU3qLo9.d.ts → index-DSY58vw-.d.ts} +949 -170
- package/dist/esm/{index-DS6aJrL5.d.ts → index-DgYt7OQg.d.ts} +1 -1
- package/dist/esm/{index-DdGVE3_u.d.ts → index-GcFVWcCn.d.ts} +5 -5
- package/dist/esm/{index-B1R417vW.d.ts → index-mAmKmwGY.d.ts} +223 -19
- package/dist/esm/index.d.ts +8 -8
- package/dist/esm/index.js +15 -15
- package/dist/esm/{service-DsZ0vnDP.js → service-B_k552b0.js} +2 -2
- package/dist/esm/service.d.ts +4 -4
- package/dist/esm/service.js +3 -3
- package/dist/esm/{tx-C1AZz6w-.js → tx-CcaVBSym.js} +4 -4
- package/dist/{cjs/tx_pb-tECSPcSB.d.cts → esm/tx_pb-zz4o4hHG.d.ts} +4 -3
- package/dist/esm/types-Bu8IAJ0R.js +137 -0
- package/dist/esm/types.d.ts +4 -4
- package/dist/esm/types.js +2 -2
- package/dist/esm/{utils-BaRG9oyg.js → utils-DwGoPRTL.js} +111 -90
- package/dist/esm/utils.d.ts +8 -8
- package/dist/esm/utils.js +2 -2
- package/package.json +16 -16
- package/dist/esm/types-Cq0sRR6y.js +0 -70
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../tx_pb-
|
|
1
|
+
import "../tx_pb-D-cNmrlO.cjs";
|
|
2
2
|
import "../BaseGrpcConsumer-PDufF0fz.cjs";
|
|
3
3
|
import "../index-B19YRG03.cjs";
|
|
4
|
-
import "../any_pb-
|
|
5
|
-
import { $
|
|
6
|
-
import { $ as ExecArgInitiateTransfer, B as ExecArgCW20AdapterRedeemAndTransfer, G as ExitConfig, H as ExecPrivilegedArgVaultRedeem, I as ExecArgs, J as TrailingArithmetic, K as ExitType, L as ExecPrivilegedArgs, N as MsgExecuteContractCompat, Q as ExecArgUpdateGridConfig, R as ExecPrivilegedArgOffChainVaultSubscribe, U as ExecArgCreateSpotGridStrategy, V as ExecPrivilegedArgVaultSubscribe, W as ExecArgCreatePerpGridStrategy, X as ExecArgRemoveGridStrategy, Y as TrailingArithmeticLP, Z as ExecArgIncreaseAllowance, at as ExecArgCW20Transfer, ct as ExecArgCW20Send, et as ExecArgSwapExactOutput, it as ExecArgFundCampaign, nt as ExecArgSwapMinOutput, ot as ExecArgCreateRound, q as StrategyType, rt as ExecArgDepositTokens, st as ExecArgSubmitVaa, tt as ExecArgCreateCampaign, z as ExecPrivilegedArgOffChainVaultRedeem } from "../index-
|
|
7
|
-
import "../index-
|
|
8
|
-
import "../index-
|
|
9
|
-
import "../index-
|
|
4
|
+
import "../any_pb-CutLnOUR.cjs";
|
|
5
|
+
import { $_ as MsgExternalTransfer, A_ as MsgWithdrawDelegatorReward, Av as MsgSubmitProposalSpotMarketParamUpdate, B_ as MsgCancelPostOnlyModeV2, Bv as MsgVote, Cd as ExecArgNeptuneWithdraw, Cv as MsgBurn, D_ as MsgCreateDerivativeMarketOrder, Dv as ProposalDecomposer, E_ as MsgWithdrawValidatorCommission, Ev as MsgSubmitProposal, F_ as MsgIncreasePositionMargin, Fv as MsgDeposit$1, G_ as MsgSetDenomMetadata, H_ as MsgAuthorizeStakeGrants, I_ as MsgCreateSpotMarketOrder, Iv as MsgRevoke, J_ as MsgTransferDelegation, K_ as MsgUpdateSpotMarketV2, L_ as MsgCancelDerivativeOrder, Lv as MsgGrant, M_ as MsgUpdateDerivativeMarketV2, Mv as MsgSubmitProposalSpotMarketLaunch, N_ as MsgCancelBinaryOptionsOrder, Nv as MsgSubmitGenericProposal, O_ as MsgBatchCancelDerivativeOrders, Ov as MsgSubmitProposalExpiryFuturesMarketLaunch, P_ as MsgInstantSpotMarketLaunch, Pv as MsgSubmitTextProposal, Q_ as MsgBatchUpdateOrders, R_ as MsgBatchCancelSpotOrders, Rv as MsgBid, Sd as msgsOrMsgExecMsgs, Sv as MsgMint, T_ as MsgCreateBinaryOptionsLimitOrder, Tv as MsgExec, U_ as MsgCreateInsuranceFund, V_ as MsgCreateSpotLimitOrder, W_ as MsgFundCommunityPool, X_ as MsgInstantiateContract, Y_ as MsgRequestRedemption, Z_ as MsgLiquidatePosition, _d as ContractExecutionCompatAuthorization, _p as MsgSetDelegationTransferReceivers, _v as MsgDelegate, ap as ExchangeMsgs, av as MsgMigrateContract, bd as GrantAuthorizationType, bp as MsgAdminUpdateBinaryOptionsMarket, bv as MsgDeposit, cp as FeegrantMsgs, cv as MsgChangeAdmin, dd as MsgUpdateNamespace, dp as InsuranceMsgs, dv as MsgEditValidator, ep as AuctionMsgs, ev as MsgRevokeAllowance, fd as MsgCreateNamespace, fp as Msgs, fv as MsgUnderwrite, gd as MsgInstantBinaryOptionsMarketLaunch, gp as WasmMsgs, gv as MsgSignData, hd as OrderHashManager, hp as TokenFactoryMsgs, hv as MsgWithdraw, ip as Erc20Msgs, iv as MsgGrantAllowance, j_ as MsgCancelUnbondingDelegation, jv as MsgSubmitProposalPerpetualMarketLaunch, k_ as MsgCreateDerivativeLimitOrder, kv as MsgSubmitProposalPerpetualMarketLaunchV2, lp as GovMsgs, lv as MsgRewardsOptOut, md as MsgClaimVoucher, mp as StakingMsgs, mv as MsgUpdateAdmin, np as BankMsgs, nv as MsgCreateValidator, op as ExchangeV1Msgs, ov as MsgExecuteContract, pd as MsgUpdateParams, pp as PeggyMsgs, pv as MsgUndelegate, q_ as MsgReclaimLockedFunds, rp as DistributionMsgs, rv as MsgBeginRedelegate, sp as ExchangeV2Msgs, sv as MsgCreateDenom, tp as AuthzMsgs, tv as MsgCancelSpotOrder, ud as MsgUpdateActorRoles, up as IbcMsgs, uv as MsgPrivilegedExecuteContract, vd as ContractExecutionAuthorization, vp as MsgCreateBinaryOptionsMarketOrder, vv as MsgSendToEth, wd as ExecArgNeptuneDeposit, wv as MsgTransfer, xd as getGenericAuthorizationFromMessageType, xv as MsgMultiSend, yd as GenericAuthorization, yp as MsgBatchCancelBinaryOptionsOrders, yv as MsgStoreCode, z_ as MsgGrantWithAuthorization, zv as MsgSend } from "../index-DDQzXOux.cjs";
|
|
6
|
+
import { $ as ExecArgInitiateTransfer, B as ExecArgCW20AdapterRedeemAndTransfer, G as ExitConfig, H as ExecPrivilegedArgVaultRedeem, I as ExecArgs, J as TrailingArithmetic, K as ExitType, L as ExecPrivilegedArgs, N as MsgExecuteContractCompat, Q as ExecArgUpdateGridConfig, R as ExecPrivilegedArgOffChainVaultSubscribe, U as ExecArgCreateSpotGridStrategy, V as ExecPrivilegedArgVaultSubscribe, W as ExecArgCreatePerpGridStrategy, X as ExecArgRemoveGridStrategy, Y as TrailingArithmeticLP, Z as ExecArgIncreaseAllowance, at as ExecArgCW20Transfer, ct as ExecArgCW20Send, et as ExecArgSwapExactOutput, it as ExecArgFundCampaign, nt as ExecArgSwapMinOutput, ot as ExecArgCreateRound, q as StrategyType, rt as ExecArgDepositTokens, st as ExecArgSubmitVaa, tt as ExecArgCreateCampaign, z as ExecPrivilegedArgOffChainVaultRedeem } from "../index-B8XmWgDc.cjs";
|
|
7
|
+
import "../index-B1AYbshM.cjs";
|
|
8
|
+
import "../index-D__cYp7U.cjs";
|
|
9
|
+
import "../index-FEXnDdOc.cjs";
|
|
10
10
|
export { AuctionMsgs, AuthzMsgs, BankMsgs, ContractExecutionAuthorization as ContractExecutionAuthz, ContractExecutionCompatAuthorization as ContractExecutionCompatAuthz, DistributionMsgs, Erc20Msgs, ExchangeMsgs, ExchangeV1Msgs, ExchangeV2Msgs, ExecArgCW20AdapterRedeemAndTransfer, ExecArgCW20Send, ExecArgCW20Transfer, ExecArgCreateCampaign, ExecArgCreatePerpGridStrategy, ExecArgCreateRound, ExecArgCreateSpotGridStrategy, ExecArgDepositTokens, ExecArgFundCampaign, ExecArgIncreaseAllowance, ExecArgInitiateTransfer, ExecArgNeptuneDeposit, ExecArgNeptuneWithdraw, ExecArgRemoveGridStrategy, ExecArgSubmitVaa, ExecArgSwapExactOutput, ExecArgSwapMinOutput, ExecArgUpdateGridConfig, ExecArgs, ExecPrivilegedArgOffChainVaultRedeem, ExecPrivilegedArgOffChainVaultSubscribe, ExecPrivilegedArgVaultRedeem, ExecPrivilegedArgVaultSubscribe, ExecPrivilegedArgs, ExitConfig, ExitType, FeegrantMsgs, GenericAuthorization as GenericAuthz, GovMsgs, GrantAuthorizationType, IbcMsgs, InsuranceMsgs, MsgAdminUpdateBinaryOptionsMarket, MsgAuthorizeStakeGrants, MsgExec as MsgAuthzExec, MsgBatchCancelBinaryOptionsOrders, MsgBatchCancelDerivativeOrders, MsgBatchCancelSpotOrders, MsgBatchUpdateOrders, MsgBeginRedelegate, MsgBid, MsgBurn, MsgCancelBinaryOptionsOrder, MsgCancelDerivativeOrder, MsgCancelPostOnlyModeV2, MsgCancelSpotOrder, MsgCancelUnbondingDelegation, MsgChangeAdmin, MsgClaimVoucher, MsgCreateBinaryOptionsLimitOrder, MsgCreateBinaryOptionsMarketOrder, MsgCreateDenom, MsgCreateDerivativeLimitOrder, MsgCreateDerivativeMarketOrder, MsgCreateInsuranceFund, MsgCreateNamespace, MsgCreateSpotLimitOrder, MsgCreateSpotMarketOrder, MsgCreateValidator, MsgDelegate, MsgDeposit, MsgEditValidator, MsgExecuteContract, MsgExecuteContractCompat, MsgExternalTransfer, MsgFundCommunityPool, MsgDeposit$1 as MsgGovDeposit, MsgGrant, MsgGrantAllowance, MsgGrantWithAuthorization, MsgIncreasePositionMargin, MsgInstantBinaryOptionsMarketLaunch, MsgInstantSpotMarketLaunch, MsgInstantiateContract, MsgLiquidatePosition, MsgMigrateContract, MsgMint, MsgMultiSend, MsgPrivilegedExecuteContract, MsgReclaimLockedFunds, MsgRequestRedemption, MsgRevoke, MsgRevokeAllowance, MsgRewardsOptOut, MsgSend, MsgSendToEth, MsgSetDelegationTransferReceivers, MsgSetDenomMetadata, MsgSignData, MsgStoreCode, MsgSubmitGenericProposal, MsgSubmitProposal, MsgSubmitProposalExpiryFuturesMarketLaunch, MsgSubmitProposalPerpetualMarketLaunch, MsgSubmitProposalPerpetualMarketLaunchV2, MsgSubmitProposalSpotMarketLaunch, MsgSubmitProposalSpotMarketParamUpdate, MsgSubmitTextProposal, MsgTransfer, MsgTransferDelegation, MsgUndelegate, MsgUnderwrite, MsgUpdateActorRoles, MsgUpdateAdmin, MsgUpdateDerivativeMarketV2, MsgUpdateNamespace, MsgUpdateParams, MsgUpdateSpotMarketV2, MsgVote, MsgWithdraw, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, Msgs, OrderHashManager, PeggyMsgs, ProposalDecomposer, StakingMsgs, StrategyType, TokenFactoryMsgs, TrailingArithmetic, TrailingArithmeticLP, WasmMsgs, getGenericAuthorizationFromMessageType, msgsOrMsgExecMsgs };
|
package/dist/cjs/core/tx.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
const require_chunk = require('../chunk-CbDLau6x.cjs');
|
|
2
|
-
require('../utils-
|
|
2
|
+
require('../utils-V1uXtT51.cjs');
|
|
3
3
|
require('../defineProperty-dyr5BsvG.cjs');
|
|
4
|
-
const require_accounts = require('../accounts-
|
|
4
|
+
const require_accounts = require('../accounts-CXaUasU5.cjs');
|
|
5
5
|
require('../time-B4xLc27Y.cjs');
|
|
6
6
|
require('../grpc-DQDVCGpY.cjs');
|
|
7
|
-
const require_MsgBase = require('../MsgBase-
|
|
8
|
-
require('../ChainRestTendermintApi-
|
|
7
|
+
const require_MsgBase = require('../MsgBase-DqOmzCyS.cjs');
|
|
8
|
+
require('../ChainRestTendermintApi-BiZOeKcG.cjs');
|
|
9
9
|
require('../BaseGrpcConsumer-DUwCngI6.cjs');
|
|
10
10
|
require('../BaseIndexerGrpcConsumer-BGLVnJtw.cjs');
|
|
11
11
|
require('../BaseRestConsumer-uSzCOit7.cjs');
|
|
12
|
-
require('../IndexerGrpcWeb3GwApi-
|
|
13
|
-
const require_tx = require('../tx-
|
|
12
|
+
require('../IndexerGrpcWeb3GwApi-BgWT2tWK.cjs');
|
|
13
|
+
const require_tx = require('../tx-Cn0j2SRh.cjs');
|
|
14
14
|
let __injectivelabs_core_proto_ts_v2_generated_cosmos_tx_v1beta1_tx_pb = require("@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb");
|
|
15
15
|
|
|
16
16
|
exports.BroadcastMode = require_tx.BroadcastMode;
|
package/dist/cjs/core/tx.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as tx_pb_d_exports } from "../tx_pb-
|
|
1
|
+
import { c as tx_pb_d_exports } from "../tx_pb-D-cNmrlO.cjs";
|
|
2
2
|
import "../BaseGrpcConsumer-PDufF0fz.cjs";
|
|
3
3
|
import "../index-B19YRG03.cjs";
|
|
4
|
-
import "../any_pb-
|
|
5
|
-
import { $d as
|
|
6
|
-
import { St as TypedDataField, bt as Eip712ConvertTxArgs, xt as MapOfTypedDataField, yt as Eip712ConvertFeeArgs } from "../index-
|
|
7
|
-
import "../index-
|
|
8
|
-
import "../index-
|
|
9
|
-
import "../index-
|
|
4
|
+
import "../any_pb-CutLnOUR.cjs";
|
|
5
|
+
import { $d as createAnyMessage, $f as TxResponse, Ad as MsgDecoder, Af as BroadcastModeKeplr, Bd as getEipTxDetails, Bf as TxResultResponse, Cf as createTransactionAndCosmosSignDocForAddressAndMsg, Df as createTxRawFromSigResponse, Ef as createTransactionWithSigners, Fd as getEip712Domain, Ff as RestTxLog, Gd as protoTypeToAminoType, Gf as CreateTransactionWithSignersArgs, Hd as getObjectEip712PropertyType, Hf as TxSearchResultParams, Id as getEip712DomainV2, If as SimulationResponse, Jd as SIGN_AMINO, Jf as TxClientBroadcastOptions, Kd as stringTypeToReflectionStringType, Kf as MsgArg, Ld as getEip712Fee, Lf as TxInfo, Md as getEip712TypedDataV2, Mf as RestSignerInfo, Nd as getDefaultEip712Types, Nf as RestTx, Of as getTxRawFromTxRawOrDirectSignResponse, Pd as getDefaultEip712TypesV2, Pf as RestTxBody, Qd as createAny, Qf as TxConcreteApi, Rd as getEip712FeeV2, Rf as TxInfoResponse, Sf as createTransactionAndCosmosSignDoc, Td as MsgBroadcasterWithPk, Tf as createTransactionFromMsg, Ud as numberTypeToReflectionNumberType, Uf as CreateTransactionArgs, Vd as getTypesIncludingFeePayer, Vf as TxSearchResult, Wd as objectKeysToEip712Types, Wf as CreateTransactionResult, Xd as SIGN_EIP712, Xf as TxClientMode, Yd as SIGN_DIRECT, Yf as TxClientBroadcastResponse, Zd as SIGN_EIP712_V2, Zf as TxClientSimulateResponse, _f as generateArbitrarySignDoc, af as createBody, bf as waitTxBroadcasted, cf as createSignDoc, df as createSigners, ef as getEthereumSignerAddress, ff as createTxRawEIP712, gf as getTransactionPartsFromTxRaw, hf as getPublicKey, if as createAuthInfo, jd as getEip712TypedData, jf as RestAuthInfo, kf as BroadcastMode, lf as createSignDocFromTransaction, mf as getAminoStdSignDoc, nf as errorToErrorMessage, of as createFee, pf as createWeb3Extension, qd as TxClient, qf as SignerDetails, rf as isTxNotFoundError, sf as createNonCriticalExtensionFromObject, tf as getInjectiveSignerAddress, uf as createSignerInfo, vf as TxRestApi, wf as createTransactionForAddressAndMsg, xf as createTransaction, yf as TxGrpcApi, zd as getEipTxContext, zf as TxResult } from "../index-DDQzXOux.cjs";
|
|
6
|
+
import { St as TypedDataField, bt as Eip712ConvertTxArgs, xt as MapOfTypedDataField, yt as Eip712ConvertFeeArgs } from "../index-B8XmWgDc.cjs";
|
|
7
|
+
import "../index-B1AYbshM.cjs";
|
|
8
|
+
import "../index-D__cYp7U.cjs";
|
|
9
|
+
import "../index-FEXnDdOc.cjs";
|
|
10
10
|
export { BroadcastMode, BroadcastModeKeplr, tx_pb_d_exports as CosmosTxV1Beta1TxPb, CreateTransactionArgs, CreateTransactionResult, CreateTransactionWithSignersArgs, Eip712ConvertFeeArgs, Eip712ConvertTxArgs, MapOfTypedDataField, MsgArg, MsgBroadcasterWithPk, MsgDecoder, RestAuthInfo, RestSignerInfo, RestTx, RestTxBody, RestTxLog, SIGN_AMINO, SIGN_DIRECT, SIGN_EIP712, SIGN_EIP712_V2, SignerDetails, SimulationResponse, TxClient, TxClientBroadcastOptions, TxClientBroadcastResponse, TxClientMode, TxClientSimulateResponse, TxConcreteApi, TxGrpcApi, TxInfo, TxInfoResponse, TxResponse, TxRestApi, TxResult, TxResultResponse, TxSearchResult, TxSearchResultParams, TypedDataField, createAny, createAnyMessage, createAuthInfo, createBody, createFee, createNonCriticalExtensionFromObject, createSignDoc, createSignDocFromTransaction, createSignerInfo, createSigners, createTransaction, createTransactionAndCosmosSignDoc, createTransactionAndCosmosSignDocForAddressAndMsg, createTransactionForAddressAndMsg, createTransactionFromMsg, createTransactionWithSigners, createTxRawEIP712, createTxRawFromSigResponse, createWeb3Extension, errorToErrorMessage, generateArbitrarySignDoc, getAminoStdSignDoc, getDefaultEip712Types, getDefaultEip712TypesV2, getEip712Domain, getEip712DomainV2, getEip712Fee, getEip712FeeV2, getEip712TypedData, getEip712TypedDataV2, getEipTxContext, getEipTxDetails, getEthereumSignerAddress, getInjectiveSignerAddress, getObjectEip712PropertyType, getPublicKey, getTransactionPartsFromTxRaw, getTxRawFromTxRawOrDirectSignResponse, getTypesIncludingFeePayer, isTxNotFoundError, numberTypeToReflectionNumberType, objectKeysToEip712Types, protoTypeToAminoType, stringTypeToReflectionStringType, waitTxBroadcasted };
|
package/dist/cjs/cosmjs.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
require('./utils-
|
|
1
|
+
require('./utils-V1uXtT51.cjs');
|
|
2
2
|
require('./defineProperty-dyr5BsvG.cjs');
|
|
3
|
-
require('./accounts-
|
|
3
|
+
require('./accounts-CXaUasU5.cjs');
|
|
4
4
|
require('./time-B4xLc27Y.cjs');
|
|
5
5
|
require('./grpc-DQDVCGpY.cjs');
|
|
6
|
-
require('./MsgBase-
|
|
7
|
-
require('./ChainRestTendermintApi-
|
|
6
|
+
require('./MsgBase-DqOmzCyS.cjs');
|
|
7
|
+
require('./ChainRestTendermintApi-BiZOeKcG.cjs');
|
|
8
8
|
require('./BaseGrpcConsumer-DUwCngI6.cjs');
|
|
9
9
|
require('./BaseIndexerGrpcConsumer-BGLVnJtw.cjs');
|
|
10
10
|
require('./BaseRestConsumer-uSzCOit7.cjs');
|
|
11
|
-
require('./IndexerGrpcWeb3GwApi-
|
|
12
|
-
require('./tx-
|
|
13
|
-
const require_DirectEthSecp256k1Wallet = require('./DirectEthSecp256k1Wallet-
|
|
11
|
+
require('./IndexerGrpcWeb3GwApi-BgWT2tWK.cjs');
|
|
12
|
+
require('./tx-Cn0j2SRh.cjs');
|
|
13
|
+
const require_DirectEthSecp256k1Wallet = require('./DirectEthSecp256k1Wallet-CU18lti3.cjs');
|
|
14
14
|
|
|
15
15
|
exports.InjectiveDirectEthSecp256k1Wallet = require_DirectEthSecp256k1Wallet.DirectEthSecp256k1Wallet;
|
|
16
16
|
exports.InjectiveEthSecp256k1Wallet = require_DirectEthSecp256k1Wallet.EthSecp256k1Wallet;
|
package/dist/cjs/cosmjs.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import "./any_pb-
|
|
3
|
-
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-
|
|
1
|
+
import "./tx_pb-D-cNmrlO.cjs";
|
|
2
|
+
import "./any_pb-CutLnOUR.cjs";
|
|
3
|
+
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-D6ubyMlR.cjs";
|
|
4
4
|
export { DirectEthSecp256k1Wallet as InjectiveDirectEthSecp256k1Wallet, EthSecp256k1Wallet as InjectiveEthSecp256k1Wallet, SigningStargateClient as InjectiveSigningStargateClient, StargateClient as InjectiveStargateClient, MsgTransferCosmjs, accountParser as injectiveAccountParser };
|
package/dist/cjs/exports.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
require('./utils-
|
|
1
|
+
require('./utils-V1uXtT51.cjs');
|
|
2
2
|
require('./defineProperty-dyr5BsvG.cjs');
|
|
3
|
-
require('./accounts-
|
|
3
|
+
require('./accounts-CXaUasU5.cjs');
|
|
4
4
|
require('./time-B4xLc27Y.cjs');
|
|
5
5
|
require('./grpc-DQDVCGpY.cjs');
|
|
6
|
-
require('./MsgBase-
|
|
7
|
-
require('./ChainRestTendermintApi-
|
|
6
|
+
require('./MsgBase-DqOmzCyS.cjs');
|
|
7
|
+
require('./ChainRestTendermintApi-BiZOeKcG.cjs');
|
|
8
8
|
require('./BaseGrpcConsumer-DUwCngI6.cjs');
|
|
9
9
|
require('./BaseIndexerGrpcConsumer-BGLVnJtw.cjs');
|
|
10
10
|
require('./BaseRestConsumer-uSzCOit7.cjs');
|
|
11
|
-
require('./IndexerGrpcWeb3GwApi-
|
|
12
|
-
require('./tx-
|
|
13
|
-
const require_DirectEthSecp256k1Wallet = require('./DirectEthSecp256k1Wallet-
|
|
11
|
+
require('./IndexerGrpcWeb3GwApi-BgWT2tWK.cjs');
|
|
12
|
+
require('./tx-Cn0j2SRh.cjs');
|
|
13
|
+
const require_DirectEthSecp256k1Wallet = require('./DirectEthSecp256k1Wallet-CU18lti3.cjs');
|
|
14
14
|
|
|
15
15
|
exports.InjectiveDirectEthSecp256k1Wallet = require_DirectEthSecp256k1Wallet.DirectEthSecp256k1Wallet;
|
|
16
16
|
exports.InjectiveEthSecp256k1Wallet = require_DirectEthSecp256k1Wallet.EthSecp256k1Wallet;
|
package/dist/cjs/exports.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import "./any_pb-
|
|
3
|
-
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-
|
|
1
|
+
import "./tx_pb-D-cNmrlO.cjs";
|
|
2
|
+
import "./any_pb-CutLnOUR.cjs";
|
|
3
|
+
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-D6ubyMlR.cjs";
|
|
4
4
|
export { DirectEthSecp256k1Wallet as InjectiveDirectEthSecp256k1Wallet, EthSecp256k1Wallet as InjectiveEthSecp256k1Wallet, SigningStargateClient as InjectiveSigningStargateClient, StargateClient as InjectiveStargateClient, MsgTransferCosmjs, accountParser as injectiveAccountParser };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { i as SignDoc$1, s as TxRaw$1 } from "./tx_pb-
|
|
2
|
-
import { n as Coin$1 } from "./any_pb-
|
|
1
|
+
import { i as SignDoc$1, s as TxRaw$1 } from "./tx_pb-D-cNmrlO.cjs";
|
|
2
|
+
import { n as Coin$1 } from "./any_pb-CutLnOUR.cjs";
|
|
3
3
|
import { DirectSignResponse as DirectSignResponse$1 } from "@cosmjs/proto-signing";
|
|
4
4
|
import { AminoSignResponse as AminoSignResponse$1 } from "@cosmjs/amino";
|
|
5
5
|
|
|
6
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.
|
|
6
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.3/node_modules/@injectivelabs/core-proto-ts-v2/esm/generated/injective/oracle/v1beta1/oracle_pb.d.ts
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @generated from protobuf message injective.oracle.v1beta1.Params
|
|
@@ -190,7 +190,7 @@ declare const BandOracleRequest = new BandOracleRequest$Type();
|
|
|
190
190
|
*/
|
|
191
191
|
declare const BandIBCParams = new BandIBCParams$Type();
|
|
192
192
|
//#endregion
|
|
193
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.
|
|
193
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.3/node_modules/@injectivelabs/core-proto-ts-v2/esm/generated/injective/exchange/v1beta1/exchange_pb.d.ts
|
|
194
194
|
/**
|
|
195
195
|
* @generated from protobuf message injective.exchange.v1beta1.OpenNotionalCap
|
|
196
196
|
*/
|
|
@@ -1962,24 +1962,180 @@ interface TokenMeta {
|
|
|
1962
1962
|
coinGeckoId: string;
|
|
1963
1963
|
}
|
|
1964
1964
|
//#endregion
|
|
1965
|
-
//#region src/types/
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1965
|
+
//#region src/types/stream.d.ts
|
|
1966
|
+
/**
|
|
1967
|
+
* Subscription interface for stream management with event-based lifecycle
|
|
1968
|
+
*/
|
|
1969
|
+
/**
|
|
1970
|
+
* Enhanced disconnect reasons with gRPC error code mapping
|
|
1971
|
+
*/
|
|
1972
|
+
declare const StreamDisconnectReason: {
|
|
1973
|
+
/** User explicitly called stop() */
|
|
1974
|
+
readonly UserStopped: "user-stopped";
|
|
1975
|
+
/** Stream encountered an error */
|
|
1976
|
+
readonly StreamError: "stream-error";
|
|
1977
|
+
/** Network unavailable (gRPC code 14) */
|
|
1978
|
+
readonly NetworkError: "network-error";
|
|
1979
|
+
/** Request timeout (gRPC code 4) */
|
|
1980
|
+
readonly Timeout: "timeout";
|
|
1981
|
+
/** Authentication failed (gRPC code 16) */
|
|
1982
|
+
readonly AuthenticationError: "authentication-error";
|
|
1983
|
+
/** Max retry attempts reached */
|
|
1984
|
+
readonly MaxRetries: "max-retries";
|
|
1985
|
+
/** Stream ended normally */
|
|
1986
|
+
readonly StreamEnded: "stream-ended";
|
|
1987
|
+
};
|
|
1988
|
+
type StreamDisconnectReason = (typeof StreamDisconnectReason)[keyof typeof StreamDisconnectReason];
|
|
1989
|
+
declare const StreamEvent: {
|
|
1990
|
+
readonly Data: "data";
|
|
1991
|
+
readonly Connect: "connect";
|
|
1992
|
+
readonly Disconnect: "disconnect";
|
|
1993
|
+
readonly Retry: "retry";
|
|
1994
|
+
readonly StateChange: "state:change";
|
|
1995
|
+
readonly Error: "error";
|
|
1996
|
+
readonly Warn: "warn";
|
|
1997
|
+
};
|
|
1998
|
+
type StreamEvent = (typeof StreamEvent)[keyof typeof StreamEvent];
|
|
1999
|
+
interface StreamSubscription {
|
|
2000
|
+
/** Unsubscribe from the stream and cancel it */
|
|
2001
|
+
unsubscribe(): void;
|
|
2002
|
+
/** Listen for stream errors */
|
|
2003
|
+
on(event: 'error', handler: (error: StreamError) => void): void;
|
|
2004
|
+
/** Listen for stream completion (ended normally) */
|
|
2005
|
+
on(event: 'complete', handler: () => void): void;
|
|
2006
|
+
/** Remove event listener */
|
|
2007
|
+
off(event: 'error' | 'complete', handler: (...args: any[]) => void): void;
|
|
1969
2008
|
}
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
2009
|
+
/**
|
|
2010
|
+
* Error information from stream with gRPC error codes
|
|
2011
|
+
*
|
|
2012
|
+
* Common gRPC Status Codes:
|
|
2013
|
+
* - 0: OK
|
|
2014
|
+
* - 1: CANCELLED
|
|
2015
|
+
* - 2: UNKNOWN
|
|
2016
|
+
* - 3: INVALID_ARGUMENT
|
|
2017
|
+
* - 4: DEADLINE_EXCEEDED
|
|
2018
|
+
* - 5: NOT_FOUND
|
|
2019
|
+
* - 13: INTERNAL
|
|
2020
|
+
* - 14: UNAVAILABLE
|
|
2021
|
+
* - 16: UNAUTHENTICATED
|
|
2022
|
+
*/
|
|
2023
|
+
interface StreamError {
|
|
2024
|
+
/** gRPC status code */
|
|
2025
|
+
code: number;
|
|
2026
|
+
/** Human-readable error message */
|
|
2027
|
+
details: string;
|
|
2028
|
+
/** Additional error metadata */
|
|
2029
|
+
metadata?: any;
|
|
2030
|
+
}
|
|
2031
|
+
/**
|
|
2032
|
+
* StreamManager
|
|
2033
|
+
*/
|
|
2034
|
+
declare const StreamState: {
|
|
2035
|
+
readonly Idle: "idle";
|
|
2036
|
+
readonly Connecting: "connecting";
|
|
2037
|
+
readonly Connected: "connected";
|
|
2038
|
+
readonly Reconnecting: "reconnecting";
|
|
2039
|
+
readonly Stopped: "stopped";
|
|
1976
2040
|
};
|
|
1977
|
-
type
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
2041
|
+
type StreamState = (typeof StreamState)[keyof typeof StreamState];
|
|
2042
|
+
/**
|
|
2043
|
+
* Stream manager retry configuration
|
|
2044
|
+
*/
|
|
2045
|
+
interface StreamManagerRetryConfig {
|
|
2046
|
+
/** Enable retry on failure (default: true) */
|
|
2047
|
+
enabled: boolean;
|
|
2048
|
+
/** Max retry attempts before giving up (default: 5, 0 = infinite) */
|
|
2049
|
+
maxAttempts: number;
|
|
2050
|
+
/** Initial backoff delay in ms (default: 1000) */
|
|
2051
|
+
initialDelayMs: number;
|
|
2052
|
+
/** Max backoff delay in ms (default: 30000) */
|
|
2053
|
+
maxDelayMs: number;
|
|
2054
|
+
/** Backoff multiplier (default: 2 for exponential) */
|
|
2055
|
+
backoffMultiplier: number;
|
|
2056
|
+
/**
|
|
2057
|
+
* Persistent retry mode - continues retrying at maxDelayMs intervals
|
|
2058
|
+
* after exhausting exponential backoff (default: true)
|
|
2059
|
+
*/
|
|
2060
|
+
persistent: boolean;
|
|
2061
|
+
}
|
|
2062
|
+
/**
|
|
2063
|
+
* Stream manager configuration
|
|
2064
|
+
*/
|
|
2065
|
+
interface StreamManagerConfig<TResponse> {
|
|
2066
|
+
/** Unique identifier for this stream (for logging) */
|
|
2067
|
+
id: string;
|
|
2068
|
+
/**
|
|
2069
|
+
* Factory function to create the stream subscription
|
|
2070
|
+
* Called on initial connect and every retry
|
|
2071
|
+
* The subscription will emit 'error' and 'complete' events for stream lifecycle
|
|
2072
|
+
*/
|
|
2073
|
+
streamFactory: () => StreamSubscription;
|
|
2074
|
+
/** Callback to handle stream data */
|
|
2075
|
+
onData: (response: TResponse) => void;
|
|
2076
|
+
/** Retry configuration */
|
|
2077
|
+
retryConfig?: Partial<StreamManagerRetryConfig>;
|
|
2078
|
+
}
|
|
2079
|
+
/**
|
|
2080
|
+
* Internal resolved configuration with all required types
|
|
2081
|
+
*/
|
|
2082
|
+
interface ResolvedStreamManagerConfig<TResponse> {
|
|
2083
|
+
id: string;
|
|
2084
|
+
streamFactory: () => StreamSubscription;
|
|
2085
|
+
onData: (response: TResponse) => void;
|
|
2086
|
+
retryConfig: StreamManagerRetryConfig;
|
|
2087
|
+
}
|
|
2088
|
+
/**
|
|
2089
|
+
* Event payload types for StreamManager
|
|
2090
|
+
*/
|
|
2091
|
+
interface StreamManagerEvents<TResponse> {
|
|
2092
|
+
data: TResponse;
|
|
2093
|
+
connect: {
|
|
2094
|
+
isReconnect: boolean;
|
|
2095
|
+
attempt: number;
|
|
2096
|
+
};
|
|
2097
|
+
disconnect: {
|
|
2098
|
+
reason: StreamDisconnectReason;
|
|
2099
|
+
willRetry: boolean;
|
|
2100
|
+
attempt?: number;
|
|
2101
|
+
};
|
|
2102
|
+
retry: {
|
|
2103
|
+
attempt: number;
|
|
2104
|
+
delayMs: number;
|
|
2105
|
+
nextBackoff: number | null;
|
|
2106
|
+
};
|
|
2107
|
+
'state:change': {
|
|
2108
|
+
from: StreamState;
|
|
2109
|
+
to: StreamState;
|
|
2110
|
+
};
|
|
2111
|
+
error: {
|
|
2112
|
+
message: string;
|
|
2113
|
+
details?: any;
|
|
2114
|
+
};
|
|
2115
|
+
warn: {
|
|
2116
|
+
message: string;
|
|
2117
|
+
};
|
|
2118
|
+
}
|
|
2119
|
+
/**
|
|
2120
|
+
* Stream statistics
|
|
2121
|
+
*/
|
|
2122
|
+
interface StreamStats {
|
|
2123
|
+
state: StreamState;
|
|
2124
|
+
connectCount: number;
|
|
2125
|
+
disconnectCount: number;
|
|
2126
|
+
retryCount: number;
|
|
2127
|
+
dataReceivedCount: number;
|
|
2128
|
+
errorCount: number;
|
|
2129
|
+
lastDataAt: number | null;
|
|
2130
|
+
createdAt: number;
|
|
2131
|
+
connectedAt: number | null;
|
|
2132
|
+
disconnectedAt: number | null;
|
|
2133
|
+
}
|
|
1981
2134
|
//#endregion
|
|
1982
2135
|
//#region src/types/exchange.d.ts
|
|
2136
|
+
/**
|
|
2137
|
+
* Trade and Order types
|
|
2138
|
+
*/
|
|
1983
2139
|
declare const TradeExecutionType: {
|
|
1984
2140
|
readonly Market: "market";
|
|
1985
2141
|
readonly LimitFill: "limitFill";
|
|
@@ -1999,7 +2155,55 @@ declare const TradeDirection: {
|
|
|
1999
2155
|
readonly Short: "short";
|
|
2000
2156
|
};
|
|
2001
2157
|
type TradeDirection = (typeof TradeDirection)[keyof typeof TradeDirection];
|
|
2158
|
+
declare const OrderState: {
|
|
2159
|
+
readonly Unfilled: "unfilled";
|
|
2160
|
+
readonly Booked: "booked";
|
|
2161
|
+
readonly PartialFilled: "partial_filled";
|
|
2162
|
+
readonly PartiallyFilled: "partially_filled";
|
|
2163
|
+
readonly Filled: "filled";
|
|
2164
|
+
readonly Canceled: "canceled";
|
|
2165
|
+
readonly Triggered: "triggered";
|
|
2166
|
+
};
|
|
2167
|
+
type OrderState = (typeof OrderState)[keyof typeof OrderState];
|
|
2168
|
+
declare const OrderSide: {
|
|
2169
|
+
readonly Unspecified: "unspecified";
|
|
2170
|
+
readonly Buy: "buy";
|
|
2171
|
+
readonly Sell: "sell";
|
|
2172
|
+
readonly StopBuy: "stop_buy";
|
|
2173
|
+
readonly StopSell: "stop_sell";
|
|
2174
|
+
readonly TakeBuy: "take_buy";
|
|
2175
|
+
readonly TakeSell: "take_sell";
|
|
2176
|
+
readonly BuyPO: "buy_po";
|
|
2177
|
+
readonly SellPO: "sell_po";
|
|
2178
|
+
readonly BuyAtomic: "buy_atomic";
|
|
2179
|
+
readonly SellAtomic: "sell_atomic";
|
|
2180
|
+
readonly Unrecognized: "unrecognized";
|
|
2181
|
+
};
|
|
2182
|
+
type OrderSide = (typeof OrderSide)[keyof typeof OrderSide];
|
|
2002
2183
|
type OrderMask = OrderMask$1;
|
|
2003
2184
|
declare const OrderMaskMap: typeof OrderMask$1;
|
|
2004
2185
|
//#endregion
|
|
2005
|
-
|
|
2186
|
+
//#region src/types/cosmos.d.ts
|
|
2187
|
+
interface Coin {
|
|
2188
|
+
denom: string;
|
|
2189
|
+
amount: string;
|
|
2190
|
+
}
|
|
2191
|
+
type TxRaw = TxRaw$1;
|
|
2192
|
+
type SignDoc = SignDoc$1;
|
|
2193
|
+
type GrpcCoin = Coin$1;
|
|
2194
|
+
//#endregion
|
|
2195
|
+
//#region src/types/stream-legacy.d.ts
|
|
2196
|
+
/**
|
|
2197
|
+
* Legacy stream operation types
|
|
2198
|
+
* Used by indexer stream transformers
|
|
2199
|
+
*/
|
|
2200
|
+
declare const StreamOperation: {
|
|
2201
|
+
readonly Insert: "insert";
|
|
2202
|
+
readonly Delete: "delete";
|
|
2203
|
+
readonly Replace: "replace";
|
|
2204
|
+
readonly Update: "update";
|
|
2205
|
+
readonly Invalidate: "invalidate";
|
|
2206
|
+
};
|
|
2207
|
+
type StreamOperation = (typeof StreamOperation)[keyof typeof StreamOperation];
|
|
2208
|
+
//#endregion
|
|
2209
|
+
export { MarketStatus as $, ExchangePagination as A, Deposit as B, StreamStats as C, TokenStatic as D, TokenSource as E, AggregateSubaccountVolumeRecord as F, DerivativeOrder as G, DerivativeMarket as H, BinaryOptionsMarket as I, FeeDiscountSchedule as J, EffectiveGrant as K, CampaignRewardPool as L, Pagination as M, PaginationOption as N, TokenType as O, ActiveGrant as P, MarketFeeMultiplier as Q, DenomDecimals as R, StreamState as S, TokenMeta as T, DerivativeMarketOrder as U, DerivativeLimitOrder as V, DerivativeMarketSettlementInfo as W, FeeDiscountTierTTL as X, FeeDiscountTierInfo as Y, GrantAuthorization as Z, StreamError as _, TradingRewardCampaignInfo as _t, GrpcCoin as a, Params as at, StreamManagerEvents as b, OracleType as bt, OrderMask as c, PointsMultiplier as ct, OrderState as d, SpotMarket as dt, MarketVolume as et, TradeDirection as f, SpotMarketOrder as ft, StreamDisconnectReason as g, TradingRewardCampaignBoostInfo as gt, ResolvedStreamManagerConfig as h, TradeRecords as ht, DirectSignResponse$1 as i, OrderType as it, PagePagination as j, TokenVerification as k, OrderMaskMap as l, Position as lt, TradeExecutionType as m, SubaccountTradeNonce as mt, AminoSignResponse$1 as n, OrderInfo as nt, SignDoc as o, PerpetualMarketFunding as ot, TradeExecutionSide as p, SpotOrder as pt, ExpiryFuturesMarketInfo as q, Coin as r, OrderMask$1 as rt, TxRaw as s, PerpetualMarketInfo as st, StreamOperation as t, MidPriceAndTOB as tt, OrderSide as u, SpotLimitOrder as ut, StreamEvent as v, BandIBCParams as vt, StreamSubscription as w, StreamManagerRetryConfig as x, Params$1 as xt, StreamManagerConfig as y, BandOracleRequest as yt, DenomMinNotional as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Any } from "./any_pb-
|
|
1
|
+
import { t as Any } from "./any_pb-CutLnOUR.cjs";
|
|
2
2
|
import { SnakeCase } from "type-fest";
|
|
3
3
|
import { ChainId, Coin } from "@injectivelabs/ts-types";
|
|
4
4
|
import { Network, NetworkEndpoints } from "@injectivelabs/networks";
|
|
@@ -153,7 +153,7 @@ declare abstract class MsgBase<Params$1, ProtoRepresentation extends Object, Obj
|
|
|
153
153
|
toDirectSignJSON(): string;
|
|
154
154
|
}
|
|
155
155
|
//#endregion
|
|
156
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.
|
|
156
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.3/node_modules/@injectivelabs/core-proto-ts-v2/esm/generated/cosmwasm/wasm/v1/types_pb.d.ts
|
|
157
157
|
/**
|
|
158
158
|
* AccessConfig access control type.
|
|
159
159
|
*
|
|
@@ -936,7 +936,7 @@ declare class ExecPrivilegedArgOffChainVaultSubscribe extends ExecPrivilegedArgB
|
|
|
936
936
|
type ExecArgs = ExecArgCW20Send | ExecArgSubmitVaa | ExecArgCreateRound | ExecArgCW20Transfer | ExecArgFundCampaign | ExecArgSwapMinOutput | ExecArgDepositTokens | ExecArgCreateCampaign | ExecArgSwapExactOutput | ExecArgInitiateTransfer | ExecArgUpdateGridConfig | ExecArgIncreaseAllowance | ExecArgRemoveGridStrategy | ExecArgCreateSpotGridStrategy | ExecArgCreatePerpGridStrategy | ExecArgCW20AdapterRedeemAndTransfer;
|
|
937
937
|
type ExecPrivilegedArgs = ExecPrivilegedArgVaultRedeem | ExecPrivilegedArgVaultSubscribe | ExecPrivilegedArgOffChainVaultRedeem | ExecPrivilegedArgOffChainVaultSubscribe;
|
|
938
938
|
//#endregion
|
|
939
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.
|
|
939
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.3/node_modules/@injectivelabs/core-proto-ts-v2/esm/generated/injective/wasmx/v1/proposal_pb.d.ts
|
|
940
940
|
/**
|
|
941
941
|
* @generated from protobuf enum injective.wasmx.v1.FundingMode
|
|
942
942
|
*/
|
|
@@ -959,7 +959,7 @@ declare enum FundingMode {
|
|
|
959
959
|
Dual = 3,
|
|
960
960
|
}
|
|
961
961
|
//#endregion
|
|
962
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.
|
|
962
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.3/node_modules/@injectivelabs/core-proto-ts-v2/esm/generated/injective/wasmx/v1/wasmx_pb.d.ts
|
|
963
963
|
/**
|
|
964
964
|
* @generated from protobuf message injective.wasmx.v1.Params
|
|
965
965
|
*/
|
|
@@ -1055,7 +1055,7 @@ declare const Params = new Params$Type();
|
|
|
1055
1055
|
*/
|
|
1056
1056
|
declare const RegisteredContract = new RegisteredContract$Type();
|
|
1057
1057
|
//#endregion
|
|
1058
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.
|
|
1058
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.3/node_modules/@injectivelabs/core-proto-ts-v2/esm/generated/injective/wasmx/v1/tx_pb.d.ts
|
|
1059
1059
|
/**
|
|
1060
1060
|
* MsgExecuteContractCompat submits the given message data to a smart contract,
|
|
1061
1061
|
* compatible with EIP712
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as SignDoc } from "./tx_pb-
|
|
1
|
+
import { i as SignDoc } from "./tx_pb-D-cNmrlO.cjs";
|
|
2
2
|
import { AccountData, Algo, DirectSignResponse, EncodeObject, OfflineDirectSigner, OfflineSigner, Registry } from "@cosmjs/proto-signing";
|
|
3
3
|
import { AccountData as AccountData$1, Algo as Algo$1, AminoSignResponse, OfflineAminoSigner, StdFee, StdSignDoc } from "@cosmjs/amino";
|
|
4
4
|
import { Account, AminoTypes, DeliverTxResponse, GasPrice, StargateClient, StargateClientOptions } from "@cosmjs/stargate";
|