@injectivelabs/sdk-ts 1.20.58 → 1.20.60
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-B9Ta2kZ1.cjs → ChainGrpcExchangeApi-By8_Bt5e.cjs} +2 -2
- package/dist/cjs/{ChainRestTendermintApi-xkIYRAUm.cjs → ChainRestTendermintApi-BvOVdQbM.cjs} +1 -1
- package/dist/cjs/{ChartsTradingViewGrpcApi-BYuTrxWO.cjs → ChartsTradingViewGrpcApi-CIu1ddpM.cjs} +26 -3
- package/dist/cjs/{DirectEthSecp256k1Wallet-D6Udhddf.cjs → DirectEthSecp256k1Wallet-DiPNhrZq.cjs} +1 -1
- package/dist/cjs/{ExecArgNeptuneWithdraw-jZ6hqIAG.cjs → ExecArgNeptuneWithdraw-oeEfiGcN.cjs} +1 -1
- package/dist/cjs/{IndexerGrpcWeb3GwApi-D_UMQ0Su.cjs → IndexerGrpcWeb3GwApi-D7JhxQkr.cjs} +1 -1
- package/dist/cjs/{MsgSetDenomMetadata-E-ek-sPh.cjs → MsgSetDenomMetadata-xkQdNaEm.cjs} +4 -4
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-CG-GFpeN.cjs → QueryTradingStrategyContractTotalStrategies-CnEXrtW6.cjs} +2 -2
- package/dist/cjs/{StreamManagerV2-DiX0X02v.cjs → StreamManagerV2-DxLI7no1.cjs} +2 -2
- package/dist/cjs/{accounts-Dzq2xQsa.cjs → accounts-CQkep4d_.cjs} +1 -1
- package/dist/cjs/{chain-BpYBJXBD.cjs → chain-CjcmsXYZ.cjs} +2 -2
- package/dist/cjs/client/chain.cjs +4 -4
- package/dist/cjs/client/chain.d.cts +2 -2
- package/dist/cjs/client/indexer.cjs +3 -3
- package/dist/cjs/client/indexer.d.cts +2 -2
- package/dist/cjs/client/platformServices.cjs +1 -1
- package/dist/cjs/client/platformServices.d.cts +2 -2
- package/dist/cjs/client/wasm.cjs +6 -6
- package/dist/cjs/core/accounts.cjs +2 -2
- package/dist/cjs/core/accounts.d.cts +2 -2
- package/dist/cjs/core/modules.cjs +8 -8
- package/dist/cjs/core/modules.d.cts +2 -2
- package/dist/cjs/core/tx.cjs +5 -5
- package/dist/cjs/core/tx.d.cts +2 -2
- package/dist/cjs/cosmjs.cjs +6 -6
- package/dist/cjs/exports.cjs +6 -6
- package/dist/cjs/{index-jn_vBQwT.d.cts → index-BHCwlZSz.d.cts} +1 -1
- package/dist/cjs/{index-BADdhB_k.d.cts → index-Ca3ly9mz.d.cts} +50 -6
- package/dist/cjs/index.cjs +12 -12
- package/dist/cjs/index.d.cts +3 -3
- package/dist/cjs/service.cjs +1 -1
- package/dist/cjs/{tx-zy-jlLze.cjs → tx-BihUoqqX.cjs} +4 -4
- package/dist/cjs/{utils-D5xynl1z.cjs → utils-DKkEwRqy.cjs} +1 -7
- package/dist/cjs/utils.cjs +1 -1
- package/dist/cjs/utils.d.cts +2 -2
- package/dist/esm/{ChainGrpcExchangeApi-BCUp1-84.js → ChainGrpcExchangeApi-DJ5IfXS5.js} +2 -2
- package/dist/esm/{ChainRestTendermintApi-DovsTJUZ.js → ChainRestTendermintApi-DDRCnue1.js} +1 -1
- package/dist/esm/{ChartsTradingViewGrpcApi-DDUNU_IX.js → ChartsTradingViewGrpcApi-B_Caw7wi.js} +26 -3
- package/dist/esm/{DirectEthSecp256k1Wallet-hEbH9kNL.js → DirectEthSecp256k1Wallet-BZ9B3VHf.js} +1 -1
- package/dist/esm/{ExecArgNeptuneWithdraw-BPxYK_1p.js → ExecArgNeptuneWithdraw-BPRtkLL5.js} +1 -1
- package/dist/esm/{IndexerGrpcWeb3GwApi-C2t7LgaK.js → IndexerGrpcWeb3GwApi-tpy3ZxMP.js} +1 -1
- package/dist/esm/{MsgSetDenomMetadata-hbSl1i-R.js → MsgSetDenomMetadata-DVITrWhH.js} +4 -4
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-lUNpk-R8.js → QueryTradingStrategyContractTotalStrategies-D3U9DZ_d.js} +2 -2
- package/dist/esm/{StreamManagerV2-DDYAdj7J.js → StreamManagerV2-BRabZUWZ.js} +2 -2
- package/dist/esm/{accounts-BERBIrSN.js → accounts-C95SfSme.js} +1 -1
- package/dist/esm/{chain-tOuibZb7.js → chain-mCA22FHL.js} +2 -2
- package/dist/esm/client/chain.d.ts +2 -2
- package/dist/esm/client/chain.js +4 -4
- package/dist/esm/client/indexer.d.ts +2 -2
- package/dist/esm/client/indexer.js +3 -3
- package/dist/esm/client/platformServices.d.ts +2 -2
- package/dist/esm/client/platformServices.js +1 -1
- package/dist/esm/client/wasm.js +6 -6
- package/dist/esm/core/accounts.d.ts +2 -2
- package/dist/esm/core/accounts.js +2 -2
- package/dist/esm/core/modules.d.ts +2 -2
- package/dist/esm/core/modules.js +8 -8
- package/dist/esm/core/tx.d.ts +2 -2
- package/dist/esm/core/tx.js +5 -5
- package/dist/esm/cosmjs.js +6 -6
- package/dist/esm/exports.js +6 -6
- package/dist/esm/{index-DMei-AO6.d.ts → index-CCmhxXgr.d.ts} +50 -6
- package/dist/esm/{index-D8MDzlNe.d.ts → index-DHP1F7iY.d.ts} +1 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +12 -12
- package/dist/esm/service.js +1 -1
- package/dist/esm/{tx-C3lFze1Q.js → tx-capxeRUL.js} +4 -4
- package/dist/esm/{utils-CpwgDuyL.js → utils-DOWJHTnW.js} +1 -7
- package/dist/esm/utils.d.ts +2 -2
- package/dist/esm/utils.js +1 -1
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../tx_pb-DSDGNMKS.cjs";
|
|
2
2
|
import "../index-BpbO2phm.cjs";
|
|
3
3
|
import "../light-B-3BDUJ7.cjs";
|
|
4
|
-
import { $b as MsgCreateSpotMarketOrder, $x as MsgSendToEth, Ab as MsgWithdrawValidatorCommission, Ah as GovMsgs, Ap as msgsOrMsgExecMsgs, Ax as MsgCancelSpotOrder, Bb as MsgDecreasePositionMarginV2, Bh as MsgSetDelegationTransferReceiversV2, Bx as MsgChangeAdmin, Ch as BankMsgs, Cp as OrderHashManager, Cx as MsgInstantiateContract, Db as MsgCreateDerivativeMarketOrderV2, Dh as ExchangeV1Msgs, Dp as GenericAuthorization, Dx as MsgExternalTransfer, Eb as MsgUpdateSubaccountRiskProfileV2, Eh as ExchangeMsgs, Ep as ContractExecutionAuthorization, Ex as MsgOffsetPositionV2, Fb as MsgCreateDerivativeLimitOrder, Fh as PeggyMsgs, Fx as MsgUpdateRateLimit, Gb as MsgBatchCancelSpotOrdersV2, Gh as MsgCreateBinaryOptionsMarketOrder, Gx as MsgWithdrawV2, Hb as MsgUpdateDerivativeMarketV2, Hh as MsgBatchCancelBinaryOptionsOrdersV2, Hx as MsgPrivilegedExecuteContract, Ib as MsgLiquidateCrossMarginPoolV2, Ih as StakingMsgs, Ix as MsgCreateRateLimit, Jb as MsgActivatePostOnlyModeV2, Jx as MsgDepositV2, Kb as MsgCancelDerivativeOrderV2, Kh as MsgBatchCancelBinaryOptionsOrders, Kx as MsgSignDataV2, Lb as MsgInstantSpotMarketLaunchV2, Lh as TokenFactoryMsgs, Lx as MsgMigrateContract, Mb as MsgCreateDerivativeMarketOrder, Mh as InsuranceMsgs, Mp as ExecArgNeptuneDeposit, Mx as MsgBeginRedelegate, Nb as MsgBatchCancelDerivativeOrders, Nh as Msgs, Nx as MsgGrantAllowance, Ob as MsgBatchCancelDerivativeOrdersV2, Oh as ExchangeV2Msgs, Op as GrantAuthorizationType, Ox as MsgRewardsOptOutV2, Pb as MsgCancelBinaryOptionsOrderV2, Ph as OracleMsgs, Px as MsgRemoveRateLimit, Qb as MsgIncreasePositionMargin, Qx as MsgDelegate, Rb as MsgWithdrawDelegatorReward, Rh as WasmMsgs, Rx as MsgExecuteContract, SS as MsgVote, Sh as AuthzMsgs, Sp as MsgClaimVoucher, Sx as MsgCancelSpotOrderV2, Th as Erc20Msgs, Tp as ContractExecutionCompatAuthorization, Tx as MsgBatchUpdateOrders, Ub as MsgCancelBinaryOptionsOrder, Uh as MsgAdminUpdateBinaryOptionsMarketV2, Ux as MsgEditValidator, Vb as MsgIncreasePositionMarginV2, Vh as MsgCreateBinaryOptionsMarketOrderV2, Vx as MsgRewardsOptOut, Wb as MsgCreateSpotMarketOrderV2, Wh as MsgCreateBinaryOptionsLimitOrderV2, Wx as MsgUnderwrite, Xb as MsgAuthorizeStakeGrantsV2, Xx as MsgWithdraw, Yb as MsgCreateSpotLimitOrderV2, Yx as MsgUpdateAdmin, Zb as MsgDecreasePositionMargin, Zx as MsgSignData, _S as MsgDeposit$1, _x as MsgUpdateSpotMarketV2, aS as MsgTransfer, ax as MsgSubaccountTransferV2, bS as MsgBid, bp as MsgCreateNamespace, bx as MsgTransferDelegation, cS as ProposalDecomposer, cx as MsgCreateSpotLimitOrder, dS as MsgSubmitProposalSpotMarketParamUpdate, dx as MsgLiquidatePositionV2, eS as MsgStoreCode, ex as MsgCancelDerivativeOrder, fS as MsgSubmitProposalPerpetualMarketLaunch, fx as MsgBatchUpdateOrdersV2, gS as MsgSubmitTextProposal, gx as MsgUpdateSwapParamsV2, hS as MsgSubmitGenericProposal, hx as MsgSetDenomMetadata, iS as MsgBurn, ix as MsgActivateStakeGrantV2, jb as MsgCreateDerivativeLimitOrderV2, jh as IbcMsgs, jp as ExecArgNeptuneWithdraw, jx as MsgCreateValidator, kb as MsgCreateBinaryOptionsLimitOrder, kh as FeegrantMsgs, kp as getGenericAuthorizationFromMessageType, kx as MsgRevokeAllowance, lS as MsgSubmitProposalExpiryFuturesMarketLaunch, lx as MsgAuthorizeStakeGrants, mS as MsgSubmitProposalSpotMarketLaunch, mx as MsgExternalTransferV2, nS as MsgMultiSend, nx as MsgUpdateInstantiateConfig, oS as MsgExec, ox as MsgReclaimLockedFundsV2, pS as MsgGrantProviderPrivilegeProposal, px as MsgFundCommunityPool, qb as MsgInstantSpotMarketLaunch, qh as MsgAdminUpdateBinaryOptionsMarket, qx as MsgUndelegate, rS as MsgMint, rx as MsgGrantWithAuthorization, sS as MsgSubmitProposal, sx as MsgCancelPostOnlyModeV2, tS as MsgDeposit, tx as MsgBatchCancelSpotOrders, uS as MsgSubmitProposalPerpetualMarketLaunchV2, ux as MsgCreateInsuranceFund, vS as MsgRevoke, vp as MsgUpdateActorRoles, vx as MsgReclaimLockedFunds, wh as DistributionMsgs, wp as MsgInstantBinaryOptionsMarketLaunch, wx as MsgLiquidatePosition, xS as MsgSend, xh as AuctionMsgs, xp as MsgUpdateParams, xx as MsgRequestRedemption, yS as MsgGrant, yp as MsgUpdateNamespace, yx as MsgRelayProviderPrices, zb as MsgCancelUnbondingDelegation, zh as MsgInstantBinaryOptionsMarketLaunchV2, zx as MsgCreateDenom } from "../index-
|
|
4
|
+
import { $b as MsgCreateSpotMarketOrder, $x as MsgSendToEth, Ab as MsgWithdrawValidatorCommission, Ah as GovMsgs, Ap as msgsOrMsgExecMsgs, Ax as MsgCancelSpotOrder, Bb as MsgDecreasePositionMarginV2, Bh as MsgSetDelegationTransferReceiversV2, Bx as MsgChangeAdmin, Ch as BankMsgs, Cp as OrderHashManager, Cx as MsgInstantiateContract, Db as MsgCreateDerivativeMarketOrderV2, Dh as ExchangeV1Msgs, Dp as GenericAuthorization, Dx as MsgExternalTransfer, Eb as MsgUpdateSubaccountRiskProfileV2, Eh as ExchangeMsgs, Ep as ContractExecutionAuthorization, Ex as MsgOffsetPositionV2, Fb as MsgCreateDerivativeLimitOrder, Fh as PeggyMsgs, Fx as MsgUpdateRateLimit, Gb as MsgBatchCancelSpotOrdersV2, Gh as MsgCreateBinaryOptionsMarketOrder, Gx as MsgWithdrawV2, Hb as MsgUpdateDerivativeMarketV2, Hh as MsgBatchCancelBinaryOptionsOrdersV2, Hx as MsgPrivilegedExecuteContract, Ib as MsgLiquidateCrossMarginPoolV2, Ih as StakingMsgs, Ix as MsgCreateRateLimit, Jb as MsgActivatePostOnlyModeV2, Jx as MsgDepositV2, Kb as MsgCancelDerivativeOrderV2, Kh as MsgBatchCancelBinaryOptionsOrders, Kx as MsgSignDataV2, Lb as MsgInstantSpotMarketLaunchV2, Lh as TokenFactoryMsgs, Lx as MsgMigrateContract, Mb as MsgCreateDerivativeMarketOrder, Mh as InsuranceMsgs, Mp as ExecArgNeptuneDeposit, Mx as MsgBeginRedelegate, Nb as MsgBatchCancelDerivativeOrders, Nh as Msgs, Nx as MsgGrantAllowance, Ob as MsgBatchCancelDerivativeOrdersV2, Oh as ExchangeV2Msgs, Op as GrantAuthorizationType, Ox as MsgRewardsOptOutV2, Pb as MsgCancelBinaryOptionsOrderV2, Ph as OracleMsgs, Px as MsgRemoveRateLimit, Qb as MsgIncreasePositionMargin, Qx as MsgDelegate, Rb as MsgWithdrawDelegatorReward, Rh as WasmMsgs, Rx as MsgExecuteContract, SS as MsgVote, Sh as AuthzMsgs, Sp as MsgClaimVoucher, Sx as MsgCancelSpotOrderV2, Th as Erc20Msgs, Tp as ContractExecutionCompatAuthorization, Tx as MsgBatchUpdateOrders, Ub as MsgCancelBinaryOptionsOrder, Uh as MsgAdminUpdateBinaryOptionsMarketV2, Ux as MsgEditValidator, Vb as MsgIncreasePositionMarginV2, Vh as MsgCreateBinaryOptionsMarketOrderV2, Vx as MsgRewardsOptOut, Wb as MsgCreateSpotMarketOrderV2, Wh as MsgCreateBinaryOptionsLimitOrderV2, Wx as MsgUnderwrite, Xb as MsgAuthorizeStakeGrantsV2, Xx as MsgWithdraw, Yb as MsgCreateSpotLimitOrderV2, Yx as MsgUpdateAdmin, Zb as MsgDecreasePositionMargin, Zx as MsgSignData, _S as MsgDeposit$1, _x as MsgUpdateSpotMarketV2, aS as MsgTransfer, ax as MsgSubaccountTransferV2, bS as MsgBid, bp as MsgCreateNamespace, bx as MsgTransferDelegation, cS as ProposalDecomposer, cx as MsgCreateSpotLimitOrder, dS as MsgSubmitProposalSpotMarketParamUpdate, dx as MsgLiquidatePositionV2, eS as MsgStoreCode, ex as MsgCancelDerivativeOrder, fS as MsgSubmitProposalPerpetualMarketLaunch, fx as MsgBatchUpdateOrdersV2, gS as MsgSubmitTextProposal, gx as MsgUpdateSwapParamsV2, hS as MsgSubmitGenericProposal, hx as MsgSetDenomMetadata, iS as MsgBurn, ix as MsgActivateStakeGrantV2, jb as MsgCreateDerivativeLimitOrderV2, jh as IbcMsgs, jp as ExecArgNeptuneWithdraw, jx as MsgCreateValidator, kb as MsgCreateBinaryOptionsLimitOrder, kh as FeegrantMsgs, kp as getGenericAuthorizationFromMessageType, kx as MsgRevokeAllowance, lS as MsgSubmitProposalExpiryFuturesMarketLaunch, lx as MsgAuthorizeStakeGrants, mS as MsgSubmitProposalSpotMarketLaunch, mx as MsgExternalTransferV2, nS as MsgMultiSend, nx as MsgUpdateInstantiateConfig, oS as MsgExec, ox as MsgReclaimLockedFundsV2, pS as MsgGrantProviderPrivilegeProposal, px as MsgFundCommunityPool, qb as MsgInstantSpotMarketLaunch, qh as MsgAdminUpdateBinaryOptionsMarket, qx as MsgUndelegate, rS as MsgMint, rx as MsgGrantWithAuthorization, sS as MsgSubmitProposal, sx as MsgCancelPostOnlyModeV2, tS as MsgDeposit, tx as MsgBatchCancelSpotOrders, uS as MsgSubmitProposalPerpetualMarketLaunchV2, ux as MsgCreateInsuranceFund, vS as MsgRevoke, vp as MsgUpdateActorRoles, vx as MsgReclaimLockedFunds, wh as DistributionMsgs, wp as MsgInstantBinaryOptionsMarketLaunch, wx as MsgLiquidatePosition, xS as MsgSend, xh as AuctionMsgs, xp as MsgUpdateParams, xx as MsgRequestRedemption, yS as MsgGrant, yp as MsgUpdateNamespace, yx as MsgRelayProviderPrices, zb as MsgCancelUnbondingDelegation, zh as MsgInstantBinaryOptionsMarketLaunchV2, zx as MsgCreateDenom } from "../index-BHCwlZSz.cjs";
|
|
5
5
|
import "../BaseGrpcConsumer-Cet1W6Kq.cjs";
|
|
6
6
|
import "../index-C7RKR121.cjs";
|
|
7
7
|
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-CSZ8iAjq.cjs";
|
|
@@ -11,6 +11,6 @@ import "../encoding-light-D-6m9tHO.cjs";
|
|
|
11
11
|
import "../constants-DQTrjP5R.cjs";
|
|
12
12
|
import "../index-C5x1GjO5.cjs";
|
|
13
13
|
import "../index-CCRCRvKd.cjs";
|
|
14
|
-
import "../index-
|
|
14
|
+
import "../index-Ca3ly9mz.cjs";
|
|
15
15
|
import "../index-Ch7IIzzg.cjs";
|
|
16
16
|
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, MsgActivatePostOnlyModeV2, MsgActivateStakeGrantV2, MsgAdminUpdateBinaryOptionsMarket, MsgAdminUpdateBinaryOptionsMarketV2, MsgAuthorizeStakeGrants, MsgAuthorizeStakeGrantsV2, MsgExec as MsgAuthzExec, MsgBatchCancelBinaryOptionsOrders, MsgBatchCancelBinaryOptionsOrdersV2, MsgBatchCancelDerivativeOrders, MsgBatchCancelDerivativeOrdersV2, MsgBatchCancelSpotOrders, MsgBatchCancelSpotOrdersV2, MsgBatchUpdateOrders, MsgBatchUpdateOrdersV2, MsgBeginRedelegate, MsgBid, MsgBurn, MsgCancelBinaryOptionsOrder, MsgCancelBinaryOptionsOrderV2, MsgCancelDerivativeOrder, MsgCancelDerivativeOrderV2, MsgCancelPostOnlyModeV2, MsgCancelSpotOrder, MsgCancelSpotOrderV2, MsgCancelUnbondingDelegation, MsgChangeAdmin, MsgClaimVoucher, MsgCreateBinaryOptionsLimitOrder, MsgCreateBinaryOptionsLimitOrderV2, MsgCreateBinaryOptionsMarketOrder, MsgCreateBinaryOptionsMarketOrderV2, MsgCreateDenom, MsgCreateDerivativeLimitOrder, MsgCreateDerivativeLimitOrderV2, MsgCreateDerivativeMarketOrder, MsgCreateDerivativeMarketOrderV2, MsgCreateInsuranceFund, MsgCreateNamespace, MsgCreateRateLimit, MsgCreateSpotLimitOrder, MsgCreateSpotLimitOrderV2, MsgCreateSpotMarketOrder, MsgCreateSpotMarketOrderV2, MsgCreateValidator, MsgDecreasePositionMargin, MsgDecreasePositionMarginV2, MsgDelegate, MsgDeposit, MsgDepositV2, MsgEditValidator, MsgExecuteContract, MsgExecuteContractCompat, MsgExternalTransfer, MsgExternalTransferV2, MsgFundCommunityPool, MsgDeposit$1 as MsgGovDeposit, MsgGrant, MsgGrantAllowance, MsgGrantProviderPrivilegeProposal, MsgGrantWithAuthorization, MsgIncreasePositionMargin, MsgIncreasePositionMarginV2, MsgInstantBinaryOptionsMarketLaunch, MsgInstantBinaryOptionsMarketLaunchV2, MsgInstantSpotMarketLaunch, MsgInstantSpotMarketLaunchV2, MsgInstantiateContract, MsgLiquidateCrossMarginPoolV2, MsgLiquidatePosition, MsgLiquidatePositionV2, MsgMigrateContract, MsgMint, MsgMultiSend, MsgOffsetPositionV2, MsgPrivilegedExecuteContract, MsgReclaimLockedFunds, MsgReclaimLockedFundsV2, MsgRelayProviderPrices, MsgRemoveRateLimit, MsgRequestRedemption, MsgRevoke, MsgRevokeAllowance, MsgRewardsOptOut, MsgRewardsOptOutV2, MsgSend, MsgSendToEth, MsgSetDelegationTransferReceiversV2, MsgSetDenomMetadata, MsgSignData, MsgSignDataV2, MsgStoreCode, MsgSubaccountTransferV2, MsgSubmitGenericProposal, MsgSubmitProposal, MsgSubmitProposalExpiryFuturesMarketLaunch, MsgSubmitProposalPerpetualMarketLaunch, MsgSubmitProposalPerpetualMarketLaunchV2, MsgSubmitProposalSpotMarketLaunch, MsgSubmitProposalSpotMarketParamUpdate, MsgSubmitTextProposal, MsgTransfer, MsgTransferDelegation, MsgUndelegate, MsgUnderwrite, MsgUpdateActorRoles, MsgUpdateAdmin, MsgUpdateDerivativeMarketV2, MsgUpdateInstantiateConfig, MsgUpdateNamespace, MsgUpdateParams, MsgUpdateRateLimit, MsgUpdateSpotMarketV2, MsgUpdateSubaccountRiskProfileV2, MsgUpdateSwapParamsV2, MsgVote, MsgWithdraw, MsgWithdrawDelegatorReward, MsgWithdrawV2, MsgWithdrawValidatorCommission, Msgs, OracleMsgs, OrderHashManager, PeggyMsgs, ProposalDecomposer, StakingMsgs, StrategyType, TokenFactoryMsgs, TrailingArithmetic, TrailingArithmeticLP, WasmMsgs, getGenericAuthorizationFromMessageType, msgsOrMsgExecMsgs };
|
package/dist/cjs/core/tx.cjs
CHANGED
|
@@ -2,20 +2,20 @@ const require_chunk = require('../chunk-CbDLau6x.cjs');
|
|
|
2
2
|
require('../encoding-light-D96nxVLW.cjs');
|
|
3
3
|
require('../constants-tPGACRGC.cjs');
|
|
4
4
|
require('../defineProperty-C3FP2y9Y.cjs');
|
|
5
|
-
const require_accounts = require('../accounts-
|
|
6
|
-
require('../utils-
|
|
5
|
+
const require_accounts = require('../accounts-CQkep4d_.cjs');
|
|
6
|
+
require('../utils-DKkEwRqy.cjs');
|
|
7
7
|
require('../light-zeGviAVI.cjs');
|
|
8
8
|
require('../grpc-D_3PKEFB.cjs');
|
|
9
9
|
require('../coins-DBj8089z.cjs');
|
|
10
10
|
require('../address-light-DUoYqdPQ.cjs');
|
|
11
11
|
const require_MsgBase = require('../MsgBase-jNBijPHQ.cjs');
|
|
12
|
-
require('../ChainRestTendermintApi-
|
|
12
|
+
require('../ChainRestTendermintApi-BvOVdQbM.cjs');
|
|
13
13
|
require('../stream-NLunNFnw.cjs');
|
|
14
14
|
require('../BaseGrpcConsumer-C1mk2V_9.cjs');
|
|
15
15
|
require('../BaseIndexerGrpcConsumer-DVa_aYMU.cjs');
|
|
16
16
|
require('../BaseRestConsumer-BcHgNcNh.cjs');
|
|
17
|
-
require('../IndexerGrpcWeb3GwApi-
|
|
18
|
-
const require_tx = require('../tx-
|
|
17
|
+
require('../IndexerGrpcWeb3GwApi-D7JhxQkr.cjs');
|
|
18
|
+
const require_tx = require('../tx-BihUoqqX.cjs');
|
|
19
19
|
let __injectivelabs_core_proto_ts_v2_generated_cosmos_tx_v1beta1_tx_pb = require("@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb");
|
|
20
20
|
|
|
21
21
|
exports.BroadcastMode = require_tx.BroadcastMode;
|
package/dist/cjs/core/tx.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as tx_pb_d_exports } from "../tx_pb-DSDGNMKS.cjs";
|
|
2
2
|
import "../index-BpbO2phm.cjs";
|
|
3
3
|
import "../light-B-3BDUJ7.cjs";
|
|
4
|
-
import { $m as TxResultResponse, $p as numberTypeToReflectionNumberType, Am as subscribeToTendermintTxEvent, Bm as createTxRawFromSigResponse, Bp as MsgDecoder, Cm as createTxRawEIP712, Dm as getTransactionPartsFromTxRaw, Em as getPublicKey, Fm as createTransactionAndCosmosSignDoc, Fp as MsgBroadcasterWithPkOptions, Gm as RestSignerInfo, Gp as getEip712Domain, Hm as BroadcastMode, Hp as getEip712TypedDataV2, Im as createTransactionAndCosmosSignDocForAddressAndMsg, Jm as RestTxLog, Jp as getEip712FeeV2, Km as RestTx, Kp as getEip712DomainV2, Lm as createTransactionForAddressAndMsg, Mm as TxGrpcApi, Nm as waitTxBroadcasted, Np as MsgBroadcasterTxOptions, Om as generateArbitrarySignDoc, Pm as createTransaction, Pp as MsgBroadcasterWithPk, Qm as TxResult, Qp as getObjectEip712PropertyType, Rm as createTransactionFromMsg, Sm as createSigners, Tm as getAminoStdSignDoc, Um as BroadcastModeKeplr, Up as getDefaultEip712Types, Vm as getTxRawFromTxRawOrDirectSignResponse, Vp as getEip712TypedData, Wm as RestAuthInfo, Wp as getDefaultEip712TypesV2, Xm as TxInfo, Xp as getEipTxDetails, Ym as SimulationResponse, Yp as getEipTxContext, Zm as TxInfoResponse, Zp as getTypesIncludingFeeOptions, _h as TxInclusionWaiter, _m as createFee, ah as MsgArg, am as SIGN_AMINO, bh as TxWaitForTxInclusionArgs, bm as createSignDocFromTransaction, ch as TxClientBroadcastResponse, cm as SIGN_EIP712_V2, dh as TxClientSimulateResponse, dm as getEthereumSignerAddress, eh as TxSearchResult, em as objectKeysToEip712Types, fh as TxConcreteApi, fm as getInjectiveSignerAddress, gh as TxInclusionStrategy, gm as createBody, hh as TxFetchTxPollArgs, hm as createAuthInfo, ih as CreateTransactionWithSignersArgs, im as TxClient, jm as TxRestApi, km as normalizeTendermintWebSocketEndpoint, lh as TxClientInclusionOptions, lm as createAny, mh as TxEventWebSocketFactory, mm as isTxNotFoundError, nh as CreateTransactionArgs, nm as protoTypeToAminoType, oh as SignerDetails, om as SIGN_DIRECT, ph as TxEventInclusionOptions, pm as errorToErrorMessage, qm as RestTxBody, qp as getEip712Fee, rh as CreateTransactionResult, rm as stringTypeToReflectionStringType, sh as TxClientBroadcastOptions, sm as SIGN_EIP712, th as TxSearchResultParams, tm as patchOrderTypesWithExpirationBlock, uh as TxClientMode, um as createAnyMessage, vh as TxPrepareTxInclusionWaitArgs, vm as createNonCriticalExtensionFromObject, wm as createWeb3Extension, xm as createSignerInfo, yh as TxResponse, ym as createSignDoc, zm as createTransactionWithSigners } from "../index-
|
|
4
|
+
import { $m as TxResultResponse, $p as numberTypeToReflectionNumberType, Am as subscribeToTendermintTxEvent, Bm as createTxRawFromSigResponse, Bp as MsgDecoder, Cm as createTxRawEIP712, Dm as getTransactionPartsFromTxRaw, Em as getPublicKey, Fm as createTransactionAndCosmosSignDoc, Fp as MsgBroadcasterWithPkOptions, Gm as RestSignerInfo, Gp as getEip712Domain, Hm as BroadcastMode, Hp as getEip712TypedDataV2, Im as createTransactionAndCosmosSignDocForAddressAndMsg, Jm as RestTxLog, Jp as getEip712FeeV2, Km as RestTx, Kp as getEip712DomainV2, Lm as createTransactionForAddressAndMsg, Mm as TxGrpcApi, Nm as waitTxBroadcasted, Np as MsgBroadcasterTxOptions, Om as generateArbitrarySignDoc, Pm as createTransaction, Pp as MsgBroadcasterWithPk, Qm as TxResult, Qp as getObjectEip712PropertyType, Rm as createTransactionFromMsg, Sm as createSigners, Tm as getAminoStdSignDoc, Um as BroadcastModeKeplr, Up as getDefaultEip712Types, Vm as getTxRawFromTxRawOrDirectSignResponse, Vp as getEip712TypedData, Wm as RestAuthInfo, Wp as getDefaultEip712TypesV2, Xm as TxInfo, Xp as getEipTxDetails, Ym as SimulationResponse, Yp as getEipTxContext, Zm as TxInfoResponse, Zp as getTypesIncludingFeeOptions, _h as TxInclusionWaiter, _m as createFee, ah as MsgArg, am as SIGN_AMINO, bh as TxWaitForTxInclusionArgs, bm as createSignDocFromTransaction, ch as TxClientBroadcastResponse, cm as SIGN_EIP712_V2, dh as TxClientSimulateResponse, dm as getEthereumSignerAddress, eh as TxSearchResult, em as objectKeysToEip712Types, fh as TxConcreteApi, fm as getInjectiveSignerAddress, gh as TxInclusionStrategy, gm as createBody, hh as TxFetchTxPollArgs, hm as createAuthInfo, ih as CreateTransactionWithSignersArgs, im as TxClient, jm as TxRestApi, km as normalizeTendermintWebSocketEndpoint, lh as TxClientInclusionOptions, lm as createAny, mh as TxEventWebSocketFactory, mm as isTxNotFoundError, nh as CreateTransactionArgs, nm as protoTypeToAminoType, oh as SignerDetails, om as SIGN_DIRECT, ph as TxEventInclusionOptions, pm as errorToErrorMessage, qm as RestTxBody, qp as getEip712Fee, rh as CreateTransactionResult, rm as stringTypeToReflectionStringType, sh as TxClientBroadcastOptions, sm as SIGN_EIP712, th as TxSearchResultParams, tm as patchOrderTypesWithExpirationBlock, uh as TxClientMode, um as createAnyMessage, vh as TxPrepareTxInclusionWaitArgs, vm as createNonCriticalExtensionFromObject, wm as createWeb3Extension, xm as createSignerInfo, yh as TxResponse, ym as createSignDoc, zm as createTransactionWithSigners } from "../index-BHCwlZSz.cjs";
|
|
5
5
|
import "../BaseGrpcConsumer-Cet1W6Kq.cjs";
|
|
6
6
|
import "../index-C7RKR121.cjs";
|
|
7
7
|
import { St as TypedDataField, bt as Eip712ConvertTxArgs, xt as MapOfTypedDataField, yt as Eip712ConvertFeeArgs } from "../index-CSZ8iAjq.cjs";
|
|
@@ -11,6 +11,6 @@ import "../encoding-light-D-6m9tHO.cjs";
|
|
|
11
11
|
import "../constants-DQTrjP5R.cjs";
|
|
12
12
|
import "../index-C5x1GjO5.cjs";
|
|
13
13
|
import "../index-CCRCRvKd.cjs";
|
|
14
|
-
import "../index-
|
|
14
|
+
import "../index-Ca3ly9mz.cjs";
|
|
15
15
|
import "../index-Ch7IIzzg.cjs";
|
|
16
16
|
export { BroadcastMode, BroadcastModeKeplr, tx_pb_d_exports as CosmosTxV1Beta1TxPb, CreateTransactionArgs, CreateTransactionResult, CreateTransactionWithSignersArgs, Eip712ConvertFeeArgs, Eip712ConvertTxArgs, MapOfTypedDataField, MsgArg, MsgBroadcasterTxOptions, MsgBroadcasterWithPk, MsgBroadcasterWithPkOptions, MsgDecoder, RestAuthInfo, RestSignerInfo, RestTx, RestTxBody, RestTxLog, SIGN_AMINO, SIGN_DIRECT, SIGN_EIP712, SIGN_EIP712_V2, SignerDetails, SimulationResponse, TxClient, TxClientBroadcastOptions, TxClientBroadcastResponse, TxClientInclusionOptions, TxClientMode, TxClientSimulateResponse, TxConcreteApi, TxEventInclusionOptions, TxEventWebSocketFactory, TxFetchTxPollArgs, TxGrpcApi, TxInclusionStrategy, TxInclusionWaiter, TxInfo, TxInfoResponse, TxPrepareTxInclusionWaitArgs, TxResponse, TxRestApi, TxResult, TxResultResponse, TxSearchResult, TxSearchResultParams, TxWaitForTxInclusionArgs, 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, getTypesIncludingFeeOptions, isTxNotFoundError, normalizeTendermintWebSocketEndpoint, numberTypeToReflectionNumberType, objectKeysToEip712Types, patchOrderTypesWithExpirationBlock, protoTypeToAminoType, stringTypeToReflectionStringType, subscribeToTendermintTxEvent, waitTxBroadcasted };
|
package/dist/cjs/cosmjs.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
require('./encoding-light-D96nxVLW.cjs');
|
|
2
2
|
require('./constants-tPGACRGC.cjs');
|
|
3
3
|
require('./defineProperty-C3FP2y9Y.cjs');
|
|
4
|
-
require('./accounts-
|
|
5
|
-
require('./utils-
|
|
4
|
+
require('./accounts-CQkep4d_.cjs');
|
|
5
|
+
require('./utils-DKkEwRqy.cjs');
|
|
6
6
|
require('./light-zeGviAVI.cjs');
|
|
7
7
|
require('./grpc-D_3PKEFB.cjs');
|
|
8
8
|
require('./coins-DBj8089z.cjs');
|
|
9
9
|
require('./address-light-DUoYqdPQ.cjs');
|
|
10
10
|
require('./MsgBase-jNBijPHQ.cjs');
|
|
11
|
-
require('./ChainRestTendermintApi-
|
|
11
|
+
require('./ChainRestTendermintApi-BvOVdQbM.cjs');
|
|
12
12
|
require('./stream-NLunNFnw.cjs');
|
|
13
13
|
require('./BaseGrpcConsumer-C1mk2V_9.cjs');
|
|
14
14
|
require('./BaseIndexerGrpcConsumer-DVa_aYMU.cjs');
|
|
15
15
|
require('./BaseRestConsumer-BcHgNcNh.cjs');
|
|
16
|
-
require('./IndexerGrpcWeb3GwApi-
|
|
17
|
-
require('./tx-
|
|
18
|
-
const require_DirectEthSecp256k1Wallet = require('./DirectEthSecp256k1Wallet-
|
|
16
|
+
require('./IndexerGrpcWeb3GwApi-D7JhxQkr.cjs');
|
|
17
|
+
require('./tx-BihUoqqX.cjs');
|
|
18
|
+
const require_DirectEthSecp256k1Wallet = require('./DirectEthSecp256k1Wallet-DiPNhrZq.cjs');
|
|
19
19
|
|
|
20
20
|
exports.InjectiveDirectEthSecp256k1Wallet = require_DirectEthSecp256k1Wallet.DirectEthSecp256k1Wallet;
|
|
21
21
|
exports.InjectiveEthSecp256k1Wallet = require_DirectEthSecp256k1Wallet.EthSecp256k1Wallet;
|
package/dist/cjs/exports.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
require('./encoding-light-D96nxVLW.cjs');
|
|
2
2
|
require('./constants-tPGACRGC.cjs');
|
|
3
3
|
require('./defineProperty-C3FP2y9Y.cjs');
|
|
4
|
-
require('./accounts-
|
|
5
|
-
require('./utils-
|
|
4
|
+
require('./accounts-CQkep4d_.cjs');
|
|
5
|
+
require('./utils-DKkEwRqy.cjs');
|
|
6
6
|
require('./light-zeGviAVI.cjs');
|
|
7
7
|
require('./grpc-D_3PKEFB.cjs');
|
|
8
8
|
require('./coins-DBj8089z.cjs');
|
|
9
9
|
require('./address-light-DUoYqdPQ.cjs');
|
|
10
10
|
require('./MsgBase-jNBijPHQ.cjs');
|
|
11
|
-
require('./ChainRestTendermintApi-
|
|
11
|
+
require('./ChainRestTendermintApi-BvOVdQbM.cjs');
|
|
12
12
|
require('./stream-NLunNFnw.cjs');
|
|
13
13
|
require('./BaseGrpcConsumer-C1mk2V_9.cjs');
|
|
14
14
|
require('./BaseIndexerGrpcConsumer-DVa_aYMU.cjs');
|
|
15
15
|
require('./BaseRestConsumer-BcHgNcNh.cjs');
|
|
16
|
-
require('./IndexerGrpcWeb3GwApi-
|
|
17
|
-
require('./tx-
|
|
18
|
-
const require_DirectEthSecp256k1Wallet = require('./DirectEthSecp256k1Wallet-
|
|
16
|
+
require('./IndexerGrpcWeb3GwApi-D7JhxQkr.cjs');
|
|
17
|
+
require('./tx-BihUoqqX.cjs');
|
|
18
|
+
const require_DirectEthSecp256k1Wallet = require('./DirectEthSecp256k1Wallet-DiPNhrZq.cjs');
|
|
19
19
|
|
|
20
20
|
exports.InjectiveDirectEthSecp256k1Wallet = require_DirectEthSecp256k1Wallet.DirectEthSecp256k1Wallet;
|
|
21
21
|
exports.InjectiveEthSecp256k1Wallet = require_DirectEthSecp256k1Wallet.EthSecp256k1Wallet;
|
|
@@ -12863,13 +12863,13 @@ declare class MsgCreateValidator extends MsgBase<MsgCreateValidator.Params, MsgC
|
|
|
12863
12863
|
value: MsgCreateValidator.Object;
|
|
12864
12864
|
};
|
|
12865
12865
|
toWeb3Gw(): {
|
|
12866
|
-
value?: Coin$1 | undefined;
|
|
12867
12866
|
description?: Description | undefined;
|
|
12868
12867
|
commission?: CommissionRates | undefined;
|
|
12869
12868
|
minSelfDelegation: string;
|
|
12870
12869
|
delegatorAddress: string;
|
|
12871
12870
|
validatorAddress: string;
|
|
12872
12871
|
pubkey?: Any | undefined;
|
|
12872
|
+
value?: Coin$1 | undefined;
|
|
12873
12873
|
pubKey: any;
|
|
12874
12874
|
'@type': string;
|
|
12875
12875
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Cet1W6Kq.cjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+platform-services-proto-ts-v2@1.0.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+platform-services-proto-ts-v2@1.0.9/node_modules/@injectivelabs/platform-services-proto-ts-v2/generated/goagen_api_positions_service_pb.d.ts
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Persisted derivative position
|
|
@@ -126,6 +126,21 @@ interface Position {
|
|
|
126
126
|
* @generated from protobuf field: string pnl_usd = 29
|
|
127
127
|
*/
|
|
128
128
|
pnlUsd: string;
|
|
129
|
+
/**
|
|
130
|
+
* Part of pnl the chain settled as funding: negative when paid, positive when
|
|
131
|
+
* received.
|
|
132
|
+
*
|
|
133
|
+
* @generated from protobuf field: string funding = 30
|
|
134
|
+
*/
|
|
135
|
+
funding: string;
|
|
136
|
+
/**
|
|
137
|
+
* Part of pnl a liquidation added beyond the price move: negative for the
|
|
138
|
+
* margin taken as a penalty, positive for a loss the insurance fund covered.
|
|
139
|
+
* Price PNL is pnl - funding - liquidation_adjustment.
|
|
140
|
+
*
|
|
141
|
+
* @generated from protobuf field: string liquidation_adjustment = 31
|
|
142
|
+
*/
|
|
143
|
+
liquidationAdjustment: string;
|
|
129
144
|
}
|
|
130
145
|
/**
|
|
131
146
|
* A trade applied to a position
|
|
@@ -164,6 +179,18 @@ interface PositionTrade {
|
|
|
164
179
|
* @generated from protobuf field: string pnl_usd = 7
|
|
165
180
|
*/
|
|
166
181
|
pnlUsd: string;
|
|
182
|
+
/**
|
|
183
|
+
* Part of pnl the chain settled as funding on this trade.
|
|
184
|
+
*
|
|
185
|
+
* @generated from protobuf field: string funding = 8
|
|
186
|
+
*/
|
|
187
|
+
funding: string;
|
|
188
|
+
/**
|
|
189
|
+
* Part of pnl a liquidation added beyond the price move; zero for other trades.
|
|
190
|
+
*
|
|
191
|
+
* @generated from protobuf field: string liquidation_adjustment = 9
|
|
192
|
+
*/
|
|
193
|
+
liquidationAdjustment: string;
|
|
167
194
|
}
|
|
168
195
|
/**
|
|
169
196
|
* Daily realized PNL
|
|
@@ -305,7 +332,7 @@ declare const DailyPNL = new DailyPNL$Type();
|
|
|
305
332
|
*/
|
|
306
333
|
declare const AccountPositionStats = new AccountPositionStats$Type();
|
|
307
334
|
//#endregion
|
|
308
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+platform-services-proto-ts-v2@1.0.
|
|
335
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+platform-services-proto-ts-v2@1.0.9/node_modules/@injectivelabs/platform-services-proto-ts-v2/generated/goagen_api_injective_archiver_rpc_pb.d.ts
|
|
309
336
|
|
|
310
337
|
/**
|
|
311
338
|
* @generated from protobuf message injective_archiver_rpc.HistoricalTrade
|
|
@@ -447,7 +474,7 @@ declare const HistoricalTrade = new HistoricalTrade$Type();
|
|
|
447
474
|
*/
|
|
448
475
|
declare const PriceLevel = new PriceLevel$Type();
|
|
449
476
|
//#endregion
|
|
450
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+platform-services-proto-ts-v2@1.0.
|
|
477
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+platform-services-proto-ts-v2@1.0.9/node_modules/@injectivelabs/platform-services-proto-ts-v2/generated/goagen_api_charts_trading_view_service_pb.d.ts
|
|
451
478
|
|
|
452
479
|
/**
|
|
453
480
|
* @generated from protobuf message charts_trading_view_service.SpotMarketHistoryResponse
|
|
@@ -612,15 +639,17 @@ interface PlatformServicesGetAccountCountParams {
|
|
|
612
639
|
interface PlatformServicesPosition {
|
|
613
640
|
id: string;
|
|
614
641
|
pnl: string;
|
|
615
|
-
pnlUsd: string;
|
|
616
642
|
side: string;
|
|
617
643
|
fees: string;
|
|
618
644
|
state: string;
|
|
645
|
+
pnlUsd: string;
|
|
646
|
+
funding: string;
|
|
619
647
|
marketId: string;
|
|
620
648
|
quantity: string;
|
|
621
649
|
openedAt: string;
|
|
622
650
|
updatedAt: string;
|
|
623
651
|
closedAt?: string;
|
|
652
|
+
exitPrice: string;
|
|
624
653
|
sideAtOpen: string;
|
|
625
654
|
totalTrades: string;
|
|
626
655
|
maxQuantity: string;
|
|
@@ -631,13 +660,13 @@ interface PlatformServicesPosition {
|
|
|
631
660
|
openedHeight: string;
|
|
632
661
|
avgEntryPrice: string;
|
|
633
662
|
initialMargin: string;
|
|
634
|
-
exitPrice: string;
|
|
635
663
|
updatedHeight: string;
|
|
636
664
|
closedHeight?: string;
|
|
637
665
|
accountAddress: string;
|
|
638
666
|
numOfBuyTrades: string;
|
|
639
667
|
numOfSellTrades: string;
|
|
640
668
|
durationInSeconds: string;
|
|
669
|
+
liquidationAdjustment: string;
|
|
641
670
|
}
|
|
642
671
|
interface PlatformServicesListPositionsResponse {
|
|
643
672
|
positions: PlatformServicesPosition[];
|
|
@@ -647,10 +676,12 @@ interface PlatformServicesPositionTrade {
|
|
|
647
676
|
pnl: string;
|
|
648
677
|
pnlUsd: string;
|
|
649
678
|
amount: string;
|
|
679
|
+
funding: string;
|
|
650
680
|
timestamp: string;
|
|
651
681
|
eventType: string;
|
|
652
682
|
positionId: string;
|
|
653
683
|
executionPrice: string;
|
|
684
|
+
liquidationAdjustment: string;
|
|
654
685
|
}
|
|
655
686
|
interface PlatformServicesListPositionTradesResponse {
|
|
656
687
|
nextToken?: string;
|
|
@@ -741,6 +772,12 @@ interface PlatformServicesArchiverAccountStatsParams {
|
|
|
741
772
|
account: string;
|
|
742
773
|
period?: string;
|
|
743
774
|
}
|
|
775
|
+
interface PlatformServicesArchiverListAccountStatsParams {
|
|
776
|
+
account: string[];
|
|
777
|
+
period?: string;
|
|
778
|
+
pageSize?: number;
|
|
779
|
+
nextToken?: string;
|
|
780
|
+
}
|
|
744
781
|
interface PlatformServicesHistoricalTradesParams {
|
|
745
782
|
fromBlock?: bigint;
|
|
746
783
|
endBlock?: bigint;
|
|
@@ -769,6 +806,12 @@ interface PlatformServicesArchiverAccountStats {
|
|
|
769
806
|
pnl: number;
|
|
770
807
|
volume: number;
|
|
771
808
|
stake: string;
|
|
809
|
+
maxDrawdown: number;
|
|
810
|
+
maxDrawdownPercentage: number;
|
|
811
|
+
}
|
|
812
|
+
interface PlatformServicesArchiverListAccountStatsResponse {
|
|
813
|
+
stats: PlatformServicesArchiverAccountStats[];
|
|
814
|
+
nextToken?: string;
|
|
772
815
|
}
|
|
773
816
|
interface PlatformServicesHistoricalDetailedPnl {
|
|
774
817
|
rpnl: number;
|
|
@@ -822,6 +865,7 @@ declare class ArchiverGrpcApi extends BaseGrpcConsumer {
|
|
|
822
865
|
private get client();
|
|
823
866
|
fetchBalance(params: PlatformServicesArchiverAccountParams): Promise<PlatformServicesBalanceResponse>;
|
|
824
867
|
fetchAccountStats(params: PlatformServicesArchiverAccountStatsParams): Promise<PlatformServicesArchiverAccountStats>;
|
|
868
|
+
fetchAccountMaxDrawdown(params: PlatformServicesArchiverListAccountStatsParams): Promise<PlatformServicesArchiverListAccountStatsResponse>;
|
|
825
869
|
fetchRpnl(params: PlatformServicesArchiverAccountParams): Promise<PlatformServicesRpnlResponse>;
|
|
826
870
|
fetchHistoricalTrades(params?: PlatformServicesHistoricalTradesParams): Promise<PlatformServicesHistoricalTradesResponse>;
|
|
827
871
|
}
|
|
@@ -849,4 +893,4 @@ declare class ChartsTradingViewGrpcApi extends BaseGrpcConsumer {
|
|
|
849
893
|
fetchAllSpotMarketSummaries(params?: PlatformServicesAllSpotMarketSummariesParams): Promise<PlatformServicesSpotMarketSummary[]>;
|
|
850
894
|
}
|
|
851
895
|
//#endregion
|
|
852
|
-
export {
|
|
896
|
+
export { PlatformServicesHistoricalTrade as A, PlatformServicesMarketHistory as B, PlatformServicesGetAccountDailyPNLParams as C, PlatformServicesHistoricalDetailedBalance as D, PlatformServicesHistoricalBalance as E, PlatformServicesListAccountTagsResponse as F, PlatformServicesPositionsSortDirection as G, PlatformServicesPosition as H, PlatformServicesListPositionTradesParams as I, PlatformServicesSpotMarketHistoryParams as J, PlatformServicesPositionsStatsWindow as K, PlatformServicesListPositionTradesResponse as L, PlatformServicesHistoricalTradesResponse as M, PlatformServicesListAccountPositionStatsParams as N, PlatformServicesHistoricalDetailedPnl as O, PlatformServicesListAccountPositionStatsResponse as P, PlatformServicesListPositionsParams as R, PlatformServicesGetAccountCountResponse as S, PlatformServicesGetAccountPositionStatsParams as T, PlatformServicesPositionTrade as U, PlatformServicesMarketHistoryParams as V, PlatformServicesPositionsSortBy as W, PlatformServicesSpotMarketSummaryParams as X, PlatformServicesSpotMarketSummary as Y, PlatformServicesArchiverListAccountStatsResponse as _, GrpcPlatformServicesChartMarketHistory as a, PlatformServicesDailyPNL as b, GrpcPlatformServicesHistoricalTrade as c, PlatformServicesAccountPositionStats as d, PlatformServicesAllSpotMarketSummariesParams as f, PlatformServicesArchiverListAccountStatsParams as g, PlatformServicesArchiverAccountStatsParams as h, GrpcPlatformServicesAccountPositionStats as i, PlatformServicesHistoricalTradesParams as j, PlatformServicesHistoricalRpnl as k, GrpcPlatformServicesPosition as l, PlatformServicesArchiverAccountStats as m, SocialTradingGrpcApi as n, GrpcPlatformServicesChartMarketSummary as o, PlatformServicesArchiverAccountParams as p, PlatformServicesRpnlResponse as q, ArchiverGrpcApi as r, GrpcPlatformServicesDailyPNL as s, ChartsTradingViewGrpcApi as t, GrpcPlatformServicesPositionTrade as u, PlatformServicesArchiverPriceLevel as v, PlatformServicesGetAccountDailyPNLResponse as w, PlatformServicesGetAccountCountParams as x, PlatformServicesBalanceResponse as y, PlatformServicesListPositionsResponse as z };
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -2,31 +2,31 @@ const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
|
2
2
|
const require_encoding_light = require('./encoding-light-D96nxVLW.cjs');
|
|
3
3
|
const require_constants = require('./constants-tPGACRGC.cjs');
|
|
4
4
|
require('./defineProperty-C3FP2y9Y.cjs');
|
|
5
|
-
const require_accounts = require('./accounts-
|
|
6
|
-
const require_utils = require('./utils-
|
|
5
|
+
const require_accounts = require('./accounts-CQkep4d_.cjs');
|
|
6
|
+
const require_utils = require('./utils-DKkEwRqy.cjs');
|
|
7
7
|
const require_light = require('./light-zeGviAVI.cjs');
|
|
8
8
|
const require_grpc = require('./grpc-D_3PKEFB.cjs');
|
|
9
9
|
const require_coins = require('./coins-DBj8089z.cjs');
|
|
10
10
|
const require_address_light = require('./address-light-DUoYqdPQ.cjs');
|
|
11
11
|
const require_MsgBase = require('./MsgBase-jNBijPHQ.cjs');
|
|
12
|
-
const require_MsgSetDenomMetadata = require('./MsgSetDenomMetadata-
|
|
13
|
-
const require_ChainRestTendermintApi = require('./ChainRestTendermintApi-
|
|
12
|
+
const require_MsgSetDenomMetadata = require('./MsgSetDenomMetadata-xkQdNaEm.cjs');
|
|
13
|
+
const require_ChainRestTendermintApi = require('./ChainRestTendermintApi-BvOVdQbM.cjs');
|
|
14
14
|
const require_stream = require('./stream-NLunNFnw.cjs');
|
|
15
15
|
require('./BaseGrpcConsumer-C1mk2V_9.cjs');
|
|
16
|
-
const require_chain = require('./chain-
|
|
17
|
-
const require_ChainGrpcExchangeApi = require('./ChainGrpcExchangeApi-
|
|
16
|
+
const require_chain = require('./chain-CjcmsXYZ.cjs');
|
|
17
|
+
const require_ChainGrpcExchangeApi = require('./ChainGrpcExchangeApi-By8_Bt5e.cjs');
|
|
18
18
|
const require_OLPGrpcApi = require('./OLPGrpcApi-DMzqzTp-.cjs');
|
|
19
19
|
require('./BaseIndexerGrpcConsumer-DVa_aYMU.cjs');
|
|
20
|
-
const require_QueryTradingStrategyContractTotalStrategies = require('./QueryTradingStrategyContractTotalStrategies-
|
|
20
|
+
const require_QueryTradingStrategyContractTotalStrategies = require('./QueryTradingStrategyContractTotalStrategies-CnEXrtW6.cjs');
|
|
21
21
|
require('./BaseRestConsumer-BcHgNcNh.cjs');
|
|
22
|
-
const require_ExecArgNeptuneWithdraw = require('./ExecArgNeptuneWithdraw-
|
|
22
|
+
const require_ExecArgNeptuneWithdraw = require('./ExecArgNeptuneWithdraw-oeEfiGcN.cjs');
|
|
23
23
|
const require_AbacusGrpcApi = require('./AbacusGrpcApi-DexBiQxy.cjs');
|
|
24
|
-
const require_IndexerGrpcWeb3GwApi = require('./IndexerGrpcWeb3GwApi-
|
|
25
|
-
const require_StreamManagerV2 = require('./StreamManagerV2-
|
|
24
|
+
const require_IndexerGrpcWeb3GwApi = require('./IndexerGrpcWeb3GwApi-D7JhxQkr.cjs');
|
|
25
|
+
const require_StreamManagerV2 = require('./StreamManagerV2-DxLI7no1.cjs');
|
|
26
26
|
const require_types = require('./types-BJpWW-Rx.cjs');
|
|
27
27
|
const require_TcAbacusGrpcApi = require('./TcAbacusGrpcApi-By_xt_w-.cjs');
|
|
28
|
-
const require_ChartsTradingViewGrpcApi = require('./ChartsTradingViewGrpcApi-
|
|
29
|
-
const require_tx = require('./tx-
|
|
28
|
+
const require_ChartsTradingViewGrpcApi = require('./ChartsTradingViewGrpcApi-CIu1ddpM.cjs');
|
|
29
|
+
const require_tx = require('./tx-BihUoqqX.cjs');
|
|
30
30
|
const require_service = require('./service-UQHM4Fa_.cjs');
|
|
31
31
|
let __injectivelabs_core_proto_ts_v2_generated_injective_types_v1beta1_account_pb = require("@injectivelabs/core-proto-ts-v2/generated/injective/types/v1beta1/account_pb");
|
|
32
32
|
__injectivelabs_core_proto_ts_v2_generated_injective_types_v1beta1_account_pb = require_chunk.__toESM(__injectivelabs_core_proto_ts_v2_generated_injective_types_v1beta1_account_pb);
|