@injectivelabs/sdk-ts 1.20.16 → 1.20.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{AbacusGrpcApi-CIMZFwl6.cjs → AbacusGrpcApi-Dwlpk6jY.cjs} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-CrbGIyOg.d.cts → BaseGrpcConsumer-CUdc9vEY.d.cts} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-BCGDaVy8.cjs → BaseGrpcConsumer-zA9DIfEw.cjs} +1 -1
- package/dist/cjs/{BaseIndexerGrpcConsumer-CoMGNooL.cjs → BaseIndexerGrpcConsumer-CQBZ05BC.cjs} +1 -1
- package/dist/cjs/{ChainGrpcExchangeApi-ChrfB9cv.cjs → ChainGrpcExchangeApi-vxOV2B57.cjs} +2 -2
- package/dist/cjs/{ChainRestTendermintApi-utYZ9cZL.cjs → ChainRestTendermintApi-Sni05dAJ.cjs} +1 -1
- package/dist/cjs/{IndexerGrpcWeb3GwApi-Di6ko7ub.cjs → IndexerGrpcWeb3GwApi-KVLJE-jW.cjs} +1 -1
- package/dist/cjs/{MsgSetDenomMetadata-ycI5AKU4.cjs → MsgSetDenomMetadata-BQbzOfkE.cjs} +1 -1
- package/dist/cjs/{OLPGrpcApi-fdkKcWVJ.cjs → OLPGrpcApi-BNAfesZy.cjs} +1 -1
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-CIlJC3Cq.cjs → QueryTradingStrategyContractTotalStrategies-i7GNf-2z.cjs} +1 -1
- package/dist/cjs/{StreamManagerV2-B3ar_Wxz.cjs → StreamManagerV2-qxdppofP.cjs} +4 -4
- package/dist/cjs/{TcAbacusGrpcApi-B7wlTqfE.cjs → TcAbacusGrpcApi-DRKR_enO.cjs} +1 -1
- package/dist/cjs/{chain-D--KOL1m.cjs → chain-DHppVc1K.cjs} +2 -2
- package/dist/cjs/client/abacus.cjs +3 -3
- package/dist/cjs/client/abacus.d.cts +4 -4
- package/dist/cjs/client/chain.cjs +5 -5
- package/dist/cjs/client/chain.d.cts +9 -9
- package/dist/cjs/client/indexer.cjs +5 -5
- package/dist/cjs/client/indexer.d.cts +9 -9
- package/dist/cjs/client/olp.cjs +4 -4
- package/dist/cjs/client/olp.d.cts +4 -4
- package/dist/cjs/client/tcAbacus.cjs +3 -3
- package/dist/cjs/client/tcAbacus.d.cts +4 -4
- package/dist/cjs/client/wasm.cjs +6 -6
- package/dist/cjs/client/wasm.d.cts +3 -3
- package/dist/cjs/core/accounts.d.cts +9 -9
- package/dist/cjs/core/modules.cjs +8 -8
- package/dist/cjs/core/modules.d.cts +9 -9
- package/dist/cjs/core/tx.cjs +6 -6
- package/dist/cjs/core/tx.d.cts +9 -9
- package/dist/cjs/cosmjs.cjs +6 -6
- package/dist/cjs/exports.cjs +6 -6
- package/dist/cjs/{index-DE9mGZGH.d.cts → index-2SjhKIkh.d.cts} +1 -1
- package/dist/cjs/{index-nXX5E77u.d.cts → index-BEwaspW_.d.cts} +6 -6
- package/dist/cjs/{index-CBmgjh-q.d.cts → index-BG-nzcNI.d.cts} +1 -1
- package/dist/cjs/{index-C4k2HkhI.d.cts → index-BOj_EXVL.d.cts} +1 -1
- package/dist/cjs/{index-i4yKnGpI.d.cts → index-CtkDjIwH.d.cts} +1 -1
- package/dist/cjs/{index-BINBkEIb.d.cts → index-D5xZvGoG.d.cts} +1 -1
- package/dist/cjs/{index-eG3KUAK0.d.cts → index-DmanIXY9.d.cts} +2 -2
- package/dist/cjs/index.cjs +15 -15
- package/dist/cjs/index.d.cts +9 -9
- package/dist/{esm/light-CrlUMC8c.d.ts → cjs/light-4nNsYXxr.d.cts} +123 -1
- package/dist/cjs/{light-Qbh16DQE.cjs → light-CrajlUvd.cjs} +123 -0
- package/dist/cjs/{service-WTWXJzS1.cjs → service-nm5Ct4_w.cjs} +1 -1
- package/dist/cjs/service.cjs +2 -2
- package/dist/cjs/service.d.cts +3 -3
- package/dist/cjs/{tx-eQttrX5b.cjs → tx-BlFLQ52d.cjs} +3 -3
- package/dist/cjs/types/light.cjs +8 -1
- package/dist/cjs/types/light.d.cts +2 -2
- package/dist/cjs/types.cjs +1 -1
- package/dist/cjs/types.d.cts +2 -2
- package/dist/cjs/utils.d.cts +9 -9
- package/dist/esm/{AbacusGrpcApi-DVniM62M.js → AbacusGrpcApi-DVO7c0mB.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-D-uEnIgH.js → BaseGrpcConsumer-Ci8sUY5h.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-B9J3abKI.d.ts → BaseGrpcConsumer-DnPFbzJi.d.ts} +1 -1
- package/dist/esm/{BaseIndexerGrpcConsumer-BUcOBQHD.js → BaseIndexerGrpcConsumer-MGB306RP.js} +1 -1
- package/dist/esm/{ChainGrpcExchangeApi-CT0WW59O.js → ChainGrpcExchangeApi-S5nJzebX.js} +2 -2
- package/dist/esm/{ChainRestTendermintApi-C5sizTTA.js → ChainRestTendermintApi-D_FQwKrf.js} +1 -1
- package/dist/esm/{IndexerGrpcWeb3GwApi-D9GO0m1v.js → IndexerGrpcWeb3GwApi-BWuDmOjX.js} +1 -1
- package/dist/esm/{MsgSetDenomMetadata-DJaQwf94.js → MsgSetDenomMetadata-B4Ke5u9_.js} +1 -1
- package/dist/esm/{OLPGrpcApi-thWMIX2S.js → OLPGrpcApi-BSFkBk80.js} +1 -1
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-NKplhQpi.js → QueryTradingStrategyContractTotalStrategies-Cfz9KGFD.js} +1 -1
- package/dist/esm/{StreamManagerV2-BdSq7ThE.js → StreamManagerV2-CLqrfNTn.js} +4 -4
- package/dist/esm/{TcAbacusGrpcApi-0zuZRiGi.js → TcAbacusGrpcApi-k3COziPh.js} +1 -1
- package/dist/esm/{chain-CFXdQ_RS.js → chain-DD4YqzP5.js} +2 -2
- package/dist/esm/client/abacus.d.ts +4 -4
- package/dist/esm/client/abacus.js +3 -3
- package/dist/esm/client/chain.d.ts +9 -9
- package/dist/esm/client/chain.js +5 -5
- package/dist/esm/client/indexer.d.ts +9 -9
- package/dist/esm/client/indexer.js +5 -5
- package/dist/esm/client/olp.d.ts +4 -4
- package/dist/esm/client/olp.js +4 -4
- package/dist/esm/client/tcAbacus.d.ts +4 -4
- package/dist/esm/client/tcAbacus.js +3 -3
- package/dist/esm/client/wasm.d.ts +3 -3
- package/dist/esm/client/wasm.js +6 -6
- package/dist/esm/core/accounts.d.ts +9 -9
- package/dist/esm/core/modules.d.ts +9 -9
- package/dist/esm/core/modules.js +8 -8
- package/dist/esm/core/tx.d.ts +9 -9
- package/dist/esm/core/tx.js +6 -6
- package/dist/esm/cosmjs.js +6 -6
- package/dist/esm/exports.js +6 -6
- package/dist/esm/{index-DPmNu-i9.d.ts → index-81riAHnR.d.ts} +2 -2
- package/dist/esm/{index-lki5l2NS.d.ts → index-B73CV7nM.d.ts} +1 -1
- package/dist/esm/{index-fqs5eTyD.d.ts → index-BJJNBulw.d.ts} +1 -1
- package/dist/esm/{index-BAxR1qDR.d.ts → index-D3kPbyYA.d.ts} +1 -1
- package/dist/esm/{index-reHqEgGi.d.ts → index-DcPKOj0m.d.ts} +1 -1
- package/dist/esm/{index-CnGE9D2Q.d.ts → index-DuNPINdp.d.ts} +6 -6
- package/dist/esm/{index-DIP5sGCK.d.ts → index-SZeXNgo8.d.ts} +1 -1
- package/dist/esm/index.d.ts +9 -9
- package/dist/esm/index.js +15 -15
- package/dist/esm/{light-ClZwkrDK.js → light-BflupdEX.js} +82 -1
- package/dist/{cjs/light-BhvqsgHj.d.cts → esm/light-Cr4m0DAA.d.ts} +123 -1
- package/dist/esm/{service-B2z6s85o.js → service-BER-mZkG.js} +1 -1
- package/dist/esm/service.d.ts +3 -3
- package/dist/esm/service.js +2 -2
- package/dist/esm/{tx-Bh9bfmCB.js → tx-Pg714BW8.js} +3 -3
- package/dist/esm/types/light.d.ts +2 -2
- package/dist/esm/types/light.js +2 -2
- package/dist/esm/types.d.ts +2 -2
- package/dist/esm/types.js +1 -1
- package/dist/esm/utils.d.ts +9 -9
- package/package.json +5 -5
|
@@ -43,6 +43,128 @@ declare const OrderSide: {
|
|
|
43
43
|
readonly Unrecognized: "unrecognized";
|
|
44
44
|
};
|
|
45
45
|
type OrderSide = (typeof OrderSide)[keyof typeof OrderSide];
|
|
46
|
+
declare const GrpcOrderTypeMap: {
|
|
47
|
+
readonly 0: "UNSPECIFIED";
|
|
48
|
+
readonly 1: "BUY";
|
|
49
|
+
readonly 2: "SELL";
|
|
50
|
+
readonly 3: "STOP_BUY";
|
|
51
|
+
readonly 4: "STOP_SELL";
|
|
52
|
+
readonly 5: "TAKE_BUY";
|
|
53
|
+
readonly 6: "TAKE_SELL";
|
|
54
|
+
readonly 7: "BUY_PO";
|
|
55
|
+
readonly 8: "SELL_PO";
|
|
56
|
+
readonly 9: "BUY_ATOMIC";
|
|
57
|
+
readonly 10: "SELL_ATOMIC";
|
|
58
|
+
readonly UNSPECIFIED: 0;
|
|
59
|
+
readonly BUY: 1;
|
|
60
|
+
readonly SELL: 2;
|
|
61
|
+
readonly STOP_BUY: 3;
|
|
62
|
+
readonly STOP_SELL: 4;
|
|
63
|
+
readonly TAKE_BUY: 5;
|
|
64
|
+
readonly TAKE_SELL: 6;
|
|
65
|
+
readonly BUY_PO: 7;
|
|
66
|
+
readonly SELL_PO: 8;
|
|
67
|
+
readonly BUY_ATOMIC: 9;
|
|
68
|
+
readonly SELL_ATOMIC: 10;
|
|
69
|
+
};
|
|
70
|
+
type GrpcOrderType = Exclude<(typeof GrpcOrderTypeMap)[keyof typeof GrpcOrderTypeMap], string>;
|
|
71
|
+
declare const OrderTypeMap: {
|
|
72
|
+
readonly 0: "UNSPECIFIED";
|
|
73
|
+
readonly 1: "BUY";
|
|
74
|
+
readonly 2: "SELL";
|
|
75
|
+
readonly 3: "STOP_BUY";
|
|
76
|
+
readonly 4: "STOP_SELL";
|
|
77
|
+
readonly 5: "TAKE_BUY";
|
|
78
|
+
readonly 6: "TAKE_SELL";
|
|
79
|
+
readonly 7: "BUY_PO";
|
|
80
|
+
readonly 8: "SELL_PO";
|
|
81
|
+
readonly 9: "BUY_ATOMIC";
|
|
82
|
+
readonly 10: "SELL_ATOMIC";
|
|
83
|
+
readonly UNSPECIFIED: 0;
|
|
84
|
+
readonly BUY: 1;
|
|
85
|
+
readonly SELL: 2;
|
|
86
|
+
readonly STOP_BUY: 3;
|
|
87
|
+
readonly STOP_SELL: 4;
|
|
88
|
+
readonly TAKE_BUY: 5;
|
|
89
|
+
readonly TAKE_SELL: 6;
|
|
90
|
+
readonly BUY_PO: 7;
|
|
91
|
+
readonly SELL_PO: 8;
|
|
92
|
+
readonly BUY_ATOMIC: 9;
|
|
93
|
+
readonly SELL_ATOMIC: 10;
|
|
94
|
+
};
|
|
95
|
+
type OrderType = GrpcOrderType;
|
|
96
|
+
declare const GrpcMarketStatusMap: {
|
|
97
|
+
readonly 0: "Unspecified";
|
|
98
|
+
readonly 1: "Active";
|
|
99
|
+
readonly 2: "Paused";
|
|
100
|
+
readonly 3: "Demolished";
|
|
101
|
+
readonly 4: "Expired";
|
|
102
|
+
readonly Unspecified: 0;
|
|
103
|
+
readonly Active: 1;
|
|
104
|
+
readonly Paused: 2;
|
|
105
|
+
readonly Demolished: 3;
|
|
106
|
+
readonly Expired: 4;
|
|
107
|
+
};
|
|
108
|
+
type GrpcMarketStatus = Exclude<(typeof GrpcMarketStatusMap)[keyof typeof GrpcMarketStatusMap], string>;
|
|
109
|
+
declare const MarketStatusMap: {
|
|
110
|
+
readonly 0: "Unspecified";
|
|
111
|
+
readonly 1: "Active";
|
|
112
|
+
readonly 2: "Paused";
|
|
113
|
+
readonly 3: "Demolished";
|
|
114
|
+
readonly 4: "Expired";
|
|
115
|
+
readonly Unspecified: 0;
|
|
116
|
+
readonly Active: 1;
|
|
117
|
+
readonly Paused: 2;
|
|
118
|
+
readonly Demolished: 3;
|
|
119
|
+
readonly Expired: 4;
|
|
120
|
+
};
|
|
121
|
+
type MarketStatus = GrpcMarketStatus;
|
|
122
|
+
declare const OracleTypeMap: {
|
|
123
|
+
readonly 0: "Unspecified";
|
|
124
|
+
readonly 1: "Band";
|
|
125
|
+
readonly 2: "PriceFeed";
|
|
126
|
+
readonly 3: "Coinbase";
|
|
127
|
+
readonly 4: "Chainlink";
|
|
128
|
+
readonly 5: "Razor";
|
|
129
|
+
readonly 6: "Dia";
|
|
130
|
+
readonly 7: "API3";
|
|
131
|
+
readonly 8: "Uma";
|
|
132
|
+
readonly 9: "Pyth";
|
|
133
|
+
readonly 10: "BandIBC";
|
|
134
|
+
readonly 11: "Provider";
|
|
135
|
+
readonly 12: "Stork";
|
|
136
|
+
readonly 13: "ChainlinkDataStreams";
|
|
137
|
+
readonly 14: "PythPro";
|
|
138
|
+
readonly 15: "SedaFast";
|
|
139
|
+
readonly Unspecified: 0;
|
|
140
|
+
readonly Band: 1;
|
|
141
|
+
readonly PriceFeed: 2;
|
|
142
|
+
readonly Coinbase: 3;
|
|
143
|
+
readonly Chainlink: 4;
|
|
144
|
+
readonly Razor: 5;
|
|
145
|
+
readonly Dia: 6;
|
|
146
|
+
readonly API3: 7;
|
|
147
|
+
readonly Uma: 8;
|
|
148
|
+
readonly Pyth: 9;
|
|
149
|
+
readonly BandIBC: 10;
|
|
150
|
+
readonly Provider: 11;
|
|
151
|
+
readonly Stork: 12;
|
|
152
|
+
readonly ChainlinkDataStreams: 13;
|
|
153
|
+
readonly PythPro: 14;
|
|
154
|
+
readonly SedaFast: 15;
|
|
155
|
+
};
|
|
156
|
+
type OracleType = Exclude<(typeof OracleTypeMap)[keyof typeof OracleTypeMap], string>;
|
|
157
|
+
declare const MarketType: {
|
|
158
|
+
readonly Spot: "spot";
|
|
159
|
+
readonly Derivative: "derivative";
|
|
160
|
+
};
|
|
161
|
+
type MarketType = (typeof MarketType)[keyof typeof MarketType];
|
|
162
|
+
declare const GridStrategyType: {
|
|
163
|
+
readonly Geometric: "geometric";
|
|
164
|
+
readonly Arithmetic: "arithmetic";
|
|
165
|
+
readonly Perpetual: "perpetual";
|
|
166
|
+
};
|
|
167
|
+
type GridStrategyType = (typeof GridStrategyType)[keyof typeof GridStrategyType];
|
|
46
168
|
declare const TokenType: {
|
|
47
169
|
readonly Ibc: "ibc";
|
|
48
170
|
readonly Cw20: "cw20";
|
|
@@ -116,4 +238,4 @@ declare const StreamEvent: {
|
|
|
116
238
|
};
|
|
117
239
|
type StreamEvent = (typeof StreamEvent)[keyof typeof StreamEvent];
|
|
118
240
|
//#endregion
|
|
119
|
-
export { StreamEvent as a, TokenVerification as c,
|
|
241
|
+
export { TradeExecutionType as C, TradeExecutionSide as S, StreamEvent as _, GrpcOrderTypeMap as a, TokenVerification as b, MarketStatusMap as c, OracleTypeMap as d, OrderSide as f, StreamDisconnectReason as g, OrderTypeMap as h, GrpcOrderType as i, MarketType as l, OrderType as m, GrpcMarketStatus as n, GrpcStatusCode as o, OrderState as p, GrpcMarketStatusMap as r, MarketStatus as s, GridStrategyType as t, OracleType as u, StreamOperation as v, TradeDirection as x, TokenType as y };
|
|
@@ -39,6 +39,87 @@ const OrderSide = {
|
|
|
39
39
|
SellAtomic: "sell_atomic",
|
|
40
40
|
Unrecognized: "unrecognized"
|
|
41
41
|
};
|
|
42
|
+
const GrpcOrderTypeMap = {
|
|
43
|
+
0: "UNSPECIFIED",
|
|
44
|
+
1: "BUY",
|
|
45
|
+
2: "SELL",
|
|
46
|
+
3: "STOP_BUY",
|
|
47
|
+
4: "STOP_SELL",
|
|
48
|
+
5: "TAKE_BUY",
|
|
49
|
+
6: "TAKE_SELL",
|
|
50
|
+
7: "BUY_PO",
|
|
51
|
+
8: "SELL_PO",
|
|
52
|
+
9: "BUY_ATOMIC",
|
|
53
|
+
10: "SELL_ATOMIC",
|
|
54
|
+
UNSPECIFIED: 0,
|
|
55
|
+
BUY: 1,
|
|
56
|
+
SELL: 2,
|
|
57
|
+
STOP_BUY: 3,
|
|
58
|
+
STOP_SELL: 4,
|
|
59
|
+
TAKE_BUY: 5,
|
|
60
|
+
TAKE_SELL: 6,
|
|
61
|
+
BUY_PO: 7,
|
|
62
|
+
SELL_PO: 8,
|
|
63
|
+
BUY_ATOMIC: 9,
|
|
64
|
+
SELL_ATOMIC: 10
|
|
65
|
+
};
|
|
66
|
+
const OrderTypeMap = GrpcOrderTypeMap;
|
|
67
|
+
const GrpcMarketStatusMap = {
|
|
68
|
+
0: "Unspecified",
|
|
69
|
+
1: "Active",
|
|
70
|
+
2: "Paused",
|
|
71
|
+
3: "Demolished",
|
|
72
|
+
4: "Expired",
|
|
73
|
+
Unspecified: 0,
|
|
74
|
+
Active: 1,
|
|
75
|
+
Paused: 2,
|
|
76
|
+
Demolished: 3,
|
|
77
|
+
Expired: 4
|
|
78
|
+
};
|
|
79
|
+
const MarketStatusMap = GrpcMarketStatusMap;
|
|
80
|
+
const OracleTypeMap = {
|
|
81
|
+
0: "Unspecified",
|
|
82
|
+
1: "Band",
|
|
83
|
+
2: "PriceFeed",
|
|
84
|
+
3: "Coinbase",
|
|
85
|
+
4: "Chainlink",
|
|
86
|
+
5: "Razor",
|
|
87
|
+
6: "Dia",
|
|
88
|
+
7: "API3",
|
|
89
|
+
8: "Uma",
|
|
90
|
+
9: "Pyth",
|
|
91
|
+
10: "BandIBC",
|
|
92
|
+
11: "Provider",
|
|
93
|
+
12: "Stork",
|
|
94
|
+
13: "ChainlinkDataStreams",
|
|
95
|
+
14: "PythPro",
|
|
96
|
+
15: "SedaFast",
|
|
97
|
+
Unspecified: 0,
|
|
98
|
+
Band: 1,
|
|
99
|
+
PriceFeed: 2,
|
|
100
|
+
Coinbase: 3,
|
|
101
|
+
Chainlink: 4,
|
|
102
|
+
Razor: 5,
|
|
103
|
+
Dia: 6,
|
|
104
|
+
API3: 7,
|
|
105
|
+
Uma: 8,
|
|
106
|
+
Pyth: 9,
|
|
107
|
+
BandIBC: 10,
|
|
108
|
+
Provider: 11,
|
|
109
|
+
Stork: 12,
|
|
110
|
+
ChainlinkDataStreams: 13,
|
|
111
|
+
PythPro: 14,
|
|
112
|
+
SedaFast: 15
|
|
113
|
+
};
|
|
114
|
+
const MarketType = {
|
|
115
|
+
Spot: "spot",
|
|
116
|
+
Derivative: "derivative"
|
|
117
|
+
};
|
|
118
|
+
const GridStrategyType = {
|
|
119
|
+
Geometric: "geometric",
|
|
120
|
+
Arithmetic: "arithmetic",
|
|
121
|
+
Perpetual: "perpetual"
|
|
122
|
+
};
|
|
42
123
|
const TokenType = {
|
|
43
124
|
Ibc: "ibc",
|
|
44
125
|
Cw20: "cw20",
|
|
@@ -107,12 +188,48 @@ const StreamEvent = {
|
|
|
107
188
|
};
|
|
108
189
|
|
|
109
190
|
//#endregion
|
|
191
|
+
Object.defineProperty(exports, 'GridStrategyType', {
|
|
192
|
+
enumerable: true,
|
|
193
|
+
get: function () {
|
|
194
|
+
return GridStrategyType;
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
Object.defineProperty(exports, 'GrpcMarketStatusMap', {
|
|
198
|
+
enumerable: true,
|
|
199
|
+
get: function () {
|
|
200
|
+
return GrpcMarketStatusMap;
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
Object.defineProperty(exports, 'GrpcOrderTypeMap', {
|
|
204
|
+
enumerable: true,
|
|
205
|
+
get: function () {
|
|
206
|
+
return GrpcOrderTypeMap;
|
|
207
|
+
}
|
|
208
|
+
});
|
|
110
209
|
Object.defineProperty(exports, 'GrpcStatusCode', {
|
|
111
210
|
enumerable: true,
|
|
112
211
|
get: function () {
|
|
113
212
|
return GrpcStatusCode;
|
|
114
213
|
}
|
|
115
214
|
});
|
|
215
|
+
Object.defineProperty(exports, 'MarketStatusMap', {
|
|
216
|
+
enumerable: true,
|
|
217
|
+
get: function () {
|
|
218
|
+
return MarketStatusMap;
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
Object.defineProperty(exports, 'MarketType', {
|
|
222
|
+
enumerable: true,
|
|
223
|
+
get: function () {
|
|
224
|
+
return MarketType;
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
Object.defineProperty(exports, 'OracleTypeMap', {
|
|
228
|
+
enumerable: true,
|
|
229
|
+
get: function () {
|
|
230
|
+
return OracleTypeMap;
|
|
231
|
+
}
|
|
232
|
+
});
|
|
116
233
|
Object.defineProperty(exports, 'OrderSide', {
|
|
117
234
|
enumerable: true,
|
|
118
235
|
get: function () {
|
|
@@ -125,6 +242,12 @@ Object.defineProperty(exports, 'OrderState', {
|
|
|
125
242
|
return OrderState;
|
|
126
243
|
}
|
|
127
244
|
});
|
|
245
|
+
Object.defineProperty(exports, 'OrderTypeMap', {
|
|
246
|
+
enumerable: true,
|
|
247
|
+
get: function () {
|
|
248
|
+
return OrderTypeMap;
|
|
249
|
+
}
|
|
250
|
+
});
|
|
128
251
|
Object.defineProperty(exports, 'StreamDisconnectReason', {
|
|
129
252
|
enumerable: true,
|
|
130
253
|
get: function () {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
2
|
const require_defineProperty = require('./defineProperty-C3FP2y9Y.cjs');
|
|
3
3
|
const require_address_light = require('./address-light-C_a6b8yF.cjs');
|
|
4
|
-
const require_light = require('./light-
|
|
4
|
+
const require_light = require('./light-CrajlUvd.cjs');
|
|
5
5
|
let __injectivelabs_utils = require("@injectivelabs/utils");
|
|
6
6
|
let __injectivelabs_networks = require("@injectivelabs/networks");
|
|
7
7
|
|
package/dist/cjs/service.cjs
CHANGED
|
@@ -5,10 +5,10 @@ require('./utils-CH1Ojxun.cjs');
|
|
|
5
5
|
require('./grpc-3Z8ffFdZ.cjs');
|
|
6
6
|
require('./coins-DRrEtaSG.cjs');
|
|
7
7
|
require('./address-light-C_a6b8yF.cjs');
|
|
8
|
-
require('./light-
|
|
8
|
+
require('./light-CrajlUvd.cjs');
|
|
9
9
|
require('./stream-CcqYpdwJ.cjs');
|
|
10
10
|
require('./types-BJpWW-Rx.cjs');
|
|
11
|
-
const require_service = require('./service-
|
|
11
|
+
const require_service = require('./service-nm5Ct4_w.cjs');
|
|
12
12
|
|
|
13
13
|
exports.TokenFactoryStatic = require_service.TokenFactoryStatic;
|
|
14
14
|
exports.TokenPrice = require_service.TokenPrice;
|
package/dist/cjs/service.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./tx_pb-BmZhAoWC.cjs";
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./light-
|
|
4
|
-
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./index-
|
|
2
|
+
import "./index-BG-nzcNI.cjs";
|
|
3
|
+
import "./light-4nNsYXxr.cjs";
|
|
4
|
+
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./index-DmanIXY9.cjs";
|
|
5
5
|
export { TokenFactoryStatic, TokenPrice, TokenStaticFactory };
|
|
@@ -3,9 +3,9 @@ const require_encoding_light = require('./encoding-light-D96nxVLW.cjs');
|
|
|
3
3
|
const require_defineProperty = require('./defineProperty-C3FP2y9Y.cjs');
|
|
4
4
|
const require_accounts = require('./accounts-pXwUOxWb.cjs');
|
|
5
5
|
const require_utils = require('./utils-CH1Ojxun.cjs');
|
|
6
|
-
const require_ChainRestTendermintApi = require('./ChainRestTendermintApi-
|
|
7
|
-
const require_BaseGrpcConsumer = require('./BaseGrpcConsumer-
|
|
8
|
-
const require_IndexerGrpcWeb3GwApi = require('./IndexerGrpcWeb3GwApi-
|
|
6
|
+
const require_ChainRestTendermintApi = require('./ChainRestTendermintApi-Sni05dAJ.cjs');
|
|
7
|
+
const require_BaseGrpcConsumer = require('./BaseGrpcConsumer-zA9DIfEw.cjs');
|
|
8
|
+
const require_IndexerGrpcWeb3GwApi = require('./IndexerGrpcWeb3GwApi-KVLJE-jW.cjs');
|
|
9
9
|
let __injectivelabs_core_proto_ts_v2_generated_cosmos_tx_v1beta1_tx_pb = require("@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb");
|
|
10
10
|
__injectivelabs_core_proto_ts_v2_generated_cosmos_tx_v1beta1_tx_pb = require_chunk.__toESM(__injectivelabs_core_proto_ts_v2_generated_cosmos_tx_v1beta1_tx_pb);
|
|
11
11
|
let viem = require("viem");
|
package/dist/cjs/types/light.cjs
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
const require_light = require('../light-
|
|
1
|
+
const require_light = require('../light-CrajlUvd.cjs');
|
|
2
2
|
|
|
3
|
+
exports.GridStrategyType = require_light.GridStrategyType;
|
|
4
|
+
exports.GrpcMarketStatusMap = require_light.GrpcMarketStatusMap;
|
|
5
|
+
exports.GrpcOrderTypeMap = require_light.GrpcOrderTypeMap;
|
|
3
6
|
exports.GrpcStatusCode = require_light.GrpcStatusCode;
|
|
7
|
+
exports.MarketStatusMap = require_light.MarketStatusMap;
|
|
8
|
+
exports.MarketType = require_light.MarketType;
|
|
9
|
+
exports.OracleTypeMap = require_light.OracleTypeMap;
|
|
4
10
|
exports.OrderSide = require_light.OrderSide;
|
|
5
11
|
exports.OrderState = require_light.OrderState;
|
|
12
|
+
exports.OrderTypeMap = require_light.OrderTypeMap;
|
|
6
13
|
exports.StreamDisconnectReason = require_light.StreamDisconnectReason;
|
|
7
14
|
exports.StreamEvent = require_light.StreamEvent;
|
|
8
15
|
exports.StreamOperation = require_light.StreamOperation;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { GrpcStatusCode, OrderSide, OrderState, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
|
1
|
+
import { C as TradeExecutionType, S as TradeExecutionSide, _ as StreamEvent, a as GrpcOrderTypeMap, b as TokenVerification, c as MarketStatusMap, d as OracleTypeMap, f as OrderSide, g as StreamDisconnectReason, h as OrderTypeMap, i as GrpcOrderType, l as MarketType, m as OrderType, n as GrpcMarketStatus, o as GrpcStatusCode, p as OrderState, r as GrpcMarketStatusMap, s as MarketStatus, t as GridStrategyType, u as OracleType, v as StreamOperation, x as TradeDirection, y as TokenType } from "../light-4nNsYXxr.cjs";
|
|
2
|
+
export { GridStrategyType, GrpcMarketStatus, GrpcMarketStatusMap, GrpcOrderType, GrpcOrderTypeMap, GrpcStatusCode, MarketStatus, MarketStatusMap, MarketType, OracleType, OracleTypeMap, OrderSide, OrderState, OrderType, OrderTypeMap, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
package/dist/cjs/types.cjs
CHANGED
package/dist/cjs/types.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./tx_pb-BmZhAoWC.cjs";
|
|
2
|
-
import { a as AminoSignResponse, at as StreamManagerConfig, c as GrpcCoin, ct as StreamState, d as GrpcWebTransportAdditionalOptions, dt as TokenSource, ft as TokenStatic, i as PaginationOption, it as StreamError, l as SignDoc, lt as StreamSubscription, m as OrderMaskMap, n as PagePagination, o as Coin, ot as StreamManagerEvents, p as OrderMask, r as Pagination, rt as ResolvedStreamManagerConfig, s as DirectSignResponse, st as StreamManagerRetryConfig, t as ExchangePagination, u as TxRaw, ut as TokenMeta } from "./index-
|
|
3
|
-
import {
|
|
2
|
+
import { a as AminoSignResponse, at as StreamManagerConfig, c as GrpcCoin, ct as StreamState, d as GrpcWebTransportAdditionalOptions, dt as TokenSource, ft as TokenStatic, i as PaginationOption, it as StreamError, l as SignDoc, lt as StreamSubscription, m as OrderMaskMap, n as PagePagination, o as Coin, ot as StreamManagerEvents, p as OrderMask, r as Pagination, rt as ResolvedStreamManagerConfig, s as DirectSignResponse, st as StreamManagerRetryConfig, t as ExchangePagination, u as TxRaw, ut as TokenMeta } from "./index-BG-nzcNI.cjs";
|
|
3
|
+
import { C as TradeExecutionType, S as TradeExecutionSide, _ as StreamEvent, b as TokenVerification, f as OrderSide, g as StreamDisconnectReason, o as GrpcStatusCode, p as OrderState, v as StreamOperation, x as TradeDirection, y as TokenType } from "./light-4nNsYXxr.cjs";
|
|
4
4
|
export { AminoSignResponse, Coin, DirectSignResponse, ExchangePagination, GrpcCoin, GrpcStatusCode, GrpcWebTransportAdditionalOptions, OrderMask, OrderMaskMap, OrderSide, OrderState, PagePagination, Pagination, PaginationOption, ResolvedStreamManagerConfig, SignDoc, StreamDisconnectReason, StreamError, StreamEvent, StreamManagerConfig, StreamManagerEvents, StreamManagerRetryConfig, StreamOperation, StreamState, StreamSubscription, TokenMeta, TokenSource, TokenStatic, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType, TxRaw };
|
package/dist/cjs/utils.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./tx_pb-BmZhAoWC.cjs";
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./light-
|
|
4
|
-
import { $d as derivativeQuantityFromChainQuantityToFixed, $f as ofacList, Ad as paginationUint8ArrayToString, Af as isReactNative, Ax as GrpcWebFetchTransport, Bd as denomAmountFromGrpcChainDenomAmount, Bf as TypedMessageV4, Cd as recoverTypedSignaturePubKey, Cf as bigIntToString, Dd as grpcPagingToPagingV2, Df as isBrowser, Ed as grpcPagingToPaging, Ef as hexToNumber, Fd as getSpotMarketTensMultiplier, Ff as sortObjectByKeys, Gd as derivativeMarginFromChainMarginToFixed, Gf as privateKeyHashToPublicKey, Hd as denomAmountToChainDenomAmountToFixed, Hf as domainHash, Id as amountToCosmosSdkDecAmount, If as sortObjectByKeysWithReduce, Jd as derivativePriceFromChainPrice, Jf as privateKeyToPublicKeyBase64, Kd as derivativeMarginToChainMargin, Kf as privateKeyHashToPublicKeyBase64, Ld as cosmosSdkDecToBigNumber, Lf as SignTypedDataVersionV4, Md as getDerivativeMarketDecimals, Mf as objectToJson, Nd as getDerivativeMarketTensMultiplier, Nf as protoObjectToJson, Od as pageRequestToGrpcPageRequestV2, Of as isJsonString, Pd as getSpotMarketDecimals, Pf as safeBigIntStringify, Qd as derivativeQuantityFromChainQuantity, Qf as sha256, Rd as denomAmountFromChainDenomAmount, Rf as TypedDataUtilsHashStruct, Sf as bigIntToNumber, Td as grpcPaginationToPagination, Tf as grpcCoinToUiCoin, Ud as denomAmountToGrpcChainDenomAmount, Uf as hashToHex, Vd as denomAmountToChainDenomAmount, Vf as decompressPubKey, Wd as derivativeMarginFromChainMargin, Wf as messageHash, Xd as derivativePriceToChainPrice, Xf as ripemd160, Yd as derivativePriceFromChainPriceToFixed, Yf as publicKeyToAddress, Zd as derivativePriceToChainPriceToFixed, Zf as sanitizeTypedData, _f as spotQuantityFromChainQuantity, af as formatNumberToAllowableTensMultiplier, ap as protobufTimestampToUnixMs, bf as spotQuantityToChainQuantityToFixed, cf as getExactDecimalsFromNumber, df as isNumber, ef as derivativeQuantityToChainQuantity, ep as getGrpcWebTransport, ff as numberToCosmosSdkDecString, gf as spotPriceToChainPriceToFixed, hf as spotPriceToChainPrice, if as formatNumberToAllowableDecimals, ip as protobufTimestampToDate, jd as getChecksumAddress, jf as isServerSide, kd as paginationRequestFromPagination, kf as isNode, lf as getSignificantDecimalsFromNumber, mf as spotPriceFromChainPriceToFixed, nf as formatAmountToAllowableAmount, np as makeTimeoutTimestamp, of as formatPriceToAllowableDecimals, op as protobufTimestampToUnixSeconds, pf as spotPriceFromChainPrice, qd as derivativeMarginToChainMarginToFixed, qf as privateKeyToPublicKey, rf as formatAmountToAllowableDecimals, rp as makeTimeoutTimestampInNs, sf as formatPriceToAllowablePrice, tf as derivativeQuantityToChainQuantityToFixed, tp as getGasPriceBasedOnMessage, uf as getTensMultiplier, vf as spotQuantityFromChainQuantityToFixed, wd as fetchAllWithPagination, wf as getErrorMessage, xf as bigIntReplacer, yf as spotQuantityToChainQuantity, zd as denomAmountFromChainDenomAmountToFixed, zf as TypedDataUtilsSanitizeData } from "./index-
|
|
5
|
-
import "./BaseGrpcConsumer-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
2
|
+
import "./index-BG-nzcNI.cjs";
|
|
3
|
+
import "./light-4nNsYXxr.cjs";
|
|
4
|
+
import { $d as derivativeQuantityFromChainQuantityToFixed, $f as ofacList, Ad as paginationUint8ArrayToString, Af as isReactNative, Ax as GrpcWebFetchTransport, Bd as denomAmountFromGrpcChainDenomAmount, Bf as TypedMessageV4, Cd as recoverTypedSignaturePubKey, Cf as bigIntToString, Dd as grpcPagingToPagingV2, Df as isBrowser, Ed as grpcPagingToPaging, Ef as hexToNumber, Fd as getSpotMarketTensMultiplier, Ff as sortObjectByKeys, Gd as derivativeMarginFromChainMarginToFixed, Gf as privateKeyHashToPublicKey, Hd as denomAmountToChainDenomAmountToFixed, Hf as domainHash, Id as amountToCosmosSdkDecAmount, If as sortObjectByKeysWithReduce, Jd as derivativePriceFromChainPrice, Jf as privateKeyToPublicKeyBase64, Kd as derivativeMarginToChainMargin, Kf as privateKeyHashToPublicKeyBase64, Ld as cosmosSdkDecToBigNumber, Lf as SignTypedDataVersionV4, Md as getDerivativeMarketDecimals, Mf as objectToJson, Nd as getDerivativeMarketTensMultiplier, Nf as protoObjectToJson, Od as pageRequestToGrpcPageRequestV2, Of as isJsonString, Pd as getSpotMarketDecimals, Pf as safeBigIntStringify, Qd as derivativeQuantityFromChainQuantity, Qf as sha256, Rd as denomAmountFromChainDenomAmount, Rf as TypedDataUtilsHashStruct, Sf as bigIntToNumber, Td as grpcPaginationToPagination, Tf as grpcCoinToUiCoin, Ud as denomAmountToGrpcChainDenomAmount, Uf as hashToHex, Vd as denomAmountToChainDenomAmount, Vf as decompressPubKey, Wd as derivativeMarginFromChainMargin, Wf as messageHash, Xd as derivativePriceToChainPrice, Xf as ripemd160, Yd as derivativePriceFromChainPriceToFixed, Yf as publicKeyToAddress, Zd as derivativePriceToChainPriceToFixed, Zf as sanitizeTypedData, _f as spotQuantityFromChainQuantity, af as formatNumberToAllowableTensMultiplier, ap as protobufTimestampToUnixMs, bf as spotQuantityToChainQuantityToFixed, cf as getExactDecimalsFromNumber, df as isNumber, ef as derivativeQuantityToChainQuantity, ep as getGrpcWebTransport, ff as numberToCosmosSdkDecString, gf as spotPriceToChainPriceToFixed, hf as spotPriceToChainPrice, if as formatNumberToAllowableDecimals, ip as protobufTimestampToDate, jd as getChecksumAddress, jf as isServerSide, kd as paginationRequestFromPagination, kf as isNode, lf as getSignificantDecimalsFromNumber, mf as spotPriceFromChainPriceToFixed, nf as formatAmountToAllowableAmount, np as makeTimeoutTimestamp, of as formatPriceToAllowableDecimals, op as protobufTimestampToUnixSeconds, pf as spotPriceFromChainPrice, qd as derivativeMarginToChainMarginToFixed, qf as privateKeyToPublicKey, rf as formatAmountToAllowableDecimals, rp as makeTimeoutTimestampInNs, sf as formatPriceToAllowablePrice, tf as derivativeQuantityToChainQuantityToFixed, tp as getGasPriceBasedOnMessage, uf as getTensMultiplier, vf as spotQuantityFromChainQuantityToFixed, wd as fetchAllWithPagination, wf as getErrorMessage, xf as bigIntReplacer, yf as spotQuantityToChainQuantity, zd as denomAmountFromChainDenomAmountToFixed, zf as TypedDataUtilsSanitizeData } from "./index-BEwaspW_.cjs";
|
|
5
|
+
import "./BaseGrpcConsumer-CUdc9vEY.cjs";
|
|
6
|
+
import "./index-BOj_EXVL.cjs";
|
|
7
|
+
import "./index-CtkDjIwH.cjs";
|
|
8
8
|
import { t as parseCoins } from "./coins-JbAREn6e.cjs";
|
|
9
9
|
import { a as getEthereumAddress, c as getSubaccountId, d as removeHexPrefix, i as getDefaultSubaccountId, l as hexToBytes, n as bytesToHex, o as getInjectiveAddress, r as getAddressFromInjectiveAddress, s as getInjectiveAddressFromSubaccountId, t as addHexPrefix, u as isCw20ContractAddress } from "./address-light-B5-DYwES.cjs";
|
|
10
10
|
import { a as fromBase64, c as hexToBuff, d as toBase64, f as toUtf8, h as uint8ArrayToString, i as concatUint8Arrays, l as hexToUint8Array, m as uint8ArrayToHex, n as base64ToUtf8, o as fromUtf8, p as uint8ArrayToBase64, r as binaryToBase64, s as hexToBase64, t as base64ToUint8Array, u as stringToUint8Array } from "./encoding-light-CrQ0cICT.cjs";
|
|
11
11
|
import { a as BECH32_PUBKEY_CONS_PREFIX, i as BECH32_PUBKEY_ACC_PREFIX, n as BECH32_ADDR_CONS_PREFIX, o as BECH32_PUBKEY_VAL_PREFIX, r as BECH32_ADDR_VAL_PREFIX, s as DEFAULT_DERIVATION_PATH, t as BECH32_ADDR_ACC_PREFIX } from "./constants-DSzHAIp3.cjs";
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
12
|
+
import "./index-2SjhKIkh.cjs";
|
|
13
|
+
import "./index-D5xZvGoG.cjs";
|
|
14
|
+
import "./index-DmanIXY9.cjs";
|
|
15
15
|
export { BECH32_ADDR_ACC_PREFIX, BECH32_ADDR_CONS_PREFIX, BECH32_ADDR_VAL_PREFIX, BECH32_PUBKEY_ACC_PREFIX, BECH32_PUBKEY_CONS_PREFIX, BECH32_PUBKEY_VAL_PREFIX, DEFAULT_DERIVATION_PATH, GrpcWebFetchTransport, SignTypedDataVersionV4, TypedDataUtilsHashStruct, TypedDataUtilsSanitizeData, TypedMessageV4, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, bigIntReplacer, bigIntToNumber, bigIntToString, binaryToBase64, bytesToHex, concatUint8Arrays, cosmosSdkDecToBigNumber, decompressPubKey, denomAmountFromChainDenomAmount, denomAmountFromChainDenomAmountToFixed, denomAmountFromGrpcChainDenomAmount, denomAmountToChainDenomAmount, denomAmountToChainDenomAmountToFixed, denomAmountToGrpcChainDenomAmount, derivativeMarginFromChainMargin, derivativeMarginFromChainMarginToFixed, derivativeMarginToChainMargin, derivativeMarginToChainMarginToFixed, derivativePriceFromChainPrice, derivativePriceFromChainPriceToFixed, derivativePriceToChainPrice, derivativePriceToChainPriceToFixed, derivativeQuantityFromChainQuantity, derivativeQuantityFromChainQuantityToFixed, derivativeQuantityToChainQuantity, derivativeQuantityToChainQuantityToFixed, domainHash, fetchAllWithPagination, formatAmountToAllowableAmount, formatAmountToAllowableDecimals, formatNumberToAllowableDecimals, formatNumberToAllowableTensMultiplier, formatPriceToAllowableDecimals, formatPriceToAllowablePrice, fromBase64, fromUtf8, getAddressFromInjectiveAddress, getChecksumAddress, getDefaultSubaccountId, getDerivativeMarketDecimals, getDerivativeMarketTensMultiplier, getErrorMessage, getEthereumAddress, getExactDecimalsFromNumber, getGasPriceBasedOnMessage, getGrpcWebTransport, getInjectiveAddress, getInjectiveAddressFromSubaccountId, getSignificantDecimalsFromNumber, getSpotMarketDecimals, getSpotMarketTensMultiplier, getSubaccountId, getTensMultiplier, grpcCoinToUiCoin, grpcPaginationToPagination, grpcPagingToPaging, grpcPagingToPagingV2, hashToHex, hexToBase64, hexToBuff, hexToBytes, hexToNumber, hexToUint8Array, isBrowser, isCw20ContractAddress, isJsonString, isNode, isNumber, isReactNative, isServerSide, makeTimeoutTimestamp, makeTimeoutTimestampInNs, messageHash, numberToCosmosSdkDecString, objectToJson, ofacList, pageRequestToGrpcPageRequestV2, paginationRequestFromPagination, paginationUint8ArrayToString, parseCoins, privateKeyHashToPublicKey, privateKeyHashToPublicKeyBase64, privateKeyToPublicKey, privateKeyToPublicKeyBase64, protoObjectToJson, protobufTimestampToDate, protobufTimestampToUnixMs, protobufTimestampToUnixSeconds, publicKeyToAddress, recoverTypedSignaturePubKey, removeHexPrefix, ripemd160, safeBigIntStringify, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
2
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
2
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
3
3
|
import { IndexerErrorModule } from "@injectivelabs/exceptions";
|
|
4
4
|
import * as PointsSvcPb from "@injectivelabs/abacus-proto-ts-v2/generated/points_svc_pb";
|
|
5
5
|
import { PointsSvcClient } from "@injectivelabs/abacus-proto-ts-v2/generated/points_svc_pb.client";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
2
2
|
import { n as getGrpcWebTransport } from "./grpc-aI_RLGoG.js";
|
|
3
|
-
import {
|
|
3
|
+
import { i as GrpcStatusCode } from "./light-BflupdEX.js";
|
|
4
4
|
import { GrpcUnaryRequestException, TransactionException, UnspecifiedErrorCode, grpcErrorCodeToErrorCode } from "@injectivelabs/exceptions";
|
|
5
5
|
import { RpcError } from "@protobuf-ts/runtime-rpc";
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as ClientStreamingCall, d as GrpcWebTransportAdditionalOptions, gt as DuplexStreamingCall, ht as UnaryCall, mt as RpcTransport, pt as RpcOptions, vt as ServerStreamingCall, yt as MethodInfo } from "./index-
|
|
1
|
+
import { _t as ClientStreamingCall, d as GrpcWebTransportAdditionalOptions, gt as DuplexStreamingCall, ht as UnaryCall, mt as RpcTransport, pt as RpcOptions, vt as ServerStreamingCall, yt as MethodInfo } from "./index-BJJNBulw.js";
|
|
2
2
|
|
|
3
3
|
//#region src/client/base/GrpcWebRpcTransport.d.ts
|
|
4
4
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
2
2
|
import { y as denomAmountFromGrpcChainDenomAmount } from "./utils-B3t50ZnB.js";
|
|
3
|
-
import { o as ChainModule } from "./ChainRestTendermintApi-
|
|
4
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
3
|
+
import { o as ChainModule } from "./ChainRestTendermintApi-D_FQwKrf.js";
|
|
4
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
5
5
|
import { toHumanReadable } from "@injectivelabs/utils";
|
|
6
6
|
import * as InjectiveExchangeV1Beta1QueryPb from "@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v1beta1/query_pb";
|
|
7
7
|
import { QueryClient } from "@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v1beta1/query_pb.client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as uint8ArrayToString, p as uint8ArrayToBase64 } from "./encoding-light-DHtTGSg1.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
3
|
import { l as ChainGrpcCommonTransformer } from "./utils-B3t50ZnB.js";
|
|
4
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
4
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
5
5
|
import { t as BaseRestConsumer } from "./BaseRestConsumer-L3j9-i4T.js";
|
|
6
6
|
import { ChainErrorModule, HttpRequestException, UnspecifiedErrorCode } from "@injectivelabs/exceptions";
|
|
7
7
|
import * as InjectiveCryptoV1Beta1Ethsecp256k1KeysPb from "@injectivelabs/core-proto-ts-v2/generated/injective/crypto/v1beta1/ethsecp256k1/keys_pb";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as uint8ArrayToHex, t as base64ToUint8Array, u as stringToUint8Array } from "./encoding-light-DHtTGSg1.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
3
|
import { Ot as safeBigIntStringify, t as recoverTypedSignaturePubKey } from "./utils-B3t50ZnB.js";
|
|
4
|
-
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-
|
|
4
|
+
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-MGB306RP.js";
|
|
5
5
|
import * as CosmosTxV1Beta1TxPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb";
|
|
6
6
|
import { DEFAULT_BRIDGE_FEE_DENOM, DEFAULT_BRIDGE_FEE_PRICE, DEFAULT_EXCHANGE_LIMIT, DEFAULT_GAS_LIMIT } from "@injectivelabs/utils";
|
|
7
7
|
import { ErrorType, IndexerErrorModule, TransactionException, UnspecifiedErrorCode } from "@injectivelabs/exceptions";
|
|
@@ -4,7 +4,7 @@ import { I as Address, j as createAny } from "./accounts-3rypojw1.js";
|
|
|
4
4
|
import { G as numberToCosmosSdkDecString, Ot as safeBigIntStringify, _t as bigIntToString, it as domainHash, ot as messageHash } from "./utils-B3t50ZnB.js";
|
|
5
5
|
import { a as getEthereumAddress } from "./address-light-C9skTx0P.js";
|
|
6
6
|
import { a as objectKeysToEip712Types, n as prepareSignBytes, o as patchOrderTypesWithExpirationBlock, t as MsgBase } from "./MsgBase-CishJWMN.js";
|
|
7
|
-
import { t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-
|
|
7
|
+
import { t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-S5nJzebX.js";
|
|
8
8
|
import { a as dataToExecData$1, i as ExecArgBase } from "./ExecArgNeptuneWithdraw-ljDnPI2p.js";
|
|
9
9
|
import { keccak256 } from "viem";
|
|
10
10
|
import { BigNumber, DEFAULT_BRIDGE_FEE_AMOUNT, DEFAULT_BRIDGE_FEE_DENOM, toBigNumber, toChainFormat, toPascalCase } from "@injectivelabs/utils";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
2
|
-
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-
|
|
2
|
+
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-MGB306RP.js";
|
|
3
3
|
import { IndexerErrorModule } from "@injectivelabs/exceptions";
|
|
4
4
|
import * as DmmPb from "@injectivelabs/olp-proto-ts-v2/generated/goagen_olp_injective_dmm_v2_pb";
|
|
5
5
|
import { InjectiveDmmV2Client } from "@injectivelabs/olp-proto-ts-v2/generated/goagen_olp_injective_dmm_v2_pb.client";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as fromBase64, d as toBase64, f as toUtf8, r as binaryToBase64 } from "./encoding-light-DHtTGSg1.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
|
-
import { h as ChainGrpcWasmApi } from "./chain-
|
|
3
|
+
import { h as ChainGrpcWasmApi } from "./chain-DD4YqzP5.js";
|
|
4
4
|
import { n as MsgExecuteContractCompat, r as ExecArgNeptuneDeposit, t as ExecArgNeptuneWithdraw } from "./ExecArgNeptuneWithdraw-ljDnPI2p.js";
|
|
5
5
|
import { GeneralException } from "@injectivelabs/exceptions";
|
|
6
6
|
import { Network, getNetworkEndpoints, isMainnet } from "@injectivelabs/networks";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h as uint8ArrayToString } from "./encoding-light-DHtTGSg1.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
3
|
import { St as isJsonString, _t as bigIntToString, a as grpcPagingToPagingV2, gt as bigIntToNumber } from "./utils-B3t50ZnB.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as StreamDisconnectReason, f as StreamEvent, g as TradeDirection, h as TokenVerification, i as GrpcStatusCode, l as OrderState, m as TokenType, p as StreamOperation } from "./light-BflupdEX.js";
|
|
5
5
|
import { t as StreamState } from "./stream-BqkNM_6g.js";
|
|
6
|
-
import { n as GrpcWebRpcTransport } from "./BaseGrpcConsumer-
|
|
7
|
-
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-
|
|
6
|
+
import { n as GrpcWebRpcTransport } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
7
|
+
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-MGB306RP.js";
|
|
8
8
|
import { t as BaseRestConsumer } from "./BaseRestConsumer-L3j9-i4T.js";
|
|
9
|
-
import { f as GrpcDecodeError, m as WsState, p as WsDisconnectReason, r as IndexerModule } from "./IndexerGrpcWeb3GwApi-
|
|
9
|
+
import { f as GrpcDecodeError, m as WsState, p as WsDisconnectReason, r as IndexerModule } from "./IndexerGrpcWeb3GwApi-BWuDmOjX.js";
|
|
10
10
|
import { BigNumber, toBigNumber, toHumanReadable } from "@injectivelabs/utils";
|
|
11
11
|
import { GeneralException, HttpRequestException, UnspecifiedErrorCode } from "@injectivelabs/exceptions";
|
|
12
12
|
import * as InjectiveRFQExchangeRpcPb from "@injectivelabs/indexer-proto-ts-v2/generated/injective_rfq_rpc_pb";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
2
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
2
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
3
3
|
import { IndexerErrorModule } from "@injectivelabs/exceptions";
|
|
4
4
|
import * as TcAbacusPb from "@injectivelabs/tc-abacus-proto-ts-v2/generated/injective_tc_abacus_rpc_pb";
|
|
5
5
|
import { InjectiveTCAbacusRPCClient } from "@injectivelabs/tc-abacus-proto-ts-v2/generated/injective_tc_abacus_rpc_pb.client";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as toBase64, h as uint8ArrayToString, o as fromUtf8, p as uint8ArrayToBase64, t as base64ToUint8Array } from "./encoding-light-DHtTGSg1.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
3
|
import { Ft as protobufTimestampToDate, Lt as protobufTimestampToUnixSeconds, _t as bigIntToString, l as ChainGrpcCommonTransformer, n as fetchAllWithPagination, y as denomAmountFromGrpcChainDenomAmount } from "./utils-B3t50ZnB.js";
|
|
4
|
-
import { o as ChainModule, p as BondStatus } from "./ChainRestTendermintApi-
|
|
5
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
4
|
+
import { o as ChainModule, p as BondStatus } from "./ChainRestTendermintApi-D_FQwKrf.js";
|
|
5
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
6
6
|
import { t as BaseRestConsumer } from "./BaseRestConsumer-L3j9-i4T.js";
|
|
7
7
|
import { toBigNumber, toHumanReadable } from "@injectivelabs/utils";
|
|
8
8
|
import { ErrorType, GeneralException, HttpRequestException, UnspecifiedErrorCode } from "@injectivelabs/exceptions";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../tx_pb-DhFh6sWY.js";
|
|
2
|
-
import "../index-
|
|
3
|
-
import "../light-
|
|
4
|
-
import "../BaseGrpcConsumer-
|
|
5
|
-
import { n as PointsStatsRow, r as AbacusGrpcApi, t as PointsLatestResponse } from "../index-
|
|
2
|
+
import "../index-BJJNBulw.js";
|
|
3
|
+
import "../light-Cr4m0DAA.js";
|
|
4
|
+
import "../BaseGrpcConsumer-DnPFbzJi.js";
|
|
5
|
+
import { n as PointsStatsRow, r as AbacusGrpcApi, t as PointsLatestResponse } from "../index-SZeXNgo8.js";
|
|
6
6
|
export { AbacusGrpcApi, PointsLatestResponse, PointsStatsRow };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../defineProperty-C0TI9N8m.js";
|
|
2
2
|
import "../grpc-aI_RLGoG.js";
|
|
3
|
-
import "../light-
|
|
3
|
+
import "../light-BflupdEX.js";
|
|
4
4
|
import "../stream-BqkNM_6g.js";
|
|
5
|
-
import "../BaseGrpcConsumer-
|
|
6
|
-
import { t as AbacusGrpcApi } from "../AbacusGrpcApi-
|
|
5
|
+
import "../BaseGrpcConsumer-Ci8sUY5h.js";
|
|
6
|
+
import { t as AbacusGrpcApi } from "../AbacusGrpcApi-DVO7c0mB.js";
|
|
7
7
|
|
|
8
8
|
export { AbacusGrpcApi };
|