@0xsquid/ui 3.2.1 → 3.2.2-beta.1.0

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.
Files changed (53) hide show
  1. package/dist/cjs/index.js +40652 -44593
  2. package/dist/cjs/types/components/controls/DatePicker.d.ts +9 -0
  3. package/dist/cjs/types/components/icons/Arrow.d.ts +4 -0
  4. package/dist/cjs/types/components/icons/Clock.d.ts +4 -0
  5. package/dist/cjs/types/components/icons/NotAllowed.d.ts +3 -1
  6. package/dist/cjs/types/components/icons/Tick.d.ts +4 -0
  7. package/dist/cjs/types/components/layout/TransactionFilters/ChainsFilter.d.ts +15 -0
  8. package/dist/cjs/types/components/layout/TransactionFilters/DateFilters.d.ts +8 -0
  9. package/dist/cjs/types/components/layout/TransactionFilters/FilterSection.d.ts +10 -0
  10. package/dist/cjs/types/components/layout/TransactionFilters/StatusFilter.d.ts +12 -0
  11. package/dist/cjs/types/components/layout/TransactionFilters/TransactionFilters.d.ts +29 -0
  12. package/dist/cjs/types/components/layout/index.d.ts +1 -1
  13. package/dist/cjs/types/components/lists/TransactionItem.d.ts +1 -0
  14. package/dist/cjs/types/components/views/TransactionView/BaseTransactionViewProps.d.ts +2 -0
  15. package/dist/cjs/types/components/views/TransactionView/BridgeTransactionView.d.ts +3 -2
  16. package/dist/cjs/types/components/views/TransactionView/BuyNFTTransactionView.d.ts +1 -1
  17. package/dist/cjs/types/components/views/TransactionView/InteractionTransactionView.d.ts +1 -1
  18. package/dist/cjs/types/components/views/TransactionView/Properties/TimeToCompleteProperty.d.ts +5 -0
  19. package/dist/cjs/types/components/views/TransactionView/SwapTransactionView.d.ts +1 -2
  20. package/dist/cjs/types/core/utils.d.ts +1 -1
  21. package/dist/cjs/types/hooks/useTimer.d.ts +2 -1
  22. package/dist/cjs/types/stories/layout/TransactionFilters.stories.d.ts +1 -1
  23. package/dist/cjs/types/stories/lists/TransactionItem.stories.d.ts +31 -0
  24. package/dist/cjs/types/stories/views/TransactionView.stories.d.ts +317 -1
  25. package/dist/esm/index.js +40648 -44593
  26. package/dist/esm/types/components/controls/DatePicker.d.ts +9 -0
  27. package/dist/esm/types/components/icons/Arrow.d.ts +4 -0
  28. package/dist/esm/types/components/icons/Clock.d.ts +4 -0
  29. package/dist/esm/types/components/icons/NotAllowed.d.ts +3 -1
  30. package/dist/esm/types/components/icons/Tick.d.ts +4 -0
  31. package/dist/esm/types/components/layout/TransactionFilters/ChainsFilter.d.ts +15 -0
  32. package/dist/esm/types/components/layout/TransactionFilters/DateFilters.d.ts +8 -0
  33. package/dist/esm/types/components/layout/TransactionFilters/FilterSection.d.ts +10 -0
  34. package/dist/esm/types/components/layout/TransactionFilters/StatusFilter.d.ts +12 -0
  35. package/dist/esm/types/components/layout/TransactionFilters/TransactionFilters.d.ts +29 -0
  36. package/dist/esm/types/components/layout/index.d.ts +1 -1
  37. package/dist/esm/types/components/lists/TransactionItem.d.ts +1 -0
  38. package/dist/esm/types/components/views/TransactionView/BaseTransactionViewProps.d.ts +2 -0
  39. package/dist/esm/types/components/views/TransactionView/BridgeTransactionView.d.ts +3 -2
  40. package/dist/esm/types/components/views/TransactionView/BuyNFTTransactionView.d.ts +1 -1
  41. package/dist/esm/types/components/views/TransactionView/InteractionTransactionView.d.ts +1 -1
  42. package/dist/esm/types/components/views/TransactionView/Properties/TimeToCompleteProperty.d.ts +5 -0
  43. package/dist/esm/types/components/views/TransactionView/SwapTransactionView.d.ts +1 -2
  44. package/dist/esm/types/core/utils.d.ts +1 -1
  45. package/dist/esm/types/hooks/useTimer.d.ts +2 -1
  46. package/dist/esm/types/stories/layout/TransactionFilters.stories.d.ts +1 -1
  47. package/dist/esm/types/stories/lists/TransactionItem.stories.d.ts +31 -0
  48. package/dist/esm/types/stories/views/TransactionView.stories.d.ts +317 -1
  49. package/dist/index.css +1 -1
  50. package/dist/index.d.ts +51 -21
  51. package/package.json +1 -1
  52. package/dist/cjs/types/components/layout/TransactionFilters.d.ts +0 -20
  53. package/dist/esm/types/components/layout/TransactionFilters.d.ts +0 -20
@@ -0,0 +1,9 @@
1
+ interface DatePickerProps {
2
+ date?: Date;
3
+ highlightDate?: Date;
4
+ setDate: (date: Date) => void;
5
+ hoveredDate?: Date;
6
+ setHoveredDate?: (date?: Date) => void;
7
+ }
8
+ export declare const DatePicker: ({ date, highlightDate, setDate, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -31,6 +31,10 @@ export declare function ChevronLargeRightIcon({ size, className, }: {
31
31
  size?: string;
32
32
  className?: string;
33
33
  }): import("react/jsx-runtime").JSX.Element;
34
+ export declare function ChevronRightIcon({ className, size, }: {
35
+ className?: string;
36
+ size?: string;
37
+ }): import("react/jsx-runtime").JSX.Element;
34
38
  export declare function ChevronRightSmallIcon({ className, size, }: {
35
39
  className?: string;
36
40
  size?: string;
@@ -18,3 +18,7 @@ export declare function TimeFliesIcon({ size, className, }: {
18
18
  size?: string;
19
19
  className?: string;
20
20
  }): import("react/jsx-runtime").JSX.Element;
21
+ export declare function TimeFliesSolidIcon({ size, className, }: {
22
+ size?: string;
23
+ className?: string;
24
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare function NotAllowedIcon(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function NotAllowedIcon({ size }: {
2
+ size?: string;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,7 @@
1
1
  export declare function Tick({ className }: {
2
2
  className?: string;
3
3
  }): import("react/jsx-runtime").JSX.Element;
4
+ export declare function TickLarge({ size, className, }: {
5
+ size?: string;
6
+ className?: string;
7
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { type ChainTypeFilter } from "../../../types/components";
2
+ export interface ChainData {
3
+ iconURI: string;
4
+ id: string;
5
+ name: string;
6
+ }
7
+ interface ChainsFilterProps {
8
+ chainType: ChainTypeFilter;
9
+ setChainType: (chainType: ChainTypeFilter) => void;
10
+ chain?: ChainData;
11
+ handleChain: (chain?: ChainData) => void;
12
+ chains: ChainData[];
13
+ }
14
+ export declare function ChainsFilter({ chainType, setChainType, chain, handleChain, chains, }: ChainsFilterProps): import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1,8 @@
1
+ interface DateFilterProps {
2
+ fromDate?: Date;
3
+ toDate?: Date;
4
+ setFromDate: (value?: Date) => void;
5
+ setToDate: (value?: Date) => void;
6
+ }
7
+ export declare function DateFilters({ fromDate, setFromDate, toDate, setToDate, }: DateFilterProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ interface FilterSectionProps {
3
+ title: string;
4
+ children: React.ReactNode;
5
+ collapsed: boolean;
6
+ handleExpand: () => void;
7
+ handleCollapse: () => void;
8
+ }
9
+ export declare function FilterSection({ title, children, collapsed, handleCollapse, handleExpand, }: FilterSectionProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ interface StatusFiltersProps {
3
+ status?: string;
4
+ statuses?: Array<{
5
+ label: string;
6
+ value: string;
7
+ icon: React.ReactNode;
8
+ }>;
9
+ handleStatus: (status?: string) => void;
10
+ }
11
+ export declare function StatusFilters({ handleStatus, status, statuses, }: StatusFiltersProps): import("react/jsx-runtime").JSX.Element | null;
12
+ export {};
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ import "react-day-picker/dist/style.css";
3
+ import { type ChainTypeFilter } from "../../../types/components";
4
+ import { type ChainData } from "./ChainsFilter";
5
+ interface TransactionFiltersProps {
6
+ chainType: ChainTypeFilter;
7
+ setChainType: (chainType: ChainTypeFilter) => void;
8
+ chain?: ChainData;
9
+ handleChain: (chain?: ChainData) => void;
10
+ fromDate?: Date;
11
+ handleFromDate: (fromDate?: Date) => void;
12
+ toDate?: Date;
13
+ handleToDate: (toDate?: Date) => void;
14
+ status?: string;
15
+ statuses?: Array<{
16
+ label: string;
17
+ value: string;
18
+ icon: React.ReactNode;
19
+ }>;
20
+ handleStatus: (status?: string) => void;
21
+ chains: ChainData[];
22
+ }
23
+ export declare function TransactionFilters({ chainType, setChainType, chain, handleChain, fromDate, handleFromDate, toDate, handleToDate, status, statuses, handleStatus, chains, }: TransactionFiltersProps): import("react/jsx-runtime").JSX.Element;
24
+ interface CheckboxProps {
25
+ checked: boolean;
26
+ className?: string;
27
+ }
28
+ export declare function Checkbox({ checked, className }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
29
+ export {};
@@ -27,7 +27,7 @@ export * from "./SwapStepsCollapsed";
27
27
  export * from "./Toast";
28
28
  export * from "./TokenDetailsView";
29
29
  export * from "./TokenPair";
30
- export * from "./TransactionFilters";
30
+ export * from "./TransactionFilters/TransactionFilters";
31
31
  export * from "./TransactionHeader/TransactionHeaderLayout";
32
32
  export * from "./TransactionProperties/PropertiesLayout";
33
33
  export * from "./TransactionSearch";
@@ -25,6 +25,7 @@ interface BaseTransactionItemProps {
25
25
  fromAmount: string;
26
26
  toAmount: string;
27
27
  timestamp: number;
28
+ timeToComplete: string;
28
29
  }
29
30
  interface SwapTransactionProps extends BaseTransactionItemProps {
30
31
  type: "swap";
@@ -27,4 +27,6 @@ export interface BaseTransactionViewProps {
27
27
  url?: string;
28
28
  actions?: TransactionActionProps[];
29
29
  fees: FeesActionProps;
30
+ timeToComplete: string;
31
+ timestamp: number;
30
32
  }
@@ -20,7 +20,8 @@ interface BaseBridgeTransactionViewProps extends BaseTransactionViewProps {
20
20
  name: string;
21
21
  bgColor: string;
22
22
  };
23
- address: string;
23
+ fromAddress: string;
24
+ toAddress: string;
24
25
  boosted?: boolean;
25
26
  timeToComplete: string;
26
27
  fromLink?: string;
@@ -33,5 +34,5 @@ type BridgeTransactionViewProps = (BaseBridgeTransactionViewProps & {
33
34
  }) | (Partial<Omit<BaseBridgeTransactionViewProps, keyof BaseTransactionViewProps>> & BaseTransactionViewProps & {
34
35
  isLoading: true;
35
36
  });
36
- export declare function BridgeTransactionView({ title, hash, fromLink, toLink, status, url, fromAmount, toAmount, fromToken, toToken, fromChain, toChain, address, actions, fees, boosted, timeToComplete, isLoading, }: BridgeTransactionViewProps): import("react/jsx-runtime").JSX.Element;
37
+ export declare function BridgeTransactionView({ title, hash, fromLink, toLink, status, url, fromAmount, toAmount, fromToken, toToken, fromChain, toChain, fromAddress, toAddress, actions, fees, timeToComplete, timestamp, isLoading, }: BridgeTransactionViewProps): import("react/jsx-runtime").JSX.Element;
37
38
  export {};
@@ -28,5 +28,5 @@ type BuyNFTTransactionViewProps = (BaseBuyNFTTransactionViewProps & {
28
28
  }) | (Partial<BaseBuyNFTTransactionViewProps> & {
29
29
  isLoading: true;
30
30
  });
31
- export declare function BuyNFTTransactionView({ title, hash, status, url, price, token, marketplace, fromChain, toChain, fromAddress, toAddress, boosted, timeToComplete, nft, actions, fees, isLoading, }: BuyNFTTransactionViewProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare function BuyNFTTransactionView({ title, hash, status, url, price, token, marketplace, fromChain, toChain, fromAddress, toAddress, boosted, timeToComplete, timestamp, nft, actions, fees, isLoading, }: BuyNFTTransactionViewProps): import("react/jsx-runtime").JSX.Element;
32
32
  export {};
@@ -15,5 +15,5 @@ type InteractionTransactionViewProps = (BaseInteractionTransactionViewProps & {
15
15
  }) | (Partial<BaseInteractionTransactionViewProps> & BaseTransactionViewProps & {
16
16
  isLoading: true;
17
17
  });
18
- export declare function InteractionTransactionView({ title, hash, status, url, chain, address, boosted, timeToComplete, actions, fees, isLoading, }: InteractionTransactionViewProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function InteractionTransactionView({ title, hash, status, url, chain, address, timeToComplete, timestamp, actions, fees, isLoading, }: InteractionTransactionViewProps): import("react/jsx-runtime").JSX.Element;
19
19
  export {};
@@ -0,0 +1,5 @@
1
+ interface Props {
2
+ timeToComplete: string;
3
+ }
4
+ export declare const TimeToCompleteProperty: ({ timeToComplete }: Props) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -26,12 +26,11 @@ interface BaseSwapTransactionViewProps extends BaseTransactionViewProps {
26
26
  toAddress: string;
27
27
  exchangeRate: string;
28
28
  boosted?: boolean;
29
- timeToComplete: string;
30
29
  }
31
30
  type SwapTransactionViewProps = (BaseSwapTransactionViewProps & {
32
31
  isLoading?: false;
33
32
  }) | (Partial<Omit<BaseSwapTransactionViewProps, keyof BaseTransactionViewProps>> & BaseTransactionViewProps & {
34
33
  isLoading: true;
35
34
  });
36
- export declare function SwapTransactionView({ title, hash, toLink, fromLink, status, url, fromAmount, fromToken, toAmount, toToken, fromChain, toChain, fromAddress, toAddress, exchangeRate, boosted, timeToComplete, actions, fees, isLoading, }: SwapTransactionViewProps): import("react/jsx-runtime").JSX.Element;
35
+ export declare function SwapTransactionView({ title, hash, toLink, fromLink, status, url, fromAmount, fromToken, toAmount, toToken, fromChain, toChain, fromAddress, toAddress, exchangeRate, timeToComplete, timestamp, actions, fees, isLoading, }: SwapTransactionViewProps): import("react/jsx-runtime").JSX.Element;
37
36
  export {};
@@ -18,7 +18,7 @@ export declare function debounce<F extends AnyFunction>(func: F, delay: number):
18
18
  export declare const formatDuration: (elapsedTime: number) => string;
19
19
  export declare function formatCountdown(seconds: number): string;
20
20
  export declare const formatTime: (timestampSeconds: number) => string;
21
- export declare const formatRelativeTime: (timestampSeconds: number) => string;
21
+ export declare const formatRelativeTime: (timestamp: number) => string;
22
22
  export declare const formatRelativeDate: (timestampSeconds: number) => string;
23
23
  export declare function capitalize(text: string): string;
24
24
  type Falsy = false | null | undefined | 0 | "";
@@ -1,4 +1,5 @@
1
- export declare const useTimer: ({ immediateStart, }: {
1
+ export declare const useTimer: ({ startTime: _startTime, immediateStart, }: {
2
+ startTime?: number;
2
3
  immediateStart?: boolean;
3
4
  }) => {
4
5
  timer: string;
@@ -1,4 +1,4 @@
1
- import { Meta, StoryObj } from "@storybook/react/*";
1
+ import { type Meta, type StoryObj } from "@storybook/react/*";
2
2
  declare function TransactionFiltersWithState(): import("react/jsx-runtime").JSX.Element;
3
3
  declare const meta: Meta<typeof TransactionFiltersWithState>;
4
4
  export default meta;
@@ -30,6 +30,7 @@ export declare const Swap: {
30
30
  symbol: string;
31
31
  };
32
32
  timestamp: number;
33
+ timeToComplete: string;
33
34
  };
34
35
  };
35
36
  export declare const SwapOngoing: {
@@ -60,6 +61,34 @@ export declare const SwapOngoing: {
60
61
  symbol: string;
61
62
  };
62
63
  timestamp: number;
64
+ timeToComplete: string;
65
+ };
66
+ };
67
+ export declare const SwapOngoingMissingToToken: {
68
+ args: {
69
+ toToken: undefined;
70
+ status: string;
71
+ type: string;
72
+ hash: string;
73
+ fromChain: {
74
+ logoURI: string;
75
+ name: string;
76
+ bgColor: string;
77
+ };
78
+ toChain: {
79
+ logoURI: string;
80
+ name: string;
81
+ bgColor: string;
82
+ };
83
+ fromAmount: string;
84
+ fromToken: {
85
+ logoURI: string;
86
+ bgColor: string;
87
+ symbol: string;
88
+ };
89
+ toAmount: string;
90
+ timestamp: number;
91
+ timeToComplete: string;
63
92
  };
64
93
  };
65
94
  export declare const SwapError: {
@@ -90,6 +119,7 @@ export declare const SwapError: {
90
119
  symbol: string;
91
120
  };
92
121
  timestamp: number;
122
+ timeToComplete: string;
93
123
  };
94
124
  };
95
125
  export declare const SwapIncomplete: {
@@ -120,6 +150,7 @@ export declare const SwapIncomplete: {
120
150
  symbol: string;
121
151
  };
122
152
  timestamp: number;
153
+ timeToComplete: string;
123
154
  };
124
155
  };
125
156
  export declare const BuyNft: {
@@ -165,6 +165,165 @@ export declare const Swap: {
165
165
  };
166
166
  };
167
167
  };
168
+ export declare const SwapMissingToToken: {
169
+ args: {
170
+ type: string;
171
+ data: {
172
+ toToken: undefined;
173
+ title: string;
174
+ hash: string;
175
+ status: string;
176
+ url: string;
177
+ fromAmount: string;
178
+ toAmount: string;
179
+ fromToken: {
180
+ logoURI: string;
181
+ bgColor: string;
182
+ symbol: string;
183
+ };
184
+ fromChain: {
185
+ logoURI: string;
186
+ name: string;
187
+ bgColor: string;
188
+ };
189
+ toChain: {
190
+ logoURI: string;
191
+ name: string;
192
+ bgColor: string;
193
+ };
194
+ fromAddress: string;
195
+ toAddress: string;
196
+ fromLink: string;
197
+ toLink: string;
198
+ exchangeRate: string;
199
+ timeToComplete: string;
200
+ actions: ({
201
+ type: "success";
202
+ props: {
203
+ status: "success";
204
+ timestamp: number;
205
+ hash: string;
206
+ url: string;
207
+ };
208
+ } | {
209
+ type: "receive_tokens";
210
+ props: {
211
+ status: "executed";
212
+ amount: string;
213
+ token: {
214
+ logoURI: string;
215
+ bgColor: string;
216
+ symbol: string;
217
+ };
218
+ chain: {
219
+ logoURI: string;
220
+ name: string;
221
+ bgColor: string;
222
+ };
223
+ wallet: {
224
+ imageURI: string;
225
+ address: string;
226
+ url: string;
227
+ };
228
+ timestamp: number;
229
+ hash: string;
230
+ url: string;
231
+ };
232
+ } | {
233
+ type: "send_tokens";
234
+ props: {
235
+ status: "executed";
236
+ amount: string;
237
+ token: {
238
+ logoURI: string;
239
+ bgColor: string;
240
+ symbol: string;
241
+ };
242
+ chain: {
243
+ logoURI: string;
244
+ name: string;
245
+ bgColor: string;
246
+ };
247
+ wallet: {
248
+ imageURI: string;
249
+ address: string;
250
+ url: string;
251
+ };
252
+ timestamp: number;
253
+ hash: string;
254
+ url: string;
255
+ };
256
+ } | {
257
+ type: "swap";
258
+ props: {
259
+ status: "executed";
260
+ fromToken: {
261
+ logoURI: string;
262
+ bgColor: string;
263
+ symbol: string;
264
+ };
265
+ toToken: {
266
+ logoURI: string;
267
+ bgColor: string;
268
+ symbol: string;
269
+ };
270
+ provider: {
271
+ logoURI: string;
272
+ name: string;
273
+ };
274
+ timestamp: number;
275
+ hash: string;
276
+ url: string;
277
+ };
278
+ } | {
279
+ type: "bridge";
280
+ props: {
281
+ status: "executed";
282
+ token: {
283
+ logoURI: string;
284
+ bgColor: string;
285
+ symbol: string;
286
+ };
287
+ chain: {
288
+ logoURI: string;
289
+ name: string;
290
+ bgColor: string;
291
+ };
292
+ provider: {
293
+ logoURI: string;
294
+ name: string;
295
+ };
296
+ timestamp: number;
297
+ hash: string;
298
+ url: string;
299
+ };
300
+ } | {
301
+ type: "start";
302
+ props: {
303
+ status: "executed";
304
+ timestamp: number;
305
+ hash: string;
306
+ url: string;
307
+ };
308
+ })[];
309
+ fees: {
310
+ status: "executed";
311
+ total: {
312
+ label: string;
313
+ usd: number;
314
+ amount: number;
315
+ symbol: string;
316
+ };
317
+ lines: {
318
+ label: string;
319
+ usd: number;
320
+ amount: number;
321
+ symbol: string;
322
+ }[];
323
+ };
324
+ };
325
+ };
326
+ };
168
327
  export declare const BuyNFT: {
169
328
  args: {
170
329
  type: string;
@@ -513,7 +672,164 @@ export declare const Bridge: {
513
672
  name: string;
514
673
  bgColor: string;
515
674
  };
516
- address: string;
675
+ fromAddress: string;
676
+ toAddress: string;
677
+ timeToComplete: string;
678
+ actions: ({
679
+ type: "success";
680
+ props: {
681
+ status: "success";
682
+ timestamp: number;
683
+ hash: string;
684
+ url: string;
685
+ };
686
+ } | {
687
+ type: "receive_nft";
688
+ props: {
689
+ status: "executed";
690
+ nft: {
691
+ imageURI: string;
692
+ name: string;
693
+ };
694
+ chain: {
695
+ logoURI: string;
696
+ name: string;
697
+ bgColor: string;
698
+ };
699
+ wallet: {
700
+ imageURI: string;
701
+ address: string;
702
+ url: string;
703
+ };
704
+ timestamp: number;
705
+ hash: string;
706
+ url: string;
707
+ };
708
+ } | {
709
+ type: "send_tokens";
710
+ props: {
711
+ status: "executed";
712
+ amount: string;
713
+ token: {
714
+ logoURI: string;
715
+ bgColor: string;
716
+ symbol: string;
717
+ };
718
+ chain: {
719
+ logoURI: string;
720
+ name: string;
721
+ bgColor: string;
722
+ };
723
+ wallet: {
724
+ imageURI: string;
725
+ address: string;
726
+ url: string;
727
+ };
728
+ timestamp: number;
729
+ hash: string;
730
+ url: string;
731
+ };
732
+ } | {
733
+ type: "swap";
734
+ props: {
735
+ status: "executed";
736
+ fromToken: {
737
+ logoURI: string;
738
+ bgColor: string;
739
+ symbol: string;
740
+ };
741
+ toToken: {
742
+ logoURI: string;
743
+ bgColor: string;
744
+ symbol: string;
745
+ };
746
+ provider: {
747
+ logoURI: string;
748
+ name: string;
749
+ };
750
+ timestamp: number;
751
+ hash: string;
752
+ url: string;
753
+ };
754
+ } | {
755
+ type: "bridge";
756
+ props: {
757
+ status: "executed";
758
+ token: {
759
+ logoURI: string;
760
+ bgColor: string;
761
+ symbol: string;
762
+ };
763
+ chain: {
764
+ logoURI: string;
765
+ name: string;
766
+ bgColor: string;
767
+ };
768
+ provider: {
769
+ logoURI: string;
770
+ name: string;
771
+ };
772
+ timestamp: number;
773
+ hash: string;
774
+ url: string;
775
+ };
776
+ } | {
777
+ type: "start";
778
+ props: {
779
+ status: "executed";
780
+ timestamp: number;
781
+ hash: string;
782
+ url: string;
783
+ };
784
+ })[];
785
+ fees: {
786
+ status: "executed";
787
+ total: {
788
+ label: string;
789
+ usd: number;
790
+ amount: number;
791
+ symbol: string;
792
+ };
793
+ lines: {
794
+ label: string;
795
+ usd: number;
796
+ amount: number;
797
+ symbol: string;
798
+ }[];
799
+ };
800
+ };
801
+ };
802
+ };
803
+ export declare const BridgeMissingToToken: {
804
+ args: {
805
+ type: string;
806
+ data: {
807
+ toToken: undefined;
808
+ title: string;
809
+ hash: string;
810
+ url: string;
811
+ status: string;
812
+ fromAmount: string;
813
+ toAmount: string;
814
+ fromToken: {
815
+ logoURI: string;
816
+ bgColor: string;
817
+ symbol: string;
818
+ };
819
+ fromLink: string;
820
+ toLink: string;
821
+ fromChain: {
822
+ logoURI: string;
823
+ name: string;
824
+ bgColor: string;
825
+ };
826
+ toChain: {
827
+ logoURI: string;
828
+ name: string;
829
+ bgColor: string;
830
+ };
831
+ fromAddress: string;
832
+ toAddress: string;
517
833
  timeToComplete: string;
518
834
  actions: ({
519
835
  type: "success";