@injectivelabs/sdk-ts 1.20.68 → 1.21.0-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/README.md +25 -0
- package/dist/cjs/{BaseGrpcConsumer-DVDjYQks.d.cts → BaseGrpcConsumer-CRYBdXm9.d.cts} +1 -1
- package/dist/cjs/{ChainGrpcExchangeApi-DEoO0jhR.cjs → ChainGrpcExchangeApi-D2diaVMC.cjs} +2 -73
- package/dist/cjs/{ChainRestTendermintApi-BkHzZIRZ.cjs → ChainRestTendermintApi-BSGN-XV3.cjs} +2 -2
- package/dist/cjs/{DirectEthSecp256k1Wallet-DfvrKuF8.cjs → DirectEthSecp256k1Wallet-CsOHUTrG.cjs} +1 -1
- package/dist/cjs/{ExecArgNeptuneWithdraw-BJHAQJlT.cjs → ExecArgNeptuneWithdraw-CHK2kF7l.cjs} +2 -2
- package/dist/cjs/{IndexerGrpcWeb3GwApi-C9VUHKOj.cjs → IndexerGrpcWeb3GwApi-BaCa4M1S.cjs} +4 -2
- package/dist/cjs/{MsgBase-jNBijPHQ.cjs → MsgBase-Dt0pa34P.cjs} +93 -36
- package/dist/cjs/{MsgSetDenomMetadata-Did-0k6O.cjs → MsgSetDenomMetadata-BKnmW-f2.cjs} +3361 -4248
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-B3pcJep3.cjs → QueryTradingStrategyContractTotalStrategies-BiIzwy-H.cjs} +2 -2
- package/dist/cjs/{StreamManagerV2-DRWQ5QH0.cjs → StreamManagerV2-DftPsZ02.cjs} +2 -2
- package/dist/cjs/{accounts-BeV7wTTf.cjs → accounts-C6QIpAkP.cjs} +22 -2
- package/dist/cjs/{chain-B3HLDM4b.cjs → chain-D4Z7pAD0.cjs} +120 -206
- package/dist/cjs/client/abacus.d.cts +5 -5
- package/dist/cjs/client/chain.cjs +4 -5
- package/dist/cjs/client/chain.d.cts +12 -12
- package/dist/cjs/client/indexer.cjs +3 -3
- package/dist/cjs/client/indexer.d.cts +12 -12
- package/dist/cjs/client/olp.d.cts +5 -5
- package/dist/cjs/client/platformServices.d.cts +5 -5
- package/dist/cjs/client/tcAbacus.d.cts +5 -5
- package/dist/cjs/client/wasm.cjs +7 -7
- package/dist/cjs/client/wasm.d.cts +4 -4
- package/dist/cjs/core/accounts.cjs +3 -3
- package/dist/cjs/core/accounts.d.cts +11 -11
- package/dist/cjs/core/modules.cjs +15 -23
- package/dist/cjs/core/modules.d.cts +12 -12
- package/dist/cjs/core/tx.cjs +7 -6
- package/dist/cjs/core/tx.d.cts +12 -12
- package/dist/cjs/cosmjs.cjs +7 -7
- package/dist/cjs/cosmjs.d.cts +2 -2
- package/dist/cjs/exports.cjs +7 -7
- package/dist/cjs/exports.d.cts +2 -2
- package/dist/cjs/{index-BtwpJOwb.d.cts → index-5s92DIT3.d.cts} +1 -1
- package/dist/{esm/index-B4-RPlmi.d.ts → cjs/index-B7LT8B2g.d.cts} +25673 -26257
- package/dist/cjs/{index-CfGvB4c1.d.cts → index-BNqPdwIL.d.cts} +1 -1
- package/dist/cjs/{index-iLM1noAM.d.cts → index-ByaAgMci.d.cts} +1 -1
- package/dist/{esm/index-CTEvW2RT.d.ts → cjs/index-CBEIfBLI.d.cts} +34 -84
- package/dist/{esm/index--I7NYLY5.d.ts → cjs/index-CKFM2Zot.d.cts} +35 -350
- package/dist/cjs/{index-Beskv_ry.d.cts → index-CcNtmgW5.d.cts} +2 -2
- package/dist/cjs/{index-Bv-5dlo_.d.cts → index-DzI7PClu.d.cts} +1 -1
- package/dist/cjs/{index-CY06tllr.d.cts → index-fb-zX9fQ.d.cts} +1 -1
- package/dist/cjs/index.cjs +19 -27
- package/dist/cjs/index.d.cts +12 -12
- package/dist/{esm/light-BFGvKXwS.d.ts → cjs/light-Dyi8qJP_.d.cts} +3 -0
- package/dist/cjs/proto/cosmos-tx.d.cts +1 -1
- package/dist/cjs/service.cjs +1 -1
- package/dist/cjs/service.d.cts +4 -4
- package/dist/cjs/{tx-C8efeicO.cjs → tx-U8W1g3W8.cjs} +4 -4
- package/dist/cjs/{tx_pb-DSDGNMKS.d.cts → tx_pb-rX24LEP1.d.cts} +58 -107
- package/dist/cjs/types/light.d.cts +1 -1
- package/dist/cjs/types.d.cts +3 -3
- package/dist/cjs/{utils-DZoXzNOj.cjs → utils-CjlVVckg.cjs} +14 -24
- package/dist/cjs/utils.cjs +1 -1
- package/dist/cjs/utils.d.cts +11 -11
- package/dist/esm/{BaseGrpcConsumer-DzOno3EM.d.ts → BaseGrpcConsumer-BfhC9A-3.d.ts} +1 -1
- package/dist/esm/{ChainGrpcExchangeApi-N27wNM6N.js → ChainGrpcExchangeApi-YNNZqhBt.js} +2 -73
- package/dist/esm/{ChainRestTendermintApi-CfvwCl2L.js → ChainRestTendermintApi-DGLg38SO.js} +2 -2
- package/dist/esm/{DirectEthSecp256k1Wallet-Cq8NYHKd.js → DirectEthSecp256k1Wallet-mXW_mPaC.js} +1 -1
- package/dist/esm/{ExecArgNeptuneWithdraw-BRrsGhPy.js → ExecArgNeptuneWithdraw-CpaH5nlc.js} +2 -2
- package/dist/esm/{IndexerGrpcWeb3GwApi-CG_ZevUX.js → IndexerGrpcWeb3GwApi-BaQI4k4D.js} +4 -2
- package/dist/esm/{MsgBase-BC3GNddA.js → MsgBase-D3okqFzc.js} +88 -37
- package/dist/esm/{MsgSetDenomMetadata-B7IN-5j2.js → MsgSetDenomMetadata-snSM4b_f.js} +900 -1738
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-DNbF4zfF.js → QueryTradingStrategyContractTotalStrategies-C5T8K9t0.js} +2 -2
- package/dist/esm/{StreamManagerV2-IyJuIDxz.js → StreamManagerV2-DayR_Wxb.js} +2 -2
- package/dist/esm/{accounts-D2h6m8BF.js → accounts-BNTm8lj5.js} +22 -2
- package/dist/esm/{chain-cb8a0SyE.js → chain-Bx2cRWCa.js} +141 -220
- package/dist/esm/client/abacus.d.ts +5 -5
- package/dist/esm/client/chain.d.ts +12 -12
- package/dist/esm/client/chain.js +5 -5
- package/dist/esm/client/indexer.d.ts +12 -12
- package/dist/esm/client/indexer.js +3 -3
- package/dist/esm/client/olp.d.ts +5 -5
- package/dist/esm/client/platformServices.d.ts +5 -5
- package/dist/esm/client/tcAbacus.d.ts +5 -5
- package/dist/esm/client/wasm.d.ts +4 -4
- package/dist/esm/client/wasm.js +7 -7
- package/dist/esm/core/accounts.d.ts +11 -11
- package/dist/esm/core/accounts.js +3 -3
- package/dist/esm/core/modules.d.ts +12 -12
- package/dist/esm/core/modules.js +10 -10
- package/dist/esm/core/tx.d.ts +12 -12
- package/dist/esm/core/tx.js +7 -7
- package/dist/esm/cosmjs.d.ts +2 -2
- package/dist/esm/cosmjs.js +7 -7
- package/dist/esm/exports.d.ts +2 -2
- package/dist/esm/exports.js +7 -7
- package/dist/esm/{index-DG-I0T6b.d.ts → index-BLlbbiGL.d.ts} +1 -1
- package/dist/{cjs/index-B8XGu-SI.d.cts → esm/index-BeikP7Cq.d.ts} +35 -350
- package/dist/esm/{index-B2tw9CHl.d.ts → index-CQGymzVV.d.ts} +1 -1
- package/dist/esm/{index-BtOljr6v.d.ts → index-DhhaPvLx.d.ts} +1 -1
- package/dist/{cjs/index-4IPdy0bE.d.cts → esm/index-DjAbTs6N.d.ts} +34 -84
- package/dist/{cjs/index-Zlg1uSyt.d.cts → esm/index-DyuSCKzD.d.ts} +25673 -26257
- package/dist/esm/{index-CJxCX4wl.d.ts → index-KPxccQ6b.d.ts} +1 -1
- package/dist/esm/{index-BHELcAAg.d.ts → index-SCzTXWme.d.ts} +2 -2
- package/dist/esm/{index-OpqhooKr.d.ts → index-c0wEF5XN.d.ts} +1 -1
- package/dist/esm/index.d.ts +12 -12
- package/dist/esm/index.js +13 -13
- package/dist/{cjs/light-B-3BDUJ7.d.cts → esm/light-cJI0PSqu.d.ts} +3 -0
- package/dist/esm/proto/cosmos-tx.d.ts +1 -1
- package/dist/esm/service.d.ts +4 -4
- package/dist/esm/service.js +1 -1
- package/dist/esm/{tx-C9bEwXA1.js → tx-COcI7kYx.js} +4 -4
- package/dist/esm/{tx_pb-Blty6MDM.d.ts → tx_pb-pR8s8ZkE.d.ts} +58 -107
- package/dist/esm/types/light.d.ts +1 -1
- package/dist/esm/types.d.ts +3 -3
- package/dist/esm/{utils-Cs0fKB6M.js → utils-Bprop_i9.js} +14 -24
- package/dist/esm/utils.d.ts +11 -11
- package/dist/esm/utils.js +1 -1
- package/package.json +6 -6
package/dist/esm/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { a as fromBase64, c as hexToBuff, d as toBase64, f as toUtf8, h as uint8ArrayToString, i as concatUint8Arrays, l as hexToUint8Array, m as uint8ArrayToHex, n as base64ToUtf8, o as fromUtf8, p as uint8ArrayToBase64, r as binaryToBase64, s as hexToBase64, t as base64ToUint8Array, u as stringToUint8Array } from "./encoding-light-BpntDob-.js";
|
|
2
2
|
import { a as BECH32_PUBKEY_CONS_PREFIX, i as BECH32_PUBKEY_ACC_PREFIX, n as BECH32_ADDR_CONS_PREFIX, o as BECH32_PUBKEY_VAL_PREFIX, r as BECH32_ADDR_VAL_PREFIX, s as DEFAULT_DERIVATION_PATH, t as BECH32_ADDR_ACC_PREFIX } from "./constants-J9ftgKqC.js";
|
|
3
3
|
import "./defineProperty-BwBXXd7t.js";
|
|
4
|
-
import { A as getTransactionPartsFromTxRaw, C as createSignDocFromTransaction, D as createWeb3Extension, E as createTxRawEIP712, F as PublicKey, I as Address, M as createAnyMessage, N as getEthereumSignerAddress, O as getAminoStdSignDoc, P as getInjectiveSignerAddress, S as createSignDoc, T as createSigners, _ as getTypesIncludingFeeOptions, a as MsgIncreasePositionMargin, b as createFee, c as getEip712TypedDataV2, d as getEip712Domain, f as getEip712DomainV2, g as getEipTxDetails, h as getEipTxContext, i as MsgDecreasePositionMargin, j as createAny, k as getPublicKey, l as getDefaultEip712Types, m as getEip712FeeV2, n as PrivateKey, o as MsgSignData, p as getEip712Fee, r as MsgDecoder, s as getEip712TypedData, t as BaseAccount, u as getDefaultEip712TypesV2, v as createAuthInfo, w as createSignerInfo, x as createNonCriticalExtensionFromObject, y as createBody } from "./accounts-
|
|
5
|
-
import { $ as spotQuantityFromChainQuantity, A as derivativePriceFromChainPrice, At as protoObjectToJson, B as formatNumberToAllowableDecimals, Bt as protobufTimestampToDate, C as denomAmountToChainDenomAmount, Ct as hexToNumber, D as derivativeMarginFromChainMarginToFixed, Dt as isReactNative, E as derivativeMarginFromChainMargin, Et as isNode, F as derivativeQuantityFromChainQuantityToFixed, Ft as getFixedGasLimitBasedOnMessage, G as getSignificantDecimalsFromNumber, H as formatPriceToAllowableDecimals, Ht as protobufTimestampToUnixSeconds, I as derivativeQuantityToChainQuantity, It as getGasOptionsBasedOnMessage, J as numberToCosmosSdkDecString, K as getTensMultiplier, L as derivativeQuantityToChainQuantityToFixed, Lt as getGasPriceBasedOnMessage, M as derivativePriceToChainPrice, Mt as sortObjectByKeys, N as derivativePriceToChainPriceToFixed, Nt as sortObjectByKeysWithReduce, O as derivativeMarginToChainMargin, Ot as isServerSide, P as derivativeQuantityFromChainQuantity, Pt as ofacList, Q as spotPriceToChainPriceToFixed, R as formatAmountToAllowableAmount, Rt as makeTimeoutTimestamp, S as denomAmountFromGrpcChainDenomAmount, St as grpcCoinToUiCoin, T as denomAmountToGrpcChainDenomAmount, Tt as isJsonString, U as formatPriceToAllowablePrice, V as formatNumberToAllowableTensMultiplier, Vt as protobufTimestampToUnixMs, W as getExactDecimalsFromNumber, X as spotPriceFromChainPriceToFixed, Y as spotPriceFromChainPrice, Z as spotPriceToChainPrice, _ as getSpotMarketTensMultiplier, _t as sha256, a as fetchAllWithTokenPagination, at as TypedDataUtilsSanitizeData, b as denomAmountFromChainDenomAmount, bt as bigIntToString, c as grpcPagingToPagingV2, ct as hashToHex, d as paginationUint8ArrayToString, dt as privateKeyHashToPublicKeyBase64, et as spotQuantityFromChainQuantityToFixed, f as ChainGrpcCommonTransformer, ft as privateKeyToPublicKey, g as getSpotMarketDecimals, gt as sanitizeTypedData, h as getDerivativeMarketTensMultiplier, ht as ripemd160, i as fetchAllWithPagination, it as TypedDataUtilsHashStruct, j as derivativePriceFromChainPriceToFixed, jt as safeBigIntStringify, k as derivativeMarginToChainMarginToFixed, kt as objectToJson, l as pageRequestToGrpcPageRequestV2, lt as messageHash, m as getDerivativeMarketDecimals, mt as publicKeyToAddress, n as isAbortError, nt as spotQuantityToChainQuantityToFixed, o as grpcPaginationToPagination, ot as decompressPubKey, p as getChecksumAddress, pt as privateKeyToPublicKeyBase64, q as isNumber, r as recoverTypedSignaturePubKey, rt as SignTypedDataVersionV4, s as grpcPagingToPaging, st as domainHash, t as AbortError, tt as spotQuantityToChainQuantity, u as paginationRequestFromPagination, ut as privateKeyHashToPublicKey, v as amountToCosmosSdkDecAmount, vt as bigIntReplacer, w as denomAmountToChainDenomAmountToFixed, wt as isBrowser, x as denomAmountFromChainDenomAmountToFixed, xt as getErrorMessage, y as cosmosSdkDecToBigNumber, yt as bigIntToNumber, z as formatAmountToAllowableDecimals, zt as makeTimeoutTimestampInNs } from "./utils-
|
|
4
|
+
import { A as getTransactionPartsFromTxRaw, C as createSignDocFromTransaction, D as createWeb3Extension, E as createTxRawEIP712, F as PublicKey, I as Address, M as createAnyMessage, N as getEthereumSignerAddress, O as getAminoStdSignDoc, P as getInjectiveSignerAddress, S as createSignDoc, T as createSigners, _ as getTypesIncludingFeeOptions, a as MsgIncreasePositionMargin, b as createFee, c as getEip712TypedDataV2, d as getEip712Domain, f as getEip712DomainV2, g as getEipTxDetails, h as getEipTxContext, i as MsgDecreasePositionMargin, j as createAny, k as getPublicKey, l as getDefaultEip712Types, m as getEip712FeeV2, n as PrivateKey, o as MsgSignData, p as getEip712Fee, r as MsgDecoder, s as getEip712TypedData, t as BaseAccount, u as getDefaultEip712TypesV2, v as createAuthInfo, w as createSignerInfo, x as createNonCriticalExtensionFromObject, y as createBody } from "./accounts-BNTm8lj5.js";
|
|
5
|
+
import { $ as spotQuantityFromChainQuantity, A as derivativePriceFromChainPrice, At as protoObjectToJson, B as formatNumberToAllowableDecimals, Bt as protobufTimestampToDate, C as denomAmountToChainDenomAmount, Ct as hexToNumber, D as derivativeMarginFromChainMarginToFixed, Dt as isReactNative, E as derivativeMarginFromChainMargin, Et as isNode, F as derivativeQuantityFromChainQuantityToFixed, Ft as getFixedGasLimitBasedOnMessage, G as getSignificantDecimalsFromNumber, H as formatPriceToAllowableDecimals, Ht as protobufTimestampToUnixSeconds, I as derivativeQuantityToChainQuantity, It as getGasOptionsBasedOnMessage, J as numberToCosmosSdkDecString, K as getTensMultiplier, L as derivativeQuantityToChainQuantityToFixed, Lt as getGasPriceBasedOnMessage, M as derivativePriceToChainPrice, Mt as sortObjectByKeys, N as derivativePriceToChainPriceToFixed, Nt as sortObjectByKeysWithReduce, O as derivativeMarginToChainMargin, Ot as isServerSide, P as derivativeQuantityFromChainQuantity, Pt as ofacList, Q as spotPriceToChainPriceToFixed, R as formatAmountToAllowableAmount, Rt as makeTimeoutTimestamp, S as denomAmountFromGrpcChainDenomAmount, St as grpcCoinToUiCoin, T as denomAmountToGrpcChainDenomAmount, Tt as isJsonString, U as formatPriceToAllowablePrice, V as formatNumberToAllowableTensMultiplier, Vt as protobufTimestampToUnixMs, W as getExactDecimalsFromNumber, X as spotPriceFromChainPriceToFixed, Y as spotPriceFromChainPrice, Z as spotPriceToChainPrice, _ as getSpotMarketTensMultiplier, _t as sha256, a as fetchAllWithTokenPagination, at as TypedDataUtilsSanitizeData, b as denomAmountFromChainDenomAmount, bt as bigIntToString, c as grpcPagingToPagingV2, ct as hashToHex, d as paginationUint8ArrayToString, dt as privateKeyHashToPublicKeyBase64, et as spotQuantityFromChainQuantityToFixed, f as ChainGrpcCommonTransformer, ft as privateKeyToPublicKey, g as getSpotMarketDecimals, gt as sanitizeTypedData, h as getDerivativeMarketTensMultiplier, ht as ripemd160, i as fetchAllWithPagination, it as TypedDataUtilsHashStruct, j as derivativePriceFromChainPriceToFixed, jt as safeBigIntStringify, k as derivativeMarginToChainMarginToFixed, kt as objectToJson, l as pageRequestToGrpcPageRequestV2, lt as messageHash, m as getDerivativeMarketDecimals, mt as publicKeyToAddress, n as isAbortError, nt as spotQuantityToChainQuantityToFixed, o as grpcPaginationToPagination, ot as decompressPubKey, p as getChecksumAddress, pt as privateKeyToPublicKeyBase64, q as isNumber, r as recoverTypedSignaturePubKey, rt as SignTypedDataVersionV4, s as grpcPagingToPaging, st as domainHash, t as AbortError, tt as spotQuantityToChainQuantity, u as paginationRequestFromPagination, ut as privateKeyHashToPublicKey, v as amountToCosmosSdkDecAmount, vt as bigIntReplacer, w as denomAmountToChainDenomAmountToFixed, wt as isBrowser, x as denomAmountFromChainDenomAmountToFixed, xt as getErrorMessage, y as cosmosSdkDecToBigNumber, yt as bigIntToNumber, z as formatAmountToAllowableDecimals, zt as makeTimeoutTimestampInNs } from "./utils-Bprop_i9.js";
|
|
6
6
|
import { _ as TradeExecutionSide, c as OrderSide, d as StreamDisconnectReason, f as StreamEvent, g as TradeDirection, h as TokenVerification, i as GrpcStatusCode, l as OrderState, m as TokenType, p as StreamOperation, v as TradeExecutionType } from "./light-BUFhVek8.js";
|
|
7
7
|
import { n as getGrpcWebTransport, t as GrpcWebFetchTransport } from "./grpc-CSo1TcHx.js";
|
|
8
8
|
import { t as parseCoins } from "./coins-DTdsvmX2.js";
|
|
9
9
|
import { a as getEthereumAddress, c as getSubaccountId, d as removeHexPrefix, i as getDefaultSubaccountId, l as hexToBytes, n as bytesToHex, o as getInjectiveAddress, r as getAddressFromInjectiveAddress, s as getInjectiveAddressFromSubaccountId, t as addHexPrefix, u as isCw20ContractAddress } from "./address-light-CwLNB73Y.js";
|
|
10
|
-
import { a as
|
|
11
|
-
import { $ as
|
|
12
|
-
import { a as ChainGrpcAuthTransformer, c as OracleType, d as GrpcOrderTypeMap, f as OrderTypeMap, g as VoteOptionMap, h as ProposalStatusMap, i as ChainGrpcAuthApi, l as OracleTypeMap, m as ContractCodeHistoryOperationTypeMap, n as ChainRestAuthApi, o as ChainModule, p as BondStatus, r as ChainGrpcTendermintApi, s as PermissionActionMap, t as ChainRestTendermintApi, u as GrpcMarketStatusMap } from "./ChainRestTendermintApi-
|
|
10
|
+
import { a as numberTypeToReflectionNumberType, c as protoTypeToAminoType, i as graftEip712Types, l as stringTypeToReflectionStringType, o as objectKeysToEip712Types, r as getObjectEip712PropertyType, s as patchOrderTypesWithExpirationBlock } from "./MsgBase-D3okqFzc.js";
|
|
11
|
+
import { $ as ExecArgCreateSpotGridStrategy, $t as MsgBatchCancelSpotOrdersV2, A as MsgDelegate, An as MsgDeposit, At as MsgSubmitProposalPerpetualMarketLaunch, B as GenericAuthorization, Bt as MsgUpdateSubaccountRiskProfileV2, C as MsgGrantAllowance, Cn as MsgOffsetPositionV2, Ct as MsgMultiSend, D as MsgBeginRedelegate, Dn as MsgSignDataV2, Dt as MsgSubmitProposalExpiryFuturesMarketLaunch, E as MsgCreateValidator, En as MsgWithdrawV2, Et as ProposalDecomposer, F as MsgCreateRateLimit, Ft as MsgDeposit$1, G as msgsOrMsgExecMsgs, Gt as MsgBatchCancelDerivativeOrders, H as MsgRevoke, Ht as MsgBatchCancelDerivativeOrdersV2, I as MsgSendToEth, It as MsgVote, J as ExecPrivilegedArgOffChainVaultSubscribe, Jt as MsgInstantSpotMarketLaunchV2, K as MsgExec, Kt as MsgCreateDerivativeLimitOrder, L as MsgCreateTokenPair, Lt as OrderHashManager, M as MsgRelayProviderPrices, Mt as MsgSubmitProposalSpotMarketLaunch, N as MsgRemoveRateLimit, Nt as MsgSubmitGenericProposal, O as MsgEditValidator, On as MsgDepositV2, Ot as MsgSubmitProposalPerpetualMarketLaunchV2, P as MsgUpdateRateLimit, Pt as MsgSubmitTextProposal, Q as ExecPrivilegedArgVaultRedeem, Qt as MsgCreateSpotMarketOrderV2, R as ContractExecutionCompatAuthorization, Rt as MsgSetDelegationTransferReceiversV2, S as MsgRevokeAllowance, Sn as MsgBatchUpdateOrders, St as MsgStoreCode, T as MsgTransferDelegation, Tn as MsgCancelSpotOrder, Tt as MsgTransfer, U as MsgGrant, Ut as MsgCreateDerivativeLimitOrderV2, V as MsgGrantWithAuthorization, Vt as MsgCreateDerivativeMarketOrderV2, W as getGenericAuthorizationFromMessageType, Wt as MsgCreateDerivativeMarketOrder, X as ExecArgCW20AdapterRedeemAndTransfer, Xt as MsgIncreasePositionMarginV2, Y as ExecPrivilegedArgOffChainVaultRedeem, Yt as MsgDecreasePositionMarginV2, Z as ExecPrivilegedArgVaultSubscribe, Zt as MsgUpdateDerivativeMarketV2, _ as MsgCreateConsolidatedInsurancePool, _n as MsgExternalTransferV2, _t as ExecArgSubmitVaa, a as MsgBurn, an as MsgCreateSpotMarketOrder, at as ExecArgIncreaseAllowance, b as MsgRequestRedemption, bn as MsgCancelSpotOrderV2, bt as ExecArgCW20Send, c as MsgFundCommunityPool, cn as MsgActivateStakeGrantV2, ct as ExecArgInitiateTransfer, d as MsgCreateNamespace, dn as MsgCreateSpotLimitOrder, dt as ExecArgSwapMinOutput, en as MsgCancelDerivativeOrderV2, et as ExecArgCreatePerpGridStrategy, f as MsgUpdateParams, fn as MsgSubaccountTransferV2, ft as ExecArgDepositTokens, g as MsgUpdateConsolidatedInsurancePolicy, gn as MsgUpdateSwapParamsV2, gt as ExecArgCreateRound, h as MsgSetConsolidatedInsurancePoolPause, hn as MsgBatchUpdateOrdersV2, ht as ExecArgCW20Transfer, i as MsgMint, in as MsgAuthorizeStakeGrantsV2, it as ExecArgRemoveGridStrategy, j as MsgBid, jt as MsgGrantProviderPrivilegeProposal, k as MsgUndelegate, kn as MsgWithdraw, kt as MsgSubmitProposalSpotMarketParamUpdate, l as MsgUpdateActorRoles, ln as MsgReclaimLockedFundsV2, lt as ExecArgSwapExactOutput, m as MsgUnderwriteConsolidatedInsurancePool, mn as MsgLiquidatePositionV2, mt as ExecArgFundCampaign, n as MsgCreateDenom, nn as MsgActivatePostOnlyModeV2, nt as StrategyType, o as MsgWithdrawValidatorCommission, on as MsgCancelDerivativeOrder, ot as MsgUpdateInstantiateConfig, p as MsgClaimVoucher, pn as MsgCancelPostOnlyModeV2, pt as MsgInstantiateContract, q as GrantAuthorizationType, qt as MsgLiquidateCrossMarginPoolV2, r as MsgChangeAdmin, rn as MsgCreateSpotLimitOrderV2, rt as MsgPrivilegedExecuteContract, s as MsgWithdrawDelegatorReward, sn as MsgBatchCancelSpotOrders, st as ExecArgUpdateGridConfig, t as MsgSetDenomMetadata, tn as MsgInstantSpotMarketLaunch, tt as ExitType, u as MsgUpdateNamespace, un as MsgAuthorizeStakeGrants, ut as ExecArgCreateCampaign, v as MsgRequestConsolidatedRedemption, vn as MsgUpdateSpotMarketV2, vt as MsgMigrateContract, w as MsgCancelUnbondingDelegation, wn as MsgExternalTransfer, wt as MsgSend, x as MsgUnderwrite, xn as MsgLiquidatePosition, xt as MsgUpdateAdmin, y as MsgCreateInsuranceFund, yn as MsgReclaimLockedFunds, yt as MsgExecuteContract, z as ContractExecutionAuthorization, zt as MsgUpdateSubaccountMarketRiskModeV2 } from "./MsgSetDenomMetadata-snSM4b_f.js";
|
|
12
|
+
import { a as ChainGrpcAuthTransformer, c as OracleType, d as GrpcOrderTypeMap, f as OrderTypeMap, g as VoteOptionMap, h as ProposalStatusMap, i as ChainGrpcAuthApi, l as OracleTypeMap, m as ContractCodeHistoryOperationTypeMap, n as ChainRestAuthApi, o as ChainModule, p as BondStatus, r as ChainGrpcTendermintApi, s as PermissionActionMap, t as ChainRestTendermintApi, u as GrpcMarketStatusMap } from "./ChainRestTendermintApi-DGLg38SO.js";
|
|
13
13
|
import { t as StreamState } from "./stream-AVOxjM-h.js";
|
|
14
14
|
import "./BaseGrpcConsumer-lXuwo8W3.js";
|
|
15
|
-
import { A as
|
|
16
|
-
import { n as ChainGrpcExchangeTransformer, t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-
|
|
15
|
+
import { A as ChainGrpcPeggyTransformer, C as ChainGrpcDistributionTransformer, D as ChainGrpcAuctionTransformer, E as ChainGrpcStakingTransformer, F as ChainGrpcEvmTransformer, I as ChainGrpcGovTransformer, M as ChainGrpcWasmTransformer, N as ChainGrpcMintTransformer, O as ChainGrpcTxFeesTransformer, P as ChainGrpcBankTransformer, S as ChainGrpcTokenFactoryTransformer, T as ChainGrpcExchangeTransformerV2, _ as ChainGrpcBankApi, a as ChainGrpcDistributionApi, b as ChainGrpcGovApi, c as ChainGrpcStakingApi, d as ChainGrpcOracleApi, f as ChainGrpcErc20Api, g as ChainGrpcMintApi, h as ChainGrpcWasmApi, i as ChainGrpcTokenFactoryApi, j as ChainGrpcAuthZTransformer, k as ChainGrpcErc20Transformer, l as ChainGrpcAuctionApi, m as ChainGrpcAuthZApi, n as ChainRestBankApi, o as ChainGrpcPermissionsApi, p as ChainGrpcPeggyApi, r as ChainGrpcInsuranceFundApi, s as ChainGrpcExchangeApiV2, t as ChainRestWasmApi, u as ChainGrpcTxFeesApi, v as ChainGrpcEvmApi, w as ChainGrpcPermissionsTransformer, x as ChainGrpcInsuranceFundTransformer, y as ChainGrpcIbcApi } from "./chain-Bx2cRWCa.js";
|
|
16
|
+
import { n as ChainGrpcExchangeTransformer, t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-YNNZqhBt.js";
|
|
17
17
|
import { t as OLPGrpcApi } from "./OLPGrpcApi-BWaEvFIX.js";
|
|
18
18
|
import "./BaseIndexerGrpcConsumer-DIZk8nSX.js";
|
|
19
|
-
import { S as SwapQueryTransformer, _ as NEPTUNE_USDT_CW20_CONTRACT, a as QueryInjectiveAddress, b as QueryAllRoutes, c as InjNameServiceQueryTransformer, d as IncentivesQueryTransformer, f as NEPTUNE_PRICE_CONTRACT, g as NeptuneQueryTransformer, h as QueryGetPrices, i as QueryTradingStrategyContractConfig, l as QueryGetCampaigns, m as QueryGetAllLendingRates, n as QueryTradingStrategyContractUserStrategies, o as QueryResolverAddress, p as NeptuneService, r as QueryTradingStrategyContractAllStrategies, s as QueryInjName, t as QueryTradingStrategyContractTotalStrategies, u as QueryAllRounds, v as QueryOutputQuantity, x as QueryRoute, y as QueryInputQuantity } from "./QueryTradingStrategyContractTotalStrategies-
|
|
19
|
+
import { S as SwapQueryTransformer, _ as NEPTUNE_USDT_CW20_CONTRACT, a as QueryInjectiveAddress, b as QueryAllRoutes, c as InjNameServiceQueryTransformer, d as IncentivesQueryTransformer, f as NEPTUNE_PRICE_CONTRACT, g as NeptuneQueryTransformer, h as QueryGetPrices, i as QueryTradingStrategyContractConfig, l as QueryGetCampaigns, m as QueryGetAllLendingRates, n as QueryTradingStrategyContractUserStrategies, o as QueryResolverAddress, p as NeptuneService, r as QueryTradingStrategyContractAllStrategies, s as QueryInjName, t as QueryTradingStrategyContractTotalStrategies, u as QueryAllRounds, v as QueryOutputQuantity, x as QueryRoute, y as QueryInputQuantity } from "./QueryTradingStrategyContractTotalStrategies-C5T8K9t0.js";
|
|
20
20
|
import "./BaseRestConsumer-S2OhA510.js";
|
|
21
|
-
import { n as MsgExecuteContractCompat, r as ExecArgNeptuneDeposit, t as ExecArgNeptuneWithdraw } from "./ExecArgNeptuneWithdraw-
|
|
21
|
+
import { n as MsgExecuteContractCompat, r as ExecArgNeptuneDeposit, t as ExecArgNeptuneWithdraw } from "./ExecArgNeptuneWithdraw-CpaH5nlc.js";
|
|
22
22
|
import { t as AbacusGrpcApi } from "./AbacusGrpcApi-DXOGVAVs.js";
|
|
23
|
-
import { a as RedemptionStatus, c as ValidatorUptimeStatus, d as TransferType, f as MitoGaugeStatus, h as WsState, i as IndexerModule, l as GridStrategyType, m as WsDisconnectReason, n as IndexerGrpcTransactionApi, o as AccessType, p as GrpcDecodeError, s as AccessTypeCode, t as IndexerGrpcWeb3GwApi, u as MarketType } from "./IndexerGrpcWeb3GwApi-
|
|
24
|
-
import { $ as IndexerGrpcMetaApi, A as createStreamSubscription, At as IndexerGrpcMitoTransformer, B as IndexerGrpcDerivativesApi, C as IndexerGrpcArchiverStream, Ct as IndexerSpotStreamTransformer, D as IndexerGrpcOracleStream, Dt as IndexerGrpcRfqGwTransformer, E as IndexerGrpcAccountStream, Et as IndexerRfqStreamTransformer, F as IndexerRestExplorerApi, Ft as GrpcWebSocketCodec, G as IndexerGrpcCampaignApi, H as IndexerGrpcRfqPricerApi, I as IndexerGrpcInsuranceFundApi, J as IndexerGrpcAuctionApi, K as IndexerGrpcExplorerApi, L as IndexerGrpcTcDerivativesApi, M as IndexerRestDerivativesChronosApi, Mt as IndexerWsTakerStream, N as IndexerRestMarketChronosApi, Nt as IndexerGrpcRfqTransformer, O as IndexerGrpcMitoStream, Ot as IndexerCampaignTransformer, P as IndexerRestSpotChronosApi, Pt as GrpcWebSocketTransport, Q as IndexerGrpcSpotApi, R as IndexerGrpcWsPriceOracleApi, S as IndexerGrpcExplorerStream, St as IndexerGrpcAccountTransformer, T as IndexerGrpcAuctionStream, Tt as IndexerRfqPricerTransformer, U as IndexerGrpcReferralApi, V as IndexerGrpcMegaVaultApi, W as IndexerGrpcArchiverApi, X as IndexerGrpcOracleApi, Y as IndexerGrpcAccountApi, Z as IndexerGrpcRfqGwApi, _ as StreamManager, _t as IndexerOracleStreamTransformer, a as IndexerGrpcWsPriceOracleStreamV2, at as IndexerGrpcTcDerivativesTransformer, b as IndexerGrpcDerivativesStream, bt as IndexerGrpcArchiverTransformer, c as IndexerGrpcTradingStreamV2, ct as IndexerGrpcAccountPortfolioTransformer, d as IndexerGrpcOracleStreamV2, dt as ExplorerStreamTransformer, et as IndexerGrpcMitoApi, f as IndexerGrpcMitoStreamV2, ft as IndexerArchiverStreamTransformer, g as createStreamSubscriptionV2, gt as IndexerRestExplorerTransformer, h as IndexerGrpcRfqStreamV2, ht as IndexerAccountStreamTransformer, i as IndexerGrpcDerivativesStreamV2, it as IndexerWsPriceOracleStreamTransformer, j as IndexerRestLeaderboardChronosApi, jt as IndexerWsMakerStream, k as IndexerGrpcSpotStream, kt as IndexerGrpcSpotTransformer, l as IndexerGrpcAuctionStreamV2, lt as IndexerGrpcMitoStreamTransformer, m as IndexerGrpcRfqPricerStreamV2, mt as IndexerAuctionStreamTransformer, n as IndexerGrpcAccountPortfolioStreamV2, nt as IndexerAccountPortfolioStreamTransformer, o as IndexerGrpcExplorerStreamV2, ot as IndexerGrpcInsuranceFundTransformer, p as IndexerGrpcSpotStreamV2, pt as IndexerGrpcMegaVaultTransformer, q as IndexerGrpcTradingApi, r as IndexerGrpcTcDerivativesStreamV2, rt as IndexerTcDerivativesStreamTransformer, s as IndexerGrpcArchiverStreamV2, st as IndexerDerivativeStreamTransformer, t as StreamManagerV2, tt as IndexerGrpcRFQApi, u as IndexerGrpcAccountStreamV2, ut as IndexerGrpcDerivativeTransformer, v as StreamManagerCleanupError, vt as IndexerGrpcReferralTransformer, w as IndexerGrpcTradingStream, wt as IndexerGrpcOracleTransformer, x as IndexerGrpcWsPriceOracleStream, xt as IndexerGrpcAuctionTransformer, y as IndexerGrpcAccountPortfolioStream, yt as IndexerGrpcExplorerTransformer, z as IndexerGrpcAccountPortfolioApi } from "./StreamManagerV2-
|
|
23
|
+
import { a as RedemptionStatus, c as ValidatorUptimeStatus, d as TransferType, f as MitoGaugeStatus, h as WsState, i as IndexerModule, l as GridStrategyType, m as WsDisconnectReason, n as IndexerGrpcTransactionApi, o as AccessType, p as GrpcDecodeError, s as AccessTypeCode, t as IndexerGrpcWeb3GwApi, u as MarketType } from "./IndexerGrpcWeb3GwApi-BaQI4k4D.js";
|
|
24
|
+
import { $ as IndexerGrpcMetaApi, A as createStreamSubscription, At as IndexerGrpcMitoTransformer, B as IndexerGrpcDerivativesApi, C as IndexerGrpcArchiverStream, Ct as IndexerSpotStreamTransformer, D as IndexerGrpcOracleStream, Dt as IndexerGrpcRfqGwTransformer, E as IndexerGrpcAccountStream, Et as IndexerRfqStreamTransformer, F as IndexerRestExplorerApi, Ft as GrpcWebSocketCodec, G as IndexerGrpcCampaignApi, H as IndexerGrpcRfqPricerApi, I as IndexerGrpcInsuranceFundApi, J as IndexerGrpcAuctionApi, K as IndexerGrpcExplorerApi, L as IndexerGrpcTcDerivativesApi, M as IndexerRestDerivativesChronosApi, Mt as IndexerWsTakerStream, N as IndexerRestMarketChronosApi, Nt as IndexerGrpcRfqTransformer, O as IndexerGrpcMitoStream, Ot as IndexerCampaignTransformer, P as IndexerRestSpotChronosApi, Pt as GrpcWebSocketTransport, Q as IndexerGrpcSpotApi, R as IndexerGrpcWsPriceOracleApi, S as IndexerGrpcExplorerStream, St as IndexerGrpcAccountTransformer, T as IndexerGrpcAuctionStream, Tt as IndexerRfqPricerTransformer, U as IndexerGrpcReferralApi, V as IndexerGrpcMegaVaultApi, W as IndexerGrpcArchiverApi, X as IndexerGrpcOracleApi, Y as IndexerGrpcAccountApi, Z as IndexerGrpcRfqGwApi, _ as StreamManager, _t as IndexerOracleStreamTransformer, a as IndexerGrpcWsPriceOracleStreamV2, at as IndexerGrpcTcDerivativesTransformer, b as IndexerGrpcDerivativesStream, bt as IndexerGrpcArchiverTransformer, c as IndexerGrpcTradingStreamV2, ct as IndexerGrpcAccountPortfolioTransformer, d as IndexerGrpcOracleStreamV2, dt as ExplorerStreamTransformer, et as IndexerGrpcMitoApi, f as IndexerGrpcMitoStreamV2, ft as IndexerArchiverStreamTransformer, g as createStreamSubscriptionV2, gt as IndexerRestExplorerTransformer, h as IndexerGrpcRfqStreamV2, ht as IndexerAccountStreamTransformer, i as IndexerGrpcDerivativesStreamV2, it as IndexerWsPriceOracleStreamTransformer, j as IndexerRestLeaderboardChronosApi, jt as IndexerWsMakerStream, k as IndexerGrpcSpotStream, kt as IndexerGrpcSpotTransformer, l as IndexerGrpcAuctionStreamV2, lt as IndexerGrpcMitoStreamTransformer, m as IndexerGrpcRfqPricerStreamV2, mt as IndexerAuctionStreamTransformer, n as IndexerGrpcAccountPortfolioStreamV2, nt as IndexerAccountPortfolioStreamTransformer, o as IndexerGrpcExplorerStreamV2, ot as IndexerGrpcInsuranceFundTransformer, p as IndexerGrpcSpotStreamV2, pt as IndexerGrpcMegaVaultTransformer, q as IndexerGrpcTradingApi, r as IndexerGrpcTcDerivativesStreamV2, rt as IndexerTcDerivativesStreamTransformer, s as IndexerGrpcArchiverStreamV2, st as IndexerDerivativeStreamTransformer, t as StreamManagerV2, tt as IndexerGrpcRFQApi, u as IndexerGrpcAccountStreamV2, ut as IndexerGrpcDerivativeTransformer, v as StreamManagerCleanupError, vt as IndexerGrpcReferralTransformer, w as IndexerGrpcTradingStream, wt as IndexerGrpcOracleTransformer, x as IndexerGrpcWsPriceOracleStream, xt as IndexerGrpcAuctionTransformer, y as IndexerGrpcAccountPortfolioStream, yt as IndexerGrpcExplorerTransformer, z as IndexerGrpcAccountPortfolioApi } from "./StreamManagerV2-DayR_Wxb.js";
|
|
25
25
|
import { n as TokenSource, t as OrderMaskMap } from "./types-CD1KNXoO.js";
|
|
26
26
|
import { t as TcAbacusGrpcApi } from "./TcAbacusGrpcApi-B_VEUHPT.js";
|
|
27
27
|
import { i as ArchiverGrpcApi, n as SocialTradingGrpcApi, r as CompetitionGrpcApi, t as ChartsTradingViewGrpcApi } from "./ChartsTradingViewGrpcApi-Z5Lks-8c.js";
|
|
28
|
-
import { A as isTxNotFoundError, C as CosmosTxV1Beta1TxPb, D as SIGN_EIP712, E as SIGN_DIRECT, O as SIGN_EIP712_V2, S as getTxRawFromTxRawOrDirectSignResponse, T as SIGN_AMINO, _ as createTransactionAndCosmosSignDocForAddressAndMsg, a as BroadcastMode, b as createTransactionWithSigners, c as getTxObservationSignals, d as TxObservationAbortError, f as observeTx, g as createTransactionAndCosmosSignDoc, h as createTransaction, i as TxRestApi, k as errorToErrorMessage, l as normalizeTendermintWebSocketEndpoint, m as TxInclusionStrategy, n as generateArbitrarySignDoc, o as BroadcastModeKeplr, p as TxClientMode, r as waitTxBroadcasted, s as TxGrpcApi, t as MsgBroadcasterWithPk, u as subscribeToTendermintTxEvent, v as createTransactionForAddressAndMsg, w as TxClient, x as createTxRawFromSigResponse, y as createTransactionFromMsg } from "./tx-
|
|
28
|
+
import { A as isTxNotFoundError, C as CosmosTxV1Beta1TxPb, D as SIGN_EIP712, E as SIGN_DIRECT, O as SIGN_EIP712_V2, S as getTxRawFromTxRawOrDirectSignResponse, T as SIGN_AMINO, _ as createTransactionAndCosmosSignDocForAddressAndMsg, a as BroadcastMode, b as createTransactionWithSigners, c as getTxObservationSignals, d as TxObservationAbortError, f as observeTx, g as createTransactionAndCosmosSignDoc, h as createTransaction, i as TxRestApi, k as errorToErrorMessage, l as normalizeTendermintWebSocketEndpoint, m as TxInclusionStrategy, n as generateArbitrarySignDoc, o as BroadcastModeKeplr, p as TxClientMode, r as waitTxBroadcasted, s as TxGrpcApi, t as MsgBroadcasterWithPk, u as subscribeToTendermintTxEvent, v as createTransactionForAddressAndMsg, w as TxClient, x as createTxRawFromSigResponse, y as createTransactionFromMsg } from "./tx-COcI7kYx.js";
|
|
29
29
|
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./service-qIxvkxax.js";
|
|
30
30
|
import * as InjectiveTypesV1Beta1AccountPb from "@injectivelabs/core-proto-ts-v2/generated/injective/types/v1beta1/account_pb";
|
|
31
31
|
|
|
@@ -45,4 +45,4 @@ const accountEthParser = (ethAccount, pubKeyTypeUrl = "/injective.crypto.v1beta1
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
//#endregion
|
|
48
|
-
export { AbacusGrpcApi, AbortError, AccessType, AccessTypeCode, Address, ArchiverGrpcApi, BECH32_ADDR_ACC_PREFIX, BECH32_ADDR_CONS_PREFIX, BECH32_ADDR_VAL_PREFIX, BECH32_PUBKEY_ACC_PREFIX, BECH32_PUBKEY_CONS_PREFIX, BECH32_PUBKEY_VAL_PREFIX, BaseAccount, BondStatus, BroadcastMode, BroadcastModeKeplr, ChainGrpcAuctionApi, ChainGrpcAuctionTransformer, ChainGrpcAuthApi, ChainGrpcAuthTransformer, ChainGrpcAuthZApi, ChainGrpcAuthZTransformer, ChainGrpcBankApi, ChainGrpcBankTransformer, ChainGrpcCommonTransformer, ChainGrpcDistributionApi, ChainGrpcDistributionTransformer, ChainGrpcErc20Api, ChainGrpcErc20Transformer, ChainGrpcEvmApi, ChainGrpcEvmTransformer, ChainGrpcExchangeApi, ChainGrpcExchangeApiV2, ChainGrpcExchangeTransformer, ChainGrpcExchangeTransformerV2, ChainGrpcGovApi, ChainGrpcGovTransformer, ChainGrpcIbcApi, ChainGrpcInsuranceFundApi, ChainGrpcInsuranceFundTransformer, ChainGrpcMintApi, ChainGrpcMintTransformer, ChainGrpcOracleApi, ChainGrpcPeggyApi, ChainGrpcPeggyTransformer, ChainGrpcPermissionsApi, ChainGrpcPermissionsTransformer, ChainGrpcStakingApi, ChainGrpcStakingTransformer, ChainGrpcTendermintApi, ChainGrpcTokenFactoryApi, ChainGrpcTokenFactoryTransformer, ChainGrpcTxFeesApi, ChainGrpcTxFeesTransformer, ChainGrpcWasmApi, ChainGrpcWasmTransformer, ChainGrpcWasmXApi, ChainModule, ChainRestAuthApi, ChainRestBankApi, ChainRestTendermintApi, ChainRestWasmApi, ChartsTradingViewGrpcApi, CompetitionGrpcApi, ContractCodeHistoryOperationTypeMap, ContractExecutionAuthorization as ContractExecutionAuthz, ContractExecutionCompatAuthorization as ContractExecutionCompatAuthz, CosmosTxV1Beta1TxPb, DEFAULT_DERIVATION_PATH, OLPGrpcApi as DmmGrpcApi, OLPGrpcApi, ExecArgCW20AdapterRedeemAndTransfer, ExecArgCW20Send, ExecArgCW20Transfer, ExecArgCreateCampaign, ExecArgCreatePerpGridStrategy, ExecArgCreateRound, ExecArgCreateSpotGridStrategy, ExecArgDepositTokens, ExecArgFundCampaign, ExecArgIncreaseAllowance, ExecArgInitiateTransfer, ExecArgNeptuneDeposit, ExecArgNeptuneWithdraw, ExecArgRemoveGridStrategy, ExecArgSubmitVaa, ExecArgSwapExactOutput, ExecArgSwapMinOutput, ExecArgUpdateGridConfig, ExecPrivilegedArgOffChainVaultRedeem, ExecPrivilegedArgOffChainVaultSubscribe, ExecPrivilegedArgVaultRedeem, ExecPrivilegedArgVaultSubscribe, ExitType, ExplorerStreamTransformer, GenericAuthorization as GenericAuthz, GrantAuthorizationType, GridStrategyType, GrpcDecodeError, GrpcMarketStatusMap, GrpcOrderTypeMap, GrpcStatusCode, GrpcWebFetchTransport, GrpcWebSocketCodec, GrpcWebSocketTransport, IncentivesQueryTransformer, IndexerAccountPortfolioStreamTransformer, IndexerAccountStreamTransformer, IndexerArchiverStreamTransformer, IndexerAuctionStreamTransformer, IndexerCampaignTransformer, IndexerDerivativeStreamTransformer, IndexerGrpcAccountApi, IndexerGrpcAccountPortfolioApi, IndexerGrpcAccountPortfolioStream, IndexerGrpcAccountPortfolioStreamV2, IndexerGrpcAccountPortfolioTransformer, IndexerGrpcAccountStream, IndexerGrpcAccountStreamV2, IndexerGrpcAccountTransformer, IndexerGrpcArchiverApi, IndexerGrpcArchiverStream, IndexerGrpcArchiverStreamV2, IndexerGrpcArchiverTransformer, IndexerGrpcAuctionApi, IndexerGrpcAuctionStream, IndexerGrpcAuctionStreamV2, IndexerGrpcAuctionTransformer, IndexerGrpcCampaignApi, IndexerGrpcDerivativeTransformer, IndexerGrpcDerivativesApi, IndexerGrpcDerivativesStream, IndexerGrpcDerivativesStreamV2, IndexerGrpcExplorerApi, IndexerGrpcExplorerStream, IndexerGrpcExplorerStreamV2, IndexerGrpcExplorerTransformer, IndexerGrpcInsuranceFundApi, IndexerGrpcInsuranceFundTransformer, IndexerGrpcMegaVaultApi, IndexerGrpcMegaVaultTransformer, IndexerGrpcMetaApi, IndexerGrpcMitoApi, IndexerGrpcMitoStream, IndexerGrpcMitoStreamTransformer, IndexerGrpcMitoStreamV2, IndexerGrpcMitoTransformer, IndexerGrpcOracleApi, IndexerGrpcOracleStream, IndexerGrpcOracleStreamV2, IndexerGrpcOracleTransformer, IndexerGrpcRFQApi, IndexerGrpcReferralApi, IndexerGrpcReferralTransformer, IndexerGrpcRfqGwApi, IndexerGrpcRfqGwTransformer, IndexerGrpcRfqPricerApi, IndexerGrpcRfqPricerStreamV2, IndexerGrpcRfqStreamV2, IndexerGrpcRfqTransformer, IndexerGrpcSpotApi, IndexerGrpcSpotStream, IndexerGrpcSpotStreamV2, IndexerGrpcSpotTransformer, IndexerGrpcTcDerivativesApi, IndexerGrpcTcDerivativesStreamV2, IndexerGrpcTcDerivativesTransformer, IndexerGrpcTradingApi, IndexerGrpcTradingStream, IndexerGrpcTradingStreamV2, IndexerGrpcTransactionApi, IndexerGrpcWeb3GwApi, IndexerGrpcWsPriceOracleApi, IndexerGrpcWsPriceOracleStream, IndexerGrpcWsPriceOracleStreamV2, IndexerModule, IndexerOracleStreamTransformer, IndexerRestDerivativesChronosApi, IndexerRestExplorerApi, IndexerRestExplorerTransformer, IndexerRestLeaderboardChronosApi, IndexerRestMarketChronosApi, IndexerRestSpotChronosApi, IndexerRfqPricerTransformer, IndexerRfqStreamTransformer, IndexerSpotStreamTransformer, IndexerTcDerivativesStreamTransformer, IndexerWsMakerStream, IndexerWsPriceOracleStreamTransformer, IndexerWsTakerStream, InjNameServiceQueryTransformer, MarketType, MitoGaugeStatus, MsgActivatePostOnlyModeV2, MsgActivateStakeGrantV2, MsgAdminUpdateBinaryOptionsMarket, MsgAdminUpdateBinaryOptionsMarketV2, MsgAuthorizeStakeGrants, MsgAuthorizeStakeGrantsV2, MsgExec as MsgAuthzExec, MsgBatchCancelBinaryOptionsOrders, MsgBatchCancelBinaryOptionsOrdersV2, MsgBatchCancelDerivativeOrders, MsgBatchCancelDerivativeOrdersV2, MsgBatchCancelSpotOrders, MsgBatchCancelSpotOrdersV2, MsgBatchUpdateOrders, MsgBatchUpdateOrdersV2, MsgBeginRedelegate, MsgBid, MsgBroadcasterWithPk, 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, MsgCreateTokenPair, MsgCreateValidator, MsgDecoder, 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, 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, NEPTUNE_PRICE_CONTRACT, NEPTUNE_USDT_CW20_CONTRACT, NeptuneQueryTransformer, NeptuneService, OracleType, OracleTypeMap, OrderHashManager, OrderMaskMap, OrderSide, OrderState, OrderTypeMap, PermissionActionMap, PrivateKey, ProposalDecomposer, ProposalStatusMap, PublicKey, QueryAllRounds, QueryAllRoutes, QueryGetAllLendingRates, QueryGetCampaigns, QueryGetPrices, QueryInjName, QueryInjectiveAddress, QueryInputQuantity, QueryOutputQuantity, QueryResolverAddress, QueryRoute, QueryTradingStrategyContractAllStrategies, QueryTradingStrategyContractConfig, QueryTradingStrategyContractTotalStrategies, QueryTradingStrategyContractUserStrategies, RedemptionStatus, SIGN_AMINO, SIGN_DIRECT, SIGN_EIP712, SIGN_EIP712_V2, SignTypedDataVersionV4, SocialTradingGrpcApi, StrategyType, StreamDisconnectReason, StreamEvent, StreamManager, StreamManagerCleanupError, StreamManagerV2, StreamOperation, StreamState, SwapQueryTransformer, TcAbacusGrpcApi, TokenFactoryStatic, TokenPrice, TokenSource, TokenStaticFactory, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType, TransferType, TxClient, TxClientMode, TxGrpcApi, TxInclusionStrategy, TxObservationAbortError, TxRestApi, TypedDataUtilsHashStruct, TypedDataUtilsSanitizeData, ValidatorUptimeStatus, VoteOptionMap, WsDisconnectReason, WsState, accountEthParser, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, bigIntReplacer, bigIntToNumber, bigIntToString, binaryToBase64, bytesToHex, concatUint8Arrays, cosmosSdkDecToBigNumber, createAny, createAnyMessage, createAuthInfo, createBody, createFee, createNonCriticalExtensionFromObject, createSignDoc, createSignDocFromTransaction, createSignerInfo, createSigners, createStreamSubscription, createStreamSubscriptionV2, createTransaction, createTransactionAndCosmosSignDoc, createTransactionAndCosmosSignDocForAddressAndMsg, createTransactionForAddressAndMsg, createTransactionFromMsg, createTransactionWithSigners, createTxRawEIP712, createTxRawFromSigResponse, createWeb3Extension, decompressPubKey, denomAmountFromChainDenomAmount, denomAmountFromChainDenomAmountToFixed, denomAmountFromGrpcChainDenomAmount, denomAmountToChainDenomAmount, denomAmountToChainDenomAmountToFixed, denomAmountToGrpcChainDenomAmount, derivativeMarginFromChainMargin, derivativeMarginFromChainMarginToFixed, derivativeMarginToChainMargin, derivativeMarginToChainMarginToFixed, derivativePriceFromChainPrice, derivativePriceFromChainPriceToFixed, derivativePriceToChainPrice, derivativePriceToChainPriceToFixed, derivativeQuantityFromChainQuantity, derivativeQuantityFromChainQuantityToFixed, derivativeQuantityToChainQuantity, derivativeQuantityToChainQuantityToFixed, domainHash, errorToErrorMessage, fetchAllWithPagination, fetchAllWithTokenPagination, formatAmountToAllowableAmount, formatAmountToAllowableDecimals, formatNumberToAllowableDecimals, formatNumberToAllowableTensMultiplier, formatPriceToAllowableDecimals, formatPriceToAllowablePrice, fromBase64, fromUtf8, generateArbitrarySignDoc, getAddressFromInjectiveAddress, getAminoStdSignDoc, getChecksumAddress, getDefaultEip712Types, getDefaultEip712TypesV2, getDefaultSubaccountId, getDerivativeMarketDecimals, getDerivativeMarketTensMultiplier, getEip712Domain, getEip712DomainV2, getEip712Fee, getEip712FeeV2, getEip712TypedData, getEip712TypedDataV2, getEipTxContext, getEipTxDetails, getErrorMessage, getEthereumAddress, getEthereumSignerAddress, getExactDecimalsFromNumber, getFixedGasLimitBasedOnMessage, getGasOptionsBasedOnMessage, getGasPriceBasedOnMessage, getGenericAuthorizationFromMessageType, getGrpcWebTransport, getInjectiveAddress, getInjectiveAddressFromSubaccountId, getInjectiveSignerAddress, getObjectEip712PropertyType, getPublicKey, getSignificantDecimalsFromNumber, getSpotMarketDecimals, getSpotMarketTensMultiplier, getSubaccountId, getTensMultiplier, getTransactionPartsFromTxRaw, getTxObservationSignals, getTxRawFromTxRawOrDirectSignResponse, getTypesIncludingFeeOptions, grpcCoinToUiCoin, grpcPaginationToPagination, grpcPagingToPaging, grpcPagingToPagingV2, hashToHex, hexToBase64, hexToBuff, hexToBytes, hexToNumber, hexToUint8Array, isAbortError, isBrowser, isCw20ContractAddress, isJsonString, isNode, isNumber, isReactNative, isServerSide, isTxNotFoundError, makeTimeoutTimestamp, makeTimeoutTimestampInNs, messageHash, msgsOrMsgExecMsgs, normalizeTendermintWebSocketEndpoint, numberToCosmosSdkDecString, numberTypeToReflectionNumberType, objectKeysToEip712Types, objectToJson, observeTx, ofacList, pageRequestToGrpcPageRequestV2, paginationRequestFromPagination, paginationUint8ArrayToString, parseCoins, patchOrderTypesWithExpirationBlock, privateKeyHashToPublicKey, privateKeyHashToPublicKeyBase64, privateKeyToPublicKey, privateKeyToPublicKeyBase64, protoObjectToJson, protoTypeToAminoType, protobufTimestampToDate, protobufTimestampToUnixMs, protobufTimestampToUnixSeconds, publicKeyToAddress, recoverTypedSignaturePubKey, removeHexPrefix, ripemd160, safeBigIntStringify, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, stringTypeToReflectionStringType, subscribeToTendermintTxEvent, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString, waitTxBroadcasted };
|
|
48
|
+
export { AbacusGrpcApi, AbortError, AccessType, AccessTypeCode, Address, ArchiverGrpcApi, BECH32_ADDR_ACC_PREFIX, BECH32_ADDR_CONS_PREFIX, BECH32_ADDR_VAL_PREFIX, BECH32_PUBKEY_ACC_PREFIX, BECH32_PUBKEY_CONS_PREFIX, BECH32_PUBKEY_VAL_PREFIX, BaseAccount, BondStatus, BroadcastMode, BroadcastModeKeplr, ChainGrpcAuctionApi, ChainGrpcAuctionTransformer, ChainGrpcAuthApi, ChainGrpcAuthTransformer, ChainGrpcAuthZApi, ChainGrpcAuthZTransformer, ChainGrpcBankApi, ChainGrpcBankTransformer, ChainGrpcCommonTransformer, ChainGrpcDistributionApi, ChainGrpcDistributionTransformer, ChainGrpcErc20Api, ChainGrpcErc20Transformer, ChainGrpcEvmApi, ChainGrpcEvmTransformer, ChainGrpcExchangeApi, ChainGrpcExchangeApiV2, ChainGrpcExchangeTransformer, ChainGrpcExchangeTransformerV2, ChainGrpcGovApi, ChainGrpcGovTransformer, ChainGrpcIbcApi, ChainGrpcInsuranceFundApi, ChainGrpcInsuranceFundTransformer, ChainGrpcMintApi, ChainGrpcMintTransformer, ChainGrpcOracleApi, ChainGrpcPeggyApi, ChainGrpcPeggyTransformer, ChainGrpcPermissionsApi, ChainGrpcPermissionsTransformer, ChainGrpcStakingApi, ChainGrpcStakingTransformer, ChainGrpcTendermintApi, ChainGrpcTokenFactoryApi, ChainGrpcTokenFactoryTransformer, ChainGrpcTxFeesApi, ChainGrpcTxFeesTransformer, ChainGrpcWasmApi, ChainGrpcWasmTransformer, ChainModule, ChainRestAuthApi, ChainRestBankApi, ChainRestTendermintApi, ChainRestWasmApi, ChartsTradingViewGrpcApi, CompetitionGrpcApi, ContractCodeHistoryOperationTypeMap, ContractExecutionAuthorization as ContractExecutionAuthz, ContractExecutionCompatAuthorization as ContractExecutionCompatAuthz, CosmosTxV1Beta1TxPb, DEFAULT_DERIVATION_PATH, OLPGrpcApi as DmmGrpcApi, OLPGrpcApi, ExecArgCW20AdapterRedeemAndTransfer, ExecArgCW20Send, ExecArgCW20Transfer, ExecArgCreateCampaign, ExecArgCreatePerpGridStrategy, ExecArgCreateRound, ExecArgCreateSpotGridStrategy, ExecArgDepositTokens, ExecArgFundCampaign, ExecArgIncreaseAllowance, ExecArgInitiateTransfer, ExecArgNeptuneDeposit, ExecArgNeptuneWithdraw, ExecArgRemoveGridStrategy, ExecArgSubmitVaa, ExecArgSwapExactOutput, ExecArgSwapMinOutput, ExecArgUpdateGridConfig, ExecPrivilegedArgOffChainVaultRedeem, ExecPrivilegedArgOffChainVaultSubscribe, ExecPrivilegedArgVaultRedeem, ExecPrivilegedArgVaultSubscribe, ExitType, ExplorerStreamTransformer, GenericAuthorization as GenericAuthz, GrantAuthorizationType, GridStrategyType, GrpcDecodeError, GrpcMarketStatusMap, GrpcOrderTypeMap, GrpcStatusCode, GrpcWebFetchTransport, GrpcWebSocketCodec, GrpcWebSocketTransport, IncentivesQueryTransformer, IndexerAccountPortfolioStreamTransformer, IndexerAccountStreamTransformer, IndexerArchiverStreamTransformer, IndexerAuctionStreamTransformer, IndexerCampaignTransformer, IndexerDerivativeStreamTransformer, IndexerGrpcAccountApi, IndexerGrpcAccountPortfolioApi, IndexerGrpcAccountPortfolioStream, IndexerGrpcAccountPortfolioStreamV2, IndexerGrpcAccountPortfolioTransformer, IndexerGrpcAccountStream, IndexerGrpcAccountStreamV2, IndexerGrpcAccountTransformer, IndexerGrpcArchiverApi, IndexerGrpcArchiverStream, IndexerGrpcArchiverStreamV2, IndexerGrpcArchiverTransformer, IndexerGrpcAuctionApi, IndexerGrpcAuctionStream, IndexerGrpcAuctionStreamV2, IndexerGrpcAuctionTransformer, IndexerGrpcCampaignApi, IndexerGrpcDerivativeTransformer, IndexerGrpcDerivativesApi, IndexerGrpcDerivativesStream, IndexerGrpcDerivativesStreamV2, IndexerGrpcExplorerApi, IndexerGrpcExplorerStream, IndexerGrpcExplorerStreamV2, IndexerGrpcExplorerTransformer, IndexerGrpcInsuranceFundApi, IndexerGrpcInsuranceFundTransformer, IndexerGrpcMegaVaultApi, IndexerGrpcMegaVaultTransformer, IndexerGrpcMetaApi, IndexerGrpcMitoApi, IndexerGrpcMitoStream, IndexerGrpcMitoStreamTransformer, IndexerGrpcMitoStreamV2, IndexerGrpcMitoTransformer, IndexerGrpcOracleApi, IndexerGrpcOracleStream, IndexerGrpcOracleStreamV2, IndexerGrpcOracleTransformer, IndexerGrpcRFQApi, IndexerGrpcReferralApi, IndexerGrpcReferralTransformer, IndexerGrpcRfqGwApi, IndexerGrpcRfqGwTransformer, IndexerGrpcRfqPricerApi, IndexerGrpcRfqPricerStreamV2, IndexerGrpcRfqStreamV2, IndexerGrpcRfqTransformer, IndexerGrpcSpotApi, IndexerGrpcSpotStream, IndexerGrpcSpotStreamV2, IndexerGrpcSpotTransformer, IndexerGrpcTcDerivativesApi, IndexerGrpcTcDerivativesStreamV2, IndexerGrpcTcDerivativesTransformer, IndexerGrpcTradingApi, IndexerGrpcTradingStream, IndexerGrpcTradingStreamV2, IndexerGrpcTransactionApi, IndexerGrpcWeb3GwApi, IndexerGrpcWsPriceOracleApi, IndexerGrpcWsPriceOracleStream, IndexerGrpcWsPriceOracleStreamV2, IndexerModule, IndexerOracleStreamTransformer, IndexerRestDerivativesChronosApi, IndexerRestExplorerApi, IndexerRestExplorerTransformer, IndexerRestLeaderboardChronosApi, IndexerRestMarketChronosApi, IndexerRestSpotChronosApi, IndexerRfqPricerTransformer, IndexerRfqStreamTransformer, IndexerSpotStreamTransformer, IndexerTcDerivativesStreamTransformer, IndexerWsMakerStream, IndexerWsPriceOracleStreamTransformer, IndexerWsTakerStream, InjNameServiceQueryTransformer, MarketType, MitoGaugeStatus, MsgActivatePostOnlyModeV2, MsgActivateStakeGrantV2, MsgAuthorizeStakeGrants, MsgAuthorizeStakeGrantsV2, MsgExec as MsgAuthzExec, MsgBatchCancelDerivativeOrders, MsgBatchCancelDerivativeOrdersV2, MsgBatchCancelSpotOrders, MsgBatchCancelSpotOrdersV2, MsgBatchUpdateOrders, MsgBatchUpdateOrdersV2, MsgBeginRedelegate, MsgBid, MsgBroadcasterWithPk, MsgBurn, MsgCancelDerivativeOrder, MsgCancelDerivativeOrderV2, MsgCancelPostOnlyModeV2, MsgCancelSpotOrder, MsgCancelSpotOrderV2, MsgCancelUnbondingDelegation, MsgChangeAdmin, MsgClaimVoucher, MsgCreateConsolidatedInsurancePool, MsgCreateDenom, MsgCreateDerivativeLimitOrder, MsgCreateDerivativeLimitOrderV2, MsgCreateDerivativeMarketOrder, MsgCreateDerivativeMarketOrderV2, MsgCreateInsuranceFund, MsgCreateNamespace, MsgCreateRateLimit, MsgCreateSpotLimitOrder, MsgCreateSpotLimitOrderV2, MsgCreateSpotMarketOrder, MsgCreateSpotMarketOrderV2, MsgCreateTokenPair, MsgCreateValidator, MsgDecoder, MsgDecreasePositionMargin, MsgDecreasePositionMarginV2, MsgDelegate, MsgDeposit, MsgDepositV2, MsgEditValidator, MsgExecuteContract, MsgExecuteContractCompat, MsgExternalTransfer, MsgExternalTransferV2, MsgFundCommunityPool, MsgDeposit$1 as MsgGovDeposit, MsgGrant, MsgGrantAllowance, MsgGrantProviderPrivilegeProposal, MsgGrantWithAuthorization, MsgIncreasePositionMargin, MsgIncreasePositionMarginV2, MsgInstantSpotMarketLaunch, MsgInstantSpotMarketLaunchV2, MsgInstantiateContract, MsgLiquidateCrossMarginPoolV2, MsgLiquidatePosition, MsgLiquidatePositionV2, MsgMigrateContract, MsgMint, MsgMultiSend, MsgOffsetPositionV2, MsgPrivilegedExecuteContract, MsgReclaimLockedFunds, MsgReclaimLockedFundsV2, MsgRelayProviderPrices, MsgRemoveRateLimit, MsgRequestConsolidatedRedemption, MsgRequestRedemption, MsgRevoke, MsgRevokeAllowance, MsgSend, MsgSendToEth, MsgSetConsolidatedInsurancePoolPause, MsgSetDelegationTransferReceiversV2, MsgSetDenomMetadata, MsgSignData, MsgSignDataV2, MsgStoreCode, MsgSubaccountTransferV2, MsgSubmitGenericProposal, MsgSubmitProposalExpiryFuturesMarketLaunch, MsgSubmitProposalPerpetualMarketLaunch, MsgSubmitProposalPerpetualMarketLaunchV2, MsgSubmitProposalSpotMarketLaunch, MsgSubmitProposalSpotMarketParamUpdate, MsgSubmitTextProposal, MsgTransfer, MsgTransferDelegation, MsgUndelegate, MsgUnderwrite, MsgUnderwriteConsolidatedInsurancePool, MsgUpdateActorRoles, MsgUpdateAdmin, MsgUpdateConsolidatedInsurancePolicy, MsgUpdateDerivativeMarketV2, MsgUpdateInstantiateConfig, MsgUpdateNamespace, MsgUpdateParams, MsgUpdateRateLimit, MsgUpdateSpotMarketV2, MsgUpdateSubaccountMarketRiskModeV2, MsgUpdateSubaccountRiskProfileV2, MsgUpdateSwapParamsV2, MsgVote, MsgWithdraw, MsgWithdrawDelegatorReward, MsgWithdrawV2, MsgWithdrawValidatorCommission, NEPTUNE_PRICE_CONTRACT, NEPTUNE_USDT_CW20_CONTRACT, NeptuneQueryTransformer, NeptuneService, OracleType, OracleTypeMap, OrderHashManager, OrderMaskMap, OrderSide, OrderState, OrderTypeMap, PermissionActionMap, PrivateKey, ProposalDecomposer, ProposalStatusMap, PublicKey, QueryAllRounds, QueryAllRoutes, QueryGetAllLendingRates, QueryGetCampaigns, QueryGetPrices, QueryInjName, QueryInjectiveAddress, QueryInputQuantity, QueryOutputQuantity, QueryResolverAddress, QueryRoute, QueryTradingStrategyContractAllStrategies, QueryTradingStrategyContractConfig, QueryTradingStrategyContractTotalStrategies, QueryTradingStrategyContractUserStrategies, RedemptionStatus, SIGN_AMINO, SIGN_DIRECT, SIGN_EIP712, SIGN_EIP712_V2, SignTypedDataVersionV4, SocialTradingGrpcApi, StrategyType, StreamDisconnectReason, StreamEvent, StreamManager, StreamManagerCleanupError, StreamManagerV2, StreamOperation, StreamState, SwapQueryTransformer, TcAbacusGrpcApi, TokenFactoryStatic, TokenPrice, TokenSource, TokenStaticFactory, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType, TransferType, TxClient, TxClientMode, TxGrpcApi, TxInclusionStrategy, TxObservationAbortError, TxRestApi, TypedDataUtilsHashStruct, TypedDataUtilsSanitizeData, ValidatorUptimeStatus, VoteOptionMap, WsDisconnectReason, WsState, accountEthParser, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, bigIntReplacer, bigIntToNumber, bigIntToString, binaryToBase64, bytesToHex, concatUint8Arrays, cosmosSdkDecToBigNumber, createAny, createAnyMessage, createAuthInfo, createBody, createFee, createNonCriticalExtensionFromObject, createSignDoc, createSignDocFromTransaction, createSignerInfo, createSigners, createStreamSubscription, createStreamSubscriptionV2, createTransaction, createTransactionAndCosmosSignDoc, createTransactionAndCosmosSignDocForAddressAndMsg, createTransactionForAddressAndMsg, createTransactionFromMsg, createTransactionWithSigners, createTxRawEIP712, createTxRawFromSigResponse, createWeb3Extension, decompressPubKey, denomAmountFromChainDenomAmount, denomAmountFromChainDenomAmountToFixed, denomAmountFromGrpcChainDenomAmount, denomAmountToChainDenomAmount, denomAmountToChainDenomAmountToFixed, denomAmountToGrpcChainDenomAmount, derivativeMarginFromChainMargin, derivativeMarginFromChainMarginToFixed, derivativeMarginToChainMargin, derivativeMarginToChainMarginToFixed, derivativePriceFromChainPrice, derivativePriceFromChainPriceToFixed, derivativePriceToChainPrice, derivativePriceToChainPriceToFixed, derivativeQuantityFromChainQuantity, derivativeQuantityFromChainQuantityToFixed, derivativeQuantityToChainQuantity, derivativeQuantityToChainQuantityToFixed, domainHash, errorToErrorMessage, fetchAllWithPagination, fetchAllWithTokenPagination, formatAmountToAllowableAmount, formatAmountToAllowableDecimals, formatNumberToAllowableDecimals, formatNumberToAllowableTensMultiplier, formatPriceToAllowableDecimals, formatPriceToAllowablePrice, fromBase64, fromUtf8, generateArbitrarySignDoc, getAddressFromInjectiveAddress, getAminoStdSignDoc, getChecksumAddress, getDefaultEip712Types, getDefaultEip712TypesV2, getDefaultSubaccountId, getDerivativeMarketDecimals, getDerivativeMarketTensMultiplier, getEip712Domain, getEip712DomainV2, getEip712Fee, getEip712FeeV2, getEip712TypedData, getEip712TypedDataV2, getEipTxContext, getEipTxDetails, getErrorMessage, getEthereumAddress, getEthereumSignerAddress, getExactDecimalsFromNumber, getFixedGasLimitBasedOnMessage, getGasOptionsBasedOnMessage, getGasPriceBasedOnMessage, getGenericAuthorizationFromMessageType, getGrpcWebTransport, getInjectiveAddress, getInjectiveAddressFromSubaccountId, getInjectiveSignerAddress, getObjectEip712PropertyType, getPublicKey, getSignificantDecimalsFromNumber, getSpotMarketDecimals, getSpotMarketTensMultiplier, getSubaccountId, getTensMultiplier, getTransactionPartsFromTxRaw, getTxObservationSignals, getTxRawFromTxRawOrDirectSignResponse, getTypesIncludingFeeOptions, graftEip712Types, grpcCoinToUiCoin, grpcPaginationToPagination, grpcPagingToPaging, grpcPagingToPagingV2, hashToHex, hexToBase64, hexToBuff, hexToBytes, hexToNumber, hexToUint8Array, isAbortError, isBrowser, isCw20ContractAddress, isJsonString, isNode, isNumber, isReactNative, isServerSide, isTxNotFoundError, makeTimeoutTimestamp, makeTimeoutTimestampInNs, messageHash, msgsOrMsgExecMsgs, normalizeTendermintWebSocketEndpoint, numberToCosmosSdkDecString, numberTypeToReflectionNumberType, objectKeysToEip712Types, objectToJson, observeTx, ofacList, pageRequestToGrpcPageRequestV2, paginationRequestFromPagination, paginationUint8ArrayToString, parseCoins, patchOrderTypesWithExpirationBlock, privateKeyHashToPublicKey, privateKeyHashToPublicKeyBase64, privateKeyToPublicKey, privateKeyToPublicKeyBase64, protoObjectToJson, protoTypeToAminoType, protobufTimestampToDate, protobufTimestampToUnixMs, protobufTimestampToUnixSeconds, publicKeyToAddress, recoverTypedSignaturePubKey, removeHexPrefix, ripemd160, safeBigIntStringify, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, stringTypeToReflectionStringType, subscribeToTendermintTxEvent, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString, waitTxBroadcasted };
|
|
@@ -138,7 +138,9 @@ declare const OracleTypeMap: {
|
|
|
138
138
|
readonly 15: "SedaFast";
|
|
139
139
|
readonly Unspecified: 0;
|
|
140
140
|
readonly Band: 1;
|
|
141
|
+
/** @deprecated Removed in core v1.21; retained for historical decoding. */
|
|
141
142
|
readonly PriceFeed: 2;
|
|
143
|
+
/** @deprecated Removed in core v1.21; retained for historical decoding. */
|
|
142
144
|
readonly Coinbase: 3;
|
|
143
145
|
readonly Chainlink: 4;
|
|
144
146
|
readonly Razor: 5;
|
|
@@ -148,6 +150,7 @@ declare const OracleTypeMap: {
|
|
|
148
150
|
readonly Pyth: 9;
|
|
149
151
|
readonly BandIBC: 10;
|
|
150
152
|
readonly Provider: 11;
|
|
153
|
+
/** @deprecated Removed in core v1.21; retained for historical decoding. */
|
|
151
154
|
readonly Stork: 12;
|
|
152
155
|
readonly ChainlinkDataStreams: 13;
|
|
153
156
|
readonly PythPro: 14;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as tx_pb_d_exports } from "../tx_pb-
|
|
1
|
+
import { c as tx_pb_d_exports } from "../tx_pb-pR8s8ZkE.js";
|
|
2
2
|
export { tx_pb_d_exports as CosmosTxV1Beta1TxPb };
|
package/dist/esm/service.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./light-
|
|
4
|
-
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./index-
|
|
1
|
+
import "./tx_pb-pR8s8ZkE.js";
|
|
2
|
+
import "./index-DjAbTs6N.js";
|
|
3
|
+
import "./light-cJI0PSqu.js";
|
|
4
|
+
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./index-SCzTXWme.js";
|
|
5
5
|
export { TokenFactoryStatic, TokenPrice, TokenStaticFactory };
|
package/dist/esm/service.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./encoding-light-BpntDob-.js";
|
|
2
2
|
import "./constants-J9ftgKqC.js";
|
|
3
3
|
import "./defineProperty-BwBXXd7t.js";
|
|
4
|
-
import "./utils-
|
|
4
|
+
import "./utils-Bprop_i9.js";
|
|
5
5
|
import "./light-BUFhVek8.js";
|
|
6
6
|
import "./grpc-CSo1TcHx.js";
|
|
7
7
|
import "./coins-DTdsvmX2.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { f as toUtf8, m as uint8ArrayToHex, p as uint8ArrayToBase64, t as base64ToUint8Array, u as stringToUint8Array } from "./encoding-light-BpntDob-.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-BwBXXd7t.js";
|
|
3
|
-
import { S as createSignDoc, T as createSigners, b as createFee, n as PrivateKey, t as BaseAccount, v as createAuthInfo, y as createBody } from "./accounts-
|
|
4
|
-
import { It as getGasOptionsBasedOnMessage, Mt as sortObjectByKeys, Pt as ofacList, ct as hashToHex, xt as getErrorMessage } from "./utils-
|
|
5
|
-
import { i as ChainGrpcAuthApi, n as ChainRestAuthApi, r as ChainGrpcTendermintApi, t as ChainRestTendermintApi } from "./ChainRestTendermintApi-
|
|
3
|
+
import { S as createSignDoc, T as createSigners, b as createFee, n as PrivateKey, t as BaseAccount, v as createAuthInfo, y as createBody } from "./accounts-BNTm8lj5.js";
|
|
4
|
+
import { It as getGasOptionsBasedOnMessage, Mt as sortObjectByKeys, Pt as ofacList, ct as hashToHex, xt as getErrorMessage } from "./utils-Bprop_i9.js";
|
|
5
|
+
import { i as ChainGrpcAuthApi, n as ChainRestAuthApi, r as ChainGrpcTendermintApi, t as ChainRestTendermintApi } from "./ChainRestTendermintApi-DGLg38SO.js";
|
|
6
6
|
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-lXuwo8W3.js";
|
|
7
|
-
import { r as closeWebSocketSafely, t as IndexerGrpcWeb3GwApi } from "./IndexerGrpcWeb3GwApi-
|
|
7
|
+
import { r as closeWebSocketSafely, t as IndexerGrpcWeb3GwApi } from "./IndexerGrpcWeb3GwApi-BaQI4k4D.js";
|
|
8
8
|
import * as CosmosTxV1Beta1TxPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb";
|
|
9
9
|
import { keccak256 } from "viem";
|
|
10
10
|
import { AbortError, DEFAULT_BLOCK_TIMEOUT_HEIGHT, DEFAULT_BLOCK_TIME_IN_SECONDS, DEFAULT_TX_BLOCK_INCLUSION_TIMEOUT_IN_MS, DEFAULT_TX_POLL_CALL_TIMEOUT_MS, DEFAULT_TX_POLL_INTERVAL_MS, HttpClient, abortableSleep, combineAbortSignals, createAbortError, getDefaultStdFee, getStdFee, getStdFeeFromString, isAbortError, raceWithAbort, throwIfAborted, toBigNumber } from "@injectivelabs/utils";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#endregion
|
|
2
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.21.0-alpha.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/cosmos/base/v1beta1/coin_pb.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Coin defines a token with a denomination and an amount.
|
|
5
5
|
*
|
|
@@ -45,7 +45,7 @@ declare const Coin = new Coin$Type();
|
|
|
45
45
|
*/
|
|
46
46
|
declare const DecCoin = new DecCoin$Type();
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.
|
|
48
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.21.0-alpha.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/cosmos/crypto/multisig/v1beta1/multisig_pb.d.ts
|
|
49
49
|
/**
|
|
50
50
|
* CompactBitArray is an implementation of a space efficient bit array.
|
|
51
51
|
* This is used to ensure that the encoded data takes up a minimal amount of
|
|
@@ -69,135 +69,79 @@ interface CompactBitArray {
|
|
|
69
69
|
*/
|
|
70
70
|
declare const CompactBitArray = new CompactBitArray$Type();
|
|
71
71
|
//#endregion
|
|
72
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.
|
|
72
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.21.0-alpha.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/google/protobuf/any_pb.d.ts
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
76
76
|
* URL that describes the type of the serialized message.
|
|
77
77
|
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
78
|
+
* In its binary encoding, an `Any` is an ordinary message; but in other wire
|
|
79
|
+
* forms like JSON, it has a special encoding. The format of the type URL is
|
|
80
|
+
* described on the `type_url` field.
|
|
80
81
|
*
|
|
81
|
-
*
|
|
82
|
+
* Protobuf APIs provide utilities to interact with `Any` values:
|
|
82
83
|
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
84
|
+
* - A 'pack' operation accepts a message and constructs a generic `Any` wrapper
|
|
85
|
+
* around it.
|
|
86
|
+
* - An 'unpack' operation reads the content of an `Any` message, either into an
|
|
87
|
+
* existing message or a new one. Unpack operations must check the type of the
|
|
88
|
+
* value they unpack against the declared `type_url`.
|
|
89
|
+
* - An 'is' operation decides whether an `Any` contains a message of the given
|
|
90
|
+
* type, i.e. whether it can 'unpack' that type.
|
|
90
91
|
*
|
|
91
|
-
*
|
|
92
|
+
* The JSON format representation of an `Any` follows one of these cases:
|
|
92
93
|
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
* if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
|
101
|
-
* foo = any.unpack(Foo.getDefaultInstance());
|
|
102
|
-
* }
|
|
103
|
-
*
|
|
104
|
-
* Example 3: Pack and unpack a message in Python.
|
|
105
|
-
*
|
|
106
|
-
* foo = Foo(...)
|
|
107
|
-
* any = Any()
|
|
108
|
-
* any.Pack(foo)
|
|
109
|
-
* ...
|
|
110
|
-
* if any.Is(Foo.DESCRIPTOR):
|
|
111
|
-
* any.Unpack(foo)
|
|
112
|
-
* ...
|
|
113
|
-
*
|
|
114
|
-
* Example 4: Pack and unpack a message in Go
|
|
115
|
-
*
|
|
116
|
-
* foo := &pb.Foo{...}
|
|
117
|
-
* any, err := anypb.New(foo)
|
|
118
|
-
* if err != nil {
|
|
119
|
-
* ...
|
|
120
|
-
* }
|
|
121
|
-
* ...
|
|
122
|
-
* foo := &pb.Foo{}
|
|
123
|
-
* if err := any.UnmarshalTo(foo); err != nil {
|
|
124
|
-
* ...
|
|
125
|
-
* }
|
|
126
|
-
*
|
|
127
|
-
* The pack methods provided by protobuf library will by default use
|
|
128
|
-
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
129
|
-
* methods only use the fully qualified type name after the last '/'
|
|
130
|
-
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
131
|
-
* name "y.z".
|
|
132
|
-
*
|
|
133
|
-
* JSON
|
|
134
|
-
* ====
|
|
135
|
-
* The JSON representation of an `Any` value uses the regular
|
|
136
|
-
* representation of the deserialized, embedded message, with an
|
|
137
|
-
* additional field `@type` which contains the type URL. Example:
|
|
138
|
-
*
|
|
139
|
-
* package google.profile;
|
|
140
|
-
* message Person {
|
|
141
|
-
* string first_name = 1;
|
|
142
|
-
* string last_name = 2;
|
|
143
|
-
* }
|
|
144
|
-
*
|
|
145
|
-
* {
|
|
146
|
-
* "@type": "type.googleapis.com/google.profile.Person",
|
|
147
|
-
* "firstName": <string>,
|
|
148
|
-
* "lastName": <string>
|
|
149
|
-
* }
|
|
150
|
-
*
|
|
151
|
-
* If the embedded message type is well-known and has a custom JSON
|
|
152
|
-
* representation, that representation will be embedded adding a field
|
|
153
|
-
* `value` which holds the custom JSON in addition to the `@type`
|
|
154
|
-
* field. Example (for message [google.protobuf.Duration][]):
|
|
155
|
-
*
|
|
156
|
-
* {
|
|
157
|
-
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
158
|
-
* "value": "1.212s"
|
|
159
|
-
* }
|
|
94
|
+
* - For types without special-cased JSON encodings, the JSON format
|
|
95
|
+
* representation of the `Any` is the same as that of the message, with an
|
|
96
|
+
* additional `@type` field which contains the type URL.
|
|
97
|
+
* - For types with special-cased JSON encodings (typically called 'well-known'
|
|
98
|
+
* types, listed in https://protobuf.dev/programming-guides/json/#any), the
|
|
99
|
+
* JSON format representation has a key `@type` which contains the type URL
|
|
100
|
+
* and a key `value` which contains the JSON-serialized value.
|
|
160
101
|
*
|
|
102
|
+
* The text format representation of an `Any` is like a message with one field
|
|
103
|
+
* whose name is the type URL in brackets. For example, an `Any` containing a
|
|
104
|
+
* `foo.Bar` message may be written `[type.googleapis.com/foo.Bar] { a: 2 }`.
|
|
161
105
|
*
|
|
162
106
|
* @generated from protobuf message google.protobuf.Any
|
|
163
107
|
*/
|
|
164
108
|
interface Any {
|
|
165
109
|
/**
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
* one "/" character. The last segment of the URL's path must represent
|
|
169
|
-
* the fully qualified name of the type (as in
|
|
170
|
-
* `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
171
|
-
* (e.g., leading "." is not accepted).
|
|
110
|
+
* Identifies the type of the serialized Protobuf message with a URI reference
|
|
111
|
+
* consisting of a prefix ending in a slash and the fully-qualified type name.
|
|
172
112
|
*
|
|
173
|
-
*
|
|
174
|
-
* expect it to use in the context of Any. However, for URLs which use the
|
|
175
|
-
* scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
176
|
-
* server that maps type URLs to message definitions as follows:
|
|
113
|
+
* Example: type.googleapis.com/google.protobuf.StringValue
|
|
177
114
|
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* URL, or have them precompiled into a binary to avoid any
|
|
183
|
-
* lookup. Therefore, binary compatibility needs to be preserved
|
|
184
|
-
* on changes to types. (Use versioned type names to manage
|
|
185
|
-
* breaking changes.)
|
|
115
|
+
* This string must contain at least one `/` character, and the content after
|
|
116
|
+
* the last `/` must be the fully-qualified name of the type in canonical
|
|
117
|
+
* form, without a leading dot. Do not write a scheme on these URI references
|
|
118
|
+
* so that clients do not attempt to contact them.
|
|
186
119
|
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* type.googleapis.com
|
|
190
|
-
* implementations
|
|
120
|
+
* The prefix is arbitrary and Protobuf implementations are expected to
|
|
121
|
+
* simply strip off everything up to and including the last `/` to identify
|
|
122
|
+
* the type. `type.googleapis.com/` is a common default prefix that some
|
|
123
|
+
* legacy implementations require. This prefix does not indicate the origin of
|
|
124
|
+
* the type, and URIs containing it are not expected to respond to any
|
|
125
|
+
* requests.
|
|
191
126
|
*
|
|
192
|
-
*
|
|
193
|
-
*
|
|
127
|
+
* All type URL strings must be legal URI references with the additional
|
|
128
|
+
* restriction (for the text format) that the content of the reference
|
|
129
|
+
* must consist only of alphanumeric characters, percent-encoded escapes, and
|
|
130
|
+
* characters in the following set (not including the outer backticks):
|
|
131
|
+
* `/-.~_!$&()*+,;=`. Despite our allowing percent encodings, implementations
|
|
132
|
+
* should not unescape them to prevent confusion with existing parsers. For
|
|
133
|
+
* example, `type.googleapis.com%2FFoo` should be rejected.
|
|
194
134
|
*
|
|
135
|
+
* In the original design of `Any`, the possibility of launching a type
|
|
136
|
+
* resolution service at these type URLs was considered but Protobuf never
|
|
137
|
+
* implemented one and considers contacting these URLs to be problematic and
|
|
138
|
+
* a potential security issue. Do not attempt to contact type URLs.
|
|
195
139
|
*
|
|
196
140
|
* @generated from protobuf field: string type_url = 1
|
|
197
141
|
*/
|
|
198
142
|
typeUrl: string;
|
|
199
143
|
/**
|
|
200
|
-
*
|
|
144
|
+
* Holds a Protobuf serialization of the type described by type_url.
|
|
201
145
|
*
|
|
202
146
|
* @generated from protobuf field: bytes value = 2
|
|
203
147
|
*/
|
|
@@ -208,7 +152,7 @@ interface Any {
|
|
|
208
152
|
*/
|
|
209
153
|
declare const Any = new Any$Type();
|
|
210
154
|
//#endregion
|
|
211
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.
|
|
155
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.21.0-alpha.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/signing/v1beta1/signing_pb.d.ts
|
|
212
156
|
|
|
213
157
|
/**
|
|
214
158
|
* SignMode represents a signing mode with its own security guarantees.
|
|
@@ -271,6 +215,13 @@ declare enum SignMode {
|
|
|
271
215
|
* @generated from protobuf enum value: SIGN_MODE_EIP712_V2 = 128;
|
|
272
216
|
*/
|
|
273
217
|
EIP712_V2 = 128,
|
|
218
|
+
/**
|
|
219
|
+
* SIGN_MODE_EIP712_V3 uses the V2 transaction payload with a bytes32 zero salt.
|
|
220
|
+
* Signature verification is implemented in injective core.
|
|
221
|
+
*
|
|
222
|
+
* @generated from protobuf enum value: SIGN_MODE_EIP712_V3 = 129;
|
|
223
|
+
*/
|
|
224
|
+
EIP712_V3 = 129,
|
|
274
225
|
/**
|
|
275
226
|
* SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos
|
|
276
227
|
* SDK. Ref: https://eips.ethereum.org/EIPS/eip-191
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TradeExecutionType, S as TradeExecutionSide, _ as StreamEvent, a as GrpcOrderTypeMap, b as TokenVerification, c as MarketStatusMap, d as OracleTypeMap, f as OrderSide, g as StreamDisconnectReason, h as OrderTypeMap, i as GrpcOrderType, l as MarketType, m as OrderType, n as GrpcMarketStatus, o as GrpcStatusCode, p as OrderState, r as GrpcMarketStatusMap, s as MarketStatus, t as GridStrategyType, u as OracleType, v as StreamOperation, x as TradeDirection, y as TokenType } from "../light-
|
|
1
|
+
import { C as TradeExecutionType, S as TradeExecutionSide, _ as StreamEvent, a as GrpcOrderTypeMap, b as TokenVerification, c as MarketStatusMap, d as OracleTypeMap, f as OrderSide, g as StreamDisconnectReason, h as OrderTypeMap, i as GrpcOrderType, l as MarketType, m as OrderType, n as GrpcMarketStatus, o as GrpcStatusCode, p as OrderState, r as GrpcMarketStatusMap, s as MarketStatus, t as GridStrategyType, u as OracleType, v as StreamOperation, x as TradeDirection, y as TokenType } from "../light-cJI0PSqu.js";
|
|
2
2
|
export { GridStrategyType, GrpcMarketStatus, GrpcMarketStatusMap, GrpcOrderType, GrpcOrderTypeMap, GrpcStatusCode, MarketStatus, MarketStatusMap, MarketType, OracleType, OracleTypeMap, OrderSide, OrderState, OrderType, OrderTypeMap, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import { a as PaginationOption, at as
|
|
3
|
-
import { C as TradeExecutionType, S as TradeExecutionSide, _ as StreamEvent, b as TokenVerification, f as OrderSide, g as StreamDisconnectReason, o as GrpcStatusCode, p as OrderState, v as StreamOperation, x as TradeDirection, y as TokenType } from "./light-
|
|
1
|
+
import "./tx_pb-pR8s8ZkE.js";
|
|
2
|
+
import { a as PaginationOption, at as StreamManagerEvents, c as DirectSignResponse, ct as StreamSubscription, d as TxRaw, dt as TokenStatic, f as GrpcWebTransportAdditionalOptions, h as OrderMaskMap, i as Pagination, it as StreamManagerConfig, l as GrpcCoin, lt as TokenMeta, m as OrderMask, n as ExchangePagination, nt as ResolvedStreamManagerConfig, o as AminoSignResponse, ot as StreamManagerRetryConfig, r as PagePagination, rt as StreamError, s as Coin, st as StreamState, t as RequestOptions, u as SignDoc, ut as TokenSource } from "./index-DjAbTs6N.js";
|
|
3
|
+
import { C as TradeExecutionType, S as TradeExecutionSide, _ as StreamEvent, b as TokenVerification, f as OrderSide, g as StreamDisconnectReason, o as GrpcStatusCode, p as OrderState, v as StreamOperation, x as TradeDirection, y as TokenType } from "./light-cJI0PSqu.js";
|
|
4
4
|
export { AminoSignResponse, Coin, DirectSignResponse, ExchangePagination, GrpcCoin, GrpcStatusCode, GrpcWebTransportAdditionalOptions, OrderMask, OrderMaskMap, OrderSide, OrderState, PagePagination, Pagination, PaginationOption, RequestOptions, ResolvedStreamManagerConfig, SignDoc, StreamDisconnectReason, StreamError, StreamEvent, StreamManagerConfig, StreamManagerEvents, StreamManagerRetryConfig, StreamOperation, StreamState, StreamSubscription, TokenMeta, TokenSource, TokenStatic, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType, TxRaw };
|
|
@@ -53,48 +53,38 @@ const protobufTimestampToUnixMs = (timestamp) => {
|
|
|
53
53
|
//#region src/utils/msgs.ts
|
|
54
54
|
const fixedExchangeGas = {
|
|
55
55
|
MsgCreateDerivativeLimitOrder: {
|
|
56
|
-
gas:
|
|
57
|
-
postOnlyGas:
|
|
56
|
+
gas: 56e4,
|
|
57
|
+
postOnlyGas: 62e4,
|
|
58
58
|
hasOrder: true
|
|
59
59
|
},
|
|
60
60
|
MsgCreateDerivativeMarketOrder: {
|
|
61
|
-
gas:
|
|
61
|
+
gas: 55e4,
|
|
62
62
|
hasOrder: true
|
|
63
63
|
},
|
|
64
|
-
MsgCancelDerivativeOrder: { gas:
|
|
64
|
+
MsgCancelDerivativeOrder: { gas: 372e3 },
|
|
65
65
|
MsgCreateSpotLimitOrder: {
|
|
66
|
-
gas:
|
|
67
|
-
postOnlyGas:
|
|
66
|
+
gas: 54e4,
|
|
67
|
+
postOnlyGas: 59e4,
|
|
68
68
|
hasOrder: true
|
|
69
69
|
},
|
|
70
70
|
MsgCreateSpotMarketOrder: {
|
|
71
|
-
gas:
|
|
71
|
+
gas: 54e4,
|
|
72
72
|
hasOrder: true
|
|
73
73
|
},
|
|
74
|
-
MsgCancelSpotOrder: { gas:
|
|
75
|
-
MsgCreateBinaryOptionsLimitOrder: {
|
|
76
|
-
gas: 33e4,
|
|
77
|
-
postOnlyGas: 37e4,
|
|
78
|
-
hasOrder: true
|
|
79
|
-
},
|
|
80
|
-
MsgCreateBinaryOptionsMarketOrder: {
|
|
81
|
-
gas: 31e4,
|
|
82
|
-
hasOrder: true
|
|
83
|
-
},
|
|
84
|
-
MsgCancelBinaryOptionsOrder: { gas: 2e5 },
|
|
74
|
+
MsgCancelSpotOrder: { gas: 362e3 },
|
|
85
75
|
MsgDeposit: { gas: 33e4 },
|
|
86
76
|
MsgWithdraw: { gas: 32e4 },
|
|
87
77
|
MsgSubaccountTransfer: { gas: 22e4 },
|
|
88
78
|
MsgExternalTransfer: { gas: 3e5 },
|
|
89
|
-
MsgIncreasePositionMargin: { gas:
|
|
90
|
-
MsgDecreasePositionMargin: { gas:
|
|
79
|
+
MsgIncreasePositionMargin: { gas: 35e4 },
|
|
80
|
+
MsgDecreasePositionMargin: { gas: 36e4 }
|
|
91
81
|
};
|
|
82
|
+
const orderAdmissionGas = 12e3;
|
|
92
83
|
const batchAnteGas = 12e4;
|
|
93
84
|
const batchAnteGasPerOrder = 3e3;
|
|
94
85
|
const batchExchangeGasPerOrder = {
|
|
95
|
-
MsgBatchCancelSpotOrders:
|
|
96
|
-
MsgBatchCancelDerivativeOrders:
|
|
97
|
-
MsgBatchCancelBinaryOptionsOrders: 123e3
|
|
86
|
+
MsgBatchCancelSpotOrders: 242e3,
|
|
87
|
+
MsgBatchCancelDerivativeOrders: 252e3
|
|
98
88
|
};
|
|
99
89
|
const fixedExchangeType = /^\/injective\.exchange\.v(?:1beta1|2)\.(Msg\w+)$/;
|
|
100
90
|
const postOnlyOrderTypes = new Set([OrderTypeMap.BUY_PO, OrderTypeMap.SELL_PO]);
|
|
@@ -132,7 +122,7 @@ const getFixedGasLimitBasedOnMessage = (msgs) => {
|
|
|
132
122
|
if ("hasOrder" in policy && !order) return;
|
|
133
123
|
const baseGas = (order === null || order === void 0 ? void 0 : order.orderType) !== void 0 && postOnlyOrderTypes.has(order.orderType) && "postOnlyGas" in policy ? policy.postOnlyGas : policy.gas;
|
|
134
124
|
const hasExpirationBlock = ((_order$expirationBloc = order === null || order === void 0 ? void 0 : order.expirationBlock) !== null && _order$expirationBloc !== void 0 ? _order$expirationBloc : 0n) > 0n;
|
|
135
|
-
gas += hasExpirationBlock ? baseGas + baseGas / 10 : baseGas;
|
|
125
|
+
gas += (hasExpirationBlock ? baseGas + baseGas / 10 : baseGas) + ("hasOrder" in policy ? orderAdmissionGas : 0);
|
|
136
126
|
}
|
|
137
127
|
return gas;
|
|
138
128
|
};
|