@dhedge/trading-widget 5.13.0 → 5.13.3
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/const.cjs +1 -1
- package/const.js +36 -35
- package/core-kit/const/network.d.ts +27 -10
- package/core-kit/const/tokens.d.ts +1 -0
- package/core-kit/hooks/trading/limit-order-withdraw/use-limit-order-withdraw-delete-transaction.d.ts +1 -0
- package/core-kit/hooks/trading/limit-order-withdraw/use-on-demand-pricing-asset.d.ts +2 -0
- package/core-kit/hooks/trading/limit-order-withdraw/use-pending-limit-order-withdraw.d.ts +4 -0
- package/core-kit/utils/hyperliquid.d.ts +3 -0
- package/core-kit/utils/index.d.ts +1 -0
- package/{gmx-Cz30wIeq.js → gmx-B_4o16YS.js} +285 -274
- package/gmx-ddu-QFeq.cjs +1 -0
- package/index.cjs +1 -1
- package/index.js +2731 -2619
- package/package.json +2 -1
- package/slippage-auto-simulation-C34TM_yM.js +406 -0
- package/slippage-auto-simulation-DmjjjnU1.cjs +1 -0
- package/style.css +1 -1
- package/trading-widget/components/widget/widget-input/all-assets-composition-table/all-assets-composition-table.utils.d.ts +8 -0
- package/trading-widget/components/withdraw/init-step/meta/pending-limit-order-withdraw-banner.d.ts +2 -0
- package/trading-widget/components/withdraw/init-step/meta/pending-limit-order-withdraw-banner.hooks.d.ts +8 -0
- package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +1 -0
- package/utils.cjs +1 -1
- package/utils.js +34 -32
- package/gmx-Ccmxx2kU.cjs +0 -1
- package/slippage-auto-simulation-BNYQurYt.cjs +0 -1
- package/slippage-auto-simulation-D7NLxruB.js +0 -400
package/const.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./gmx-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./gmx-ddu-QFeq.cjs"),A=require("./storage-DHoO5PX_.cjs"),E=require("wagmi/chains");exports.ALCHEMY_RPC_URL_MAP=_.ALCHEMY_RPC_URL_MAP;exports.AddressZero=_.AddressZero;exports.BRIDGED_TOKENS_SYMBOLS=_.BRIDGED_TOKENS_SYMBOLS;exports.CHAIN_MAP=_.CHAIN_MAP;exports.CHAIN_NATIVE_TOKENS=_.CHAIN_NATIVE_TOKENS;exports.COMPLETE_WITHDRAW_ACTIONS=_.COMPLETE_WITHDRAW_ACTIONS;exports.CURRENCY_DECIMALS_MAP=_.CURRENCY_DECIMALS_MAP;exports.CURRENCY_SYMBOL_MAP=_.CURRENCY_SYMBOL_MAP;exports.DEFAULT_DEBOUNCE_TIME=_.DEFAULT_DEBOUNCE_TIME;exports.DEFAULT_DEPOSIT_METHOD=_.DEFAULT_DEPOSIT_METHOD;exports.DEFAULT_DEPOSIT_SLIPPAGE=_.DEFAULT_DEPOSIT_SLIPPAGE;exports.DEFAULT_DEPOSIT_SLIPPAGE_SCALE=_.DEFAULT_DEPOSIT_SLIPPAGE_SCALE;exports.DEFAULT_ERROR_MESSAGE=_.DEFAULT_ERROR_MESSAGE;exports.DEFAULT_LOCK_TIME=_.DEFAULT_LOCK_TIME;exports.DEFAULT_MAX_GAS_LIMIT=_.DEFAULT_MAX_GAS_LIMIT;exports.DEFAULT_MULTI_ASSET_WITHDRAW_METHOD=_.DEFAULT_MULTI_ASSET_WITHDRAW_METHOD;exports.DEFAULT_NOTIFICATION_DURATION_MS=_.DEFAULT_NOTIFICATION_DURATION_MS;exports.DEFAULT_NO_SWAP_MIN_DEPOSIT_AMOUNT_GAP=_.DEFAULT_NO_SWAP_MIN_DEPOSIT_AMOUNT_GAP;exports.DEFAULT_POLLING_INTERVAL=_.DEFAULT_POLLING_INTERVAL;exports.DEFAULT_PRECISION=_.DEFAULT_PRECISION;exports.DEFAULT_PROMISE_TIMEOUT_MS=_.DEFAULT_PROMISE_TIMEOUT_MS;exports.DEFAULT_RECEIVED_VALUE_GAP=_.DEFAULT_RECEIVED_VALUE_GAP;exports.DEFAULT_SIMULATION_ERROR=_.DEFAULT_SIMULATION_ERROR;exports.DEFAULT_SWAP_TRANSACTION_SLIPPAGE=_.DEFAULT_SWAP_TRANSACTION_SLIPPAGE;exports.DEFAULT_VAULT_TOKEN_PRICE=_.DEFAULT_VAULT_TOKEN_PRICE;exports.DEFAULT_VISIBLE_ASSETS_LIMIT=_.DEFAULT_VISIBLE_ASSETS_LIMIT;exports.DEFAULT_WITHDRAW_SLIPPAGE=_.DEFAULT_WITHDRAW_SLIPPAGE;exports.DEPOSIT_SWAP_DATA_ERROR=_.DEPOSIT_SWAP_DATA_ERROR;exports.EASY_SWAPPER_V2_COMPLETE_WITHDRAW_METHOD=_.EASY_SWAPPER_V2_COMPLETE_WITHDRAW_METHOD;exports.EASY_SWAPPER_V2_DEPOSIT_METHODS=_.EASY_SWAPPER_V2_DEPOSIT_METHODS;exports.EASY_SWAPPER_V2_INITIATE_WITHDRAW_METHOD=_.EASY_SWAPPER_V2_INITIATE_WITHDRAW_METHOD;exports.EASY_SWAPPER_V2_UNROLL_AND_CLAIM_METHOD=_.EASY_SWAPPER_V2_UNROLL_AND_CLAIM_METHOD;exports.EMPTY_POOL_CONFIG=_.EMPTY_POOL_CONFIG;exports.EXTENDED_DEBOUNCE_TIME=_.EXTENDED_DEBOUNCE_TIME;exports.EXTENDED_POLLING_INTERVAL=_.EXTENDED_POLLING_INTERVAL;exports.EXTREMELY_SHORT_POLLING_INTERVAL=_.EXTREMELY_SHORT_POLLING_INTERVAL;exports.FALLBACK_ASSETS_MAP=_.FALLBACK_ASSETS_MAP;exports.FLAT_MONEY_COLLATERAL_MAP=_.FLAT_MONEY_COLLATERAL_MAP;exports.FLAT_MONEY_LEVERAGED_ASSET_ADDRESSES=_.FLAT_MONEY_LEVERAGED_ASSET_ADDRESSES;exports.FLAT_MONEY_UNIT_ADDRESSES=_.FLAT_MONEY_UNIT_ADDRESSES;exports.FLAT_MONEY_UNIT_LINK=_.FLAT_MONEY_UNIT_LINK;exports.FLAT_MONEY_V1_UNIT_ADDRESS=_.FLAT_MONEY_V1_UNIT_ADDRESS;exports.FLAT_MONEY_V1_UNIT_LINK=_.FLAT_MONEY_V1_UNIT_LINK;exports.GAS_ESTIMATION_ERROR=_.GAS_ESTIMATION_ERROR;exports.GAS_LIMIT_BUFFER_COEFF=_.GAS_LIMIT_BUFFER_COEFF;exports.GMX_MARKET_ASSETS=_.GMX_MARKET_ASSETS;exports.GMX_MARKET_ASSETS_MAP=_.GMX_MARKET_ASSETS_MAP;exports.GMX_WITHDRAW_ASSET_MAP=_.GMX_WITHDRAW_ASSET_MAP;exports.GMX_WITHDRAW_ASSET_MAP_BY_VAULT_ADDRESS=_.GMX_WITHDRAW_ASSET_MAP_BY_VAULT_ADDRESS;exports.INVALID_PRICES_LIMIT_ORDER_TITLE=_.INVALID_PRICES_LIMIT_ORDER_TITLE;exports.LIMIT_ORDER_TRANSACTION_ERRORS=_.LIMIT_ORDER_TRANSACTION_ERRORS;exports.LOG_EVENT_BY_TRANSACTION_ACTION_MAP=_.LOG_EVENT_BY_TRANSACTION_ACTION_MAP;exports.MANAGER_FEE_DENOMINATOR=_.MANAGER_FEE_DENOMINATOR;exports.MAX_GAS_LIMIT_MAP=_.MAX_GAS_LIMIT_MAP;exports.MULTI_ASSET_TOKEN=_.MULTI_ASSET_TOKEN;exports.MaxUint256=_.MaxUint256;exports.NATIVE_TOKEN_DEPOSIT_GAS_LIMIT=_.NATIVE_TOKEN_DEPOSIT_GAS_LIMIT;exports.ON_DEMAND_PRICING_ASSET_BY_CHAIN_MAP=_.ON_DEMAND_PRICING_ASSET_BY_CHAIN_MAP;exports.PYTH_API_LINK=_.PYTH_API_LINK;exports.SHORTEN_POLLING_INTERVAL=_.SHORTEN_POLLING_INTERVAL;exports.SIMULATION_TIMEOUT_ERROR=_.SIMULATION_TIMEOUT_ERROR;exports.SLIPPAGE_AUTO_SIMULATION_CANDIDATES=_.SLIPPAGE_AUTO_SIMULATION_CANDIDATES;exports.STABLE_TOKEN_SYMBOLS=_.STABLE_TOKEN_SYMBOLS;exports.SWAP_FAILED_ERROR=_.SWAP_FAILED_ERROR;exports.SWAP_QUOTE_REFRESH_INTERVAL_MS=_.SWAP_QUOTE_REFRESH_INTERVAL_MS;exports.TRADING_LOG_EVENT_PARAM=_.TRADING_LOG_EVENT_PARAM;exports.TRADING_PANEL_LOG_EVENT=_.TRADING_PANEL_LOG_EVENT;exports.TRANSACTION_ERRORS=_.TRANSACTION_ERRORS;exports.TRANSACTION_ERROR_KEYS=_.TRANSACTION_ERROR_KEYS;exports.TRANSACTION_SETTLE_DELAY=_.TRANSACTION_SETTLE_DELAY;exports.WBTC_BY_CHAIN_ID=_.WBTC_BY_CHAIN_ID;exports.WETH_BY_CHAIN_ID=_.WETH_BY_CHAIN_ID;exports.WITHDRAW_SWAP_DATA_ERROR=_.WITHDRAW_SWAP_DATA_ERROR;exports.contractsAbisMap=_.contractsAbisMap;exports.contractsAddressesMap=_.contractsAddressesMap;exports.COVERED_CALL_VAULT_ADDRESSES=A.COVERED_CALL_VAULT_ADDRESSES;exports.LOCAL_STORAGE_KEYS=A.LOCAL_STORAGE_KEYS;Object.defineProperty(exports,"arbitrum",{enumerable:!0,get:()=>E.arbitrum});Object.defineProperty(exports,"base",{enumerable:!0,get:()=>E.base});Object.defineProperty(exports,"hyperEvm",{enumerable:!0,get:()=>E.hyperEvm});Object.defineProperty(exports,"mainnet",{enumerable:!0,get:()=>E.mainnet});Object.defineProperty(exports,"optimism",{enumerable:!0,get:()=>E.optimism});Object.defineProperty(exports,"polygon",{enumerable:!0,get:()=>E.polygon});
|
package/const.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A, a as T, B as I, C as S, b as a, c as L, d as R, e as O, D as s, f as N, g as D, h as M, i as P, j as U, k as C, l as F, m as G, n as W, o as Y, p as
|
|
2
|
-
import { C as
|
|
3
|
-
import { arbitrum as
|
|
1
|
+
import { A, a as T, B as I, C as S, b as a, c as L, d as R, e as O, D as s, f as N, g as D, h as M, i as P, j as U, k as C, l as F, m as G, n as W, o as Y, p as H, q as V, r as B, s as K, t as r, u as o, v as e, w as t, x as X, E as m, y as p, z as i, F as n, G as c, H as d, I as b, J as f, K as x, L as g, M as h, N as y, O as j, P as k, Q as l, R as u, S as v, T as Q, U as Z, V as q, W as w, X as z, Y as J, Z as $, _ as __, $ as E_, a0 as A_, a1 as T_, a2 as I_, a3 as S_, a4 as a_, a5 as L_, a6 as R_, a7 as O_, a8 as s_, a9 as N_, aa as D_, ab as M_, ac as P_, ad as U_, ae as C_, af as F_, ag as G_, ah as W_, ai as Y_, aj as H_, ak as V_ } from "./gmx-B_4o16YS.js";
|
|
2
|
+
import { C as K_, L as r_ } from "./storage-CSc9iE5L.js";
|
|
3
|
+
import { arbitrum as e_, base as t_, hyperEvm as X_, mainnet as m_, optimism as p_, polygon as i_ } from "wagmi/chains";
|
|
4
4
|
export {
|
|
5
5
|
A as ALCHEMY_RPC_URL_MAP,
|
|
6
6
|
T as AddressZero,
|
|
@@ -8,7 +8,7 @@ export {
|
|
|
8
8
|
S as CHAIN_MAP,
|
|
9
9
|
a as CHAIN_NATIVE_TOKENS,
|
|
10
10
|
L as COMPLETE_WITHDRAW_ACTIONS,
|
|
11
|
-
|
|
11
|
+
K_ as COVERED_CALL_VAULT_ADDRESSES,
|
|
12
12
|
R as CURRENCY_DECIMALS_MAP,
|
|
13
13
|
O as CURRENCY_SYMBOL_MAP,
|
|
14
14
|
s as DEFAULT_DEBOUNCE_TIME,
|
|
@@ -22,8 +22,8 @@ export {
|
|
|
22
22
|
G as DEFAULT_NOTIFICATION_DURATION_MS,
|
|
23
23
|
W as DEFAULT_NO_SWAP_MIN_DEPOSIT_AMOUNT_GAP,
|
|
24
24
|
Y as DEFAULT_POLLING_INTERVAL,
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
H as DEFAULT_PRECISION,
|
|
26
|
+
V as DEFAULT_PROMISE_TIMEOUT_MS,
|
|
27
27
|
B as DEFAULT_RECEIVED_VALUE_GAP,
|
|
28
28
|
K as DEFAULT_SIMULATION_ERROR,
|
|
29
29
|
r as DEFAULT_SWAP_TRANSACTION_SLIPPAGE,
|
|
@@ -44,44 +44,45 @@ export {
|
|
|
44
44
|
h as FLAT_MONEY_LEVERAGED_ASSET_ADDRESSES,
|
|
45
45
|
y as FLAT_MONEY_UNIT_ADDRESSES,
|
|
46
46
|
j as FLAT_MONEY_UNIT_LINK,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
k as FLAT_MONEY_V1_UNIT_ADDRESS,
|
|
48
|
+
l as FLAT_MONEY_V1_UNIT_LINK,
|
|
49
|
+
u as GAS_ESTIMATION_ERROR,
|
|
50
|
+
v as GAS_LIMIT_BUFFER_COEFF,
|
|
51
|
+
Q as GMX_MARKET_ASSETS,
|
|
52
|
+
Z as GMX_MARKET_ASSETS_MAP,
|
|
53
53
|
q as GMX_WITHDRAW_ASSET_MAP,
|
|
54
54
|
w as GMX_WITHDRAW_ASSET_MAP_BY_VAULT_ADDRESS,
|
|
55
55
|
z as INVALID_PRICES_LIMIT_ORDER_TITLE,
|
|
56
56
|
J as LIMIT_ORDER_TRANSACTION_ERRORS,
|
|
57
|
-
|
|
57
|
+
r_ as LOCAL_STORAGE_KEYS,
|
|
58
58
|
$ as LOG_EVENT_BY_TRANSACTION_ACTION_MAP,
|
|
59
59
|
__ as MANAGER_FEE_DENOMINATOR,
|
|
60
60
|
E_ as MAX_GAS_LIMIT_MAP,
|
|
61
61
|
A_ as MULTI_ASSET_TOKEN,
|
|
62
62
|
T_ as MaxUint256,
|
|
63
63
|
I_ as NATIVE_TOKEN_DEPOSIT_GAS_LIMIT,
|
|
64
|
-
S_ as
|
|
65
|
-
a_ as
|
|
66
|
-
L_ as
|
|
67
|
-
R_ as
|
|
68
|
-
O_ as
|
|
69
|
-
s_ as
|
|
70
|
-
N_ as
|
|
71
|
-
D_ as
|
|
72
|
-
M_ as
|
|
73
|
-
P_ as
|
|
74
|
-
U_ as
|
|
75
|
-
C_ as
|
|
76
|
-
F_ as
|
|
77
|
-
G_ as
|
|
78
|
-
W_ as
|
|
79
|
-
|
|
80
|
-
e_ as
|
|
81
|
-
|
|
64
|
+
S_ as ON_DEMAND_PRICING_ASSET_BY_CHAIN_MAP,
|
|
65
|
+
a_ as PYTH_API_LINK,
|
|
66
|
+
L_ as SHORTEN_POLLING_INTERVAL,
|
|
67
|
+
R_ as SIMULATION_TIMEOUT_ERROR,
|
|
68
|
+
O_ as SLIPPAGE_AUTO_SIMULATION_CANDIDATES,
|
|
69
|
+
s_ as STABLE_TOKEN_SYMBOLS,
|
|
70
|
+
N_ as SWAP_FAILED_ERROR,
|
|
71
|
+
D_ as SWAP_QUOTE_REFRESH_INTERVAL_MS,
|
|
72
|
+
M_ as TRADING_LOG_EVENT_PARAM,
|
|
73
|
+
P_ as TRADING_PANEL_LOG_EVENT,
|
|
74
|
+
U_ as TRANSACTION_ERRORS,
|
|
75
|
+
C_ as TRANSACTION_ERROR_KEYS,
|
|
76
|
+
F_ as TRANSACTION_SETTLE_DELAY,
|
|
77
|
+
G_ as WBTC_BY_CHAIN_ID,
|
|
78
|
+
W_ as WETH_BY_CHAIN_ID,
|
|
79
|
+
Y_ as WITHDRAW_SWAP_DATA_ERROR,
|
|
80
|
+
e_ as arbitrum,
|
|
81
|
+
t_ as base,
|
|
82
|
+
H_ as contractsAbisMap,
|
|
82
83
|
V_ as contractsAddressesMap,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
X_ as hyperEvm,
|
|
85
|
+
m_ as mainnet,
|
|
86
|
+
p_ as optimism,
|
|
87
|
+
i_ as polygon
|
|
87
88
|
};
|
|
@@ -55,6 +55,7 @@ export declare const CHAIN_MAP: {
|
|
|
55
55
|
cacheTime?: undefined;
|
|
56
56
|
ccipRead?: undefined;
|
|
57
57
|
chain?: undefined;
|
|
58
|
+
dataSuffix?: undefined;
|
|
58
59
|
experimental_blockTag?: undefined;
|
|
59
60
|
key?: undefined;
|
|
60
61
|
name?: undefined;
|
|
@@ -91,7 +92,7 @@ export declare const CHAIN_MAP: {
|
|
|
91
92
|
experimental_preconfirmationTime?: number | undefined;
|
|
92
93
|
rpcUrls: {
|
|
93
94
|
readonly default: {
|
|
94
|
-
readonly http: readonly ["https://polygon
|
|
95
|
+
readonly http: readonly ["https://polygon.drpc.org"];
|
|
95
96
|
};
|
|
96
97
|
};
|
|
97
98
|
sourceId?: number | undefined;
|
|
@@ -115,6 +116,7 @@ export declare const CHAIN_MAP: {
|
|
|
115
116
|
cacheTime?: undefined;
|
|
116
117
|
ccipRead?: undefined;
|
|
117
118
|
chain?: undefined;
|
|
119
|
+
dataSuffix?: undefined;
|
|
118
120
|
experimental_blockTag?: undefined;
|
|
119
121
|
key?: undefined;
|
|
120
122
|
name?: undefined;
|
|
@@ -236,6 +238,7 @@ export declare const CHAIN_MAP: {
|
|
|
236
238
|
format: (args: import("wagmi/chains").OpStackRpcTransaction<boolean>, action?: string | undefined) => {
|
|
237
239
|
blockHash: `0x${string}` | null;
|
|
238
240
|
blockNumber: bigint | null;
|
|
241
|
+
blockTimestamp?: bigint | undefined;
|
|
239
242
|
from: `0x${string}`;
|
|
240
243
|
gas: bigint;
|
|
241
244
|
hash: `0x${string}`;
|
|
@@ -268,6 +271,7 @@ export declare const CHAIN_MAP: {
|
|
|
268
271
|
value: bigint;
|
|
269
272
|
blockHash: `0x${string}` | null;
|
|
270
273
|
blockNumber: bigint | null;
|
|
274
|
+
blockTimestamp?: bigint | undefined;
|
|
271
275
|
hash: `0x${string}`;
|
|
272
276
|
input: `0x${string}`;
|
|
273
277
|
transactionIndex: number | null;
|
|
@@ -288,6 +292,7 @@ export declare const CHAIN_MAP: {
|
|
|
288
292
|
} | {
|
|
289
293
|
blockHash: `0x${string}` | null;
|
|
290
294
|
blockNumber: bigint | null;
|
|
295
|
+
blockTimestamp?: bigint | undefined;
|
|
291
296
|
from: `0x${string}`;
|
|
292
297
|
gas: bigint;
|
|
293
298
|
hash: `0x${string}`;
|
|
@@ -316,6 +321,7 @@ export declare const CHAIN_MAP: {
|
|
|
316
321
|
} | {
|
|
317
322
|
blockHash: `0x${string}` | null;
|
|
318
323
|
blockNumber: bigint | null;
|
|
324
|
+
blockTimestamp?: bigint | undefined;
|
|
319
325
|
from: `0x${string}`;
|
|
320
326
|
gas: bigint;
|
|
321
327
|
hash: `0x${string}`;
|
|
@@ -344,6 +350,7 @@ export declare const CHAIN_MAP: {
|
|
|
344
350
|
} | {
|
|
345
351
|
blockHash: `0x${string}` | null;
|
|
346
352
|
blockNumber: bigint | null;
|
|
353
|
+
blockTimestamp?: bigint | undefined;
|
|
347
354
|
from: `0x${string}`;
|
|
348
355
|
gas: bigint;
|
|
349
356
|
hash: `0x${string}`;
|
|
@@ -372,6 +379,7 @@ export declare const CHAIN_MAP: {
|
|
|
372
379
|
} | {
|
|
373
380
|
blockHash: `0x${string}` | null;
|
|
374
381
|
blockNumber: bigint | null;
|
|
382
|
+
blockTimestamp?: bigint | undefined;
|
|
375
383
|
from: `0x${string}`;
|
|
376
384
|
gas: bigint;
|
|
377
385
|
hash: `0x${string}`;
|
|
@@ -407,6 +415,7 @@ export declare const CHAIN_MAP: {
|
|
|
407
415
|
blobGasUsed?: bigint | undefined;
|
|
408
416
|
blockHash: `0x${string}`;
|
|
409
417
|
blockNumber: bigint;
|
|
418
|
+
blockTimestamp?: bigint | undefined;
|
|
410
419
|
contractAddress: `0x${string}` | null | undefined;
|
|
411
420
|
cumulativeGasUsed: bigint;
|
|
412
421
|
effectiveGasPrice: bigint;
|
|
@@ -445,6 +454,7 @@ export declare const CHAIN_MAP: {
|
|
|
445
454
|
cacheTime?: undefined;
|
|
446
455
|
ccipRead?: undefined;
|
|
447
456
|
chain?: undefined;
|
|
457
|
+
dataSuffix?: undefined;
|
|
448
458
|
experimental_blockTag?: undefined;
|
|
449
459
|
key?: undefined;
|
|
450
460
|
name?: undefined;
|
|
@@ -505,6 +515,7 @@ export declare const CHAIN_MAP: {
|
|
|
505
515
|
cacheTime?: undefined;
|
|
506
516
|
ccipRead?: undefined;
|
|
507
517
|
chain?: undefined;
|
|
518
|
+
dataSuffix?: undefined;
|
|
508
519
|
experimental_blockTag?: undefined;
|
|
509
520
|
key?: undefined;
|
|
510
521
|
name?: undefined;
|
|
@@ -628,6 +639,7 @@ export declare const CHAIN_MAP: {
|
|
|
628
639
|
format: (args: import("wagmi/chains").OpStackRpcTransaction<boolean>, action?: string | undefined) => {
|
|
629
640
|
blockHash: `0x${string}` | null;
|
|
630
641
|
blockNumber: bigint | null;
|
|
642
|
+
blockTimestamp?: bigint | undefined;
|
|
631
643
|
from: `0x${string}`;
|
|
632
644
|
gas: bigint;
|
|
633
645
|
hash: `0x${string}`;
|
|
@@ -660,6 +672,7 @@ export declare const CHAIN_MAP: {
|
|
|
660
672
|
value: bigint;
|
|
661
673
|
blockHash: `0x${string}` | null;
|
|
662
674
|
blockNumber: bigint | null;
|
|
675
|
+
blockTimestamp?: bigint | undefined;
|
|
663
676
|
hash: `0x${string}`;
|
|
664
677
|
input: `0x${string}`;
|
|
665
678
|
transactionIndex: number | null;
|
|
@@ -680,6 +693,7 @@ export declare const CHAIN_MAP: {
|
|
|
680
693
|
} | {
|
|
681
694
|
blockHash: `0x${string}` | null;
|
|
682
695
|
blockNumber: bigint | null;
|
|
696
|
+
blockTimestamp?: bigint | undefined;
|
|
683
697
|
from: `0x${string}`;
|
|
684
698
|
gas: bigint;
|
|
685
699
|
hash: `0x${string}`;
|
|
@@ -708,6 +722,7 @@ export declare const CHAIN_MAP: {
|
|
|
708
722
|
} | {
|
|
709
723
|
blockHash: `0x${string}` | null;
|
|
710
724
|
blockNumber: bigint | null;
|
|
725
|
+
blockTimestamp?: bigint | undefined;
|
|
711
726
|
from: `0x${string}`;
|
|
712
727
|
gas: bigint;
|
|
713
728
|
hash: `0x${string}`;
|
|
@@ -736,6 +751,7 @@ export declare const CHAIN_MAP: {
|
|
|
736
751
|
} | {
|
|
737
752
|
blockHash: `0x${string}` | null;
|
|
738
753
|
blockNumber: bigint | null;
|
|
754
|
+
blockTimestamp?: bigint | undefined;
|
|
739
755
|
from: `0x${string}`;
|
|
740
756
|
gas: bigint;
|
|
741
757
|
hash: `0x${string}`;
|
|
@@ -764,6 +780,7 @@ export declare const CHAIN_MAP: {
|
|
|
764
780
|
} | {
|
|
765
781
|
blockHash: `0x${string}` | null;
|
|
766
782
|
blockNumber: bigint | null;
|
|
783
|
+
blockTimestamp?: bigint | undefined;
|
|
767
784
|
from: `0x${string}`;
|
|
768
785
|
gas: bigint;
|
|
769
786
|
hash: `0x${string}`;
|
|
@@ -799,6 +816,7 @@ export declare const CHAIN_MAP: {
|
|
|
799
816
|
blobGasUsed?: bigint | undefined;
|
|
800
817
|
blockHash: `0x${string}`;
|
|
801
818
|
blockNumber: bigint;
|
|
819
|
+
blockTimestamp?: bigint | undefined;
|
|
802
820
|
contractAddress: `0x${string}` | null | undefined;
|
|
803
821
|
cumulativeGasUsed: bigint;
|
|
804
822
|
effectiveGasPrice: bigint;
|
|
@@ -837,6 +855,7 @@ export declare const CHAIN_MAP: {
|
|
|
837
855
|
cacheTime?: undefined;
|
|
838
856
|
ccipRead?: undefined;
|
|
839
857
|
chain?: undefined;
|
|
858
|
+
dataSuffix?: undefined;
|
|
840
859
|
experimental_blockTag?: undefined;
|
|
841
860
|
key?: undefined;
|
|
842
861
|
name?: undefined;
|
|
@@ -855,15 +874,12 @@ export declare const CHAIN_MAP: {
|
|
|
855
874
|
};
|
|
856
875
|
};
|
|
857
876
|
blockTime?: number | undefined;
|
|
858
|
-
contracts
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
multicall3?: import("viem").ChainContract | undefined;
|
|
865
|
-
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
866
|
-
} | undefined;
|
|
877
|
+
contracts: {
|
|
878
|
+
readonly multicall3: {
|
|
879
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
880
|
+
readonly blockCreated: 13051;
|
|
881
|
+
};
|
|
882
|
+
};
|
|
867
883
|
ensTlds?: readonly string[] | undefined;
|
|
868
884
|
id: 999;
|
|
869
885
|
name: "HyperEVM";
|
|
@@ -899,6 +915,7 @@ export declare const CHAIN_MAP: {
|
|
|
899
915
|
cacheTime?: undefined;
|
|
900
916
|
ccipRead?: undefined;
|
|
901
917
|
chain?: undefined;
|
|
918
|
+
dataSuffix?: undefined;
|
|
902
919
|
experimental_blockTag?: undefined;
|
|
903
920
|
key?: undefined;
|
|
904
921
|
name?: undefined;
|
|
@@ -4,3 +4,4 @@ export declare const BRIDGED_TOKENS_SYMBOLS: Record<string, string>;
|
|
|
4
4
|
export declare const WETH_BY_CHAIN_ID: Record<number, TradingToken>;
|
|
5
5
|
export declare const WBTC_BY_CHAIN_ID: Record<number, TradingToken>;
|
|
6
6
|
export declare const FALLBACK_ASSETS_MAP: Record<ChainId, Record<string, TradingToken>>;
|
|
7
|
+
export declare const ON_DEMAND_PRICING_ASSET_BY_CHAIN_MAP: Partial<Record<ChainId, TradingToken>>;
|
package/core-kit/hooks/trading/limit-order-withdraw/use-limit-order-withdraw-delete-transaction.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useLimitOrderWithdrawDeleteTransaction: () => () => Promise<void>;
|
|
@@ -10,5 +10,6 @@ export * from '../utils/ua';
|
|
|
10
10
|
export * from '../utils/flat-money';
|
|
11
11
|
export * from '../utils/logger';
|
|
12
12
|
export * from '../utils/gmx';
|
|
13
|
+
export * from '../utils/hyperliquid';
|
|
13
14
|
export * from '../utils/complex-withdraw-asset-data';
|
|
14
15
|
export * from '../utils/slippage-auto-simulation';
|