@injectivelabs/sdk-ts 1.20.16 → 1.20.18
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/{AbacusGrpcApi-CIMZFwl6.cjs → AbacusGrpcApi-Dwlpk6jY.cjs} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-CrbGIyOg.d.cts → BaseGrpcConsumer-CUdc9vEY.d.cts} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-BCGDaVy8.cjs → BaseGrpcConsumer-zA9DIfEw.cjs} +1 -1
- package/dist/cjs/{BaseIndexerGrpcConsumer-CoMGNooL.cjs → BaseIndexerGrpcConsumer-CQBZ05BC.cjs} +1 -1
- package/dist/cjs/{ChainGrpcExchangeApi-ChrfB9cv.cjs → ChainGrpcExchangeApi-vxOV2B57.cjs} +2 -2
- package/dist/cjs/{ChainRestTendermintApi-utYZ9cZL.cjs → ChainRestTendermintApi-Sni05dAJ.cjs} +1 -1
- package/dist/cjs/{IndexerGrpcWeb3GwApi-Di6ko7ub.cjs → IndexerGrpcWeb3GwApi-KVLJE-jW.cjs} +1 -1
- package/dist/cjs/{MsgSetDenomMetadata-ycI5AKU4.cjs → MsgSetDenomMetadata-BQbzOfkE.cjs} +1 -1
- package/dist/cjs/{OLPGrpcApi-fdkKcWVJ.cjs → OLPGrpcApi-BNAfesZy.cjs} +1 -1
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-CIlJC3Cq.cjs → QueryTradingStrategyContractTotalStrategies-i7GNf-2z.cjs} +1 -1
- package/dist/cjs/{StreamManagerV2-B3ar_Wxz.cjs → StreamManagerV2-Bdqr75jP.cjs} +20 -8
- package/dist/cjs/{TcAbacusGrpcApi-B7wlTqfE.cjs → TcAbacusGrpcApi-DRKR_enO.cjs} +1 -1
- package/dist/cjs/{chain-D--KOL1m.cjs → chain-DHppVc1K.cjs} +2 -2
- package/dist/cjs/client/abacus.cjs +3 -3
- package/dist/cjs/client/abacus.d.cts +4 -4
- package/dist/cjs/client/chain.cjs +5 -5
- package/dist/cjs/client/chain.d.cts +9 -9
- package/dist/cjs/client/indexer.cjs +5 -5
- package/dist/cjs/client/indexer.d.cts +9 -9
- package/dist/cjs/client/olp.cjs +4 -4
- package/dist/cjs/client/olp.d.cts +4 -4
- package/dist/cjs/client/tcAbacus.cjs +3 -3
- package/dist/cjs/client/tcAbacus.d.cts +4 -4
- package/dist/cjs/client/wasm.cjs +6 -6
- package/dist/cjs/client/wasm.d.cts +3 -3
- package/dist/cjs/core/accounts.d.cts +9 -9
- package/dist/cjs/core/modules.cjs +8 -8
- package/dist/cjs/core/modules.d.cts +9 -9
- package/dist/cjs/core/tx.cjs +6 -6
- package/dist/cjs/core/tx.d.cts +9 -9
- package/dist/cjs/cosmjs.cjs +6 -6
- package/dist/cjs/exports.cjs +6 -6
- package/dist/cjs/{index-DE9mGZGH.d.cts → index-2SjhKIkh.d.cts} +1 -1
- package/dist/cjs/{index-nXX5E77u.d.cts → index-BBL8kiSg.d.cts} +113 -25
- package/dist/cjs/{index-CBmgjh-q.d.cts → index-BG-nzcNI.d.cts} +1 -1
- package/dist/cjs/{index-C4k2HkhI.d.cts → index-BOj_EXVL.d.cts} +1 -1
- package/dist/cjs/{index-i4yKnGpI.d.cts → index-CtkDjIwH.d.cts} +1 -1
- package/dist/cjs/{index-BINBkEIb.d.cts → index-D5xZvGoG.d.cts} +1 -1
- package/dist/cjs/{index-eG3KUAK0.d.cts → index-DmanIXY9.d.cts} +2 -2
- package/dist/cjs/index.cjs +15 -15
- package/dist/cjs/index.d.cts +9 -9
- package/dist/{esm/light-CrlUMC8c.d.ts → cjs/light-4nNsYXxr.d.cts} +123 -1
- package/dist/cjs/{light-Qbh16DQE.cjs → light-CrajlUvd.cjs} +123 -0
- package/dist/cjs/{service-WTWXJzS1.cjs → service-nm5Ct4_w.cjs} +1 -1
- package/dist/cjs/service.cjs +2 -2
- package/dist/cjs/service.d.cts +3 -3
- package/dist/cjs/{tx-eQttrX5b.cjs → tx-BlFLQ52d.cjs} +3 -3
- package/dist/cjs/types/light.cjs +8 -1
- package/dist/cjs/types/light.d.cts +2 -2
- package/dist/cjs/types.cjs +1 -1
- package/dist/cjs/types.d.cts +2 -2
- package/dist/cjs/utils.d.cts +9 -9
- package/dist/esm/{AbacusGrpcApi-DVniM62M.js → AbacusGrpcApi-DVO7c0mB.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-D-uEnIgH.js → BaseGrpcConsumer-Ci8sUY5h.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-B9J3abKI.d.ts → BaseGrpcConsumer-DnPFbzJi.d.ts} +1 -1
- package/dist/esm/{BaseIndexerGrpcConsumer-BUcOBQHD.js → BaseIndexerGrpcConsumer-MGB306RP.js} +1 -1
- package/dist/esm/{ChainGrpcExchangeApi-CT0WW59O.js → ChainGrpcExchangeApi-S5nJzebX.js} +2 -2
- package/dist/esm/{ChainRestTendermintApi-C5sizTTA.js → ChainRestTendermintApi-D_FQwKrf.js} +1 -1
- package/dist/esm/{IndexerGrpcWeb3GwApi-D9GO0m1v.js → IndexerGrpcWeb3GwApi-BWuDmOjX.js} +1 -1
- package/dist/esm/{MsgSetDenomMetadata-DJaQwf94.js → MsgSetDenomMetadata-B4Ke5u9_.js} +1 -1
- package/dist/esm/{OLPGrpcApi-thWMIX2S.js → OLPGrpcApi-BSFkBk80.js} +1 -1
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-NKplhQpi.js → QueryTradingStrategyContractTotalStrategies-Cfz9KGFD.js} +1 -1
- package/dist/esm/{StreamManagerV2-BdSq7ThE.js → StreamManagerV2-BSUBca8a.js} +20 -8
- package/dist/esm/{TcAbacusGrpcApi-0zuZRiGi.js → TcAbacusGrpcApi-k3COziPh.js} +1 -1
- package/dist/esm/{chain-CFXdQ_RS.js → chain-DD4YqzP5.js} +2 -2
- package/dist/esm/client/abacus.d.ts +4 -4
- package/dist/esm/client/abacus.js +3 -3
- package/dist/esm/client/chain.d.ts +9 -9
- package/dist/esm/client/chain.js +5 -5
- package/dist/esm/client/indexer.d.ts +9 -9
- package/dist/esm/client/indexer.js +5 -5
- package/dist/esm/client/olp.d.ts +4 -4
- package/dist/esm/client/olp.js +4 -4
- package/dist/esm/client/tcAbacus.d.ts +4 -4
- package/dist/esm/client/tcAbacus.js +3 -3
- package/dist/esm/client/wasm.d.ts +3 -3
- package/dist/esm/client/wasm.js +6 -6
- package/dist/esm/core/accounts.d.ts +9 -9
- package/dist/esm/core/modules.d.ts +9 -9
- package/dist/esm/core/modules.js +8 -8
- package/dist/esm/core/tx.d.ts +9 -9
- package/dist/esm/core/tx.js +6 -6
- package/dist/esm/cosmjs.js +6 -6
- package/dist/esm/exports.js +6 -6
- package/dist/esm/{index-DPmNu-i9.d.ts → index-81riAHnR.d.ts} +2 -2
- package/dist/esm/{index-lki5l2NS.d.ts → index-B73CV7nM.d.ts} +1 -1
- package/dist/esm/{index-fqs5eTyD.d.ts → index-BJJNBulw.d.ts} +1 -1
- package/dist/esm/{index-CnGE9D2Q.d.ts → index-C_g6Cbjb.d.ts} +113 -25
- package/dist/esm/{index-BAxR1qDR.d.ts → index-D3kPbyYA.d.ts} +1 -1
- package/dist/esm/{index-reHqEgGi.d.ts → index-DcPKOj0m.d.ts} +1 -1
- package/dist/esm/{index-DIP5sGCK.d.ts → index-SZeXNgo8.d.ts} +1 -1
- package/dist/esm/index.d.ts +9 -9
- package/dist/esm/index.js +15 -15
- package/dist/esm/{light-ClZwkrDK.js → light-BflupdEX.js} +82 -1
- package/dist/{cjs/light-BhvqsgHj.d.cts → esm/light-Cr4m0DAA.d.ts} +123 -1
- package/dist/esm/{service-B2z6s85o.js → service-BER-mZkG.js} +1 -1
- package/dist/esm/service.d.ts +3 -3
- package/dist/esm/service.js +2 -2
- package/dist/esm/{tx-Bh9bfmCB.js → tx-Pg714BW8.js} +3 -3
- package/dist/esm/types/light.d.ts +2 -2
- package/dist/esm/types/light.js +2 -2
- package/dist/esm/types.d.ts +2 -2
- package/dist/esm/types.js +1 -1
- package/dist/esm/utils.d.ts +9 -9
- package/package.json +6 -6
package/dist/cjs/service.cjs
CHANGED
|
@@ -5,10 +5,10 @@ require('./utils-CH1Ojxun.cjs');
|
|
|
5
5
|
require('./grpc-3Z8ffFdZ.cjs');
|
|
6
6
|
require('./coins-DRrEtaSG.cjs');
|
|
7
7
|
require('./address-light-C_a6b8yF.cjs');
|
|
8
|
-
require('./light-
|
|
8
|
+
require('./light-CrajlUvd.cjs');
|
|
9
9
|
require('./stream-CcqYpdwJ.cjs');
|
|
10
10
|
require('./types-BJpWW-Rx.cjs');
|
|
11
|
-
const require_service = require('./service-
|
|
11
|
+
const require_service = require('./service-nm5Ct4_w.cjs');
|
|
12
12
|
|
|
13
13
|
exports.TokenFactoryStatic = require_service.TokenFactoryStatic;
|
|
14
14
|
exports.TokenPrice = require_service.TokenPrice;
|
package/dist/cjs/service.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./tx_pb-BmZhAoWC.cjs";
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./light-
|
|
4
|
-
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./index-
|
|
2
|
+
import "./index-BG-nzcNI.cjs";
|
|
3
|
+
import "./light-4nNsYXxr.cjs";
|
|
4
|
+
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./index-DmanIXY9.cjs";
|
|
5
5
|
export { TokenFactoryStatic, TokenPrice, TokenStaticFactory };
|
|
@@ -3,9 +3,9 @@ const require_encoding_light = require('./encoding-light-D96nxVLW.cjs');
|
|
|
3
3
|
const require_defineProperty = require('./defineProperty-C3FP2y9Y.cjs');
|
|
4
4
|
const require_accounts = require('./accounts-pXwUOxWb.cjs');
|
|
5
5
|
const require_utils = require('./utils-CH1Ojxun.cjs');
|
|
6
|
-
const require_ChainRestTendermintApi = require('./ChainRestTendermintApi-
|
|
7
|
-
const require_BaseGrpcConsumer = require('./BaseGrpcConsumer-
|
|
8
|
-
const require_IndexerGrpcWeb3GwApi = require('./IndexerGrpcWeb3GwApi-
|
|
6
|
+
const require_ChainRestTendermintApi = require('./ChainRestTendermintApi-Sni05dAJ.cjs');
|
|
7
|
+
const require_BaseGrpcConsumer = require('./BaseGrpcConsumer-zA9DIfEw.cjs');
|
|
8
|
+
const require_IndexerGrpcWeb3GwApi = require('./IndexerGrpcWeb3GwApi-KVLJE-jW.cjs');
|
|
9
9
|
let __injectivelabs_core_proto_ts_v2_generated_cosmos_tx_v1beta1_tx_pb = require("@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb");
|
|
10
10
|
__injectivelabs_core_proto_ts_v2_generated_cosmos_tx_v1beta1_tx_pb = require_chunk.__toESM(__injectivelabs_core_proto_ts_v2_generated_cosmos_tx_v1beta1_tx_pb);
|
|
11
11
|
let viem = require("viem");
|
package/dist/cjs/types/light.cjs
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
const require_light = require('../light-
|
|
1
|
+
const require_light = require('../light-CrajlUvd.cjs');
|
|
2
2
|
|
|
3
|
+
exports.GridStrategyType = require_light.GridStrategyType;
|
|
4
|
+
exports.GrpcMarketStatusMap = require_light.GrpcMarketStatusMap;
|
|
5
|
+
exports.GrpcOrderTypeMap = require_light.GrpcOrderTypeMap;
|
|
3
6
|
exports.GrpcStatusCode = require_light.GrpcStatusCode;
|
|
7
|
+
exports.MarketStatusMap = require_light.MarketStatusMap;
|
|
8
|
+
exports.MarketType = require_light.MarketType;
|
|
9
|
+
exports.OracleTypeMap = require_light.OracleTypeMap;
|
|
4
10
|
exports.OrderSide = require_light.OrderSide;
|
|
5
11
|
exports.OrderState = require_light.OrderState;
|
|
12
|
+
exports.OrderTypeMap = require_light.OrderTypeMap;
|
|
6
13
|
exports.StreamDisconnectReason = require_light.StreamDisconnectReason;
|
|
7
14
|
exports.StreamEvent = require_light.StreamEvent;
|
|
8
15
|
exports.StreamOperation = require_light.StreamOperation;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { GrpcStatusCode, OrderSide, OrderState, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
|
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-4nNsYXxr.cjs";
|
|
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/cjs/types.cjs
CHANGED
package/dist/cjs/types.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./tx_pb-BmZhAoWC.cjs";
|
|
2
|
-
import { a as AminoSignResponse, at as StreamManagerConfig, c as GrpcCoin, ct as StreamState, d as GrpcWebTransportAdditionalOptions, dt as TokenSource, ft as TokenStatic, i as PaginationOption, it as StreamError, l as SignDoc, lt as StreamSubscription, m as OrderMaskMap, n as PagePagination, o as Coin, ot as StreamManagerEvents, p as OrderMask, r as Pagination, rt as ResolvedStreamManagerConfig, s as DirectSignResponse, st as StreamManagerRetryConfig, t as ExchangePagination, u as TxRaw, ut as TokenMeta } from "./index-
|
|
3
|
-
import {
|
|
2
|
+
import { a as AminoSignResponse, at as StreamManagerConfig, c as GrpcCoin, ct as StreamState, d as GrpcWebTransportAdditionalOptions, dt as TokenSource, ft as TokenStatic, i as PaginationOption, it as StreamError, l as SignDoc, lt as StreamSubscription, m as OrderMaskMap, n as PagePagination, o as Coin, ot as StreamManagerEvents, p as OrderMask, r as Pagination, rt as ResolvedStreamManagerConfig, s as DirectSignResponse, st as StreamManagerRetryConfig, t as ExchangePagination, u as TxRaw, ut as TokenMeta } from "./index-BG-nzcNI.cjs";
|
|
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-4nNsYXxr.cjs";
|
|
4
4
|
export { AminoSignResponse, Coin, DirectSignResponse, ExchangePagination, GrpcCoin, GrpcStatusCode, GrpcWebTransportAdditionalOptions, OrderMask, OrderMaskMap, OrderSide, OrderState, PagePagination, Pagination, PaginationOption, ResolvedStreamManagerConfig, SignDoc, StreamDisconnectReason, StreamError, StreamEvent, StreamManagerConfig, StreamManagerEvents, StreamManagerRetryConfig, StreamOperation, StreamState, StreamSubscription, TokenMeta, TokenSource, TokenStatic, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType, TxRaw };
|
package/dist/cjs/utils.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./tx_pb-BmZhAoWC.cjs";
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./light-
|
|
4
|
-
import { $d as derivativeQuantityFromChainQuantityToFixed, $f as ofacList, Ad as paginationUint8ArrayToString, Af as isReactNative, Ax as GrpcWebFetchTransport, Bd as denomAmountFromGrpcChainDenomAmount, Bf as TypedMessageV4, Cd as recoverTypedSignaturePubKey, Cf as bigIntToString, Dd as grpcPagingToPagingV2, Df as isBrowser, Ed as grpcPagingToPaging, Ef as hexToNumber, Fd as getSpotMarketTensMultiplier, Ff as sortObjectByKeys, Gd as derivativeMarginFromChainMarginToFixed, Gf as privateKeyHashToPublicKey, Hd as denomAmountToChainDenomAmountToFixed, Hf as domainHash, Id as amountToCosmosSdkDecAmount, If as sortObjectByKeysWithReduce, Jd as derivativePriceFromChainPrice, Jf as privateKeyToPublicKeyBase64, Kd as derivativeMarginToChainMargin, Kf as privateKeyHashToPublicKeyBase64, Ld as cosmosSdkDecToBigNumber, Lf as SignTypedDataVersionV4, Md as getDerivativeMarketDecimals, Mf as objectToJson, Nd as getDerivativeMarketTensMultiplier, Nf as protoObjectToJson, Od as pageRequestToGrpcPageRequestV2, Of as isJsonString, Pd as getSpotMarketDecimals, Pf as safeBigIntStringify, Qd as derivativeQuantityFromChainQuantity, Qf as sha256, Rd as denomAmountFromChainDenomAmount, Rf as TypedDataUtilsHashStruct, Sf as bigIntToNumber, Td as grpcPaginationToPagination, Tf as grpcCoinToUiCoin, Ud as denomAmountToGrpcChainDenomAmount, Uf as hashToHex, Vd as denomAmountToChainDenomAmount, Vf as decompressPubKey, Wd as derivativeMarginFromChainMargin, Wf as messageHash, Xd as derivativePriceToChainPrice, Xf as ripemd160, Yd as derivativePriceFromChainPriceToFixed, Yf as publicKeyToAddress, Zd as derivativePriceToChainPriceToFixed, Zf as sanitizeTypedData, _f as spotQuantityFromChainQuantity, af as formatNumberToAllowableTensMultiplier, ap as protobufTimestampToUnixMs, bf as spotQuantityToChainQuantityToFixed, cf as getExactDecimalsFromNumber, df as isNumber, ef as derivativeQuantityToChainQuantity, ep as getGrpcWebTransport, ff as numberToCosmosSdkDecString, gf as spotPriceToChainPriceToFixed, hf as spotPriceToChainPrice, if as formatNumberToAllowableDecimals, ip as protobufTimestampToDate, jd as getChecksumAddress, jf as isServerSide, kd as paginationRequestFromPagination, kf as isNode, lf as getSignificantDecimalsFromNumber, mf as spotPriceFromChainPriceToFixed, nf as formatAmountToAllowableAmount, np as makeTimeoutTimestamp, of as formatPriceToAllowableDecimals, op as protobufTimestampToUnixSeconds, pf as spotPriceFromChainPrice, qd as derivativeMarginToChainMarginToFixed, qf as privateKeyToPublicKey, rf as formatAmountToAllowableDecimals, rp as makeTimeoutTimestampInNs, sf as formatPriceToAllowablePrice, tf as derivativeQuantityToChainQuantityToFixed, tp as getGasPriceBasedOnMessage, uf as getTensMultiplier, vf as spotQuantityFromChainQuantityToFixed, wd as fetchAllWithPagination, wf as getErrorMessage, xf as bigIntReplacer, yf as spotQuantityToChainQuantity, zd as denomAmountFromChainDenomAmountToFixed, zf as TypedDataUtilsSanitizeData } from "./index-
|
|
5
|
-
import "./BaseGrpcConsumer-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
2
|
+
import "./index-BG-nzcNI.cjs";
|
|
3
|
+
import "./light-4nNsYXxr.cjs";
|
|
4
|
+
import { $d as derivativeQuantityFromChainQuantityToFixed, $f as ofacList, Ad as paginationUint8ArrayToString, Af as isReactNative, Ax as GrpcWebFetchTransport, Bd as denomAmountFromGrpcChainDenomAmount, Bf as TypedMessageV4, Cd as recoverTypedSignaturePubKey, Cf as bigIntToString, Dd as grpcPagingToPagingV2, Df as isBrowser, Ed as grpcPagingToPaging, Ef as hexToNumber, Fd as getSpotMarketTensMultiplier, Ff as sortObjectByKeys, Gd as derivativeMarginFromChainMarginToFixed, Gf as privateKeyHashToPublicKey, Hd as denomAmountToChainDenomAmountToFixed, Hf as domainHash, Id as amountToCosmosSdkDecAmount, If as sortObjectByKeysWithReduce, Jd as derivativePriceFromChainPrice, Jf as privateKeyToPublicKeyBase64, Kd as derivativeMarginToChainMargin, Kf as privateKeyHashToPublicKeyBase64, Ld as cosmosSdkDecToBigNumber, Lf as SignTypedDataVersionV4, Md as getDerivativeMarketDecimals, Mf as objectToJson, Nd as getDerivativeMarketTensMultiplier, Nf as protoObjectToJson, Od as pageRequestToGrpcPageRequestV2, Of as isJsonString, Pd as getSpotMarketDecimals, Pf as safeBigIntStringify, Qd as derivativeQuantityFromChainQuantity, Qf as sha256, Rd as denomAmountFromChainDenomAmount, Rf as TypedDataUtilsHashStruct, Sf as bigIntToNumber, Td as grpcPaginationToPagination, Tf as grpcCoinToUiCoin, Ud as denomAmountToGrpcChainDenomAmount, Uf as hashToHex, Vd as denomAmountToChainDenomAmount, Vf as decompressPubKey, Wd as derivativeMarginFromChainMargin, Wf as messageHash, Xd as derivativePriceToChainPrice, Xf as ripemd160, Yd as derivativePriceFromChainPriceToFixed, Yf as publicKeyToAddress, Zd as derivativePriceToChainPriceToFixed, Zf as sanitizeTypedData, _f as spotQuantityFromChainQuantity, af as formatNumberToAllowableTensMultiplier, ap as protobufTimestampToUnixMs, bf as spotQuantityToChainQuantityToFixed, cf as getExactDecimalsFromNumber, df as isNumber, ef as derivativeQuantityToChainQuantity, ep as getGrpcWebTransport, ff as numberToCosmosSdkDecString, gf as spotPriceToChainPriceToFixed, hf as spotPriceToChainPrice, if as formatNumberToAllowableDecimals, ip as protobufTimestampToDate, jd as getChecksumAddress, jf as isServerSide, kd as paginationRequestFromPagination, kf as isNode, lf as getSignificantDecimalsFromNumber, mf as spotPriceFromChainPriceToFixed, nf as formatAmountToAllowableAmount, np as makeTimeoutTimestamp, of as formatPriceToAllowableDecimals, op as protobufTimestampToUnixSeconds, pf as spotPriceFromChainPrice, qd as derivativeMarginToChainMarginToFixed, qf as privateKeyToPublicKey, rf as formatAmountToAllowableDecimals, rp as makeTimeoutTimestampInNs, sf as formatPriceToAllowablePrice, tf as derivativeQuantityToChainQuantityToFixed, tp as getGasPriceBasedOnMessage, uf as getTensMultiplier, vf as spotQuantityFromChainQuantityToFixed, wd as fetchAllWithPagination, wf as getErrorMessage, xf as bigIntReplacer, yf as spotQuantityToChainQuantity, zd as denomAmountFromChainDenomAmountToFixed, zf as TypedDataUtilsSanitizeData } from "./index-BBL8kiSg.cjs";
|
|
5
|
+
import "./BaseGrpcConsumer-CUdc9vEY.cjs";
|
|
6
|
+
import "./index-BOj_EXVL.cjs";
|
|
7
|
+
import "./index-CtkDjIwH.cjs";
|
|
8
8
|
import { t as parseCoins } from "./coins-JbAREn6e.cjs";
|
|
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-B5-DYwES.cjs";
|
|
10
10
|
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-CrQ0cICT.cjs";
|
|
11
11
|
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-DSzHAIp3.cjs";
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
12
|
+
import "./index-2SjhKIkh.cjs";
|
|
13
|
+
import "./index-D5xZvGoG.cjs";
|
|
14
|
+
import "./index-DmanIXY9.cjs";
|
|
15
15
|
export { BECH32_ADDR_ACC_PREFIX, BECH32_ADDR_CONS_PREFIX, BECH32_ADDR_VAL_PREFIX, BECH32_PUBKEY_ACC_PREFIX, BECH32_PUBKEY_CONS_PREFIX, BECH32_PUBKEY_VAL_PREFIX, DEFAULT_DERIVATION_PATH, GrpcWebFetchTransport, SignTypedDataVersionV4, TypedDataUtilsHashStruct, TypedDataUtilsSanitizeData, TypedMessageV4, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, bigIntReplacer, bigIntToNumber, bigIntToString, binaryToBase64, bytesToHex, concatUint8Arrays, cosmosSdkDecToBigNumber, decompressPubKey, denomAmountFromChainDenomAmount, denomAmountFromChainDenomAmountToFixed, denomAmountFromGrpcChainDenomAmount, denomAmountToChainDenomAmount, denomAmountToChainDenomAmountToFixed, denomAmountToGrpcChainDenomAmount, derivativeMarginFromChainMargin, derivativeMarginFromChainMarginToFixed, derivativeMarginToChainMargin, derivativeMarginToChainMarginToFixed, derivativePriceFromChainPrice, derivativePriceFromChainPriceToFixed, derivativePriceToChainPrice, derivativePriceToChainPriceToFixed, derivativeQuantityFromChainQuantity, derivativeQuantityFromChainQuantityToFixed, derivativeQuantityToChainQuantity, derivativeQuantityToChainQuantityToFixed, domainHash, fetchAllWithPagination, formatAmountToAllowableAmount, formatAmountToAllowableDecimals, formatNumberToAllowableDecimals, formatNumberToAllowableTensMultiplier, formatPriceToAllowableDecimals, formatPriceToAllowablePrice, fromBase64, fromUtf8, getAddressFromInjectiveAddress, getChecksumAddress, getDefaultSubaccountId, getDerivativeMarketDecimals, getDerivativeMarketTensMultiplier, getErrorMessage, getEthereumAddress, getExactDecimalsFromNumber, getGasPriceBasedOnMessage, getGrpcWebTransport, getInjectiveAddress, getInjectiveAddressFromSubaccountId, getSignificantDecimalsFromNumber, getSpotMarketDecimals, getSpotMarketTensMultiplier, getSubaccountId, getTensMultiplier, grpcCoinToUiCoin, grpcPaginationToPagination, grpcPagingToPaging, grpcPagingToPagingV2, hashToHex, hexToBase64, hexToBuff, hexToBytes, hexToNumber, hexToUint8Array, isBrowser, isCw20ContractAddress, isJsonString, isNode, isNumber, isReactNative, isServerSide, makeTimeoutTimestamp, makeTimeoutTimestampInNs, messageHash, numberToCosmosSdkDecString, objectToJson, ofacList, pageRequestToGrpcPageRequestV2, paginationRequestFromPagination, paginationUint8ArrayToString, parseCoins, privateKeyHashToPublicKey, privateKeyHashToPublicKeyBase64, privateKeyToPublicKey, privateKeyToPublicKeyBase64, protoObjectToJson, protobufTimestampToDate, protobufTimestampToUnixMs, protobufTimestampToUnixSeconds, publicKeyToAddress, recoverTypedSignaturePubKey, removeHexPrefix, ripemd160, safeBigIntStringify, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
2
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
2
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
3
3
|
import { IndexerErrorModule } from "@injectivelabs/exceptions";
|
|
4
4
|
import * as PointsSvcPb from "@injectivelabs/abacus-proto-ts-v2/generated/points_svc_pb";
|
|
5
5
|
import { PointsSvcClient } from "@injectivelabs/abacus-proto-ts-v2/generated/points_svc_pb.client";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
2
2
|
import { n as getGrpcWebTransport } from "./grpc-aI_RLGoG.js";
|
|
3
|
-
import {
|
|
3
|
+
import { i as GrpcStatusCode } from "./light-BflupdEX.js";
|
|
4
4
|
import { GrpcUnaryRequestException, TransactionException, UnspecifiedErrorCode, grpcErrorCodeToErrorCode } from "@injectivelabs/exceptions";
|
|
5
5
|
import { RpcError } from "@protobuf-ts/runtime-rpc";
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as ClientStreamingCall, d as GrpcWebTransportAdditionalOptions, gt as DuplexStreamingCall, ht as UnaryCall, mt as RpcTransport, pt as RpcOptions, vt as ServerStreamingCall, yt as MethodInfo } from "./index-
|
|
1
|
+
import { _t as ClientStreamingCall, d as GrpcWebTransportAdditionalOptions, gt as DuplexStreamingCall, ht as UnaryCall, mt as RpcTransport, pt as RpcOptions, vt as ServerStreamingCall, yt as MethodInfo } from "./index-BJJNBulw.js";
|
|
2
2
|
|
|
3
3
|
//#region src/client/base/GrpcWebRpcTransport.d.ts
|
|
4
4
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
2
2
|
import { y as denomAmountFromGrpcChainDenomAmount } from "./utils-B3t50ZnB.js";
|
|
3
|
-
import { o as ChainModule } from "./ChainRestTendermintApi-
|
|
4
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
3
|
+
import { o as ChainModule } from "./ChainRestTendermintApi-D_FQwKrf.js";
|
|
4
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
5
5
|
import { toHumanReadable } from "@injectivelabs/utils";
|
|
6
6
|
import * as InjectiveExchangeV1Beta1QueryPb from "@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v1beta1/query_pb";
|
|
7
7
|
import { QueryClient } from "@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v1beta1/query_pb.client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as uint8ArrayToString, p as uint8ArrayToBase64 } from "./encoding-light-DHtTGSg1.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
3
|
import { l as ChainGrpcCommonTransformer } from "./utils-B3t50ZnB.js";
|
|
4
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
4
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
5
5
|
import { t as BaseRestConsumer } from "./BaseRestConsumer-L3j9-i4T.js";
|
|
6
6
|
import { ChainErrorModule, HttpRequestException, UnspecifiedErrorCode } from "@injectivelabs/exceptions";
|
|
7
7
|
import * as InjectiveCryptoV1Beta1Ethsecp256k1KeysPb from "@injectivelabs/core-proto-ts-v2/generated/injective/crypto/v1beta1/ethsecp256k1/keys_pb";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as uint8ArrayToHex, t as base64ToUint8Array, u as stringToUint8Array } from "./encoding-light-DHtTGSg1.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
3
|
import { Ot as safeBigIntStringify, t as recoverTypedSignaturePubKey } from "./utils-B3t50ZnB.js";
|
|
4
|
-
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-
|
|
4
|
+
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-MGB306RP.js";
|
|
5
5
|
import * as CosmosTxV1Beta1TxPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb";
|
|
6
6
|
import { DEFAULT_BRIDGE_FEE_DENOM, DEFAULT_BRIDGE_FEE_PRICE, DEFAULT_EXCHANGE_LIMIT, DEFAULT_GAS_LIMIT } from "@injectivelabs/utils";
|
|
7
7
|
import { ErrorType, IndexerErrorModule, TransactionException, UnspecifiedErrorCode } from "@injectivelabs/exceptions";
|
|
@@ -4,7 +4,7 @@ import { I as Address, j as createAny } from "./accounts-3rypojw1.js";
|
|
|
4
4
|
import { G as numberToCosmosSdkDecString, Ot as safeBigIntStringify, _t as bigIntToString, it as domainHash, ot as messageHash } from "./utils-B3t50ZnB.js";
|
|
5
5
|
import { a as getEthereumAddress } from "./address-light-C9skTx0P.js";
|
|
6
6
|
import { a as objectKeysToEip712Types, n as prepareSignBytes, o as patchOrderTypesWithExpirationBlock, t as MsgBase } from "./MsgBase-CishJWMN.js";
|
|
7
|
-
import { t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-
|
|
7
|
+
import { t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-S5nJzebX.js";
|
|
8
8
|
import { a as dataToExecData$1, i as ExecArgBase } from "./ExecArgNeptuneWithdraw-ljDnPI2p.js";
|
|
9
9
|
import { keccak256 } from "viem";
|
|
10
10
|
import { BigNumber, DEFAULT_BRIDGE_FEE_AMOUNT, DEFAULT_BRIDGE_FEE_DENOM, toBigNumber, toChainFormat, toPascalCase } from "@injectivelabs/utils";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
2
|
-
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-
|
|
2
|
+
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-MGB306RP.js";
|
|
3
3
|
import { IndexerErrorModule } from "@injectivelabs/exceptions";
|
|
4
4
|
import * as DmmPb from "@injectivelabs/olp-proto-ts-v2/generated/goagen_olp_injective_dmm_v2_pb";
|
|
5
5
|
import { InjectiveDmmV2Client } from "@injectivelabs/olp-proto-ts-v2/generated/goagen_olp_injective_dmm_v2_pb.client";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as fromBase64, d as toBase64, f as toUtf8, r as binaryToBase64 } from "./encoding-light-DHtTGSg1.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
|
-
import { h as ChainGrpcWasmApi } from "./chain-
|
|
3
|
+
import { h as ChainGrpcWasmApi } from "./chain-DD4YqzP5.js";
|
|
4
4
|
import { n as MsgExecuteContractCompat, r as ExecArgNeptuneDeposit, t as ExecArgNeptuneWithdraw } from "./ExecArgNeptuneWithdraw-ljDnPI2p.js";
|
|
5
5
|
import { GeneralException } from "@injectivelabs/exceptions";
|
|
6
6
|
import { Network, getNetworkEndpoints, isMainnet } from "@injectivelabs/networks";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h as uint8ArrayToString } from "./encoding-light-DHtTGSg1.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
3
|
import { St as isJsonString, _t as bigIntToString, a as grpcPagingToPagingV2, gt as bigIntToNumber } from "./utils-B3t50ZnB.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as StreamDisconnectReason, f as StreamEvent, g as TradeDirection, h as TokenVerification, i as GrpcStatusCode, l as OrderState, m as TokenType, p as StreamOperation } from "./light-BflupdEX.js";
|
|
5
5
|
import { t as StreamState } from "./stream-BqkNM_6g.js";
|
|
6
|
-
import { n as GrpcWebRpcTransport } from "./BaseGrpcConsumer-
|
|
7
|
-
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-
|
|
6
|
+
import { n as GrpcWebRpcTransport } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
7
|
+
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-MGB306RP.js";
|
|
8
8
|
import { t as BaseRestConsumer } from "./BaseRestConsumer-L3j9-i4T.js";
|
|
9
|
-
import { f as GrpcDecodeError, m as WsState, p as WsDisconnectReason, r as IndexerModule } from "./IndexerGrpcWeb3GwApi-
|
|
9
|
+
import { f as GrpcDecodeError, m as WsState, p as WsDisconnectReason, r as IndexerModule } from "./IndexerGrpcWeb3GwApi-BWuDmOjX.js";
|
|
10
10
|
import { BigNumber, toBigNumber, toHumanReadable } from "@injectivelabs/utils";
|
|
11
11
|
import { GeneralException, HttpRequestException, UnspecifiedErrorCode } from "@injectivelabs/exceptions";
|
|
12
12
|
import * as InjectiveRFQExchangeRpcPb from "@injectivelabs/indexer-proto-ts-v2/generated/injective_rfq_rpc_pb";
|
|
@@ -3614,7 +3614,11 @@ var IndexerGrpcDerivativeTransformer = class IndexerGrpcDerivativeTransformer {
|
|
|
3614
3614
|
fundingLast: position.fundingLast,
|
|
3615
3615
|
subaccountId: position.subaccountId,
|
|
3616
3616
|
updatedAt: Number(position.updatedAt),
|
|
3617
|
+
initialMargin: position.initialMargin,
|
|
3618
|
+
initialQuantity: position.initialQuantity,
|
|
3619
|
+
initialLeverage: position.initialLeverage,
|
|
3617
3620
|
liquidationPrice: position.liquidationPrice,
|
|
3621
|
+
initialEntryPrice: position.initialEntryPrice,
|
|
3618
3622
|
direction: position.direction,
|
|
3619
3623
|
cumulativeFundingEntry: position.cumulativeFundingEntry,
|
|
3620
3624
|
effectiveCumulativeFundingEntry: position.effectiveCumulativeFundingEntry
|
|
@@ -3969,7 +3973,11 @@ var IndexerGrpcTcDerivativesTransformer = class IndexerGrpcTcDerivativesTransfor
|
|
|
3969
3973
|
fundingSum: position.fundingSum,
|
|
3970
3974
|
fundingLast: position.fundingLast,
|
|
3971
3975
|
subaccountId: position.subaccountId,
|
|
3976
|
+
initialMargin: position.initialMargin,
|
|
3972
3977
|
updatedAt: Number(position.updatedAt),
|
|
3978
|
+
initialQuantity: position.initialQuantity,
|
|
3979
|
+
initialLeverage: position.initialLeverage,
|
|
3980
|
+
initialEntryPrice: position.initialEntryPrice,
|
|
3973
3981
|
liquidationPrice: position.liquidationPrice,
|
|
3974
3982
|
direction: position.direction,
|
|
3975
3983
|
cumulativeFundingEntry: position.cumulativeFundingEntry,
|
|
@@ -4632,7 +4640,7 @@ var IndexerGrpcRfqGwApi = class extends BaseIndexerGrpcConsumer {
|
|
|
4632
4640
|
get client() {
|
|
4633
4641
|
return this.initClient(InjectiveRfqGwRPCClient);
|
|
4634
4642
|
}
|
|
4635
|
-
async fetchPrepareAutoSign({ cid, margin, expiry, clientId, marketId, quantity, direction, simulate, worstPrice, takerAddress, autosignPubKey, unfilledAction, autosignAddress, subaccountNonce, quotesWaitTimeMs, autosignAccountNumber, feePayerAccountNumber, autosignAccountSequence, feePayerAccountSequence }) {
|
|
4643
|
+
async fetchPrepareAutoSign({ cid, margin, expiry, clientId, marketId, quantity, direction, simulate, worstPrice, txBodyMemo, takerAddress, autosignPubKey, unfilledAction, autosignAddress, subaccountNonce, quotesWaitTimeMs, autosignAccountNumber, feePayerAccountNumber, autosignAccountSequence, feePayerAccountSequence }) {
|
|
4636
4644
|
const request = InjectiveRfqGwRpcPb.RFQGwPrepareAutoSignRequestType.create();
|
|
4637
4645
|
request.clientId = clientId;
|
|
4638
4646
|
request.marketId = marketId;
|
|
@@ -4658,12 +4666,13 @@ var IndexerGrpcRfqGwApi = class extends BaseIndexerGrpcConsumer {
|
|
|
4658
4666
|
}
|
|
4659
4667
|
if (subaccountNonce !== void 0) request.subaccountNonce = subaccountNonce;
|
|
4660
4668
|
if (cid) request.cid = cid;
|
|
4669
|
+
if (txBodyMemo) request.txBodyMemo = txBodyMemo;
|
|
4661
4670
|
const requestMessage = InjectiveRfqGwRpcPb.PrepareAutoSignRequest.create();
|
|
4662
4671
|
requestMessage.request = request;
|
|
4663
4672
|
const response = await this.executeGrpcCall(requestMessage, this.client.prepareAutoSign.bind(this.client), { noRetry: true });
|
|
4664
4673
|
return IndexerGrpcRfqGwTransformer.prepareAutoSignResponseToResponse(response);
|
|
4665
4674
|
}
|
|
4666
|
-
async fetchPrepare({ cid, margin, expiry, clientId, marketId, quantity, direction, simulate, worstPrice, takerPubKey, takerAddress, unfilledAction, subaccountNonce, quotesWaitTimeMs, takerAccountNumber, feePayerAccountNumber, takerAccountSequence, feePayerAccountSequence }) {
|
|
4675
|
+
async fetchPrepare({ cid, margin, expiry, clientId, marketId, quantity, direction, simulate, worstPrice, txBodyMemo, takerPubKey, takerAddress, unfilledAction, subaccountNonce, quotesWaitTimeMs, takerAccountNumber, feePayerAccountNumber, takerAccountSequence, feePayerAccountSequence }) {
|
|
4667
4676
|
const request = InjectiveRfqGwRpcPb.RFQGwPrepareRequestType.create();
|
|
4668
4677
|
request.clientId = clientId;
|
|
4669
4678
|
request.marketId = marketId;
|
|
@@ -4688,12 +4697,13 @@ var IndexerGrpcRfqGwApi = class extends BaseIndexerGrpcConsumer {
|
|
|
4688
4697
|
}
|
|
4689
4698
|
if (subaccountNonce !== void 0) request.subaccountNonce = subaccountNonce;
|
|
4690
4699
|
if (cid) request.cid = cid;
|
|
4700
|
+
if (txBodyMemo) request.txBodyMemo = txBodyMemo;
|
|
4691
4701
|
const requestMessage = InjectiveRfqGwRpcPb.PrepareRequest.create();
|
|
4692
4702
|
requestMessage.request = request;
|
|
4693
4703
|
const response = await this.executeGrpcCall(requestMessage, this.client.prepare.bind(this.client), { noRetry: true });
|
|
4694
4704
|
return IndexerGrpcRfqGwTransformer.prepareResponseToResponse(response);
|
|
4695
4705
|
}
|
|
4696
|
-
async fetchPrepareEip712({ cid, gas, margin, expiry, clientId, marketId, quantity, direction, simulate, worstPrice, ethChainId, takerPubKey, takerAddress, eip712Wrapper, unfilledAction, subaccountNonce, quotesWaitTimeMs, takerAccountNumber, feePayerAccountNumber, takerAccountSequence, feePayerAccountSequence }) {
|
|
4706
|
+
async fetchPrepareEip712({ cid, gas, margin, expiry, clientId, marketId, quantity, direction, simulate, worstPrice, txBodyMemo, ethChainId, takerPubKey, takerAddress, eip712Wrapper, unfilledAction, subaccountNonce, quotesWaitTimeMs, takerAccountNumber, feePayerAccountNumber, takerAccountSequence, feePayerAccountSequence }) {
|
|
4697
4707
|
const request = InjectiveRfqGwRpcPb.RFQGwPrepareEip712RequestType.create();
|
|
4698
4708
|
request.clientId = clientId;
|
|
4699
4709
|
request.marketId = marketId;
|
|
@@ -4721,12 +4731,13 @@ var IndexerGrpcRfqGwApi = class extends BaseIndexerGrpcConsumer {
|
|
|
4721
4731
|
if (ethChainId !== void 0) request.ethChainId = BigInt(ethChainId);
|
|
4722
4732
|
if (eip712Wrapper) request.eip712Wrapper = eip712Wrapper;
|
|
4723
4733
|
if (gas !== void 0) request.gas = BigInt(gas);
|
|
4734
|
+
if (txBodyMemo) request.txBodyMemo = txBodyMemo;
|
|
4724
4735
|
const requestMessage = InjectiveRfqGwRpcPb.PrepareEip712Request.create();
|
|
4725
4736
|
requestMessage.request = request;
|
|
4726
4737
|
const response = await this.executeGrpcCall(requestMessage, this.client.prepareEip712.bind(this.client), { noRetry: true });
|
|
4727
4738
|
return IndexerGrpcRfqGwTransformer.prepareEip712ResponseToResponse(response);
|
|
4728
4739
|
}
|
|
4729
|
-
async fetchPrepareEip712AutoSign({ cid, gas, margin, expiry, clientId, marketId, quantity, direction, simulate, worstPrice, ethChainId, takerAddress, autosignPubKey, eip712Wrapper, unfilledAction, autosignAddress, subaccountNonce, quotesWaitTimeMs, autosignAccountNumber, feePayerAccountNumber, autosignAccountSequence, feePayerAccountSequence }) {
|
|
4740
|
+
async fetchPrepareEip712AutoSign({ cid, gas, margin, expiry, clientId, marketId, quantity, direction, simulate, worstPrice, txBodyMemo, ethChainId, takerAddress, autosignPubKey, eip712Wrapper, unfilledAction, autosignAddress, subaccountNonce, quotesWaitTimeMs, autosignAccountNumber, feePayerAccountNumber, autosignAccountSequence, feePayerAccountSequence }) {
|
|
4730
4741
|
const request = InjectiveRfqGwRpcPb.RFQGwPrepareEip712AutoSignRequestType.create();
|
|
4731
4742
|
request.clientId = clientId;
|
|
4732
4743
|
request.marketId = marketId;
|
|
@@ -4755,6 +4766,7 @@ var IndexerGrpcRfqGwApi = class extends BaseIndexerGrpcConsumer {
|
|
|
4755
4766
|
if (ethChainId !== void 0) request.ethChainId = BigInt(ethChainId);
|
|
4756
4767
|
if (eip712Wrapper) request.eip712Wrapper = eip712Wrapper;
|
|
4757
4768
|
if (gas !== void 0) request.gas = BigInt(gas);
|
|
4769
|
+
if (txBodyMemo) request.txBodyMemo = txBodyMemo;
|
|
4758
4770
|
const requestMessage = InjectiveRfqGwRpcPb.PrepareEip712AutoSignRequest.create();
|
|
4759
4771
|
requestMessage.request = request;
|
|
4760
4772
|
const response = await this.executeGrpcCall(requestMessage, this.client.prepareEip712AutoSign.bind(this.client), { noRetry: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
2
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
2
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
3
3
|
import { IndexerErrorModule } from "@injectivelabs/exceptions";
|
|
4
4
|
import * as TcAbacusPb from "@injectivelabs/tc-abacus-proto-ts-v2/generated/injective_tc_abacus_rpc_pb";
|
|
5
5
|
import { InjectiveTCAbacusRPCClient } from "@injectivelabs/tc-abacus-proto-ts-v2/generated/injective_tc_abacus_rpc_pb.client";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as toBase64, h as uint8ArrayToString, o as fromUtf8, p as uint8ArrayToBase64, t as base64ToUint8Array } from "./encoding-light-DHtTGSg1.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
3
|
import { Ft as protobufTimestampToDate, Lt as protobufTimestampToUnixSeconds, _t as bigIntToString, l as ChainGrpcCommonTransformer, n as fetchAllWithPagination, y as denomAmountFromGrpcChainDenomAmount } from "./utils-B3t50ZnB.js";
|
|
4
|
-
import { o as ChainModule, p as BondStatus } from "./ChainRestTendermintApi-
|
|
5
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
4
|
+
import { o as ChainModule, p as BondStatus } from "./ChainRestTendermintApi-D_FQwKrf.js";
|
|
5
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
6
6
|
import { t as BaseRestConsumer } from "./BaseRestConsumer-L3j9-i4T.js";
|
|
7
7
|
import { toBigNumber, toHumanReadable } from "@injectivelabs/utils";
|
|
8
8
|
import { ErrorType, GeneralException, HttpRequestException, UnspecifiedErrorCode } from "@injectivelabs/exceptions";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../tx_pb-DhFh6sWY.js";
|
|
2
|
-
import "../index-
|
|
3
|
-
import "../light-
|
|
4
|
-
import "../BaseGrpcConsumer-
|
|
5
|
-
import { n as PointsStatsRow, r as AbacusGrpcApi, t as PointsLatestResponse } from "../index-
|
|
2
|
+
import "../index-BJJNBulw.js";
|
|
3
|
+
import "../light-Cr4m0DAA.js";
|
|
4
|
+
import "../BaseGrpcConsumer-DnPFbzJi.js";
|
|
5
|
+
import { n as PointsStatsRow, r as AbacusGrpcApi, t as PointsLatestResponse } from "../index-SZeXNgo8.js";
|
|
6
6
|
export { AbacusGrpcApi, PointsLatestResponse, PointsStatsRow };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../defineProperty-C0TI9N8m.js";
|
|
2
2
|
import "../grpc-aI_RLGoG.js";
|
|
3
|
-
import "../light-
|
|
3
|
+
import "../light-BflupdEX.js";
|
|
4
4
|
import "../stream-BqkNM_6g.js";
|
|
5
|
-
import "../BaseGrpcConsumer-
|
|
6
|
-
import { t as AbacusGrpcApi } from "../AbacusGrpcApi-
|
|
5
|
+
import "../BaseGrpcConsumer-Ci8sUY5h.js";
|
|
6
|
+
import { t as AbacusGrpcApi } from "../AbacusGrpcApi-DVO7c0mB.js";
|
|
7
7
|
|
|
8
8
|
export { AbacusGrpcApi };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../tx_pb-DhFh6sWY.js";
|
|
2
|
-
import { tt as OracleType } from "../index-
|
|
3
|
-
import "../light-
|
|
4
|
-
import { $_ as TotalSupply, $g as PermissionActorRoles, $v as IsOptedOutOfRewards, $y as Proposal, A as ChainGrpcAuctionApi, A_ as CancelSpotOrderAuthz, Ag as AuctionModuleParams, Av as GrpcChainFullDerivativeMarket, Ay as ContractAccountBalance, B as ChainGrpcAuthApi, B_ as GrpcInsuranceFund, Bg as GrpcAuctionParams, Bv as GrpcFeeDiscountTierTTL, By as GrpcContractCodeHistoryEntry, C as ChainGrpcInsuranceFundApi, C_ as GrpcPeggyParams, Cg as CosmosAccountRestResponse, Cv as FeeDiscountAccountInfo, Cy as StakingModuleParams, D as ChainGrpcTendermintApi, D_ as BatchCreateDerivativeLimitOrdersAuthz, Dg as AuctionEventAuctionStart, Dv as GrpcCampaignRewardPool, Dy as ValidatorDescription, E as ChainGrpcPermissionsApi, E_ as BatchCancelSpotOrdersAuthz, Eg as AuctionEventAuctionResult, Ev as FeeDiscountTierTTL, Ey as ValidatorCommission, F as ChainGrpcPeggyApi, F_ as GenericAuthorization, Fg as GrpcAuctionBid, Fv as GrpcDenomMinNotional, Fy as ContractInfo, G_ as OracleTypeMap, Gg as GrpcPermissionPolicyStatusManagerCapability, Gv as GrpcOrderTypeMap, Gy as GovModuleStateParams, H as ChainGrpcIbcApi, H_ as GrpcRedemptionSchedule, Hg as GrpcPermissionAddressVoucher, Hv as GrpcMarketStatusMap, Hy as MarketingInfo, I as ChainGrpcAuthZApi, I_ as Grant, Ig as GrpcAuctionEventAuctionResult, Iv as GrpcExchangeParams, Iy as ContractStateWithPagination, J_ as BankModuleParams, Jg as GrpcPermissionRoleIDs, Jv as GrpcSpotMarketOrder, Jy as GrpcGovernanceVotingParams, K_ as GrpcMintParams, Kg as GrpcPermissionRole, Kv as GrpcPointsMultiplier, Ky as GrpcGovernanceDepositParams, L as ChainGrpcWasmApi, L_ as GrantAuthorization, Lg as GrpcAuctionEventAuctionStart, Lv as GrpcFeeDiscountAccountInfo, Ly as GoogleProtoBufAny, M as ChainGrpcOracleApi, M_ as CreateDerivativeMarketOrderAuthz, Mg as AuctionModuleStateParams, Mv as GrpcChainPosition, My as ContractCodeHistoryEntry, N as ChainGrpcErc20Api, N_ as CreateSpotLimitOrderAuthz, Ng as AuctionModuleStateResponse, Nv as GrpcChainSpotMarket, Ny as ContractCodeHistoryOperationType, O as ChainGrpcExchangeApi, O_ as BatchCreateSpotLimitOrdersAuthz, Og as AuctionEventBid, Ov as GrpcChainDerivativeMarket, Oy as AbsoluteTxPosition, P as ChainGrpcWasmXApi, P_ as CreateSpotMarketOrderAuthz, Pg as AuctionParams, Pv as GrpcDenomDecimals, Py as ContractCodeHistoryOperationTypeMap, Q_ as SendEnabled, Qg as PermissionActionMap, Qv as GrpcTradingRewardCampaignInfo, Qy as GrpcVote, R as ChainGrpcMintApi, R_ as GrantAuthorizationWithDecodedAuthorization, Rg as GrpcAuctionEventBid, Rv as GrpcFeeDiscountSchedule, Ry as GrpcAbsoluteTxPosition, S as ChainRestBankApi, S_ as TokenPair, Sg as BaseAccountRestResponse, Sv as ExchangeParams, Sy as ReDelegation, T as ChainGrpcDistributionApi, T_ as BatchCancelDerivativeOrdersAuthz, Tg as AuctionCurrentBasket, Tv as FeeDiscountTierInfo, Ty as Validator, U as ChainGrpcGovApi, U_ as InsuranceFund, Ug as GrpcPermissionNamespace, Uv as GrpcOrderInfo, Uy as TokenInfo, V as ChainGrpcEvmApi, V_ as GrpcInsuranceParams, Vg as GrpcPermissionActorRoles, Vv as GrpcMarketStatus, Vy as GrpcContractInfo, W_ as InsuranceModuleParams, Wg as GrpcPermissionPolicyStatus, Wv as GrpcOrderType, Wy as grpcContractInfo, X_ as GrpcSupply, Xg as GrpcPermissionsNamespace, Xv as GrpcTradeRewardCampaign, Xy as GrpcProposalDeposit, Y_ as GrpcBankParams, Yg as GrpcPermissionRoleManager, Yv as GrpcSpotOrder, Yy as GrpcProposal, Z_ as Metadata, Zg as GrpcPermissionsParams, Zv as GrpcTradingRewardCampaignBoostInfo, Zy as GrpcTallyResult, _ as ChainGrpcEvmTransformer, __ as TxFeesEipBaseFee, _g as BalancesResponse, _v as ChainDenomMinNotional, _y as GrpcValidator, a as ChainGrpcExchangeTransformer, a_ as PermissionPolicyManagerCapability, ab as VoteOption, ag as RestApiResponse, av as EvmBlobConfig, ay as TradingRewardCampaignInfo, b as ChainRestWasmApi, b_ as GrpcTokenPair, bg as AccountResponse, bv as DepositProposalParams, by as GrpcValidatorDescription, c as ChainGrpcCommonTransformer, c_ as PermissionRoleActors, cg as AuthorityMetadata, cv as EvmLog, cy as GrpcDelegation, d as ChainGrpcPeggyTransformer, d_ as PermissionVoucher, dg as TokenFactoryModuleState, dv as GrpcEvmBlobScheduleConfig, dy as GrpcReDelegation, e_ as PermissionAddressRoles, eb as ProposalDeposit, ev as Account, ey as OrderType, f as ChainGrpcAuthZTransformer, f_ as PermissionsModuleParams, fg as DistributionModuleParams, fv as GrpcEvmChainConfig, fy as GrpcReDelegationEntryResponse, g as ChainGrpcAuthTransformer, g_ as GrpcTxFeesParams, gg as ValidatorRewards, gv as ChainDenomDecimal, gy as GrpcUnbondingDelegationEntry, h as ChainGrpcBankTransformer, h_ as GrpcTxFeesEipBaseFee, hg as GrpcDistributionParams, hv as CampaignRewardPool, hy as GrpcUnbondingDelegation, i as ChainGrpcPermissionsTransformer, i_ as PermissionParams, ib as Vote, ig as ChainModule, iv as PubKey, iy as TradingRewardCampaignBoostInfo, j as ChainGrpcTxFeesApi, j_ as CreateDerivativeLimitOrderAuthz, jg as AuctionModuleState, jv as GrpcChainFullSpotMarket, jy as ContractAccountsBalanceWithPagination, k as ChainGrpcStakingApi, k_ as CancelDerivativeOrderAuthz, kg as AuctionLastAuctionResult, kv as GrpcChainDerivativePosition, ky as CodeInfoResponse, l as ChainGrpcTxFeesTransformer, l_ as PermissionRoleIDs, lg as FactoryDenomWithMetadata, lv as EvmParams, ly as GrpcDelegationResponse, m as ChainGrpcMintTransformer, m_ as OracleModuleParams, mg as GrpcDelegationDelegatorReward, mv as GrpcEvmParams, my as GrpcStakingParams, n as ChainGrpcTokenFactoryTransformer, n_ as PermissionGenesisState, nb as ProposalStatusMap, nv as AuthModuleParams, ny as PointsMultiplier, o as ChainGrpcStakingTransformer, o_ as PermissionPolicyStatus, ob as VoteOptionMap, og as BlockLatestRestResponse, ov as EvmBlobScheduleConfig, oy as BondStatus, p as ChainGrpcWasmTransformer, p_ as GrpcOracleParams, pg as GrpcDecCoin, pv as GrpcEvmLog, py as GrpcReDelegationResponse, q_ as MinModuleParams, qg as GrpcPermissionRoleActors, qv as GrpcSpotMarket, qy as GrpcGovernanceTallyParams, r as ChainGrpcDistributionTransformer, r_ as PermissionNamespace, rb as TallyResult, rv as EthAccount, ry as TradeRewardCampaign, s as ChainGrpcAuctionTransformer, s_ as PermissionRole, sb as WeightedVoteOption, sg as NodeInfoRestResponse, sv as EvmChainConfig, sy as Delegation, t as ChainGrpcInsuranceFundTransformer, t_ as PermissionAddressVoucher, tb as ProposalStatus, tv as AuthBaseAccount, ty as OrderTypeMap, u as ChainGrpcErc20Transformer, u_ as PermissionRoleManager, ug as TokenFactoryModuleParams, uv as GrpcEvmBlobConfig, uy as GrpcPool, v as ChainGrpcGovTransformer, v_ as TxFeesModuleStateParams, vg as DenomBalance, vv as ChainDerivativePosition, vy as GrpcValidatorCommission, w as ChainGrpcTokenFactoryApi, w_ as PeggyModuleParams, wg as AuctionBid, wv as FeeDiscountSchedule, wy as UnBondingDelegation, x as ChainRestAuthApi, x_ as Params, xg as AccountsResponse, xv as ExchangeModuleParams, xy as Pool, y as ChainRestTendermintApi, y_ as GrpcParams, yg as DenomOwnersResponse, yv as ChainPosition, yy as GrpcValidatorCommissionRates, z as ChainGrpcBankApi, z_ as GrantWithDecodedAuthorization, zg as GrpcAuctionLastAuctionResult, zv as GrpcFeeDiscountTierInfo, zy as GrpcCodeInfoResponse } from "../index-
|
|
5
|
-
import "../BaseGrpcConsumer-
|
|
6
|
-
import "../index-
|
|
7
|
-
import "../index-
|
|
2
|
+
import { tt as OracleType } from "../index-BJJNBulw.js";
|
|
3
|
+
import "../light-Cr4m0DAA.js";
|
|
4
|
+
import { $_ as TotalSupply, $g as PermissionActorRoles, $v as IsOptedOutOfRewards, $y as Proposal, A as ChainGrpcAuctionApi, A_ as CancelSpotOrderAuthz, Ag as AuctionModuleParams, Av as GrpcChainFullDerivativeMarket, Ay as ContractAccountBalance, B as ChainGrpcAuthApi, B_ as GrpcInsuranceFund, Bg as GrpcAuctionParams, Bv as GrpcFeeDiscountTierTTL, By as GrpcContractCodeHistoryEntry, C as ChainGrpcInsuranceFundApi, C_ as GrpcPeggyParams, Cg as CosmosAccountRestResponse, Cv as FeeDiscountAccountInfo, Cy as StakingModuleParams, D as ChainGrpcTendermintApi, D_ as BatchCreateDerivativeLimitOrdersAuthz, Dg as AuctionEventAuctionStart, Dv as GrpcCampaignRewardPool, Dy as ValidatorDescription, E as ChainGrpcPermissionsApi, E_ as BatchCancelSpotOrdersAuthz, Eg as AuctionEventAuctionResult, Ev as FeeDiscountTierTTL, Ey as ValidatorCommission, F as ChainGrpcPeggyApi, F_ as GenericAuthorization, Fg as GrpcAuctionBid, Fv as GrpcDenomMinNotional, Fy as ContractInfo, G_ as OracleTypeMap, Gg as GrpcPermissionPolicyStatusManagerCapability, Gv as GrpcOrderTypeMap, Gy as GovModuleStateParams, H as ChainGrpcIbcApi, H_ as GrpcRedemptionSchedule, Hg as GrpcPermissionAddressVoucher, Hv as GrpcMarketStatusMap, Hy as MarketingInfo, I as ChainGrpcAuthZApi, I_ as Grant, Ig as GrpcAuctionEventAuctionResult, Iv as GrpcExchangeParams, Iy as ContractStateWithPagination, J_ as BankModuleParams, Jg as GrpcPermissionRoleIDs, Jv as GrpcSpotMarketOrder, Jy as GrpcGovernanceVotingParams, K_ as GrpcMintParams, Kg as GrpcPermissionRole, Kv as GrpcPointsMultiplier, Ky as GrpcGovernanceDepositParams, L as ChainGrpcWasmApi, L_ as GrantAuthorization, Lg as GrpcAuctionEventAuctionStart, Lv as GrpcFeeDiscountAccountInfo, Ly as GoogleProtoBufAny, M as ChainGrpcOracleApi, M_ as CreateDerivativeMarketOrderAuthz, Mg as AuctionModuleStateParams, Mv as GrpcChainPosition, My as ContractCodeHistoryEntry, N as ChainGrpcErc20Api, N_ as CreateSpotLimitOrderAuthz, Ng as AuctionModuleStateResponse, Nv as GrpcChainSpotMarket, Ny as ContractCodeHistoryOperationType, O as ChainGrpcExchangeApi, O_ as BatchCreateSpotLimitOrdersAuthz, Og as AuctionEventBid, Ov as GrpcChainDerivativeMarket, Oy as AbsoluteTxPosition, P as ChainGrpcWasmXApi, P_ as CreateSpotMarketOrderAuthz, Pg as AuctionParams, Pv as GrpcDenomDecimals, Py as ContractCodeHistoryOperationTypeMap, Q_ as SendEnabled, Qg as PermissionActionMap, Qv as GrpcTradingRewardCampaignInfo, Qy as GrpcVote, R as ChainGrpcMintApi, R_ as GrantAuthorizationWithDecodedAuthorization, Rg as GrpcAuctionEventBid, Rv as GrpcFeeDiscountSchedule, Ry as GrpcAbsoluteTxPosition, S as ChainRestBankApi, S_ as TokenPair, Sg as BaseAccountRestResponse, Sv as ExchangeParams, Sy as ReDelegation, T as ChainGrpcDistributionApi, T_ as BatchCancelDerivativeOrdersAuthz, Tg as AuctionCurrentBasket, Tv as FeeDiscountTierInfo, Ty as Validator, U as ChainGrpcGovApi, U_ as InsuranceFund, Ug as GrpcPermissionNamespace, Uv as GrpcOrderInfo, Uy as TokenInfo, V as ChainGrpcEvmApi, V_ as GrpcInsuranceParams, Vg as GrpcPermissionActorRoles, Vv as GrpcMarketStatus, Vy as GrpcContractInfo, W_ as InsuranceModuleParams, Wg as GrpcPermissionPolicyStatus, Wv as GrpcOrderType, Wy as grpcContractInfo, X_ as GrpcSupply, Xg as GrpcPermissionsNamespace, Xv as GrpcTradeRewardCampaign, Xy as GrpcProposalDeposit, Y_ as GrpcBankParams, Yg as GrpcPermissionRoleManager, Yv as GrpcSpotOrder, Yy as GrpcProposal, Z_ as Metadata, Zg as GrpcPermissionsParams, Zv as GrpcTradingRewardCampaignBoostInfo, Zy as GrpcTallyResult, _ as ChainGrpcEvmTransformer, __ as TxFeesEipBaseFee, _g as BalancesResponse, _v as ChainDenomMinNotional, _y as GrpcValidator, a as ChainGrpcExchangeTransformer, a_ as PermissionPolicyManagerCapability, ab as VoteOption, ag as RestApiResponse, av as EvmBlobConfig, ay as TradingRewardCampaignInfo, b as ChainRestWasmApi, b_ as GrpcTokenPair, bg as AccountResponse, bv as DepositProposalParams, by as GrpcValidatorDescription, c as ChainGrpcCommonTransformer, c_ as PermissionRoleActors, cg as AuthorityMetadata, cv as EvmLog, cy as GrpcDelegation, d as ChainGrpcPeggyTransformer, d_ as PermissionVoucher, dg as TokenFactoryModuleState, dv as GrpcEvmBlobScheduleConfig, dy as GrpcReDelegation, e_ as PermissionAddressRoles, eb as ProposalDeposit, ev as Account, ey as OrderType, f as ChainGrpcAuthZTransformer, f_ as PermissionsModuleParams, fg as DistributionModuleParams, fv as GrpcEvmChainConfig, fy as GrpcReDelegationEntryResponse, g as ChainGrpcAuthTransformer, g_ as GrpcTxFeesParams, gg as ValidatorRewards, gv as ChainDenomDecimal, gy as GrpcUnbondingDelegationEntry, h as ChainGrpcBankTransformer, h_ as GrpcTxFeesEipBaseFee, hg as GrpcDistributionParams, hv as CampaignRewardPool, hy as GrpcUnbondingDelegation, i as ChainGrpcPermissionsTransformer, i_ as PermissionParams, ib as Vote, ig as ChainModule, iv as PubKey, iy as TradingRewardCampaignBoostInfo, j as ChainGrpcTxFeesApi, j_ as CreateDerivativeLimitOrderAuthz, jg as AuctionModuleState, jv as GrpcChainFullSpotMarket, jy as ContractAccountsBalanceWithPagination, k as ChainGrpcStakingApi, k_ as CancelDerivativeOrderAuthz, kg as AuctionLastAuctionResult, kv as GrpcChainDerivativePosition, ky as CodeInfoResponse, l as ChainGrpcTxFeesTransformer, l_ as PermissionRoleIDs, lg as FactoryDenomWithMetadata, lv as EvmParams, ly as GrpcDelegationResponse, m as ChainGrpcMintTransformer, m_ as OracleModuleParams, mg as GrpcDelegationDelegatorReward, mv as GrpcEvmParams, my as GrpcStakingParams, n as ChainGrpcTokenFactoryTransformer, n_ as PermissionGenesisState, nb as ProposalStatusMap, nv as AuthModuleParams, ny as PointsMultiplier, o as ChainGrpcStakingTransformer, o_ as PermissionPolicyStatus, ob as VoteOptionMap, og as BlockLatestRestResponse, ov as EvmBlobScheduleConfig, oy as BondStatus, p as ChainGrpcWasmTransformer, p_ as GrpcOracleParams, pg as GrpcDecCoin, pv as GrpcEvmLog, py as GrpcReDelegationResponse, q_ as MinModuleParams, qg as GrpcPermissionRoleActors, qv as GrpcSpotMarket, qy as GrpcGovernanceTallyParams, r as ChainGrpcDistributionTransformer, r_ as PermissionNamespace, rb as TallyResult, rv as EthAccount, ry as TradeRewardCampaign, s as ChainGrpcAuctionTransformer, s_ as PermissionRole, sb as WeightedVoteOption, sg as NodeInfoRestResponse, sv as EvmChainConfig, sy as Delegation, t as ChainGrpcInsuranceFundTransformer, t_ as PermissionAddressVoucher, tb as ProposalStatus, tv as AuthBaseAccount, ty as OrderTypeMap, u as ChainGrpcErc20Transformer, u_ as PermissionRoleManager, ug as TokenFactoryModuleParams, uv as GrpcEvmBlobConfig, uy as GrpcPool, v as ChainGrpcGovTransformer, v_ as TxFeesModuleStateParams, vg as DenomBalance, vv as ChainDerivativePosition, vy as GrpcValidatorCommission, w as ChainGrpcTokenFactoryApi, w_ as PeggyModuleParams, wg as AuctionBid, wv as FeeDiscountSchedule, wy as UnBondingDelegation, x as ChainRestAuthApi, x_ as Params, xg as AccountsResponse, xv as ExchangeModuleParams, xy as Pool, y as ChainRestTendermintApi, y_ as GrpcParams, yg as DenomOwnersResponse, yv as ChainPosition, yy as GrpcValidatorCommissionRates, z as ChainGrpcBankApi, z_ as GrantWithDecodedAuthorization, zg as GrpcAuctionLastAuctionResult, zv as GrpcFeeDiscountTierInfo, zy as GrpcCodeInfoResponse } from "../index-C_g6Cbjb.js";
|
|
5
|
+
import "../BaseGrpcConsumer-DnPFbzJi.js";
|
|
6
|
+
import "../index-SZeXNgo8.js";
|
|
7
|
+
import "../index-DcPKOj0m.js";
|
|
8
8
|
import "../coins-ceq0Id0M.js";
|
|
9
9
|
import "../address-light-BcZDS-ks.js";
|
|
10
10
|
import "../encoding-light-18k0e_8v.js";
|
|
11
11
|
import "../constants-BZ28P_pH.js";
|
|
12
|
-
import "../index-
|
|
13
|
-
import "../index-
|
|
14
|
-
import "../index-
|
|
12
|
+
import "../index-D3kPbyYA.js";
|
|
13
|
+
import "../index-B73CV7nM.js";
|
|
14
|
+
import "../index-81riAHnR.js";
|
|
15
15
|
export { AbsoluteTxPosition, Account, AccountResponse, AccountsResponse, AuctionBid, AuctionCurrentBasket, AuctionEventAuctionResult, AuctionEventAuctionStart, AuctionEventBid, AuctionLastAuctionResult, AuctionModuleParams, AuctionModuleState, AuctionModuleStateParams, AuctionModuleStateResponse, AuctionParams, AuthBaseAccount, AuthModuleParams, AuthorityMetadata, BalancesResponse, BankModuleParams, BaseAccountRestResponse, BatchCancelDerivativeOrdersAuthz, BatchCancelSpotOrdersAuthz, BatchCreateDerivativeLimitOrdersAuthz, BatchCreateSpotLimitOrdersAuthz, BlockLatestRestResponse, BondStatus, CampaignRewardPool, CancelDerivativeOrderAuthz, CancelSpotOrderAuthz, ChainDenomDecimal, ChainDenomMinNotional, ChainDerivativePosition, ChainGrpcAuctionApi, ChainGrpcAuctionTransformer, ChainGrpcAuthApi, ChainGrpcAuthTransformer, ChainGrpcAuthZApi, ChainGrpcAuthZTransformer, ChainGrpcBankApi, ChainGrpcBankTransformer, ChainGrpcCommonTransformer, ChainGrpcDistributionApi, ChainGrpcDistributionTransformer, ChainGrpcErc20Api, ChainGrpcErc20Transformer, ChainGrpcEvmApi, ChainGrpcEvmTransformer, ChainGrpcExchangeApi, ChainGrpcExchangeTransformer, ChainGrpcGovApi, ChainGrpcGovTransformer, ChainGrpcIbcApi, ChainGrpcInsuranceFundApi, ChainGrpcInsuranceFundTransformer, ChainGrpcMintApi, ChainGrpcMintTransformer, ChainGrpcOracleApi, ChainGrpcPeggyApi, ChainGrpcPeggyTransformer, ChainGrpcPermissionsApi, ChainGrpcPermissionsTransformer, ChainGrpcStakingApi, ChainGrpcStakingTransformer, ChainGrpcTendermintApi, ChainGrpcTokenFactoryApi, ChainGrpcTokenFactoryTransformer, ChainGrpcTxFeesApi, ChainGrpcTxFeesTransformer, ChainGrpcWasmApi, ChainGrpcWasmTransformer, ChainGrpcWasmXApi, ChainModule, ChainPosition, ChainRestAuthApi, ChainRestBankApi, ChainRestTendermintApi, ChainRestWasmApi, CodeInfoResponse, ContractAccountBalance, ContractAccountsBalanceWithPagination, ContractCodeHistoryEntry, ContractCodeHistoryOperationType, ContractCodeHistoryOperationTypeMap, ContractInfo, ContractStateWithPagination, CosmosAccountRestResponse, CreateDerivativeLimitOrderAuthz, CreateDerivativeMarketOrderAuthz, CreateSpotLimitOrderAuthz, CreateSpotMarketOrderAuthz, Delegation, DenomBalance, DenomOwnersResponse, DepositProposalParams, DistributionModuleParams, EthAccount, EvmBlobConfig, EvmBlobScheduleConfig, EvmChainConfig, EvmLog, EvmParams, ExchangeModuleParams, ExchangeParams, FactoryDenomWithMetadata, FeeDiscountAccountInfo, FeeDiscountSchedule, FeeDiscountTierInfo, FeeDiscountTierTTL, GenericAuthorization, GoogleProtoBufAny, GovModuleStateParams, Grant, GrantAuthorization, GrantAuthorizationWithDecodedAuthorization, GrantWithDecodedAuthorization, GrpcAbsoluteTxPosition, GrpcAuctionBid, GrpcAuctionEventAuctionResult, GrpcAuctionEventAuctionStart, GrpcAuctionEventBid, GrpcAuctionLastAuctionResult, GrpcAuctionParams, GrpcBankParams, GrpcCampaignRewardPool, GrpcChainDerivativeMarket, GrpcChainDerivativePosition, GrpcChainFullDerivativeMarket, GrpcChainFullSpotMarket, GrpcChainPosition, GrpcChainSpotMarket, GrpcCodeInfoResponse, GrpcContractCodeHistoryEntry, GrpcContractInfo, GrpcDecCoin, GrpcDelegation, GrpcDelegationDelegatorReward, GrpcDelegationResponse, GrpcDenomDecimals, GrpcDenomMinNotional, GrpcDistributionParams, GrpcEvmBlobConfig, GrpcEvmBlobScheduleConfig, GrpcEvmChainConfig, GrpcEvmLog, GrpcEvmParams, GrpcExchangeParams, GrpcFeeDiscountAccountInfo, GrpcFeeDiscountSchedule, GrpcFeeDiscountTierInfo, GrpcFeeDiscountTierTTL, GrpcGovernanceDepositParams, GrpcGovernanceTallyParams, GrpcGovernanceVotingParams, GrpcInsuranceFund, GrpcInsuranceParams, GrpcMarketStatus, GrpcMarketStatusMap, GrpcMintParams, GrpcOracleParams, GrpcOrderInfo, GrpcOrderType, GrpcOrderTypeMap, GrpcParams, GrpcPeggyParams, GrpcPermissionActorRoles, GrpcPermissionAddressVoucher, GrpcPermissionNamespace, GrpcPermissionPolicyStatus, GrpcPermissionPolicyStatusManagerCapability, GrpcPermissionRole, GrpcPermissionRoleActors, GrpcPermissionRoleIDs, GrpcPermissionRoleManager, GrpcPermissionsNamespace, GrpcPermissionsParams, GrpcPointsMultiplier, GrpcPool, GrpcProposal, GrpcProposalDeposit, ProposalStatus as GrpcProposalStatus, ProposalStatus, GrpcReDelegation, GrpcReDelegationEntryResponse, GrpcReDelegationResponse, GrpcRedemptionSchedule, GrpcSpotMarket, GrpcSpotMarketOrder, GrpcSpotOrder, GrpcStakingParams, GrpcSupply, GrpcTallyResult, GrpcTokenPair, GrpcTradeRewardCampaign, GrpcTradingRewardCampaignBoostInfo, GrpcTradingRewardCampaignInfo, GrpcTxFeesEipBaseFee, GrpcTxFeesParams, GrpcUnbondingDelegation, GrpcUnbondingDelegationEntry, GrpcValidator, GrpcValidatorCommission, GrpcValidatorCommissionRates, GrpcValidatorDescription, GrpcVote, InsuranceFund, InsuranceModuleParams, IsOptedOutOfRewards, MarketingInfo, Metadata, MinModuleParams, NodeInfoRestResponse, OracleModuleParams, OracleType, OracleTypeMap, OrderType, OrderTypeMap, Params, PeggyModuleParams, PermissionActionMap, PermissionActorRoles, PermissionAddressRoles, PermissionAddressVoucher, PermissionGenesisState, PermissionNamespace, PermissionParams, PermissionPolicyManagerCapability, PermissionPolicyStatus, PermissionRole, PermissionRoleActors, PermissionRoleIDs, PermissionRoleManager, PermissionVoucher, PermissionsModuleParams, PointsMultiplier, Pool, Proposal, ProposalDeposit, ProposalStatusMap, PubKey, ReDelegation, RestApiResponse, SendEnabled, StakingModuleParams, TallyResult, TokenFactoryModuleParams, TokenFactoryModuleState, TokenInfo, TokenPair, TotalSupply, TradeRewardCampaign, TradingRewardCampaignBoostInfo, TradingRewardCampaignInfo, TxFeesEipBaseFee, TxFeesModuleStateParams, UnBondingDelegation, Validator, ValidatorCommission, ValidatorDescription, ValidatorRewards, Vote, VoteOption, VoteOptionMap, WeightedVoteOption, grpcContractInfo };
|
package/dist/esm/client/chain.js
CHANGED
|
@@ -5,12 +5,12 @@ import { l as ChainGrpcCommonTransformer } from "../utils-B3t50ZnB.js";
|
|
|
5
5
|
import "../grpc-aI_RLGoG.js";
|
|
6
6
|
import "../coins-D4vONigS.js";
|
|
7
7
|
import "../address-light-C9skTx0P.js";
|
|
8
|
-
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-
|
|
9
|
-
import "../light-
|
|
8
|
+
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-D_FQwKrf.js";
|
|
9
|
+
import "../light-BflupdEX.js";
|
|
10
10
|
import "../stream-BqkNM_6g.js";
|
|
11
|
-
import "../BaseGrpcConsumer-
|
|
12
|
-
import { A as ChainGrpcAuthZTransformer, C as ChainGrpcDistributionTransformer, D as ChainGrpcTxFeesTransformer, E as ChainGrpcAuctionTransformer, F as ChainGrpcGovTransformer, M as ChainGrpcMintTransformer, N as ChainGrpcBankTransformer, O as ChainGrpcErc20Transformer, P as ChainGrpcEvmTransformer, S as ChainGrpcTokenFactoryTransformer, T as ChainGrpcStakingTransformer, _ as ChainGrpcBankApi, a as ChainGrpcDistributionApi, b as ChainGrpcGovApi, c as ChainGrpcAuctionApi, d as ChainGrpcErc20Api, f as ChainGrpcWasmXApi, g as ChainGrpcMintApi, h as ChainGrpcWasmApi, i as ChainGrpcTokenFactoryApi, j as ChainGrpcWasmTransformer, k as ChainGrpcPeggyTransformer, l as ChainGrpcTxFeesApi, m as ChainGrpcAuthZApi, n as ChainRestBankApi, o as ChainGrpcPermissionsApi, p as ChainGrpcPeggyApi, r as ChainGrpcInsuranceFundApi, s as ChainGrpcStakingApi, t as ChainRestWasmApi, u as ChainGrpcOracleApi, v as ChainGrpcEvmApi, w as ChainGrpcPermissionsTransformer, x as ChainGrpcInsuranceFundTransformer, y as ChainGrpcIbcApi } from "../chain-
|
|
13
|
-
import { n as ChainGrpcExchangeTransformer, t as ChainGrpcExchangeApi } from "../ChainGrpcExchangeApi-
|
|
11
|
+
import "../BaseGrpcConsumer-Ci8sUY5h.js";
|
|
12
|
+
import { A as ChainGrpcAuthZTransformer, C as ChainGrpcDistributionTransformer, D as ChainGrpcTxFeesTransformer, E as ChainGrpcAuctionTransformer, F as ChainGrpcGovTransformer, M as ChainGrpcMintTransformer, N as ChainGrpcBankTransformer, O as ChainGrpcErc20Transformer, P as ChainGrpcEvmTransformer, S as ChainGrpcTokenFactoryTransformer, T as ChainGrpcStakingTransformer, _ as ChainGrpcBankApi, a as ChainGrpcDistributionApi, b as ChainGrpcGovApi, c as ChainGrpcAuctionApi, d as ChainGrpcErc20Api, f as ChainGrpcWasmXApi, g as ChainGrpcMintApi, h as ChainGrpcWasmApi, i as ChainGrpcTokenFactoryApi, j as ChainGrpcWasmTransformer, k as ChainGrpcPeggyTransformer, l as ChainGrpcTxFeesApi, m as ChainGrpcAuthZApi, n as ChainRestBankApi, o as ChainGrpcPermissionsApi, p as ChainGrpcPeggyApi, r as ChainGrpcInsuranceFundApi, s as ChainGrpcStakingApi, t as ChainRestWasmApi, u as ChainGrpcOracleApi, v as ChainGrpcEvmApi, w as ChainGrpcPermissionsTransformer, x as ChainGrpcInsuranceFundTransformer, y as ChainGrpcIbcApi } from "../chain-DD4YqzP5.js";
|
|
13
|
+
import { n as ChainGrpcExchangeTransformer, t as ChainGrpcExchangeApi } from "../ChainGrpcExchangeApi-S5nJzebX.js";
|
|
14
14
|
import "../BaseRestConsumer-L3j9-i4T.js";
|
|
15
15
|
|
|
16
16
|
export { BondStatus, ChainGrpcAuctionApi, ChainGrpcAuctionTransformer, ChainGrpcAuthApi, ChainGrpcAuthTransformer, ChainGrpcAuthZApi, ChainGrpcAuthZTransformer, ChainGrpcBankApi, ChainGrpcBankTransformer, ChainGrpcCommonTransformer, ChainGrpcDistributionApi, ChainGrpcDistributionTransformer, ChainGrpcErc20Api, ChainGrpcErc20Transformer, ChainGrpcEvmApi, ChainGrpcEvmTransformer, ChainGrpcExchangeApi, ChainGrpcExchangeTransformer, 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, ContractCodeHistoryOperationTypeMap, GrpcMarketStatusMap, GrpcOrderTypeMap, OracleType, OracleTypeMap, OrderTypeMap, PermissionActionMap, ProposalStatusMap, VoteOptionMap };
|