@dhedge/trading-widget 5.13.1 → 5.14.0-canary.1
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 +89 -85
- package/core-kit/abi/index.d.ts +2 -0
- package/core-kit/abi/ondo-gm-token-asset-guard.d.ts +64 -0
- package/core-kit/abi/ondo-price-oracle.d.ts +52 -0
- package/core-kit/const/assets.d.ts +2 -0
- package/core-kit/const/config.d.ts +1 -1
- package/core-kit/const/geoblocking.d.ts +2 -0
- package/core-kit/const/index.d.ts +2 -0
- package/core-kit/const/logger.d.ts +1 -0
- package/core-kit/hooks/pool/index.d.ts +1 -0
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +14 -0
- package/core-kit/hooks/pool/use-has-single-asset-withdraw-blockers.d.ts +14 -0
- package/core-kit/hooks/pool/use-ondo-vault-data.d.ts +11 -0
- package/core-kit/hooks/trading/deposit-v2/deposit-transaction/use-approve-and-deposit.d.ts +1 -1
- package/core-kit/hooks/trading/deposit-v2/deposit-transaction/use-update-ondo-prices.d.ts +10 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-tracked-assets.d.ts +14 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-ondo-withdraw-asset-data.d.ts +2 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-estimated-receive-assets.d.ts +14 -0
- package/core-kit/hooks/trading/withdraw-v2/use-withdraw-assets-info.d.ts +14 -0
- package/core-kit/types/trading-panel.types.d.ts +1 -1
- package/core-kit/utils/complex-withdraw-asset-data.d.ts +6 -4
- package/core-kit/utils/hyperliquid.d.ts +3 -0
- package/core-kit/utils/index.d.ts +2 -0
- package/core-kit/utils/ondo.d.ts +24 -0
- package/geoblocking-CiC4Wegi.js +49 -0
- package/geoblocking-D3vij9Fa.cjs +1 -0
- package/gmx-DBkBS_PT.cjs +1 -0
- package/{gmx-k2GEQom-.js → gmx-q4YPPi5_.js} +315 -262
- package/index.cjs +1 -1
- package/index.d.ts +2 -2
- package/index.js +3247 -2981
- package/ondo-DQ3I-TIU.cjs +1 -0
- package/ondo-DpYitvx9.js +521 -0
- package/package.json +1 -1
- package/trading-widget/components/deposit/tab-panel/tab-panel.hooks.d.ts +4 -0
- package/trading-widget/components/widget/widget-input/all-assets-composition-table/all-assets-composition-table.utils.d.ts +9 -1
- package/trading-widget/providers/component-provider/component-provider.d.ts +1 -1
- package/trading-widget/providers/component-provider/component-provider.hooks.d.ts +1 -1
- package/trading-widget/providers/component-provider/component-provider.types.d.ts +4 -1
- package/trading-widget/providers/config-provider/config-provider.types.d.ts +4 -1
- package/trading-widget/providers/config-provider/index.d.ts +1 -0
- package/trading-widget/providers/config-provider/ondo.types.d.ts +46 -0
- package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +1 -0
- package/utils.cjs +1 -1
- package/utils.js +58 -51
- package/gmx-Ccmxx2kU.cjs +0 -1
- package/slippage-auto-simulation-BNYQurYt.cjs +0 -1
- package/slippage-auto-simulation-BkkeCgNm.js +0 -400
- package/storage-CSc9iE5L.js +0 -11
- package/storage-DHoO5PX_.cjs +0 -1
package/const.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./geoblocking-D3vij9Fa.cjs"),_=require("./gmx-DBkBS_PT.cjs"),A=require("wagmi/chains");exports.BLOCKED_COUNTRY_CODES_MAP=E.BLOCKED_COUNTRY_CODES_MAP;exports.COVERED_CALL_VAULT_ADDRESSES=E.COVERED_CALL_VAULT_ADDRESSES;exports.LOCAL_STORAGE_KEYS=E.LOCAL_STORAGE_KEYS;exports.ONDO_ASSET_TYPE=E.ONDO_ASSET_TYPE;exports.ONDO_BLOCKED_COUNTRY_CODES_MAP=E.ONDO_BLOCKED_COUNTRY_CODES_MAP;exports.ONDO_PRICE_UPDATE_NOTIONAL_VALUE=E.ONDO_PRICE_UPDATE_NOTIONAL_VALUE;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.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;Object.defineProperty(exports,"arbitrum",{enumerable:!0,get:()=>A.arbitrum});Object.defineProperty(exports,"base",{enumerable:!0,get:()=>A.base});Object.defineProperty(exports,"hyperEvm",{enumerable:!0,get:()=>A.hyperEvm});Object.defineProperty(exports,"mainnet",{enumerable:!0,get:()=>A.mainnet});Object.defineProperty(exports,"optimism",{enumerable:!0,get:()=>A.optimism});Object.defineProperty(exports,"polygon",{enumerable:!0,get:()=>A.polygon});
|
package/const.js
CHANGED
|
@@ -1,87 +1,91 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as
|
|
3
|
-
import { arbitrum as
|
|
1
|
+
import { B as A, C as T, L as I, O as S, a, b as L } from "./geoblocking-CiC4Wegi.js";
|
|
2
|
+
import { A as R, a as s, B as N, C as D, b as M, c as P, d as U, e as C, D as F, f as G, g as Y, h as W, i as V, j as H, k as B, l as K, m as r, n as o, o as e, p as t, q as X, r as m, s as p, t as i, u as n, v as b, w as c, x as d, E as f, y as x, z as g, F as h, G as y, H as j, I as l, J as u, K as v, L as Q, M as Z, N as k, O as q, P as w, Q as z, R as J, S as $, T as __, U as E_, V as A_, W as T_, X as I_, Y as S_, Z as a_, _ as L_, $ as O_, a0 as R_, a1 as s_, a2 as N_, a3 as D_, a4 as M_, a5 as P_, a6 as U_, a7 as C_, a8 as F_, a9 as G_, aa as Y_, ab as W_, ac as V_, ad as H_, ae as B_, af as K_, ag as r_, ah as o_, ai as e_, aj as t_ } from "./gmx-q4YPPi5_.js";
|
|
3
|
+
import { arbitrum as m_, base as p_, hyperEvm as i_, mainnet as n_, optimism as b_, polygon as c_ } from "wagmi/chains";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
5
|
+
R as ALCHEMY_RPC_URL_MAP,
|
|
6
|
+
s as AddressZero,
|
|
7
|
+
A as BLOCKED_COUNTRY_CODES_MAP,
|
|
8
|
+
N as BRIDGED_TOKENS_SYMBOLS,
|
|
9
|
+
D as CHAIN_MAP,
|
|
10
|
+
M as CHAIN_NATIVE_TOKENS,
|
|
11
|
+
P as COMPLETE_WITHDRAW_ACTIONS,
|
|
12
|
+
T as COVERED_CALL_VAULT_ADDRESSES,
|
|
13
|
+
U as CURRENCY_DECIMALS_MAP,
|
|
14
|
+
C as CURRENCY_SYMBOL_MAP,
|
|
15
|
+
F as DEFAULT_DEBOUNCE_TIME,
|
|
16
|
+
G as DEFAULT_DEPOSIT_METHOD,
|
|
17
|
+
Y as DEFAULT_DEPOSIT_SLIPPAGE,
|
|
18
|
+
W as DEFAULT_DEPOSIT_SLIPPAGE_SCALE,
|
|
19
|
+
V as DEFAULT_ERROR_MESSAGE,
|
|
20
|
+
H as DEFAULT_LOCK_TIME,
|
|
21
|
+
B as DEFAULT_MAX_GAS_LIMIT,
|
|
22
|
+
K as DEFAULT_MULTI_ASSET_WITHDRAW_METHOD,
|
|
23
|
+
r as DEFAULT_NOTIFICATION_DURATION_MS,
|
|
24
|
+
o as DEFAULT_NO_SWAP_MIN_DEPOSIT_AMOUNT_GAP,
|
|
25
|
+
e as DEFAULT_POLLING_INTERVAL,
|
|
26
|
+
t as DEFAULT_PRECISION,
|
|
27
|
+
X as DEFAULT_PROMISE_TIMEOUT_MS,
|
|
28
|
+
m as DEFAULT_RECEIVED_VALUE_GAP,
|
|
29
|
+
p as DEFAULT_SIMULATION_ERROR,
|
|
30
|
+
i as DEFAULT_SWAP_TRANSACTION_SLIPPAGE,
|
|
31
|
+
n as DEFAULT_VAULT_TOKEN_PRICE,
|
|
32
|
+
b as DEFAULT_VISIBLE_ASSETS_LIMIT,
|
|
33
|
+
c as DEFAULT_WITHDRAW_SLIPPAGE,
|
|
34
|
+
d as DEPOSIT_SWAP_DATA_ERROR,
|
|
35
|
+
f as EASY_SWAPPER_V2_COMPLETE_WITHDRAW_METHOD,
|
|
36
|
+
x as EASY_SWAPPER_V2_DEPOSIT_METHODS,
|
|
37
|
+
g as EASY_SWAPPER_V2_INITIATE_WITHDRAW_METHOD,
|
|
38
|
+
h as EASY_SWAPPER_V2_UNROLL_AND_CLAIM_METHOD,
|
|
39
|
+
y as EMPTY_POOL_CONFIG,
|
|
40
|
+
j as EXTENDED_DEBOUNCE_TIME,
|
|
41
|
+
l as EXTENDED_POLLING_INTERVAL,
|
|
42
|
+
u as EXTREMELY_SHORT_POLLING_INTERVAL,
|
|
43
|
+
v as FALLBACK_ASSETS_MAP,
|
|
44
|
+
Q as FLAT_MONEY_COLLATERAL_MAP,
|
|
45
|
+
Z as FLAT_MONEY_LEVERAGED_ASSET_ADDRESSES,
|
|
46
|
+
k as FLAT_MONEY_UNIT_ADDRESSES,
|
|
47
|
+
q as FLAT_MONEY_UNIT_LINK,
|
|
48
|
+
w as FLAT_MONEY_V1_UNIT_ADDRESS,
|
|
49
|
+
z as FLAT_MONEY_V1_UNIT_LINK,
|
|
50
|
+
J as GAS_ESTIMATION_ERROR,
|
|
51
|
+
$ as GAS_LIMIT_BUFFER_COEFF,
|
|
52
|
+
__ as GMX_MARKET_ASSETS,
|
|
53
|
+
E_ as GMX_MARKET_ASSETS_MAP,
|
|
54
|
+
A_ as GMX_WITHDRAW_ASSET_MAP,
|
|
55
|
+
T_ as GMX_WITHDRAW_ASSET_MAP_BY_VAULT_ADDRESS,
|
|
56
|
+
I_ as INVALID_PRICES_LIMIT_ORDER_TITLE,
|
|
57
|
+
S_ as LIMIT_ORDER_TRANSACTION_ERRORS,
|
|
58
|
+
I as LOCAL_STORAGE_KEYS,
|
|
59
|
+
a_ as LOG_EVENT_BY_TRANSACTION_ACTION_MAP,
|
|
60
|
+
L_ as MANAGER_FEE_DENOMINATOR,
|
|
61
|
+
O_ as MAX_GAS_LIMIT_MAP,
|
|
62
|
+
R_ as MULTI_ASSET_TOKEN,
|
|
63
|
+
s_ as MaxUint256,
|
|
64
|
+
N_ as NATIVE_TOKEN_DEPOSIT_GAS_LIMIT,
|
|
65
|
+
S as ONDO_ASSET_TYPE,
|
|
66
|
+
a as ONDO_BLOCKED_COUNTRY_CODES_MAP,
|
|
67
|
+
L as ONDO_PRICE_UPDATE_NOTIONAL_VALUE,
|
|
68
|
+
D_ as PYTH_API_LINK,
|
|
69
|
+
M_ as SHORTEN_POLLING_INTERVAL,
|
|
70
|
+
P_ as SIMULATION_TIMEOUT_ERROR,
|
|
71
|
+
U_ as SLIPPAGE_AUTO_SIMULATION_CANDIDATES,
|
|
72
|
+
C_ as STABLE_TOKEN_SYMBOLS,
|
|
73
|
+
F_ as SWAP_FAILED_ERROR,
|
|
74
|
+
G_ as SWAP_QUOTE_REFRESH_INTERVAL_MS,
|
|
75
|
+
Y_ as TRADING_LOG_EVENT_PARAM,
|
|
76
|
+
W_ as TRADING_PANEL_LOG_EVENT,
|
|
77
|
+
V_ as TRANSACTION_ERRORS,
|
|
78
|
+
H_ as TRANSACTION_ERROR_KEYS,
|
|
79
|
+
B_ as TRANSACTION_SETTLE_DELAY,
|
|
80
|
+
K_ as WBTC_BY_CHAIN_ID,
|
|
81
|
+
r_ as WETH_BY_CHAIN_ID,
|
|
82
|
+
o_ as WITHDRAW_SWAP_DATA_ERROR,
|
|
83
|
+
m_ as arbitrum,
|
|
84
|
+
p_ as base,
|
|
85
|
+
e_ as contractsAbisMap,
|
|
86
|
+
t_ as contractsAddressesMap,
|
|
87
|
+
i_ as hyperEvm,
|
|
88
|
+
n_ as mainnet,
|
|
89
|
+
b_ as optimism,
|
|
90
|
+
c_ as polygon
|
|
87
91
|
};
|
package/core-kit/abi/index.d.ts
CHANGED
|
@@ -8,3 +8,5 @@ export { RewardDistributionAbi } from '../abi/reward-distribution';
|
|
|
8
8
|
export { FlatcoinPointsModuleAbi } from '../abi/flatcoin-points-module';
|
|
9
9
|
export { EasySwapperV2Abi } from '../abi/easy-swapper-v2';
|
|
10
10
|
export { LimitOrderAbi } from '../abi/limit-order';
|
|
11
|
+
export { OndoPriceOracleAbi } from '../abi/ondo-price-oracle';
|
|
12
|
+
export { OndoGMTokenAssetGuardAbi, OndoWithdrawDataAbiItem, } from '../abi/ondo-gm-token-asset-guard';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const OndoGMTokenAssetGuardAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
|
+
readonly name: "_pool";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly internalType: "address";
|
|
8
|
+
readonly name: "_asset";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
}, {
|
|
11
|
+
readonly internalType: "uint256";
|
|
12
|
+
readonly name: "_poolTokenAmount";
|
|
13
|
+
readonly type: "uint256";
|
|
14
|
+
}];
|
|
15
|
+
readonly name: "previewGmTokenAmount";
|
|
16
|
+
readonly outputs: readonly [{
|
|
17
|
+
readonly internalType: "uint256";
|
|
18
|
+
readonly name: "gmTokenAmount";
|
|
19
|
+
readonly type: "uint256";
|
|
20
|
+
}];
|
|
21
|
+
readonly stateMutability: "nonpayable";
|
|
22
|
+
readonly type: "function";
|
|
23
|
+
}];
|
|
24
|
+
export declare const OndoWithdrawDataAbiItem: readonly [{
|
|
25
|
+
readonly type: "tuple";
|
|
26
|
+
readonly components: readonly [{
|
|
27
|
+
readonly name: "attestationSignature";
|
|
28
|
+
readonly type: "bytes";
|
|
29
|
+
}, {
|
|
30
|
+
readonly name: "quote";
|
|
31
|
+
readonly type: "tuple";
|
|
32
|
+
readonly components: readonly [{
|
|
33
|
+
readonly name: "chainId";
|
|
34
|
+
readonly type: "uint256";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "attestationId";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
}, {
|
|
39
|
+
readonly name: "userId";
|
|
40
|
+
readonly type: "bytes32";
|
|
41
|
+
}, {
|
|
42
|
+
readonly name: "asset";
|
|
43
|
+
readonly type: "address";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "price";
|
|
46
|
+
readonly type: "uint256";
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "quantity";
|
|
49
|
+
readonly type: "uint256";
|
|
50
|
+
}, {
|
|
51
|
+
readonly name: "expiration";
|
|
52
|
+
readonly type: "uint256";
|
|
53
|
+
}, {
|
|
54
|
+
readonly name: "side";
|
|
55
|
+
readonly type: "uint8";
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "additionalData";
|
|
58
|
+
readonly type: "bytes32";
|
|
59
|
+
}];
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "amountOutMinimum";
|
|
62
|
+
readonly type: "uint256";
|
|
63
|
+
}];
|
|
64
|
+
}];
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const OndoPriceOracleAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly components: readonly [{
|
|
4
|
+
readonly internalType: "uint256";
|
|
5
|
+
readonly name: "chainId";
|
|
6
|
+
readonly type: "uint256";
|
|
7
|
+
}, {
|
|
8
|
+
readonly internalType: "uint256";
|
|
9
|
+
readonly name: "attestationId";
|
|
10
|
+
readonly type: "uint256";
|
|
11
|
+
}, {
|
|
12
|
+
readonly internalType: "bytes32";
|
|
13
|
+
readonly name: "userId";
|
|
14
|
+
readonly type: "bytes32";
|
|
15
|
+
}, {
|
|
16
|
+
readonly internalType: "address";
|
|
17
|
+
readonly name: "asset";
|
|
18
|
+
readonly type: "address";
|
|
19
|
+
}, {
|
|
20
|
+
readonly internalType: "uint256";
|
|
21
|
+
readonly name: "price";
|
|
22
|
+
readonly type: "uint256";
|
|
23
|
+
}, {
|
|
24
|
+
readonly internalType: "uint256";
|
|
25
|
+
readonly name: "quantity";
|
|
26
|
+
readonly type: "uint256";
|
|
27
|
+
}, {
|
|
28
|
+
readonly internalType: "uint256";
|
|
29
|
+
readonly name: "expiration";
|
|
30
|
+
readonly type: "uint256";
|
|
31
|
+
}, {
|
|
32
|
+
readonly internalType: "uint8";
|
|
33
|
+
readonly name: "side";
|
|
34
|
+
readonly type: "uint8";
|
|
35
|
+
}, {
|
|
36
|
+
readonly internalType: "bytes32";
|
|
37
|
+
readonly name: "additionalData";
|
|
38
|
+
readonly type: "bytes32";
|
|
39
|
+
}];
|
|
40
|
+
readonly internalType: "struct IGMTokenManager.Quote[]";
|
|
41
|
+
readonly name: "_quotes";
|
|
42
|
+
readonly type: "tuple[]";
|
|
43
|
+
}, {
|
|
44
|
+
readonly internalType: "bytes[]";
|
|
45
|
+
readonly name: "_signatures";
|
|
46
|
+
readonly type: "bytes[]";
|
|
47
|
+
}];
|
|
48
|
+
readonly name: "updatePrices";
|
|
49
|
+
readonly outputs: readonly [];
|
|
50
|
+
readonly stateMutability: "nonpayable";
|
|
51
|
+
readonly type: "function";
|
|
52
|
+
}];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Address, ChainId } from '../types/web3.types';
|
|
2
|
-
export type ContractId = 'factory' | 'rewardDistribution' | 'aaveLendingPoolV2' | 'aaveLendingPoolV3' | 'poolManagerLogic' | 'erc20' | 'poolLogic' | 'flatcoinPointsModule' | 'easySwapperV2' | 'limitOrder';
|
|
2
|
+
export type ContractId = 'factory' | 'rewardDistribution' | 'aaveLendingPoolV2' | 'aaveLendingPoolV3' | 'poolManagerLogic' | 'erc20' | 'poolLogic' | 'flatcoinPointsModule' | 'easySwapperV2' | 'limitOrder' | 'ondoPriceOracle';
|
|
3
3
|
type ContractsAddressesMap = Readonly<Record<ChainId, {
|
|
4
4
|
[id in ContractId]?: Address;
|
|
5
5
|
}>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from '../const/assets';
|
|
1
2
|
export * from '../const/network';
|
|
2
3
|
export * from '../const/currency';
|
|
3
4
|
export * from '../const/default-data';
|
|
@@ -12,3 +13,4 @@ export * from '../const/trading';
|
|
|
12
13
|
export * from '../const/gmx';
|
|
13
14
|
export * from '../const/derive';
|
|
14
15
|
export * from '../const/storage';
|
|
16
|
+
export * from '../const/geoblocking';
|
|
@@ -17,6 +17,7 @@ export declare const TRADING_PANEL_LOG_EVENT: {
|
|
|
17
17
|
OPEN_LIMIT_BUY_VIEW: string;
|
|
18
18
|
LIMIT_ORDER_WITHDRAW: string;
|
|
19
19
|
LIMIT_ORDER_WITHDRAW_DELETE: string;
|
|
20
|
+
UPDATE_ONDO_PRICES: string;
|
|
20
21
|
};
|
|
21
22
|
export declare const LOG_EVENT_BY_TRANSACTION_ACTION_MAP: Record<TransactionAction, string[]>;
|
|
22
23
|
/**
|
|
@@ -16,3 +16,4 @@ export { useAvailableManagerFee } from '../../hooks/pool/use-available-manager-f
|
|
|
16
16
|
export { useVaultSupplyCap } from '../../hooks/pool/use-vault-supply-cap';
|
|
17
17
|
export { useIsDepositBlocked } from '../../hooks/pool/use-is-deposit-blocked';
|
|
18
18
|
export { useVaultContractData } from '../../hooks/pool/use-vault-contract-data';
|
|
19
|
+
export { useOndoVaultData, type OndoVaultAsset, type OndoVaultData, } from '../../hooks/pool/use-ondo-vault-data';
|
|
@@ -2767,6 +2767,20 @@ export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParam
|
|
|
2767
2767
|
}];
|
|
2768
2768
|
readonly stateMutability: "view";
|
|
2769
2769
|
readonly type: "function";
|
|
2770
|
+
}, {
|
|
2771
|
+
readonly inputs: readonly [{
|
|
2772
|
+
readonly internalType: "address";
|
|
2773
|
+
readonly name: "_asset";
|
|
2774
|
+
readonly type: "address";
|
|
2775
|
+
}];
|
|
2776
|
+
readonly name: "getAssetType";
|
|
2777
|
+
readonly outputs: readonly [{
|
|
2778
|
+
readonly internalType: "uint16";
|
|
2779
|
+
readonly name: "";
|
|
2780
|
+
readonly type: "uint16";
|
|
2781
|
+
}];
|
|
2782
|
+
readonly stateMutability: "view";
|
|
2783
|
+
readonly type: "function";
|
|
2770
2784
|
}];
|
|
2771
2785
|
readonly functionName: "getAssetGuard";
|
|
2772
2786
|
readonly args: readonly [`0x${string}`];
|
|
@@ -67,6 +67,20 @@ export declare const useHasSingleAssetWithdrawBlockers: ({ address, chainId, }:
|
|
|
67
67
|
}];
|
|
68
68
|
readonly stateMutability: "view";
|
|
69
69
|
readonly type: "function";
|
|
70
|
+
}, {
|
|
71
|
+
readonly inputs: readonly [{
|
|
72
|
+
readonly internalType: "address";
|
|
73
|
+
readonly name: "_asset";
|
|
74
|
+
readonly type: "address";
|
|
75
|
+
}];
|
|
76
|
+
readonly name: "getAssetType";
|
|
77
|
+
readonly outputs: readonly [{
|
|
78
|
+
readonly internalType: "uint16";
|
|
79
|
+
readonly name: "";
|
|
80
|
+
readonly type: "uint16";
|
|
81
|
+
}];
|
|
82
|
+
readonly stateMutability: "view";
|
|
83
|
+
readonly type: "function";
|
|
70
84
|
}];
|
|
71
85
|
functionName: string;
|
|
72
86
|
chainId: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Address, PoolContractCallParams } from '../../types';
|
|
2
|
+
export interface OndoVaultAsset {
|
|
3
|
+
address: Address;
|
|
4
|
+
symbol: string;
|
|
5
|
+
}
|
|
6
|
+
export interface OndoVaultData {
|
|
7
|
+
assets: OndoVaultAsset[];
|
|
8
|
+
assetGuardAddress: Address | undefined;
|
|
9
|
+
hasAssets: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const useOndoVaultData: ({ address, chainId, }: PoolContractCallParams) => OndoVaultData;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ApproveAndDepositState = 'idle' | 'approving' | 'waiting-confirmation' | 'depositing';
|
|
1
|
+
export type ApproveAndDepositState = 'idle' | 'approving' | 'waiting-approve-confirmation' | 'updating-prices' | 'waiting-prices-confirmation' | 'depositing';
|
|
2
2
|
export declare const useApproveAndDeposit: () => {
|
|
3
3
|
approveAndDeposit: () => Promise<void>;
|
|
4
4
|
isLoading: boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { OndoVaultAsset } from '../../../../hooks/pool';
|
|
2
|
+
import type { OnTradingSettleErrorCallback, OnTradingSettleSuccessCallback } from '../../../../hooks/trading/trade-handlers/use-trading-settle-handler';
|
|
3
|
+
import type { ContractActionFunc } from '../../../../types/web3.types';
|
|
4
|
+
interface UseUpdateOndoPricesParams {
|
|
5
|
+
ondoAssets: OndoVaultAsset[];
|
|
6
|
+
onSettled?: OnTradingSettleSuccessCallback;
|
|
7
|
+
onErrorCallback?: OnTradingSettleErrorCallback;
|
|
8
|
+
}
|
|
9
|
+
export declare const useUpdateOndoPrices: ({ ondoAssets, onSettled, onErrorCallback, }: UseUpdateOndoPricesParams) => ContractActionFunc;
|
|
10
|
+
export {};
|
package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-tracked-assets.d.ts
CHANGED
|
@@ -206,6 +206,20 @@ export declare const useCompleteWithdrawTrackedAssets: () => import("wagmi").Use
|
|
|
206
206
|
}];
|
|
207
207
|
readonly stateMutability: "view";
|
|
208
208
|
readonly type: "function";
|
|
209
|
+
}, {
|
|
210
|
+
readonly inputs: readonly [{
|
|
211
|
+
readonly internalType: "address";
|
|
212
|
+
readonly name: "_asset";
|
|
213
|
+
readonly type: "address";
|
|
214
|
+
}];
|
|
215
|
+
readonly name: "getAssetType";
|
|
216
|
+
readonly outputs: readonly [{
|
|
217
|
+
readonly internalType: "uint16";
|
|
218
|
+
readonly name: "";
|
|
219
|
+
readonly type: "uint16";
|
|
220
|
+
}];
|
|
221
|
+
readonly stateMutability: "view";
|
|
222
|
+
readonly type: "function";
|
|
209
223
|
}];
|
|
210
224
|
functionName: string;
|
|
211
225
|
chainId: number;
|
package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-estimated-receive-assets.d.ts
CHANGED
|
@@ -206,6 +206,20 @@ export declare const useInitWithdrawEstimatedReceiveAssets: () => import("wagmi"
|
|
|
206
206
|
}];
|
|
207
207
|
readonly stateMutability: "view";
|
|
208
208
|
readonly type: "function";
|
|
209
|
+
}, {
|
|
210
|
+
readonly inputs: readonly [{
|
|
211
|
+
readonly internalType: "address";
|
|
212
|
+
readonly name: "_asset";
|
|
213
|
+
readonly type: "address";
|
|
214
|
+
}];
|
|
215
|
+
readonly name: "getAssetType";
|
|
216
|
+
readonly outputs: readonly [{
|
|
217
|
+
readonly internalType: "uint16";
|
|
218
|
+
readonly name: "";
|
|
219
|
+
readonly type: "uint16";
|
|
220
|
+
}];
|
|
221
|
+
readonly stateMutability: "view";
|
|
222
|
+
readonly type: "function";
|
|
209
223
|
}];
|
|
210
224
|
functionName: string;
|
|
211
225
|
chainId: number;
|
|
@@ -214,6 +214,20 @@ export declare const useWithdrawAssetsInfo: ({ assets, chainId, }: UseWithdrawAs
|
|
|
214
214
|
}];
|
|
215
215
|
readonly stateMutability: "view";
|
|
216
216
|
readonly type: "function";
|
|
217
|
+
}, {
|
|
218
|
+
readonly inputs: readonly [{
|
|
219
|
+
readonly internalType: "address";
|
|
220
|
+
readonly name: "_asset";
|
|
221
|
+
readonly type: "address";
|
|
222
|
+
}];
|
|
223
|
+
readonly name: "getAssetType";
|
|
224
|
+
readonly outputs: readonly [{
|
|
225
|
+
readonly internalType: "uint16";
|
|
226
|
+
readonly name: "";
|
|
227
|
+
readonly type: "uint16";
|
|
228
|
+
}];
|
|
229
|
+
readonly stateMutability: "view";
|
|
230
|
+
readonly type: "function";
|
|
217
231
|
}];
|
|
218
232
|
functionName: string;
|
|
219
233
|
chainId: number;
|
|
@@ -22,7 +22,7 @@ type RemoveTransaction = {
|
|
|
22
22
|
} & Partial<PendingTransaction>;
|
|
23
23
|
export type UpdateTransactionsArguments = AddTransaction | UpdateTransaction | RemoveTransaction;
|
|
24
24
|
export type TradingPanelType = 'deposit' | 'withdraw';
|
|
25
|
-
export type TransactionAction = 'deposit' | 'multi_withdraw' | 'single_withdraw' | 'approve' | 'swap' | 'claim' | 'single_withdraw_and_claim' | 'create_limit_sell_order' | 'create_limit_buy_order' | 'limit_order_withdraw' | 'delete_limit_order_withdraw';
|
|
25
|
+
export type TransactionAction = 'deposit' | 'multi_withdraw' | 'single_withdraw' | 'approve' | 'swap' | 'claim' | 'single_withdraw_and_claim' | 'create_limit_sell_order' | 'create_limit_buy_order' | 'limit_order_withdraw' | 'delete_limit_order_withdraw' | 'update_ondo_prices';
|
|
26
26
|
export type SwapEntity = 'token' | 'pool';
|
|
27
27
|
export interface TokenSelectorPayload {
|
|
28
28
|
isOpen: boolean;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { Address, SwapDataResponse } from '@shared/types';
|
|
2
2
|
import type { useFetchAaveSwapParams } from '../hooks/trading/withdraw-v2/init-step/use-fetch-aave-swap-params';
|
|
3
3
|
import type { useFetchInitWithdrawAaveSwapQuotes } from '../hooks/trading/withdraw-v2/init-step/use-fetch-init-withdraw-aave-swap-quotes';
|
|
4
|
-
import type { CalculateSwapDataParamsResponse, ComplexWithdrawAssetData, EstimateCall } from '../types';
|
|
4
|
+
import type { CalculateSwapDataParamsResponse, ComplexWithdrawAssetData, EstimateCall, Hex } from '../types';
|
|
5
5
|
import type { SwapsQuotesMap } from '../utils/swap-data';
|
|
6
|
+
export declare const EMPTY_PER_ASSET_WITHDRAW_DATA: Map<string, Hex>;
|
|
7
|
+
export declare const overlayWithdrawData: (complexAssetData: ComplexWithdrawAssetData[], perAssetWithdrawData: Map<string, Hex> | undefined) => ComplexWithdrawAssetData[];
|
|
6
8
|
type VaultAssetWithSwapQuotes = {
|
|
7
9
|
asset: Address;
|
|
8
10
|
swapParams?: CalculateSwapDataParamsResponse;
|
|
@@ -16,13 +18,13 @@ interface EnrichAssetParams {
|
|
|
16
18
|
}
|
|
17
19
|
export declare const extractAvailableRouterKeys: (vaultAssetsWithSwapQuotes: VaultAssetWithSwapQuotes[]) => Array<SwapDataResponse['routerKey']>;
|
|
18
20
|
export declare const buildComplexAssetDataForRouter: (vaultAssetsWithSwapQuotes: VaultAssetWithSwapQuotes[], routerKey: SwapDataResponse['routerKey'], slippageTolerance: bigint) => ComplexWithdrawAssetData[];
|
|
19
|
-
export declare const tryEstimateWithRouters: (availableRouterKeys: Array<SwapDataResponse['routerKey']>, vaultAssetsWithSwapQuotes: VaultAssetWithSwapQuotes[], slippageTolerance: bigint, estimate: EstimateCall, transactionArgs: unknown[]) => Promise<ComplexWithdrawAssetData[] | null>;
|
|
20
|
-
export declare const createDefaultComplexAssetData: (supportedVaultAssets: Address[] | undefined, slippageTolerance: bigint) => ComplexWithdrawAssetData[];
|
|
21
|
+
export declare const tryEstimateWithRouters: (availableRouterKeys: Array<SwapDataResponse['routerKey']>, vaultAssetsWithSwapQuotes: VaultAssetWithSwapQuotes[], slippageTolerance: bigint, estimate: EstimateCall, transactionArgs: unknown[], perAssetWithdrawData?: Map<string, Hex>) => Promise<ComplexWithdrawAssetData[] | null>;
|
|
22
|
+
export declare const createDefaultComplexAssetData: (supportedVaultAssets: Address[] | undefined, slippageTolerance: bigint, perAssetWithdrawData: Map<string, Hex>) => ComplexWithdrawAssetData[];
|
|
21
23
|
/**
|
|
22
24
|
* Tries slippage candidates from lowest to highest.
|
|
23
25
|
* For each candidate, re-fetches swap quotes at that slippage, then tries all routers.
|
|
24
26
|
* Returns the first complexAssetData that passes estimation, or null if all candidates fail.
|
|
25
27
|
*/
|
|
26
|
-
export declare const tryEstimateWithSlippageValues: (slippageCandidates: number[], fetchQuotesForSlippage: (candidateSlippage: number) => Promise<VaultAssetWithSwapQuotes[]>, estimate: EstimateCall, transactionArgs: unknown[]) => Promise<ComplexWithdrawAssetData[] | null>;
|
|
28
|
+
export declare const tryEstimateWithSlippageValues: (slippageCandidates: number[], fetchQuotesForSlippage: (candidateSlippage: number) => Promise<VaultAssetWithSwapQuotes[]>, estimate: EstimateCall, transactionArgs: unknown[], perAssetWithdrawData?: Map<string, Hex>) => Promise<ComplexWithdrawAssetData[] | null>;
|
|
27
29
|
export declare const enrichAssetsWithSwapQuotes: (supportedVaultAssets: Address[] | undefined, aaveLendingPoolV3Address: Address, { fetchAaveSwapParams, fetchAaveSwapQuotes, withdrawAmountD18, slippage, }: EnrichAssetParams) => Promise<VaultAssetWithSwapQuotes[]>;
|
|
28
30
|
export {};
|
|
@@ -10,5 +10,7 @@ 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';
|
|
16
|
+
export * from '../utils/ondo';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Address, Hex } from '../types/web3.types';
|
|
2
|
+
import type { OndoAttestationApiResponse, OndoPriceUpdateApiResponse } from '../../trading-widget/providers/config-provider/ondo.types';
|
|
3
|
+
export declare const base64SignatureToHex: (b64: string) => Hex;
|
|
4
|
+
export interface OndoPriceOracleQuote {
|
|
5
|
+
chainId: bigint;
|
|
6
|
+
attestationId: bigint;
|
|
7
|
+
userId: Hex;
|
|
8
|
+
asset: Address;
|
|
9
|
+
price: bigint;
|
|
10
|
+
quantity: bigint;
|
|
11
|
+
expiration: bigint;
|
|
12
|
+
side: number;
|
|
13
|
+
additionalData: Hex;
|
|
14
|
+
}
|
|
15
|
+
export interface OndoUpdatePricesArgs {
|
|
16
|
+
quotes: OndoPriceOracleQuote[];
|
|
17
|
+
signatures: Hex[];
|
|
18
|
+
}
|
|
19
|
+
export declare const mapOndoApiResponseToUpdatePricesArgs: (response: OndoPriceUpdateApiResponse) => OndoUpdatePricesArgs;
|
|
20
|
+
export interface EncodeOndoWithdrawDataParams {
|
|
21
|
+
attestation: OndoAttestationApiResponse;
|
|
22
|
+
chainId: bigint;
|
|
23
|
+
}
|
|
24
|
+
export declare const encodeOndoWithdrawData: ({ attestation, chainId, }: EncodeOndoWithdrawDataParams) => Hex;
|