@orbs-network/spot-react 1.0.1 → 1.0.2
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/{ccip-ghobQCPh.js → ccip-BktNSwP8.js} +1 -1
- package/dist/{index-kIt8svRl.js → index-Ij0jPMOb.js} +10693 -18539
- package/dist/spot-react/package.json.d.ts +2 -8
- package/dist/spot-react/src/consts.d.ts +1 -2
- package/dist/spot-react/src/consts.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/helper-hooks.d.ts +1 -1
- package/dist/spot-react/src/hooks/helper-hooks.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/order-hooks.d.ts +4 -28
- package/dist/spot-react/src/hooks/order-hooks.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-build-order-info.d.ts +37 -65
- package/dist/spot-react/src/hooks/use-build-order-info.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-cancel-order.d.ts +1 -1
- package/dist/spot-react/src/hooks/use-cancel-order.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-disclaimer-panel.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-duration.d.ts +6 -2
- package/dist/spot-react/src/hooks/use-duration.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-fill-delay.d.ts +17 -5
- package/dist/spot-react/src/hooks/use-fill-delay.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-history-order.d.ts +48 -2
- package/dist/spot-react/src/hooks/use-history-order.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-input-errors.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-limit-price-panel.d.ts +0 -2
- package/dist/spot-react/src/hooks/use-limit-price-panel.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-limit-price.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-order.d.ts +28 -78
- package/dist/spot-react/src/hooks/use-order.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-src-amount.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-submit-order-panel.d.ts +10 -10
- package/dist/spot-react/src/hooks/use-submit-order-panel.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-submit-order.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-swap-execution.d.ts +21 -0
- package/dist/spot-react/src/hooks/use-swap-execution.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-trades.d.ts +5 -15
- package/dist/spot-react/src/hooks/use-trades.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-trigger-price-panel.d.ts +0 -2
- package/dist/spot-react/src/hooks/use-trigger-price-panel.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-trigger-price.d.ts.map +1 -1
- package/dist/spot-react/src/index.d.ts +9 -21
- package/dist/spot-react/src/index.d.ts.map +1 -1
- package/dist/spot-react/src/spot-context.d.ts.map +1 -1
- package/dist/spot-react/src/store.d.ts +2 -3
- package/dist/spot-react/src/store.d.ts.map +1 -1
- package/dist/spot-react/src/types.d.ts +15 -299
- package/dist/spot-react/src/types.d.ts.map +1 -1
- package/dist/spot-react/src/utils.d.ts +1 -7
- package/dist/spot-react/src/utils.d.ts.map +1 -1
- package/dist/spot-react.js +74 -84
- package/dist/spot-react.umd.cjs +50 -67
- package/dist/spot-ui/src/lib/types.d.ts +1 -0
- package/dist/spot-ui/src/lib/types.d.ts.map +1 -1
- package/package.json +3 -9
- package/dist/spot-react/src/components/TokenLogo.d.ts +0 -9
- package/dist/spot-react/src/components/TokenLogo.d.ts.map +0 -1
- package/dist/spot-react/src/components/format-number.d.ts +0 -10
- package/dist/spot-react/src/components/format-number.d.ts.map +0 -1
- package/dist/spot-react/src/components/order-details.d.ts +0 -75
- package/dist/spot-react/src/components/order-details.d.ts.map +0 -1
- package/dist/spot-react/src/components/orders/order-fills.d.ts +0 -8
- package/dist/spot-react/src/components/orders/order-fills.d.ts.map +0 -1
- package/dist/spot-react/src/components/orders/order-preview.d.ts +0 -3
- package/dist/spot-react/src/components/orders/order-preview.d.ts.map +0 -1
- package/dist/spot-react/src/components/orders/orders-list.d.ts +0 -2
- package/dist/spot-react/src/components/orders/orders-list.d.ts.map +0 -1
- package/dist/spot-react/src/components/orders/orders.d.ts +0 -2
- package/dist/spot-react/src/components/orders/orders.d.ts.map +0 -1
- package/dist/spot-react/src/components/portal.d.ts +0 -6
- package/dist/spot-react/src/components/portal.d.ts.map +0 -1
- package/dist/spot-react/src/components/submit-order-panel.d.ts +0 -10
- package/dist/spot-react/src/components/submit-order-panel.d.ts.map +0 -1
- package/dist/spot-react/src/hooks/use-toggle-price.d.ts +0 -5
- package/dist/spot-react/src/hooks/use-toggle-price.d.ts.map +0 -1
- package/dist/spot-react/src/hooks/use-translations.d.ts +0 -3
- package/dist/spot-react/src/hooks/use-translations.d.ts.map +0 -1
- package/dist/spot-react/src/i18n/en.json.d.ts +0 -99
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"name": "@orbs-network/spot-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Spot React Components - React components for Spot SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/spot-react.umd.cjs",
|
|
@@ -15,8 +15,7 @@ declare const _default: {
|
|
|
15
15
|
"./styles.css": "./dist/style.css"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
|
-
"dist"
|
|
19
|
-
".cursor"
|
|
18
|
+
"dist"
|
|
20
19
|
],
|
|
21
20
|
"scripts": {
|
|
22
21
|
"dev": "vite build --watch",
|
|
@@ -36,14 +35,9 @@ declare const _default: {
|
|
|
36
35
|
},
|
|
37
36
|
"dependencies": {
|
|
38
37
|
"@orbs-network/spot-ui": "workspace:*",
|
|
39
|
-
"@orbs-network/swap-ui": "^0.0.61",
|
|
40
|
-
"@react-icons/all-files": "^4.1.0",
|
|
41
38
|
"@tanstack/react-query": "^5.90.12",
|
|
42
39
|
"bignumber.js": "^9.3.1",
|
|
43
|
-
"moment": "^2.30.1",
|
|
44
40
|
"react-error-boundary": "^6.0.0",
|
|
45
|
-
"react-number-format": "^5.4.4",
|
|
46
|
-
"react-virtuoso": "^4.17.0",
|
|
47
41
|
"viem": "^2.43.3",
|
|
48
42
|
"zustand": "^5.0.9"
|
|
49
43
|
},
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { TimeUnit } from '../../spot-ui/src/index.ts';
|
|
2
2
|
export declare const REFETCH_ORDER_HISTORY = 20000;
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const DEFAULT_DURATIONS: {
|
|
4
4
|
text: string;
|
|
5
5
|
value: TimeUnit;
|
|
6
6
|
}[];
|
|
7
|
-
export declare const PRICE_PROTECTION_SETTINGS = "The protocol uses an oracle price to help protect users from unfavorable executions. If the execution price is worse than the oracle price by more than the allowed percentage, the transaction will not be executed.";
|
|
8
7
|
//# sourceMappingURL=consts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/consts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,eAAO,MAAM,qBAAqB,QAAS,CAAC;AAE5C,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/consts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,eAAO,MAAM,qBAAqB,QAAS,CAAC;AAE5C,eAAO,MAAM,iBAAiB,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,QAAQ,CAAA;CAAE,EAahE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper-hooks.d.ts","sourceRoot":"","sources":["../../../../src/hooks/helper-hooks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helper-hooks.d.ts","sourceRoot":"","sources":["../../../../src/hooks/helper-hooks.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,WAAW,GAAI,WAAW,MAAM,EAAE,QAAQ,MAAM,WAE5D,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,WAAW,MAAM,EAAE,QAAQ,MAAM,WAE5D,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAGtB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,SAAS,MAAM,uBAM9C,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,SAAS,MAAM,EAAE,MAAM,MAAM,GAAG,MAAM,WAOlE,CAAC;AAEF,eAAO,MAAM,iBAAiB,eAM7B,CAAC;AAEF,eAAO,MAAM,eAAe,eAM3B,CAAC;AAEF,eAAO,MAAM,yBAAyB,eAKrC,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,WAe1C,CAAC;AAEF,wBAAgB,kBAAkB,WAGjB,MAAM,mBAWtB;AAED,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,GAAG,MAAM,EAAE,gBAAgB,MAAM,WAEhF,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,yCAA6C;IAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,WAmBhK,CAAC"}
|
|
@@ -1,39 +1,15 @@
|
|
|
1
|
-
import { Order, OrderType
|
|
1
|
+
import { Order, OrderType } from '../../../spot-ui/src/index.ts';
|
|
2
2
|
import { Token } from '../types';
|
|
3
|
-
export declare const useOrderTitle: (type?: OrderType) => string;
|
|
4
3
|
export declare const useOrderType: () => OrderType;
|
|
5
|
-
export declare const useCurrentOrderTitle: () => string;
|
|
6
|
-
export declare const useHistoryOrderTitle: (order?: Order) => string;
|
|
7
4
|
export declare const useAddNewOrder: () => (order: Order) => void;
|
|
8
5
|
export declare const useOrdersQuery: () => import('@tanstack/react-query').UseQueryResult<Order[], Error>;
|
|
9
|
-
export declare const useOrderToDisplay: () => Order[];
|
|
10
6
|
export declare const useOrderLimitPrice: (srcToken?: Token, dstToken?: Token, order?: Order) => string | undefined;
|
|
11
7
|
export declare const useOrderTriggerPriceRate: (srcToken?: Token, dstToken?: Token, order?: Order) => string | undefined;
|
|
12
8
|
export declare const useOrderAvgExecutionPrice: (srcToken?: Token, dstToken?: Token, order?: Order) => string | undefined;
|
|
13
|
-
export declare const useSelectedOrderIdsToCancel: () => (id: string) => void;
|
|
14
|
-
export declare const useGetOrderFilterText: () => (filter?: OrderFilter) => string;
|
|
15
9
|
export declare const useOrderHistoryPanel: () => {
|
|
16
|
-
|
|
17
|
-
onCancelOrder: (order: Order) => Promise<string>;
|
|
18
|
-
onSelectOrderFilter: (orderHistoryStatusFilter: OrderFilter) => void;
|
|
19
|
-
onDisplayOrder: (id?: string) => void;
|
|
20
|
-
onCancelAllOpenOrders: () => Promise<(string | undefined)[] | undefined>;
|
|
21
|
-
onHideOrderFills: () => void;
|
|
22
|
-
isRefetching: boolean;
|
|
23
|
-
allOrders: Order[];
|
|
24
|
-
selectedOrders: Order[];
|
|
25
|
-
isDisplayingOrderFills: boolean | undefined;
|
|
10
|
+
orders: Order[];
|
|
26
11
|
isLoading: boolean;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
isCancelOrderLoading: boolean;
|
|
30
|
-
selectedOrderFilter: {
|
|
31
|
-
text: string;
|
|
32
|
-
value: OrderFilter;
|
|
33
|
-
};
|
|
34
|
-
orderFilters: {
|
|
35
|
-
text: string;
|
|
36
|
-
value: OrderFilter;
|
|
37
|
-
}[];
|
|
12
|
+
isRefetching: boolean;
|
|
13
|
+
refetchOrders: () => Promise<Order[] | undefined>;
|
|
38
14
|
};
|
|
39
15
|
//# sourceMappingURL=order-hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-hooks.d.ts","sourceRoot":"","sources":["../../../../src/hooks/order-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,EAEL,SAAS,
|
|
1
|
+
{"version":3,"file":"order-hooks.d.ts","sourceRoot":"","sources":["../../../../src/hooks/order-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,EAEL,SAAS,EAIV,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKjC,eAAO,MAAM,YAAY,iBAoBxB,CAAC;AAWF,eAAO,MAAM,cAAc,gBAKf,KAAK,SAShB,CAAC;AAwCF,eAAO,MAAM,cAAc,sEAmC1B,CAAC;AAIF,eAAO,MAAM,kBAAkB,GAC7B,WAAW,KAAK,EAChB,WAAW,KAAK,EAChB,QAAQ,KAAK,uBAUd,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,WAAW,KAAK,EAChB,WAAW,KAAK,EAChB,QAAQ,KAAK,uBAMd,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACpC,WAAW,KAAK,EAChB,WAAW,KAAK,EAChB,QAAQ,KAAK,uBAWd,CAAC;AAIF,eAAO,MAAM,oBAAoB;;;;;CAmBhC,CAAC"}
|
|
@@ -3,88 +3,60 @@ type Props = {
|
|
|
3
3
|
srcToken?: Token;
|
|
4
4
|
dstToken?: Token;
|
|
5
5
|
account?: string;
|
|
6
|
-
|
|
7
|
-
limitPriceUsd?: string;
|
|
6
|
+
orderType?: OrderType;
|
|
8
7
|
createdAt?: number;
|
|
9
8
|
deadline?: number;
|
|
9
|
+
totalTrades?: number;
|
|
10
|
+
tradeInterval?: number;
|
|
10
11
|
srcAmount?: string;
|
|
12
|
+
srcAmountUI?: string;
|
|
13
|
+
srcAmountUsd?: string;
|
|
11
14
|
dstAmount?: string;
|
|
15
|
+
dstAmountUI?: string;
|
|
16
|
+
dstAmountUsd?: string;
|
|
17
|
+
limitPrice?: string;
|
|
18
|
+
limitPriceUI?: string;
|
|
19
|
+
limitPriceUsd?: string;
|
|
12
20
|
srcAmountPerTrade?: string;
|
|
21
|
+
srcAmountPerTradeUI?: string;
|
|
13
22
|
srcAmountPerTradeUsd?: string;
|
|
14
|
-
totalTrades?: number;
|
|
15
23
|
minDestAmountPerTrade?: string;
|
|
24
|
+
minDestAmountPerTradeUI?: string;
|
|
16
25
|
minDestAmountPerTradeUsd?: string;
|
|
17
|
-
tradeInterval?: number;
|
|
18
26
|
triggerPrice?: string;
|
|
27
|
+
triggerPriceUI?: string;
|
|
19
28
|
triggerPriceUsd?: string;
|
|
20
|
-
srcUsd?: string;
|
|
21
|
-
dstUsd?: string;
|
|
22
|
-
orderType?: OrderType;
|
|
23
29
|
};
|
|
24
30
|
export declare const useBuildOrderInfo: (props: Props) => {
|
|
25
31
|
srcToken: Token | undefined;
|
|
26
32
|
dstToken: Token | undefined;
|
|
27
|
-
srcUsd: string;
|
|
28
|
-
dstUsd: string;
|
|
29
33
|
orderType: OrderType | undefined;
|
|
34
|
+
createdAt: number;
|
|
35
|
+
deadline: number;
|
|
36
|
+
totalTrades: number;
|
|
37
|
+
tradeInterval: number;
|
|
38
|
+
recipient: string;
|
|
39
|
+
srcAmount: string;
|
|
40
|
+
srcAmountUI: string;
|
|
41
|
+
srcAmountUsd: string;
|
|
42
|
+
dstAmount: string;
|
|
43
|
+
dstAmountUI: string;
|
|
44
|
+
dstAmountUsd: string;
|
|
45
|
+
limitPrice: string;
|
|
46
|
+
limitPriceUI: string;
|
|
47
|
+
limitPriceUsd: string;
|
|
48
|
+
sizePerTrade: string;
|
|
49
|
+
sizePerTradeUI: string;
|
|
50
|
+
sizePerTradeUsd: string | undefined;
|
|
51
|
+
minDestAmountPerTrade: string;
|
|
52
|
+
minDestAmountPerTradeUI: string;
|
|
53
|
+
minDestAmountPerTradeUsd: string | undefined;
|
|
30
54
|
dstMinAmount: string;
|
|
55
|
+
dstMinAmountUI: string;
|
|
31
56
|
dstMinAmountUsd: string;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
value: string;
|
|
36
|
-
usd: string;
|
|
37
|
-
};
|
|
38
|
-
deadline: {
|
|
39
|
-
tooltip: string;
|
|
40
|
-
label: string;
|
|
41
|
-
value: number;
|
|
42
|
-
};
|
|
43
|
-
createdAt: {
|
|
44
|
-
label: string;
|
|
45
|
-
value: number;
|
|
46
|
-
};
|
|
47
|
-
srcAmount: {
|
|
48
|
-
label: string;
|
|
49
|
-
value: string;
|
|
50
|
-
usd: string;
|
|
51
|
-
};
|
|
52
|
-
dstAmount: {
|
|
53
|
-
value: string;
|
|
54
|
-
usd: string;
|
|
55
|
-
};
|
|
56
|
-
sizePerTrade: {
|
|
57
|
-
tooltip: string;
|
|
58
|
-
label: string;
|
|
59
|
-
value: string;
|
|
60
|
-
usd: string | undefined;
|
|
61
|
-
};
|
|
62
|
-
totalTrades: {
|
|
63
|
-
tooltip: string;
|
|
64
|
-
label: string;
|
|
65
|
-
value: number;
|
|
66
|
-
};
|
|
67
|
-
minDestAmountPerTrade: {
|
|
68
|
-
tooltip: string;
|
|
69
|
-
label: string;
|
|
70
|
-
value: string;
|
|
71
|
-
usd: string | undefined;
|
|
72
|
-
};
|
|
73
|
-
tradeInterval: {
|
|
74
|
-
tooltip: string;
|
|
75
|
-
label: string;
|
|
76
|
-
value: number;
|
|
77
|
-
};
|
|
78
|
-
triggerPrice: {
|
|
79
|
-
tooltip: string;
|
|
80
|
-
label: string;
|
|
81
|
-
value: string;
|
|
82
|
-
usd: string | undefined;
|
|
83
|
-
};
|
|
84
|
-
recipient: {
|
|
85
|
-
label: string;
|
|
86
|
-
value: string;
|
|
87
|
-
};
|
|
57
|
+
triggerPrice: string;
|
|
58
|
+
triggerPriceUI: string;
|
|
59
|
+
triggerPriceUsd: string | undefined;
|
|
88
60
|
};
|
|
89
61
|
export {};
|
|
90
62
|
//# sourceMappingURL=use-build-order-info.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-build-order-info.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-build-order-info.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"use-build-order-info.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-build-order-info.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAG5C,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,OAAO,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuF7C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Order } from '../../../spot-ui/src/index.ts';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const useCancelOrderRefetchUntilStatusSynced: () => import('@tanstack/react-query').UseMutationResult<void, Error, string[], unknown>;
|
|
3
3
|
export declare const useCancelOrderMutation: () => import('@tanstack/react-query').UseMutationResult<(string | undefined)[] | undefined, Error, {
|
|
4
4
|
orders: Order[];
|
|
5
5
|
}, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-cancel-order.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-cancel-order.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,EAIN,MAAM,uBAAuB,CAAC;AAU/B,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"use-cancel-order.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-cancel-order.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,EAIN,MAAM,uBAAuB,CAAC;AAU/B,eAAO,MAAM,sCAAsC,yFA0BlD,CAAC;AAEF,eAAO,MAAM,sBAAsB;YAqEU,KAAK,EAAE;WAuCnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-disclaimer-panel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-disclaimer-panel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-disclaimer-panel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-disclaimer-panel.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB;;;aAsB9B,CAAC"}
|
|
@@ -6,6 +6,9 @@ export declare const useDuration: () => {
|
|
|
6
6
|
type: InputErrors;
|
|
7
7
|
value: number;
|
|
8
8
|
message: string;
|
|
9
|
+
args: {
|
|
10
|
+
duration: string;
|
|
11
|
+
};
|
|
9
12
|
} | undefined;
|
|
10
13
|
};
|
|
11
14
|
export declare const useDurationPanel: () => {
|
|
@@ -14,12 +17,13 @@ export declare const useDurationPanel: () => {
|
|
|
14
17
|
milliseconds: number;
|
|
15
18
|
onInputChange: (value: string) => void;
|
|
16
19
|
onUnitSelect: (unit: TimeUnit) => void;
|
|
17
|
-
label: string;
|
|
18
|
-
tooltip: string;
|
|
19
20
|
error: {
|
|
20
21
|
type: InputErrors;
|
|
21
22
|
value: number;
|
|
22
23
|
message: string;
|
|
24
|
+
args: {
|
|
25
|
+
duration: string;
|
|
26
|
+
};
|
|
23
27
|
} | undefined;
|
|
24
28
|
};
|
|
25
29
|
//# sourceMappingURL=use-duration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-duration.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-duration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmE,WAAW,
|
|
1
|
+
{"version":3,"file":"use-duration.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-duration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAiC7I,eAAO,MAAM,WAAW;;iCAWqB,YAAY;;;;;;;;;CAMxD,CAAC;AAEF,eAAO,MAAM,gBAAgB;;8BARgB,YAAY;;2BAY7C,MAAM;yBAOP,QAAQ;;;;;;;;;CAclB,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { TimeDuration, TimeUnit } from '../../../spot-ui/src/index.ts';
|
|
2
|
-
import {
|
|
2
|
+
import { InputErrors } from '..';
|
|
3
3
|
export declare const useFillDelay: () => {
|
|
4
4
|
fillDelay: TimeDuration;
|
|
5
5
|
onChange: (typedFillDelay: TimeDuration) => void;
|
|
6
|
-
error:
|
|
6
|
+
error: {
|
|
7
|
+
type: InputErrors;
|
|
8
|
+
value: number;
|
|
9
|
+
message: string;
|
|
10
|
+
args: {
|
|
11
|
+
fillDelay: string;
|
|
12
|
+
};
|
|
13
|
+
} | undefined;
|
|
7
14
|
milliseconds: number;
|
|
8
15
|
};
|
|
9
16
|
export declare const useFillDelayPanel: () => {
|
|
@@ -12,8 +19,13 @@ export declare const useFillDelayPanel: () => {
|
|
|
12
19
|
onChange: (typedFillDelay: TimeDuration) => void;
|
|
13
20
|
milliseconds: number;
|
|
14
21
|
fillDelay: TimeDuration;
|
|
15
|
-
error:
|
|
16
|
-
|
|
17
|
-
|
|
22
|
+
error: {
|
|
23
|
+
type: InputErrors;
|
|
24
|
+
value: number;
|
|
25
|
+
message: string;
|
|
26
|
+
args: {
|
|
27
|
+
fillDelay: string;
|
|
28
|
+
};
|
|
29
|
+
} | undefined;
|
|
18
30
|
};
|
|
19
31
|
//# sourceMappingURL=use-fill-delay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-fill-delay.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-fill-delay.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,YAAY,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIzG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"use-fill-delay.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-fill-delay.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,YAAY,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIzG,OAAO,EAAE,WAAW,EAAmB,MAAM,IAAI,CAAC;AAkBlD,eAAO,MAAM,YAAY;;+BASkB,YAAY;;;;;;;;;;CAOtD,CAAC;AAEF,eAAO,MAAM,iBAAiB;2BAEc,MAAM;yBACR,QAAQ;+BAZP,YAAY;;;;;;;;;;;CAsBtD,CAAC"}
|
|
@@ -1,3 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Order } from '../../../spot-ui/src/index.ts';
|
|
2
|
+
import { Token } from '../types';
|
|
3
|
+
export declare const useDerivedHistoryOrder: (order: Order, srcToken?: Token, dstToken?: Token) => {
|
|
4
|
+
original: Order;
|
|
5
|
+
fills: {
|
|
6
|
+
srcToken: Token;
|
|
7
|
+
dstToken: Token;
|
|
8
|
+
srcAmount: string;
|
|
9
|
+
dstAmount: string;
|
|
10
|
+
timestamp: number;
|
|
11
|
+
txHash: string;
|
|
12
|
+
explorerUrl: string;
|
|
13
|
+
executionRate: string;
|
|
14
|
+
}[];
|
|
15
|
+
srcToken: Token | undefined;
|
|
16
|
+
dstToken: Token | undefined;
|
|
17
|
+
orderType: import('../../../spot-ui/src/index.ts').OrderType;
|
|
18
|
+
createdAt: number;
|
|
19
|
+
deadline: number;
|
|
20
|
+
totalTrades: number;
|
|
21
|
+
tradeInterval: number;
|
|
22
|
+
recipient: string;
|
|
23
|
+
srcAmount: string;
|
|
24
|
+
srcAmountUI: string;
|
|
25
|
+
srcAmountUsd: string;
|
|
26
|
+
dstAmount: string;
|
|
27
|
+
dstAmountUI: string;
|
|
28
|
+
dstAmountUsd: string;
|
|
29
|
+
limitPrice: string;
|
|
30
|
+
limitPriceUI: string;
|
|
31
|
+
limitPriceUsd: string;
|
|
32
|
+
sizePerTrade: string;
|
|
33
|
+
sizePerTradeUI: string;
|
|
34
|
+
minDestAmountPerTrade: string;
|
|
35
|
+
minDestAmountPerTradeUI: string;
|
|
36
|
+
dstMinAmount: string;
|
|
37
|
+
dstMinAmountUI: string;
|
|
38
|
+
dstMinAmountUsd: string;
|
|
39
|
+
triggerPrice: string;
|
|
40
|
+
triggerPriceUI: string;
|
|
41
|
+
id: string;
|
|
42
|
+
amountInFilled: string;
|
|
43
|
+
amountOutFilled: string;
|
|
44
|
+
amountOutFilledToken: Token | undefined;
|
|
45
|
+
progress: number;
|
|
46
|
+
executionPrice: string | undefined;
|
|
47
|
+
version: number;
|
|
48
|
+
} | undefined;
|
|
3
49
|
//# sourceMappingURL=use-history-order.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-history-order.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-history-order.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-history-order.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-history-order.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,EAEN,MAAM,uBAAuB,CAAC;AAS/B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AA6BjC,eAAO,MAAM,sBAAsB,GACjC,OAAO,KAAK,EACZ,WAAW,KAAK,EAChB,WAAW,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA2EjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-input-errors.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-input-errors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-input-errors.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-input-errors.ts"],"names":[],"mappings":"AAyBA,wBAAgB,cAAc,2DAuD7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-limit-price-panel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-limit-price-panel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-limit-price-panel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-limit-price-panel.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;CAmC5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-limit-price.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-limit-price.ts"],"names":[],"mappings":"AAQA,OAAO,EAA4D,WAAW,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-limit-price.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-limit-price.ts"],"names":[],"mappings":"AAQA,OAAO,EAA4D,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAG9G,eAAO,MAAM,kBAAkB,GAAI,gBAAgB,MAAM;;;;aAkCxD,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;CAiCzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;CAqB/B,CAAC"}
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
deadline: number;
|
|
6
|
-
srcAmount: string;
|
|
7
|
-
srcAmountPerTrade: string;
|
|
8
|
-
totalTrades: number;
|
|
9
|
-
minDestAmountPerTrade: string;
|
|
10
|
-
tradeInterval: number;
|
|
11
|
-
triggerPricePerTrade: string | undefined;
|
|
12
|
-
maker: `0x${string}` | undefined;
|
|
1
|
+
export declare const useDerivedOrder: () => {
|
|
2
|
+
feesAmount: string;
|
|
3
|
+
feesUsd: string;
|
|
4
|
+
feesPercentage: number;
|
|
13
5
|
rePermitData: {
|
|
14
6
|
domain: {
|
|
15
7
|
name: string;
|
|
@@ -46,76 +38,34 @@ export declare const useOrder: () => {
|
|
|
46
38
|
};
|
|
47
39
|
primaryType: "RePermitWitnessTransferFrom";
|
|
48
40
|
};
|
|
49
|
-
};
|
|
50
|
-
export declare const useOrderDisplay: () => {
|
|
51
|
-
fees: {
|
|
52
|
-
label: string;
|
|
53
|
-
amount: string | undefined;
|
|
54
|
-
usd: string;
|
|
55
|
-
percentage: number;
|
|
56
|
-
};
|
|
57
41
|
srcToken: import('..').Token | undefined;
|
|
58
42
|
dstToken: import('..').Token | undefined;
|
|
59
|
-
srcUsd: string;
|
|
60
|
-
dstUsd: string;
|
|
61
43
|
orderType: import('../../../spot-ui/src/index.ts').OrderType | undefined;
|
|
44
|
+
createdAt: number;
|
|
45
|
+
deadline: number;
|
|
46
|
+
totalTrades: number;
|
|
47
|
+
tradeInterval: number;
|
|
48
|
+
recipient: string;
|
|
49
|
+
srcAmount: string;
|
|
50
|
+
srcAmountUI: string;
|
|
51
|
+
srcAmountUsd: string;
|
|
52
|
+
dstAmount: string;
|
|
53
|
+
dstAmountUI: string;
|
|
54
|
+
dstAmountUsd: string;
|
|
55
|
+
limitPrice: string;
|
|
56
|
+
limitPriceUI: string;
|
|
57
|
+
limitPriceUsd: string;
|
|
58
|
+
sizePerTrade: string;
|
|
59
|
+
sizePerTradeUI: string;
|
|
60
|
+
sizePerTradeUsd: string | undefined;
|
|
61
|
+
minDestAmountPerTrade: string;
|
|
62
|
+
minDestAmountPerTradeUI: string;
|
|
63
|
+
minDestAmountPerTradeUsd: string | undefined;
|
|
62
64
|
dstMinAmount: string;
|
|
65
|
+
dstMinAmountUI: string;
|
|
63
66
|
dstMinAmountUsd: string;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
value: string;
|
|
68
|
-
usd: string;
|
|
69
|
-
};
|
|
70
|
-
deadline: {
|
|
71
|
-
tooltip: string;
|
|
72
|
-
label: string;
|
|
73
|
-
value: number;
|
|
74
|
-
};
|
|
75
|
-
createdAt: {
|
|
76
|
-
label: string;
|
|
77
|
-
value: number;
|
|
78
|
-
};
|
|
79
|
-
srcAmount: {
|
|
80
|
-
label: string;
|
|
81
|
-
value: string;
|
|
82
|
-
usd: string;
|
|
83
|
-
};
|
|
84
|
-
dstAmount: {
|
|
85
|
-
value: string;
|
|
86
|
-
usd: string;
|
|
87
|
-
};
|
|
88
|
-
sizePerTrade: {
|
|
89
|
-
tooltip: string;
|
|
90
|
-
label: string;
|
|
91
|
-
value: string;
|
|
92
|
-
usd: string | undefined;
|
|
93
|
-
};
|
|
94
|
-
totalTrades: {
|
|
95
|
-
tooltip: string;
|
|
96
|
-
label: string;
|
|
97
|
-
value: number;
|
|
98
|
-
};
|
|
99
|
-
minDestAmountPerTrade: {
|
|
100
|
-
tooltip: string;
|
|
101
|
-
label: string;
|
|
102
|
-
value: string;
|
|
103
|
-
usd: string | undefined;
|
|
104
|
-
};
|
|
105
|
-
tradeInterval: {
|
|
106
|
-
tooltip: string;
|
|
107
|
-
label: string;
|
|
108
|
-
value: number;
|
|
109
|
-
};
|
|
110
|
-
triggerPrice: {
|
|
111
|
-
tooltip: string;
|
|
112
|
-
label: string;
|
|
113
|
-
value: string;
|
|
114
|
-
usd: string | undefined;
|
|
115
|
-
};
|
|
116
|
-
recipient: {
|
|
117
|
-
label: string;
|
|
118
|
-
value: string;
|
|
119
|
-
};
|
|
67
|
+
triggerPrice: string;
|
|
68
|
+
triggerPriceUI: string;
|
|
69
|
+
triggerPriceUsd: string | undefined;
|
|
120
70
|
};
|
|
121
71
|
//# sourceMappingURL=use-order.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-order.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-order.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-order.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-order.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgF3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-src-amount.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-src-amount.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-src-amount.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-src-amount.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;CASxB,CAAC"}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import { SwapStatus } from '
|
|
1
|
+
import { SwapStatus } from '../types';
|
|
2
2
|
export declare const useSubmitOrderPanel: () => {
|
|
3
|
+
srcToken: import('..').Token | undefined;
|
|
4
|
+
dstToken: import('..').Token | undefined;
|
|
5
|
+
srcAmount: string;
|
|
6
|
+
dstAmount: string;
|
|
7
|
+
onSubmit: () => Promise<import('../../../spot-ui/src/index.ts').Order>;
|
|
8
|
+
resetState: () => void;
|
|
3
9
|
isLoading: boolean;
|
|
4
10
|
isSuccess: boolean;
|
|
5
11
|
isFailed: boolean;
|
|
12
|
+
update: (data: Partial<import('..').SwapExecution>) => void;
|
|
6
13
|
status?: SwapStatus;
|
|
7
14
|
parsedError?: import('..').ParsedError;
|
|
8
15
|
error?: Error;
|
|
@@ -11,17 +18,10 @@ export declare const useSubmitOrderPanel: () => {
|
|
|
11
18
|
approveTxHash?: string;
|
|
12
19
|
wrapTxHash?: string;
|
|
13
20
|
totalSteps?: number;
|
|
14
|
-
srcToken?: import('..').Token;
|
|
15
|
-
dstToken?: import('..').Token;
|
|
16
21
|
orderId?: string;
|
|
17
22
|
allowanceLoading?: boolean;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
reset: (data?: Partial<import('..').State>) => void;
|
|
21
|
-
onCloseModal: () => void;
|
|
22
|
-
onOpenModal: () => void;
|
|
23
|
-
onSubmit: () => Promise<import('../../../spot-ui/src/index.ts').Order>;
|
|
24
|
-
orderTitle: string;
|
|
23
|
+
hasApproval?: boolean;
|
|
24
|
+
marketPrice?: string;
|
|
25
25
|
};
|
|
26
26
|
export declare const useSubmitOrderButton: () => {
|
|
27
27
|
disabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-submit-order-panel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-submit-order-panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"use-submit-order-panel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-submit-order-panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAWtC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;CA0B/B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;CA6ChC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-submit-order.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-submit-order.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-submit-order.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-submit-order.ts"],"names":[],"mappings":"AAqGA,eAAO,MAAM,YAAY,sHAmDxB,CAAC;AAyLF,eAAO,MAAM,sBAAsB,sHAqGlC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SwapExecution } from '../types';
|
|
2
|
+
export declare const useSwapExecution: () => {
|
|
3
|
+
update: (data: Partial<SwapExecution>) => void;
|
|
4
|
+
status?: import('..').SwapStatus;
|
|
5
|
+
parsedError?: import('..').ParsedError;
|
|
6
|
+
error?: Error;
|
|
7
|
+
step?: import('..').Steps;
|
|
8
|
+
stepIndex?: number;
|
|
9
|
+
approveTxHash?: string;
|
|
10
|
+
wrapTxHash?: string;
|
|
11
|
+
totalSteps?: number;
|
|
12
|
+
orderId?: string;
|
|
13
|
+
allowanceLoading?: boolean;
|
|
14
|
+
hasApproval?: boolean;
|
|
15
|
+
marketPrice?: string;
|
|
16
|
+
srcAmount?: string;
|
|
17
|
+
dstAmount?: string;
|
|
18
|
+
srcToken?: import('..').Token;
|
|
19
|
+
dstToken?: import('..').Token;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=use-swap-execution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-swap-execution.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-swap-execution.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,gBAAgB;mBAQlB,OAAO,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;CAKhC,CAAC"}
|