@injectivelabs/sdk-ts 1.20.32 → 1.20.34
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/{SocialTradingGrpcApi-CiT0EoLU.cjs → SocialTradingGrpcApi-D4VP25kb.cjs} +25 -3
- package/dist/cjs/{TcAbacusGrpcApi-CCXsWbyv.cjs → TcAbacusGrpcApi-CozYaZlH.cjs} +13 -0
- package/dist/cjs/client/chain.d.cts +2 -2
- package/dist/cjs/client/indexer.d.cts +2 -2
- package/dist/cjs/client/platformServices.cjs +1 -1
- package/dist/cjs/client/platformServices.d.cts +2 -2
- package/dist/cjs/client/tcAbacus.cjs +1 -1
- package/dist/cjs/client/tcAbacus.d.cts +2 -2
- package/dist/cjs/core/accounts.d.cts +2 -2
- package/dist/cjs/core/modules.d.cts +2 -2
- package/dist/cjs/core/tx.d.cts +2 -2
- package/dist/cjs/{index-BT6ry_uf.d.cts → index-B5gFsbnp.d.cts} +37 -24
- package/dist/cjs/{index-Cf3narUx.d.cts → index-CqL8tEwj.d.cts} +34 -2
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/index.d.cts +3 -3
- package/dist/cjs/utils.d.cts +2 -2
- package/dist/esm/{SocialTradingGrpcApi-BuYKOLta.js → SocialTradingGrpcApi-B6GPo0bs.js} +25 -3
- package/dist/esm/{TcAbacusGrpcApi-Cju10AyK.js → TcAbacusGrpcApi-g-zwwExV.js} +13 -0
- package/dist/esm/client/chain.d.ts +2 -2
- package/dist/esm/client/indexer.d.ts +2 -2
- package/dist/esm/client/platformServices.d.ts +2 -2
- package/dist/esm/client/platformServices.js +1 -1
- package/dist/esm/client/tcAbacus.d.ts +2 -2
- package/dist/esm/client/tcAbacus.js +1 -1
- package/dist/esm/core/accounts.d.ts +2 -2
- package/dist/esm/core/modules.d.ts +2 -2
- package/dist/esm/core/tx.d.ts +2 -2
- package/dist/esm/{index-AjiuRw6d.d.ts → index-CVozxeeD.d.ts} +34 -2
- package/dist/esm/{index-BmSF53xy.d.ts → index-RFuIuhwk.d.ts} +37 -24
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/utils.d.ts +2 -2
- package/package.json +7 -7
|
@@ -30,6 +30,7 @@ var PlatformServicesGrpcPositionsTransformer = class PlatformServicesGrpcPositio
|
|
|
30
30
|
initialMargin: position.initialMargin,
|
|
31
31
|
avgEntryPrice: position.avgEntryPrice,
|
|
32
32
|
accountAddress: position.accountAddress,
|
|
33
|
+
exitPrice: position.exitPrice,
|
|
33
34
|
totalTrades: position.totalTrades.toString(),
|
|
34
35
|
openedHeight: position.openedHeight.toString(),
|
|
35
36
|
closedHeight: (_position$closedHeigh = position.closedHeight) === null || _position$closedHeigh === void 0 ? void 0 : _position$closedHeigh.toString(),
|
|
@@ -70,13 +71,15 @@ var PlatformServicesGrpcPositionsTransformer = class PlatformServicesGrpcPositio
|
|
|
70
71
|
leverage: stats.leverage,
|
|
71
72
|
rank: (_stats$rank = stats.rank) === null || _stats$rank === void 0 ? void 0 : _stats$rank.toString(),
|
|
72
73
|
wins: stats.wins.toString(),
|
|
74
|
+
totalVolume: stats.totalVolume,
|
|
73
75
|
maxDrawdown: stats.maxDrawdown,
|
|
74
76
|
equityCurve: stats.equityCurve,
|
|
75
77
|
losses: stats.losses.toString(),
|
|
76
78
|
pnlPercentage: stats.pnlPercentage,
|
|
77
79
|
accountAddress: stats.accountAddress,
|
|
78
80
|
tradeCount: stats.tradeCount.toString(),
|
|
79
|
-
closedPositions: stats.closedPositions.toString()
|
|
81
|
+
closedPositions: stats.closedPositions.toString(),
|
|
82
|
+
avgHoldDurationInSeconds: stats.avgHoldDurationInSeconds.toString()
|
|
80
83
|
};
|
|
81
84
|
}
|
|
82
85
|
static grpcGetAccountPositionStatsToAccountPositionStats(response) {
|
|
@@ -88,15 +91,23 @@ var PlatformServicesGrpcPositionsTransformer = class PlatformServicesGrpcPositio
|
|
|
88
91
|
leverage: response.leverage,
|
|
89
92
|
rank: (_response$rank = response.rank) === null || _response$rank === void 0 ? void 0 : _response$rank.toString(),
|
|
90
93
|
wins: response.wins.toString(),
|
|
94
|
+
totalVolume: response.totalVolume,
|
|
91
95
|
maxDrawdown: response.maxDrawdown,
|
|
92
96
|
equityCurve: response.equityCurve,
|
|
93
97
|
losses: response.losses.toString(),
|
|
94
98
|
pnlPercentage: response.pnlPercentage,
|
|
95
99
|
accountAddress: response.accountAddress,
|
|
96
100
|
tradeCount: response.tradeCount.toString(),
|
|
97
|
-
closedPositions: response.closedPositions.toString()
|
|
101
|
+
closedPositions: response.closedPositions.toString(),
|
|
102
|
+
avgHoldDurationInSeconds: response.avgHoldDurationInSeconds.toString()
|
|
98
103
|
};
|
|
99
104
|
}
|
|
105
|
+
static grpcListAccountTagsToListAccountTags(response) {
|
|
106
|
+
return { tags: response.tags };
|
|
107
|
+
}
|
|
108
|
+
static grpcGetAccountCountToGetAccountCount(response) {
|
|
109
|
+
return { totalAccounts: response.totalAccounts.toString() };
|
|
110
|
+
}
|
|
100
111
|
static grpcDailyPNLToDailyPNL(dailyPnl) {
|
|
101
112
|
return {
|
|
102
113
|
date: dailyPnl.date,
|
|
@@ -168,11 +179,22 @@ var SocialTradingGrpcApi = class extends require_BaseGrpcConsumer.BaseGrpcConsum
|
|
|
168
179
|
const response = await this.executeGrpcCall(request, this.client.getAccountDailyPNL.bind(this.client));
|
|
169
180
|
return PlatformServicesGrpcPositionsTransformer.grpcGetAccountDailyPNLToGetAccountDailyPNL(response);
|
|
170
181
|
}
|
|
182
|
+
async fetchAccountTags() {
|
|
183
|
+
const request = __injectivelabs_platform_services_proto_ts_v2_generated_goagen_api_positions_service_pb.ListAccountTagsRequest.create();
|
|
184
|
+
const response = await this.executeGrpcCall(request, this.client.listAccountTags.bind(this.client));
|
|
185
|
+
return PlatformServicesGrpcPositionsTransformer.grpcListAccountTagsToListAccountTags(response);
|
|
186
|
+
}
|
|
187
|
+
async fetchAccountCount() {
|
|
188
|
+
const request = __injectivelabs_platform_services_proto_ts_v2_generated_goagen_api_positions_service_pb.GetAccountCountRequest.create();
|
|
189
|
+
const response = await this.executeGrpcCall(request, this.client.getAccountCount.bind(this.client));
|
|
190
|
+
return PlatformServicesGrpcPositionsTransformer.grpcGetAccountCountToGetAccountCount(response);
|
|
191
|
+
}
|
|
171
192
|
async fetchAccountPositionStatsList(params) {
|
|
172
|
-
const { to, from, window, sortBy, pageSize, nextToken, sortDirection, accountAddress = [] } = params || {};
|
|
193
|
+
const { to, from, tag, window, sortBy, pageSize, nextToken, sortDirection, accountAddress = [] } = params || {};
|
|
173
194
|
const request = __injectivelabs_platform_services_proto_ts_v2_generated_goagen_api_positions_service_pb.ListAccountPositionStatsRequest.create({
|
|
174
195
|
to,
|
|
175
196
|
from,
|
|
197
|
+
tag,
|
|
176
198
|
window,
|
|
177
199
|
sortBy,
|
|
178
200
|
pageSize,
|
|
@@ -8,6 +8,9 @@ let __injectivelabs_tc_abacus_proto_ts_v2_generated_injective_tc_abacus_rpc_pb_c
|
|
|
8
8
|
|
|
9
9
|
//#region src/client/tcAbacus/grpc/transformers/index.ts
|
|
10
10
|
var TcAbacusGrpcTransformer = class TcAbacusGrpcTransformer {
|
|
11
|
+
static grpcReferrerCategoryToReferrerCategory(category) {
|
|
12
|
+
return category || "default";
|
|
13
|
+
}
|
|
11
14
|
static grpcCurrentEpochToCurrentEpoch(response) {
|
|
12
15
|
return {
|
|
13
16
|
epochEnd: response.epochEnd,
|
|
@@ -47,6 +50,7 @@ var TcAbacusGrpcTransformer = class TcAbacusGrpcTransformer {
|
|
|
47
50
|
code: response.code,
|
|
48
51
|
address: response.address,
|
|
49
52
|
isKol: response.isKol,
|
|
53
|
+
category: TcAbacusGrpcTransformer.grpcReferrerCategoryToReferrerCategory(response.category),
|
|
50
54
|
last7DVolume: response.last7DVolume,
|
|
51
55
|
inviteeCount: response.inviteeCount,
|
|
52
56
|
allTimeVolume: response.allTimeVolume,
|
|
@@ -63,6 +67,7 @@ var TcAbacusGrpcTransformer = class TcAbacusGrpcTransformer {
|
|
|
63
67
|
height: referrer.height.toString(),
|
|
64
68
|
isKol: referrer.isKol,
|
|
65
69
|
status: referrer.status,
|
|
70
|
+
category: TcAbacusGrpcTransformer.grpcReferrerCategoryToReferrerCategory(referrer.category),
|
|
66
71
|
inviteeCount: referrer.inviteeCount,
|
|
67
72
|
creatorAddress: referrer.creatorAddress
|
|
68
73
|
};
|
|
@@ -188,6 +193,14 @@ var TcAbacusGrpcApi = class extends require_BaseGrpcConsumer.BaseGrpcConsumer {
|
|
|
188
193
|
});
|
|
189
194
|
return await this.executeGrpcCall(request, this.client.createReferrerCode.bind(this.client));
|
|
190
195
|
}
|
|
196
|
+
async setReferrerCategory(address, category) {
|
|
197
|
+
if (category !== "default" && category !== "kol1" && category !== "kol2") throw new Error(`Invalid referrer category: ${category}`);
|
|
198
|
+
const request = __injectivelabs_tc_abacus_proto_ts_v2_generated_injective_tc_abacus_rpc_pb.SetReferrerCategoryRequest.create({
|
|
199
|
+
address,
|
|
200
|
+
category
|
|
201
|
+
});
|
|
202
|
+
return this.executeGrpcCall(request, this.client.setReferrerCategory.bind(this.client));
|
|
203
|
+
}
|
|
191
204
|
async fetchReferrerCodes(address, cursor, limit) {
|
|
192
205
|
const request = __injectivelabs_tc_abacus_proto_ts_v2_generated_injective_tc_abacus_rpc_pb.ListReferrerCodesRequest.create({
|
|
193
206
|
limit,
|
|
@@ -10,7 +10,7 @@ import "../address-light-CnSMr-vR.cjs";
|
|
|
10
10
|
import "../encoding-light-D-6m9tHO.cjs";
|
|
11
11
|
import "../constants-DQTrjP5R.cjs";
|
|
12
12
|
import "../index-CiWsZ0Bw.cjs";
|
|
13
|
-
import "../index-
|
|
14
|
-
import "../index-
|
|
13
|
+
import "../index-B5gFsbnp.cjs";
|
|
14
|
+
import "../index-CqL8tEwj.cjs";
|
|
15
15
|
import "../index-BZDon-tA.cjs";
|
|
16
16
|
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 };
|
|
@@ -10,7 +10,7 @@ import "../address-light-CnSMr-vR.cjs";
|
|
|
10
10
|
import "../encoding-light-D-6m9tHO.cjs";
|
|
11
11
|
import "../constants-DQTrjP5R.cjs";
|
|
12
12
|
import "../index-CiWsZ0Bw.cjs";
|
|
13
|
-
import "../index-
|
|
14
|
-
import "../index-
|
|
13
|
+
import "../index-B5gFsbnp.cjs";
|
|
14
|
+
import "../index-CqL8tEwj.cjs";
|
|
15
15
|
import "../index-BZDon-tA.cjs";
|
|
16
16
|
export { AccessType, AccessTypeCode, AccountAuctionStatus, AccountAuctionV2, AccountPortfolio, AccountPortfolioBalances, AccountPortfolioStreamCallback, AccountPortfolioStreamCallbackV2, AccountPortfolioV2, AccountStats, AllChronosDerivativeMarketSummary, AllChronosMarketHistory, AllChronosSpotMarketSummary, AllDerivativeMarketSummaryResponse, AllSpotMarketSummaryResponse, AtomicSwap, Auction, AuctionCoin, AuctionCoinPrices, AuctionContract, AuctionV2, AuctionsStats, BalanceStreamCallback, BalanceStreamCallbackV2, BankMsgSendTransaction, BankTransfer, BankTransferFromExplorerApiResponse, BaseDerivativeMarket, BatchDerivativeOrderCancelParams, BatchSpotOrderCancelParams, BidsStreamCallback, BidsStreamCallbackV2, BinaryOptionsMarket, Block, BlockFromExplorerApiResponse, BlockWithTxs, BlocksStreamCallback, BlocksStreamCallbackV2, BlocksWithTxsStreamCallback, BlocksWithTxsStreamCallbackV2, CW20BalanceExplorerApiResponse, CW20Message, Campaign, CampaignUser, CampaignV2, ChronosDerivativeMarketSummary, ChronosDerivativeMarketSummaryResponse, ChronosLeaderboard, ChronosLeaderboardEntry, ChronosLeaderboardResponse, ChronosMarketHistoryResponse, ChronosSpotMarketSummary, ChronosSpotMarketSummaryResponse, Contract, ContractExplorerApiResponse, ContractTransaction, ContractTransactionExplorerApiResponse, ContractTransactionWithMessages, CosmWasmChecksum, CosmWasmPermission, CosmosPubKeyType, DenomHolders, DerivativeLimitOrder, DerivativeLimitOrderParams, DerivativeMarket, DerivativeMarketStreamCallback, DerivativeMarketStreamCallbackV2, DerivativeMarketWithoutBinaryOptions, DerivativeOrderCancelParams, DerivativeOrderHistory, DerivativeOrderHistoryStreamCallback, DerivativeOrderHistoryStreamCallbackV2, DerivativeOrderbookUpdateStreamCallback, DerivativeOrderbookUpdateStreamCallbackV2, DerivativeOrderbookV2StreamCallback, DerivativeOrderbookV2StreamCallbackV2, DerivativeOrdersStreamCallback, DerivativeOrdersStreamCallbackV2, DerivativePositionsStreamCallback, DerivativePositionsStreamCallbackV2, DerivativePositionsV2StreamCallback, DerivativePositionsV2StreamCallbackV2, DerivativeTrade, DerivativeTradesStreamCallback, DerivativeTradesStreamCallbackV2, EventLog, EventLogEvent, ExpiryFuturesMarket, ExpiryFuturesMarketInfo, ExplorerApiResponse, ExplorerApiResponseWithPagination, ExplorerBlockApiResponse, ExplorerBlockWithTxs, ExplorerCW20BalanceWithToken, ExplorerStats, ExplorerStreamTransformer, ExplorerTransaction, ExplorerTransactionApiResponse, ExplorerTransactionV2, ExplorerTxsV2Response, ExplorerValidator, ExplorerValidatorDescription, ExplorerValidatorUptime, FundingPayment, FundingRate, GasFee, GridStrategyStreamCallbackV2, GridStrategyStreamResponse, GridStrategyType, GrpcAccountAuctionV2, GrpcAccountPortfolio, GrpcAccountPortfolioV2, GrpcAtomicSwap, GrpcAuction, GrpcAuctionCoin, GrpcAuctionCoinPrices, GrpcAuctionContract, GrpcAuctionV2, GrpcBankMsgSendMessage, GrpcBinaryOptionsMarketInfo, GrpcCampaign, GrpcCampaignUser, GrpcCampaignV2, GrpcCosmosPubKey, GrpcDecodeError, GrpcDenomHolders, GrpcDerivativeLimitOrder, GrpcDerivativeMarketInfo, GrpcDerivativeOrderHistory, GrpcDerivativePosition, GrpcDerivativePositionV2, GrpcDerivativeTrade, GrpcExpiryFuturesMarketInfo, GrpcExplorerStats, GrpcFrame, GrpcFundingPayment, GrpcFundingRate, GrpcGasFee, GrpcGuild, GrpcGuildMember, GrpcHistoricalBalance, GrpcHistoricalRPNL, GrpcHistoricalVolumes, GrpcIBCTransferTx, GrpcIndexerAuctionBid, GrpcIndexerInsuranceFund, GrpcIndexerRedemptionSchedule, GrpcIndexerValidatorDescription, GrpcLeaderboardRow, GrpcMegaVaultApr, GrpcMegaVaultAprStats, GrpcMegaVaultHistoricalPnL, GrpcMegaVaultHistoricalTVL, GrpcMegaVaultIncentives, GrpcMegaVaultMaxDrawdown, GrpcMegaVaultOperationStatusLogEntry, GrpcMegaVaultOperator, GrpcMegaVaultOperatorRedemptionBucket, GrpcMegaVaultPnl, GrpcMegaVaultPnlStats, GrpcMegaVaultRedemption, GrpcMegaVaultSubscription, GrpcMegaVaultTargetApr, GrpcMegaVaultUnrealizedPnl, GrpcMegaVaultUserStats, GrpcMegaVaultVaultStats, GrpcMegaVaultVolatility, GrpcMegaVaultVolatilityStats, GrpcMitoChanges, GrpcMitoClaimReference, GrpcMitoDenomBalance, GrpcMitoHolders, GrpcMitoIDO, GrpcMitoIDOClaimedCoins, GrpcMitoIDOProgress, GrpcMitoIDOSubscriber, GrpcMitoIDOSubscription, GrpcMitoIDOSubscriptionActivity, GrpcMitoLeaderboardEntry, GrpcMitoLeaderboardEpoch, GrpcMitoMission, GrpcMitoMissionLeaderboardEntry, GrpcMitoPagination, GrpcMitoPriceSnapshot, GrpcMitoStakingGauge, GrpcMitoStakingPool, GrpcMitoStakingStakingActivity, GrpcMitoStakingStakingReward, GrpcMitoSubaccountBalance, GrpcMitoSubscription, GrpcMitoTokenInfo, GrpcMitoVault, GrpcMitoWhitelistAccount, GrpcOracle, GrpcOraclePriceV2, GrpcPeggyDepositTx, GrpcPeggyWithdrawalTx, GrpcPerpetualMarketFunding, GrpcPerpetualMarketInfo, GrpcPnlLeaderboard, GrpcPortfolioSubaccountBalanceV2, GrpcPositionDelta, GrpcPositionV2, GrpcPositionsWithUPNL, GrpcPriceLevel, GrpcRFQConditionalOrder, GrpcRFQExpiry, GrpcRFQGwPrepareAutoSignRequest, GrpcRFQGwPrepareAutoSignResponse, GrpcRFQGwPrepareEip712AutoSignRequest, GrpcRFQGwPrepareEip712AutoSignResponse, GrpcRFQGwPrepareEip712Request, GrpcRFQGwPrepareEip712Response, GrpcRFQGwPrepareQuoteResult, GrpcRFQGwPrepareRequest, GrpcRFQGwPrepareResponse, GrpcRFQProcessedQuote, GrpcRFQQuote, GrpcRFQRequest, GrpcRFQSettlement, GrpcSpotAverageEntry, GrpcSpotLimitOrder, GrpcSpotMarketInfo, GrpcSpotOrderHistory, GrpcSpotTrade, GrpcSubaccountBalance, GrpcSubaccountBalanceTransfer, GrpcSubaccountDeposit, GrpcSubaccountDepositV2, GrpcSubaccountPortfolio, GrpcTcDerivativeLimitOrder, GrpcTcDerivativeOrderHistory, GrpcTcDerivativeOrdersResponse, GrpcTcDerivativePosition, GrpcTcDerivativeTradeHistory, GrpcTcDerivativeTradesResponse, GrpcTcDerivativesOrdersHistoryResponse, GrpcTcDerivativesPositionsResponse, GrpcTcFundingPayment, GrpcTcFundingPaymentsResponse, GrpcTcPositionDelta, GrpcTokenMeta, GrpcTradingReward, GrpcValidatorSlashingEvent, GrpcValidatorUptime, GrpcVolLeaderboard, GrpcWebSocketCodec, GrpcWebSocketTransport, GrpcWsPriceOracleLatestMarketPricesResponse, GrpcWsPriceOracleLatestMarketPricesV2Response, GrpcWsPriceOracleLightMarketStreamMessage, GrpcWsPriceOracleMarketStreamLeg, GrpcWsPriceOracleMarketStreamMessage, GrpcWsPriceOracleMarketStreamRawPayload, GrpcWsPriceOracleStreamMarketsResponse, GrpcWsPriceOracleStreamMarketsV2Response, Guild, GuildCampaignSummary, GuildMember, HistoricalBalance, HistoricalRPNL, HistoricalStakingStreamCallback, HistoricalStakingStreamCallbackV2, HistoricalVolumes, Holder, IBCTransferTx, IncentivesCampaign, IncentivesRound, IndexerAccountPortfolioStreamTransformer, IndexerAccountStreamTransformer, IndexerArchiverStreamTransformer, IndexerAuctionBid, IndexerAuctionStreamTransformer, IndexerCampaignTransformer, IndexerDerivativeStreamTransformer, IndexerGrpcAccountApi, IndexerGrpcAccountPortfolioApi, IndexerGrpcAccountPortfolioStream, IndexerGrpcAccountPortfolioStreamV2, IndexerGrpcAccountPortfolioTransformer, IndexerGrpcAccountStream, IndexerGrpcAccountStreamV2, IndexerGrpcAccountTransformer, IndexerGrpcArchiverApi, IndexerGrpcArchiverStream, IndexerGrpcArchiverStreamV2, IndexerGrpcArchiverTransformer, IndexerGrpcAuctionApi, IndexerGrpcAuctionStream, IndexerGrpcAuctionStreamV2, IndexerGrpcAuctionTransformer, IndexerGrpcCampaignApi, IndexerGrpcDerivativeTransformer, IndexerGrpcDerivativesApi, IndexerGrpcDerivativesStream, IndexerGrpcDerivativesStreamV2, IndexerGrpcExplorerApi, IndexerGrpcExplorerStream, IndexerGrpcExplorerStreamV2, IndexerGrpcExplorerTransformer, IndexerGrpcInsuranceFundApi, IndexerGrpcInsuranceFundTransformer, IndexerGrpcMegaVaultApi, IndexerGrpcMegaVaultTransformer, IndexerGrpcMetaApi, IndexerGrpcMitoApi, IndexerGrpcMitoStream, IndexerGrpcMitoStreamTransformer, IndexerGrpcMitoStreamV2, IndexerGrpcMitoTransformer, IndexerGrpcOracleApi, IndexerGrpcOracleStream, IndexerGrpcOracleStreamV2, IndexerGrpcOracleTransformer, IndexerGrpcRFQApi, IndexerGrpcReferralApi, IndexerGrpcReferralTransformer, IndexerGrpcRfqGwApi, IndexerGrpcRfqGwTransformer, IndexerGrpcRfqStreamV2, IndexerGrpcRfqTransformer, IndexerGrpcSpotApi, IndexerGrpcSpotStream, IndexerGrpcSpotStreamV2, IndexerGrpcSpotTransformer, IndexerGrpcTcDerivativesApi, IndexerGrpcTcDerivativesStreamV2, IndexerGrpcTcDerivativesTransformer, IndexerGrpcTradingApi, IndexerGrpcTradingStream, IndexerGrpcTradingStreamV2, IndexerGrpcTransactionApi, IndexerGrpcWeb3GwApi, IndexerGrpcWsPriceOracleApi, IndexerGrpcWsPriceOracleStream, IndexerGrpcWsPriceOracleStreamV2, IndexerInsuranceFund, IndexerModule, IndexerOracleStreamTransformer, IndexerRestDerivativesChronosApi, IndexerRestExplorerApi, IndexerRestExplorerTransformer, IndexerRestLeaderboardChronosApi, IndexerRestMarketChronosApi, IndexerRestSpotChronosApi, IndexerRfqStreamTransformer, IndexerSpotStreamTransformer, IndexerStreamTransaction, IndexerTcDerivativesStreamTransformer, IndexerTokenMeta, IndexerWsMakerStream, IndexerWsPriceOracleStreamTransformer, IndexerWsTakerStream, InsuranceFundCreateParams, IsomorphicWebSocket, LeaderboardRow, ListTradingStrategiesResponse, MakerStreamConfig, MakerStreamEvents, MarketType, MarketsStreamCallback, MegaVault, MegaVaultApr, MegaVaultAprStats, MegaVaultHistoricalPnL, MegaVaultHistoricalTVL, MegaVaultIncentives, MegaVaultMaxDrawdown, MegaVaultOperator, MegaVaultOperatorRedemptionBucket, MegaVaultPnl, MegaVaultPnlStats, MegaVaultRedemption, MegaVaultRedemptionStatus, MegaVaultStats, MegaVaultSubscription, MegaVaultSubscriptionStatus, MegaVaultTargetApr, MegaVaultUnrealizedPnl, MegaVaultUser, MegaVaultUserStats, MegaVaultVolatility, MegaVaultVolatilityStats, Message, MitoChanges, MitoClaimReference, MitoDenomBalance, MitoGauge, MitoGaugeStatus, MitoHolders, MitoIDO, MitoIDOClaimedCoins, MitoIDOInitParams, MitoIDOProgress, MitoIDOSubscriber, MitoIDOSubscription, MitoIDOSubscriptionActivity, MitoLeaderboard, MitoLeaderboardEntry, MitoLeaderboardEpoch, MitoMission, MitoMissionLeaderboard, MitoMissionLeaderboardEntry, MitoPagination, MitoPortfolio, MitoPriceSnapshot, MitoStakeToSubscription, MitoStakingActivity, MitoStakingPool, MitoStakingReward, MitoSubaccountBalance, MitoSubscription, MitoTokenInfo, MitoTransfer, MitoVault, MitoVestingConfig, MitoVestingConfigMap, MitoWhitelistAccount, OpenNotionalCap, OperationStatusLogEntry, Oracle, OracleListStreamCallbackV2, OraclePriceStreamCallback, OraclePriceStreamCallbackV2, OraclePriceV2, OraclePriceV2Filter, OraclePricesByMarketsStreamCallback, OraclePricesByMarketsStreamCallbackV2, Orderbook, OrderbookWithSequence, Paging, PeggyDepositTx, PeggyWithdrawalTx, PerpetualMarket, PerpetualMarketFunding, PerpetualMarketInfo, PnlLeaderboard, PortfolioSubaccountBalanceV2, Position, PositionDelta, PositionV2, PositionsWithUPNL, PriceLevel, QuantityAndFees, QuoteStreamCallbackV2, RFQConditionalOrder, RFQConditionalOrderInput, RFQConditionalOrdersResponse, RFQExpiryType, RFQGwPrepareAutoSignRequestType, RFQGwPrepareAutoSignResponseType, RFQGwPrepareEip712AutoSignRequestType, RFQGwPrepareEip712AutoSignResponseType, RFQGwPrepareEip712RequestType, RFQGwPrepareEip712ResponseType, RFQGwPrepareQuoteResultType, RFQGwPrepareRequestType, RFQGwPrepareResponseType, RFQMakerAuth, RFQMakerChallenge, RFQMakerStreamAckData, RFQProcessedQuoteType, RFQQuoteType, RFQRequestInputType, RFQRequestType, RFQSettlementLimitActionType, RFQSettlementType, RFQSettlementUnfilledActionType, RFQSignMode, RFQStreamErrorData, RFQStreamPingData, RFQTakerStreamAckData, Redemption, RedemptionStatus, ReferralDetails, RequestStreamCallbackV2, ResolvedWsTransportConfig, Route, SettlementStreamCallbackV2, SettlementsResponse, Signature, SpotAverageEntriesStreamCallback, SpotAverageEntriesStreamCallbackV2, SpotAverageEntry, SpotLimitOrder, SpotLimitOrderParams, SpotMarket, SpotOrderCancelParams, SpotOrderHistory, SpotOrderHistoryStreamCallback, SpotOrderHistoryStreamCallbackV2, SpotOrderbookUpdateStreamCallback, SpotOrderbookUpdateStreamCallbackV2, SpotOrderbookV2StreamCallback, SpotOrdersStreamCallback, SpotOrdersStreamCallbackV2, SpotTrade, SpotTradesStreamCallback, SpotTradesStreamCallbackV2, StakingRewardByAccountStreamCallback, StakingRewardByAccountStreamCallbackV2, StreamBidsResponse, StreamManager, StreamManagerV2, StreamStatusResponse, SubaccountBalance, SubaccountDeposit, SubaccountDepositV2, SubaccountPortfolio, SubaccountTransfer, TakerStreamConfig, TakerStreamEvents, TcDerivativeLimitOrder, TcDerivativeOrderHistory, TcDerivativeOrderHistoryStreamCallbackV2, TcDerivativeOrdersResponse, TcDerivativeOrdersStreamCallbackV2, TcDerivativePosition, TcDerivativePositionsStreamCallbackV2, TcDerivativeTradeHistory, TcDerivativeTradesResponse, TcDerivativeTradesStreamCallbackV2, TcDerivativesOrdersHistoryResponse, TcDerivativesPositionsResponse, TcFundingPayment, TcFundingPaymentsResponse, TcPositionDelta, TradingReward, TradingStrategy, Transaction, TransactionFromExplorerApiResponse, TransactionsStreamCallback, TransactionsStreamCallbackV2, TransferType, TransfersStreamCallback, TransfersStreamCallbackV2, TransportEventListener, TransportEventType, TransportEvents, TxMessage, ValidatorSlashingEvent, ValidatorUptime, ValidatorUptimeFromExplorerApiResponse, ValidatorUptimeStatus, VaultHolderSubscriptionStreamCallback, VaultHolderSubscriptionStreamCallbackV2, VaultStreamCallback, VaultStreamCallbackV2, VolLeaderboard, WasmCode, WasmCodeExplorerApiResponse, WsDisconnectReason, WsPriceOracleLatestMarketPricesParams, WsPriceOracleLatestMarketPricesResponse, WsPriceOracleLatestMarketPricesV2Params, WsPriceOracleLatestMarketPricesV2Response, WsPriceOracleLightMarketStreamMessage, WsPriceOracleMarketPrice, WsPriceOracleMarketStreamLeg, WsPriceOracleMarketStreamRawPayload, WsPriceOracleMarketsStreamCallback, WsPriceOracleMarketsStreamCallbackV2, WsPriceOracleMarketsV2StreamCallback, WsPriceOracleMarketsV2StreamCallbackV2, WsPriceOracleResponseMode, WsPriceOracleSlimPrices, WsPriceOracleStreamMarketsResponse, WsPriceOracleStreamMarketsV2Response, WsReconnectConfig, WsState, WsTransportConfig, createStreamSubscription, createStreamSubscriptionV2 };
|
|
@@ -3,6 +3,6 @@ require('../grpc-3Z8ffFdZ.cjs');
|
|
|
3
3
|
require('../light-CrajlUvd.cjs');
|
|
4
4
|
require('../stream-NLunNFnw.cjs');
|
|
5
5
|
require('../BaseGrpcConsumer-Ppsh5NLZ.cjs');
|
|
6
|
-
const require_SocialTradingGrpcApi = require('../SocialTradingGrpcApi-
|
|
6
|
+
const require_SocialTradingGrpcApi = require('../SocialTradingGrpcApi-D4VP25kb.cjs');
|
|
7
7
|
|
|
8
8
|
exports.SocialTradingGrpcApi = require_SocialTradingGrpcApi.SocialTradingGrpcApi;
|
|
@@ -2,5 +2,5 @@ import "../tx_pb-BzYfNmn2.cjs";
|
|
|
2
2
|
import "../index-B674D7pD.cjs";
|
|
3
3
|
import "../light-B-3BDUJ7.cjs";
|
|
4
4
|
import "../BaseGrpcConsumer-BoWkMu4k.cjs";
|
|
5
|
-
import { _ as
|
|
6
|
-
export { GrpcPlatformServicesAccountPositionStats, GrpcPlatformServicesDailyPNL, GrpcPlatformServicesPosition, GrpcPlatformServicesPositionTrade, PlatformServicesAccountPositionStats, PlatformServicesDailyPNL, PlatformServicesGetAccountDailyPNLParams, PlatformServicesGetAccountDailyPNLResponse, PlatformServicesGetAccountPositionStatsParams, PlatformServicesListAccountPositionStatsParams, PlatformServicesListAccountPositionStatsResponse, PlatformServicesListPositionTradesParams, PlatformServicesListPositionTradesResponse, PlatformServicesListPositionsParams, PlatformServicesListPositionsResponse, PlatformServicesPosition, PlatformServicesPositionTrade, PlatformServicesPositionsSortBy, PlatformServicesPositionsSortDirection, PlatformServicesPositionsStatsWindow, SocialTradingGrpcApi };
|
|
5
|
+
import { C as PlatformServicesPositionsStatsWindow, S as PlatformServicesPositionsSortDirection, _ as PlatformServicesListPositionsParams, a as GrpcPlatformServicesPositionTrade, b as PlatformServicesPositionTrade, c as PlatformServicesGetAccountCountResponse, d as PlatformServicesGetAccountPositionStatsParams, f as PlatformServicesListAccountPositionStatsParams, g as PlatformServicesListPositionTradesResponse, h as PlatformServicesListPositionTradesParams, i as GrpcPlatformServicesPosition, l as PlatformServicesGetAccountDailyPNLParams, m as PlatformServicesListAccountTagsResponse, n as GrpcPlatformServicesAccountPositionStats, o as PlatformServicesAccountPositionStats, p as PlatformServicesListAccountPositionStatsResponse, r as GrpcPlatformServicesDailyPNL, s as PlatformServicesDailyPNL, t as SocialTradingGrpcApi, u as PlatformServicesGetAccountDailyPNLResponse, v as PlatformServicesListPositionsResponse, x as PlatformServicesPositionsSortBy, y as PlatformServicesPosition } from "../index-CqL8tEwj.cjs";
|
|
6
|
+
export { GrpcPlatformServicesAccountPositionStats, GrpcPlatformServicesDailyPNL, GrpcPlatformServicesPosition, GrpcPlatformServicesPositionTrade, PlatformServicesAccountPositionStats, PlatformServicesDailyPNL, PlatformServicesGetAccountCountResponse, PlatformServicesGetAccountDailyPNLParams, PlatformServicesGetAccountDailyPNLResponse, PlatformServicesGetAccountPositionStatsParams, PlatformServicesListAccountPositionStatsParams, PlatformServicesListAccountPositionStatsResponse, PlatformServicesListAccountTagsResponse, PlatformServicesListPositionTradesParams, PlatformServicesListPositionTradesResponse, PlatformServicesListPositionsParams, PlatformServicesListPositionsResponse, PlatformServicesPosition, PlatformServicesPositionTrade, PlatformServicesPositionsSortBy, PlatformServicesPositionsSortDirection, PlatformServicesPositionsStatsWindow, SocialTradingGrpcApi };
|
|
@@ -3,6 +3,6 @@ require('../grpc-3Z8ffFdZ.cjs');
|
|
|
3
3
|
require('../light-CrajlUvd.cjs');
|
|
4
4
|
require('../stream-NLunNFnw.cjs');
|
|
5
5
|
require('../BaseGrpcConsumer-Ppsh5NLZ.cjs');
|
|
6
|
-
const require_TcAbacusGrpcApi = require('../TcAbacusGrpcApi-
|
|
6
|
+
const require_TcAbacusGrpcApi = require('../TcAbacusGrpcApi-CozYaZlH.cjs');
|
|
7
7
|
|
|
8
8
|
exports.TcAbacusGrpcApi = require_TcAbacusGrpcApi.TcAbacusGrpcApi;
|
|
@@ -2,5 +2,5 @@ import "../tx_pb-BzYfNmn2.cjs";
|
|
|
2
2
|
import "../index-B674D7pD.cjs";
|
|
3
3
|
import "../light-B-3BDUJ7.cjs";
|
|
4
4
|
import "../BaseGrpcConsumer-BoWkMu4k.cjs";
|
|
5
|
-
import { a as
|
|
6
|
-
export { AccountInviteesResponse, AccountPointsResponse, AccountStatsResponse, CurrentEpochResponse, HealthCheckResponse, InviteeReferrer, ListReferrerCodesResponse, ListReferrersResponse, Referrer, ReferrerCode, ReferrerEligibilityResponse, ReferrerInvitee, SnapshotPoints, TcAbacusGrpcApi };
|
|
5
|
+
import { a as CurrentEpochResponse, c as ListReferrerCodesResponse, d as ReferrerCategory, f as ReferrerCategoryResponse, g as SnapshotPoints, h as ReferrerInvitee, i as AccountStatsResponse, l as ListReferrersResponse, m as ReferrerEligibilityResponse, n as AccountInviteesResponse, o as HealthCheckResponse, p as ReferrerCode, r as AccountPointsResponse, s as InviteeReferrer, t as TcAbacusGrpcApi, u as Referrer } from "../index-B5gFsbnp.cjs";
|
|
6
|
+
export { AccountInviteesResponse, AccountPointsResponse, AccountStatsResponse, CurrentEpochResponse, HealthCheckResponse, InviteeReferrer, ListReferrerCodesResponse, ListReferrersResponse, Referrer, ReferrerCategory, ReferrerCategoryResponse, ReferrerCode, ReferrerEligibilityResponse, ReferrerInvitee, SnapshotPoints, TcAbacusGrpcApi };
|
|
@@ -10,7 +10,7 @@ import "../address-light-CnSMr-vR.cjs";
|
|
|
10
10
|
import "../encoding-light-D-6m9tHO.cjs";
|
|
11
11
|
import "../constants-DQTrjP5R.cjs";
|
|
12
12
|
import "../index-CiWsZ0Bw.cjs";
|
|
13
|
-
import "../index-
|
|
14
|
-
import "../index-
|
|
13
|
+
import "../index-B5gFsbnp.cjs";
|
|
14
|
+
import "../index-CqL8tEwj.cjs";
|
|
15
15
|
import "../index-BZDon-tA.cjs";
|
|
16
16
|
export { Address, BaseAccount, PrivateKey, PublicKey };
|
|
@@ -10,7 +10,7 @@ import "../address-light-CnSMr-vR.cjs";
|
|
|
10
10
|
import "../encoding-light-D-6m9tHO.cjs";
|
|
11
11
|
import "../constants-DQTrjP5R.cjs";
|
|
12
12
|
import "../index-CiWsZ0Bw.cjs";
|
|
13
|
-
import "../index-
|
|
14
|
-
import "../index-
|
|
13
|
+
import "../index-B5gFsbnp.cjs";
|
|
14
|
+
import "../index-CqL8tEwj.cjs";
|
|
15
15
|
import "../index-BZDon-tA.cjs";
|
|
16
16
|
export { AuctionMsgs, AuthzMsgs, BankMsgs, ContractExecutionAuthorization as ContractExecutionAuthz, ContractExecutionCompatAuthorization as ContractExecutionCompatAuthz, DistributionMsgs, Erc20Msgs, ExchangeMsgs, ExchangeV1Msgs, ExchangeV2Msgs, ExecArgCW20AdapterRedeemAndTransfer, ExecArgCW20Send, ExecArgCW20Transfer, ExecArgCreateCampaign, ExecArgCreatePerpGridStrategy, ExecArgCreateRound, ExecArgCreateSpotGridStrategy, ExecArgDepositTokens, ExecArgFundCampaign, ExecArgIncreaseAllowance, ExecArgInitiateTransfer, ExecArgNeptuneDeposit, ExecArgNeptuneWithdraw, ExecArgRemoveGridStrategy, ExecArgSubmitVaa, ExecArgSwapExactOutput, ExecArgSwapMinOutput, ExecArgUpdateGridConfig, ExecArgs, ExecPrivilegedArgOffChainVaultRedeem, ExecPrivilegedArgOffChainVaultSubscribe, ExecPrivilegedArgVaultRedeem, ExecPrivilegedArgVaultSubscribe, ExecPrivilegedArgs, ExitConfig, ExitType, FeegrantMsgs, GenericAuthorization as GenericAuthz, GovMsgs, GrantAuthorizationType, IbcMsgs, InsuranceMsgs, MsgActivatePostOnlyModeV2, MsgActivateStakeGrantV2, MsgAdminUpdateBinaryOptionsMarket, MsgAdminUpdateBinaryOptionsMarketV2, MsgAuthorizeStakeGrants, MsgAuthorizeStakeGrantsV2, MsgExec as MsgAuthzExec, MsgBatchCancelBinaryOptionsOrders, MsgBatchCancelBinaryOptionsOrdersV2, MsgBatchCancelDerivativeOrders, MsgBatchCancelDerivativeOrdersV2, MsgBatchCancelSpotOrders, MsgBatchCancelSpotOrdersV2, MsgBatchUpdateOrders, MsgBatchUpdateOrdersV2, MsgBeginRedelegate, MsgBid, MsgBurn, MsgCancelBinaryOptionsOrder, MsgCancelBinaryOptionsOrderV2, MsgCancelDerivativeOrder, MsgCancelDerivativeOrderV2, MsgCancelPostOnlyModeV2, MsgCancelSpotOrder, MsgCancelSpotOrderV2, MsgCancelUnbondingDelegation, MsgChangeAdmin, MsgClaimVoucher, MsgCreateBinaryOptionsLimitOrder, MsgCreateBinaryOptionsLimitOrderV2, MsgCreateBinaryOptionsMarketOrder, MsgCreateBinaryOptionsMarketOrderV2, MsgCreateDenom, MsgCreateDerivativeLimitOrder, MsgCreateDerivativeLimitOrderV2, MsgCreateDerivativeMarketOrder, MsgCreateDerivativeMarketOrderV2, MsgCreateInsuranceFund, MsgCreateNamespace, MsgCreateRateLimit, MsgCreateSpotLimitOrder, MsgCreateSpotLimitOrderV2, MsgCreateSpotMarketOrder, MsgCreateSpotMarketOrderV2, MsgCreateValidator, MsgDecreasePositionMargin, MsgDecreasePositionMarginV2, MsgDelegate, MsgDeposit, MsgDepositV2, MsgEditValidator, MsgExecuteContract, MsgExecuteContractCompat, MsgExternalTransfer, MsgExternalTransferV2, MsgFundCommunityPool, MsgDeposit$1 as MsgGovDeposit, MsgGrant, MsgGrantAllowance, MsgGrantProviderPrivilegeProposal, MsgGrantWithAuthorization, MsgIncreasePositionMargin, MsgIncreasePositionMarginV2, MsgInstantBinaryOptionsMarketLaunch, MsgInstantBinaryOptionsMarketLaunchV2, MsgInstantSpotMarketLaunch, MsgInstantSpotMarketLaunchV2, MsgInstantiateContract, MsgLiquidateCrossMarginPoolV2, MsgLiquidatePosition, MsgLiquidatePositionV2, MsgMigrateContract, MsgMint, MsgMultiSend, MsgOffsetPositionV2, MsgPrivilegedExecuteContract, MsgReclaimLockedFunds, MsgReclaimLockedFundsV2, MsgRelayProviderPrices, MsgRemoveRateLimit, MsgRequestRedemption, MsgRevoke, MsgRevokeAllowance, MsgRewardsOptOut, MsgRewardsOptOutV2, MsgSend, MsgSendToEth, MsgSetDelegationTransferReceiversV2, MsgSetDenomMetadata, MsgSignData, MsgSignDataV2, MsgStoreCode, MsgSubaccountTransferV2, MsgSubmitGenericProposal, MsgSubmitProposal, MsgSubmitProposalExpiryFuturesMarketLaunch, MsgSubmitProposalPerpetualMarketLaunch, MsgSubmitProposalPerpetualMarketLaunchV2, MsgSubmitProposalSpotMarketLaunch, MsgSubmitProposalSpotMarketParamUpdate, MsgSubmitTextProposal, MsgTransfer, MsgTransferDelegation, MsgUndelegate, MsgUnderwrite, MsgUpdateActorRoles, MsgUpdateAdmin, MsgUpdateDerivativeMarketV2, MsgUpdateNamespace, MsgUpdateParams, MsgUpdateRateLimit, MsgUpdateSpotMarketV2, MsgUpdateSubaccountRiskProfileV2, MsgVote, MsgWithdraw, MsgWithdrawDelegatorReward, MsgWithdrawV2, MsgWithdrawValidatorCommission, Msgs, OracleMsgs, OrderHashManager, PeggyMsgs, ProposalDecomposer, StakingMsgs, StrategyType, TokenFactoryMsgs, TrailingArithmetic, TrailingArithmeticLP, WasmMsgs, getGenericAuthorizationFromMessageType, msgsOrMsgExecMsgs };
|
package/dist/cjs/core/tx.d.cts
CHANGED
|
@@ -10,7 +10,7 @@ import "../address-light-CnSMr-vR.cjs";
|
|
|
10
10
|
import "../encoding-light-D-6m9tHO.cjs";
|
|
11
11
|
import "../constants-DQTrjP5R.cjs";
|
|
12
12
|
import "../index-CiWsZ0Bw.cjs";
|
|
13
|
-
import "../index-
|
|
14
|
-
import "../index-
|
|
13
|
+
import "../index-B5gFsbnp.cjs";
|
|
14
|
+
import "../index-CqL8tEwj.cjs";
|
|
15
15
|
import "../index-BZDon-tA.cjs";
|
|
16
16
|
export { BroadcastMode, BroadcastModeKeplr, tx_pb_d_exports as CosmosTxV1Beta1TxPb, CreateTransactionArgs, CreateTransactionResult, CreateTransactionWithSignersArgs, Eip712ConvertFeeArgs, Eip712ConvertTxArgs, MapOfTypedDataField, MsgArg, MsgBroadcasterTxOptions, MsgBroadcasterWithPk, MsgBroadcasterWithPkOptions, MsgDecoder, RestAuthInfo, RestSignerInfo, RestTx, RestTxBody, RestTxLog, SIGN_AMINO, SIGN_DIRECT, SIGN_EIP712, SIGN_EIP712_V2, SignerDetails, SimulationResponse, TxClient, TxClientBroadcastOptions, TxClientBroadcastResponse, TxClientInclusionOptions, TxClientMode, TxClientSimulateResponse, TxConcreteApi, TxEventInclusionOptions, TxEventWebSocketFactory, TxFetchTxPollArgs, TxGrpcApi, TxInclusionStrategy, TxInclusionWaiter, TxInfo, TxInfoResponse, TxPrepareTxInclusionWaitArgs, TxResponse, TxRestApi, TxResult, TxResultResponse, TxSearchResult, TxSearchResultParams, TxWaitForTxInclusionArgs, TypedDataField, createAny, createAnyMessage, createAuthInfo, createBody, createFee, createNonCriticalExtensionFromObject, createSignDoc, createSignDocFromTransaction, createSignerInfo, createSigners, createTransaction, createTransactionAndCosmosSignDoc, createTransactionAndCosmosSignDocForAddressAndMsg, createTransactionForAddressAndMsg, createTransactionFromMsg, createTransactionWithSigners, createTxRawEIP712, createTxRawFromSigResponse, createWeb3Extension, errorToErrorMessage, generateArbitrarySignDoc, getAminoStdSignDoc, getDefaultEip712Types, getDefaultEip712TypesV2, getEip712Domain, getEip712DomainV2, getEip712Fee, getEip712FeeV2, getEip712TypedData, getEip712TypedDataV2, getEipTxContext, getEipTxDetails, getEthereumSignerAddress, getInjectiveSignerAddress, getObjectEip712PropertyType, getPublicKey, getTransactionPartsFromTxRaw, getTxRawFromTxRawOrDirectSignResponse, getTypesIncludingFeeOptions, isTxNotFoundError, normalizeTendermintWebSocketEndpoint, numberTypeToReflectionNumberType, objectKeysToEip712Types, patchOrderTypesWithExpirationBlock, protoTypeToAminoType, stringTypeToReflectionStringType, subscribeToTendermintTxEvent, waitTxBroadcasted };
|
|
@@ -1,39 +1,27 @@
|
|
|
1
1
|
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-BoWkMu4k.cjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+tc-abacus-proto-ts-v2@1.18.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+tc-abacus-proto-ts-v2@1.18.7/node_modules/@injectivelabs/tc-abacus-proto-ts-v2/generated/injective_tc_abacus_rpc_pb.d.ts
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @generated from protobuf message injective_tc_abacus_rpc.CreateReferrerCodeResponse
|
|
7
7
|
*/
|
|
8
8
|
interface CreateReferrerCodeResponse {}
|
|
9
|
+
/**
|
|
10
|
+
* @generated from protobuf message injective_tc_abacus_rpc.SetReferrerCategoryResponse
|
|
11
|
+
*/
|
|
12
|
+
interface SetReferrerCategoryResponse {}
|
|
9
13
|
/**
|
|
10
14
|
* @generated MessageType for protobuf message injective_tc_abacus_rpc.CreateReferrerCodeResponse
|
|
11
15
|
*/
|
|
12
16
|
declare const CreateReferrerCodeResponse = new CreateReferrerCodeResponse$Type();
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
private get client();
|
|
18
|
-
fetchCurrentEpoch(): Promise<CurrentEpochResponse>;
|
|
19
|
-
fetchHealthCheck(): Promise<HealthCheckResponse>;
|
|
20
|
-
fetchAccountPoints(address: string, cursor?: string, limit?: number): Promise<AccountPointsResponse>;
|
|
21
|
-
fetchAccountStats(address: string): Promise<AccountStatsResponse>;
|
|
22
|
-
fetchReferrers(params?: {
|
|
23
|
-
cursor?: string;
|
|
24
|
-
limit?: number;
|
|
25
|
-
address?: string;
|
|
26
|
-
code?: string;
|
|
27
|
-
status?: string;
|
|
28
|
-
}): Promise<ListReferrersResponse>;
|
|
29
|
-
fetchAccountInvitees(address: string, cursor?: string, limit?: number): Promise<AccountInviteesResponse>;
|
|
30
|
-
fetchReferrerEligibility(address: string): Promise<ReferrerEligibilityResponse>;
|
|
31
|
-
createReferrerCode(address: string, code: string): Promise<CreateReferrerCodeResponse>;
|
|
32
|
-
fetchReferrerCodes(address: string, cursor?: string, limit?: number): Promise<ListReferrerCodesResponse>;
|
|
33
|
-
fetchInviteeReferrer(address: string): Promise<InviteeReferrer>;
|
|
34
|
-
}
|
|
17
|
+
/**
|
|
18
|
+
* @generated MessageType for protobuf message injective_tc_abacus_rpc.SetReferrerCategoryResponse
|
|
19
|
+
*/
|
|
20
|
+
declare const SetReferrerCategoryResponse = new SetReferrerCategoryResponse$Type();
|
|
35
21
|
//#endregion
|
|
36
22
|
//#region src/client/tcAbacus/types/tcAbacus.d.ts
|
|
23
|
+
type ReferrerCategory = 'default' | 'kol1' | 'kol2';
|
|
24
|
+
type ReferrerCategoryResponse = ReferrerCategory | (string & {});
|
|
37
25
|
interface CurrentEpochResponse {
|
|
38
26
|
epochEnd: string;
|
|
39
27
|
epochPoints: string;
|
|
@@ -64,6 +52,7 @@ interface AccountStatsResponse {
|
|
|
64
52
|
code: string;
|
|
65
53
|
address: string;
|
|
66
54
|
isKol: boolean;
|
|
55
|
+
category?: ReferrerCategoryResponse;
|
|
67
56
|
last7DVolume: string;
|
|
68
57
|
inviteeCount: number;
|
|
69
58
|
allTimeVolume: string;
|
|
@@ -78,6 +67,7 @@ interface Referrer {
|
|
|
78
67
|
createdAt: string;
|
|
79
68
|
isKol: boolean;
|
|
80
69
|
status: string;
|
|
70
|
+
category?: ReferrerCategoryResponse;
|
|
81
71
|
inviteeCount: number;
|
|
82
72
|
creatorAddress: string;
|
|
83
73
|
}
|
|
@@ -120,4 +110,27 @@ interface InviteeReferrer {
|
|
|
120
110
|
referrerAddress: string;
|
|
121
111
|
}
|
|
122
112
|
//#endregion
|
|
123
|
-
|
|
113
|
+
//#region src/client/tcAbacus/grpc/TcAbacusGrpcApi.d.ts
|
|
114
|
+
declare class TcAbacusGrpcApi extends BaseGrpcConsumer {
|
|
115
|
+
protected module: string;
|
|
116
|
+
private get client();
|
|
117
|
+
fetchCurrentEpoch(): Promise<CurrentEpochResponse>;
|
|
118
|
+
fetchHealthCheck(): Promise<HealthCheckResponse>;
|
|
119
|
+
fetchAccountPoints(address: string, cursor?: string, limit?: number): Promise<AccountPointsResponse>;
|
|
120
|
+
fetchAccountStats(address: string): Promise<AccountStatsResponse>;
|
|
121
|
+
fetchReferrers(params?: {
|
|
122
|
+
cursor?: string;
|
|
123
|
+
limit?: number;
|
|
124
|
+
address?: string;
|
|
125
|
+
code?: string;
|
|
126
|
+
status?: string;
|
|
127
|
+
}): Promise<ListReferrersResponse>;
|
|
128
|
+
fetchAccountInvitees(address: string, cursor?: string, limit?: number): Promise<AccountInviteesResponse>;
|
|
129
|
+
fetchReferrerEligibility(address: string): Promise<ReferrerEligibilityResponse>;
|
|
130
|
+
createReferrerCode(address: string, code: string): Promise<CreateReferrerCodeResponse>;
|
|
131
|
+
setReferrerCategory(address: string, category: ReferrerCategory): Promise<SetReferrerCategoryResponse>;
|
|
132
|
+
fetchReferrerCodes(address: string, cursor?: string, limit?: number): Promise<ListReferrerCodesResponse>;
|
|
133
|
+
fetchInviteeReferrer(address: string): Promise<InviteeReferrer>;
|
|
134
|
+
}
|
|
135
|
+
//#endregion
|
|
136
|
+
export { CurrentEpochResponse as a, ListReferrerCodesResponse as c, ReferrerCategory as d, ReferrerCategoryResponse as f, SnapshotPoints as g, ReferrerInvitee as h, AccountStatsResponse as i, ListReferrersResponse as l, ReferrerEligibilityResponse as m, AccountInviteesResponse as n, HealthCheckResponse as o, ReferrerCode as p, AccountPointsResponse as r, InviteeReferrer as s, TcAbacusGrpcApi as t, Referrer as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-BoWkMu4k.cjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+platform-services-proto-ts-v2@1.0.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+platform-services-proto-ts-v2@1.0.2/node_modules/@injectivelabs/platform-services-proto-ts-v2/generated/goagen_api_positions_service_pb.d.ts
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Persisted derivative position
|
|
@@ -116,6 +116,13 @@ interface Position {
|
|
|
116
116
|
* @generated from protobuf field: sint64 duration_in_seconds = 27
|
|
117
117
|
*/
|
|
118
118
|
durationInSeconds: bigint;
|
|
119
|
+
/**
|
|
120
|
+
* Quantity-weighted average execution price of reducing trades; zero before
|
|
121
|
+
* the first reduction
|
|
122
|
+
*
|
|
123
|
+
* @generated from protobuf field: string exit_price = 28
|
|
124
|
+
*/
|
|
125
|
+
exitPrice: string;
|
|
119
126
|
}
|
|
120
127
|
/**
|
|
121
128
|
* A trade applied to a position
|
|
@@ -235,6 +242,19 @@ interface AccountPositionStats {
|
|
|
235
242
|
* @generated from protobuf field: optional sint64 rank = 13
|
|
236
243
|
*/
|
|
237
244
|
rank?: bigint;
|
|
245
|
+
/**
|
|
246
|
+
* Truncated average lifetime in seconds for positions closed in the selected
|
|
247
|
+
* window.
|
|
248
|
+
*
|
|
249
|
+
* @generated from protobuf field: sint64 avg_hold_duration_in_seconds = 14
|
|
250
|
+
*/
|
|
251
|
+
avgHoldDurationInSeconds: bigint;
|
|
252
|
+
/**
|
|
253
|
+
* Opening and closing turnover for positions closed in the selected window.
|
|
254
|
+
*
|
|
255
|
+
* @generated from protobuf field: string total_volume = 15
|
|
256
|
+
*/
|
|
257
|
+
totalVolume: string;
|
|
238
258
|
}
|
|
239
259
|
/**
|
|
240
260
|
* @generated MessageType for protobuf message positions_service.Position
|
|
@@ -276,6 +296,7 @@ interface PlatformServicesGetAccountDailyPNLParams {
|
|
|
276
296
|
interface PlatformServicesListAccountPositionStatsParams {
|
|
277
297
|
to?: string;
|
|
278
298
|
from?: string;
|
|
299
|
+
tag?: string[];
|
|
279
300
|
pageSize?: number;
|
|
280
301
|
nextToken?: string;
|
|
281
302
|
accountAddress?: string[];
|
|
@@ -310,6 +331,7 @@ interface PlatformServicesPosition {
|
|
|
310
331
|
openedHeight: string;
|
|
311
332
|
avgEntryPrice: string;
|
|
312
333
|
initialMargin: string;
|
|
334
|
+
exitPrice: string;
|
|
313
335
|
updatedHeight: string;
|
|
314
336
|
closedHeight?: string;
|
|
315
337
|
accountAddress: string;
|
|
@@ -342,11 +364,13 @@ interface PlatformServicesAccountPositionStats {
|
|
|
342
364
|
winRate: string;
|
|
343
365
|
leverage: string;
|
|
344
366
|
tradeCount: string;
|
|
367
|
+
totalVolume: string;
|
|
345
368
|
maxDrawdown: string;
|
|
346
369
|
pnlPercentage: string;
|
|
347
370
|
equityCurve: string[];
|
|
348
371
|
accountAddress: string;
|
|
349
372
|
closedPositions: string;
|
|
373
|
+
avgHoldDurationInSeconds: string;
|
|
350
374
|
}
|
|
351
375
|
interface PlatformServicesDailyPNL {
|
|
352
376
|
pnl: string;
|
|
@@ -360,6 +384,12 @@ interface PlatformServicesListAccountPositionStatsResponse {
|
|
|
360
384
|
nextToken?: string;
|
|
361
385
|
accounts: PlatformServicesAccountPositionStats[];
|
|
362
386
|
}
|
|
387
|
+
interface PlatformServicesListAccountTagsResponse {
|
|
388
|
+
tags: string[];
|
|
389
|
+
}
|
|
390
|
+
interface PlatformServicesGetAccountCountResponse {
|
|
391
|
+
totalAccounts: string;
|
|
392
|
+
}
|
|
363
393
|
type GrpcPlatformServicesPosition = Position;
|
|
364
394
|
type GrpcPlatformServicesPositionTrade = PositionTrade;
|
|
365
395
|
type GrpcPlatformServicesAccountPositionStats = AccountPositionStats;
|
|
@@ -373,7 +403,9 @@ declare class SocialTradingGrpcApi extends BaseGrpcConsumer {
|
|
|
373
403
|
fetchPositionTrades(params: PlatformServicesListPositionTradesParams): Promise<PlatformServicesListPositionTradesResponse>;
|
|
374
404
|
fetchAccountPositionStats(params: PlatformServicesGetAccountPositionStatsParams): Promise<PlatformServicesAccountPositionStats>;
|
|
375
405
|
fetchAccountDailyPNL(params: PlatformServicesGetAccountDailyPNLParams): Promise<PlatformServicesGetAccountDailyPNLResponse>;
|
|
406
|
+
fetchAccountTags(): Promise<PlatformServicesListAccountTagsResponse>;
|
|
407
|
+
fetchAccountCount(): Promise<PlatformServicesGetAccountCountResponse>;
|
|
376
408
|
fetchAccountPositionStatsList(params?: PlatformServicesListAccountPositionStatsParams): Promise<PlatformServicesListAccountPositionStatsResponse>;
|
|
377
409
|
}
|
|
378
410
|
//#endregion
|
|
379
|
-
export {
|
|
411
|
+
export { PlatformServicesPositionsStatsWindow as C, PlatformServicesPositionsSortDirection as S, PlatformServicesListPositionsParams as _, GrpcPlatformServicesPositionTrade as a, PlatformServicesPositionTrade as b, PlatformServicesGetAccountCountResponse as c, PlatformServicesGetAccountPositionStatsParams as d, PlatformServicesListAccountPositionStatsParams as f, PlatformServicesListPositionTradesResponse as g, PlatformServicesListPositionTradesParams as h, GrpcPlatformServicesPosition as i, PlatformServicesGetAccountDailyPNLParams as l, PlatformServicesListAccountTagsResponse as m, GrpcPlatformServicesAccountPositionStats as n, PlatformServicesAccountPositionStats as o, PlatformServicesListAccountPositionStatsResponse as p, GrpcPlatformServicesDailyPNL as r, PlatformServicesDailyPNL as s, SocialTradingGrpcApi as t, PlatformServicesGetAccountDailyPNLResponse as u, PlatformServicesListPositionsResponse as v, PlatformServicesPositionsSortBy as x, PlatformServicesPosition as y };
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -24,8 +24,8 @@ const require_AbacusGrpcApi = require('./AbacusGrpcApi-DwBUuoqV.cjs');
|
|
|
24
24
|
const require_IndexerGrpcWeb3GwApi = require('./IndexerGrpcWeb3GwApi-VEchf_hB.cjs');
|
|
25
25
|
const require_StreamManagerV2 = require('./StreamManagerV2-Bq9P6V0s.cjs');
|
|
26
26
|
const require_types = require('./types-BJpWW-Rx.cjs');
|
|
27
|
-
const require_TcAbacusGrpcApi = require('./TcAbacusGrpcApi-
|
|
28
|
-
const require_SocialTradingGrpcApi = require('./SocialTradingGrpcApi-
|
|
27
|
+
const require_TcAbacusGrpcApi = require('./TcAbacusGrpcApi-CozYaZlH.cjs');
|
|
28
|
+
const require_SocialTradingGrpcApi = require('./SocialTradingGrpcApi-D4VP25kb.cjs');
|
|
29
29
|
const require_tx = require('./tx-BS1bJRvK.cjs');
|
|
30
30
|
const require_service = require('./service-DAfIXxMj.cjs');
|
|
31
31
|
let __injectivelabs_core_proto_ts_v2_generated_injective_types_v1beta1_account_pb = require("@injectivelabs/core-proto-ts-v2/generated/injective/types/v1beta1/account_pb");
|