UNPKG

@lifi/widget

Version:

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

9 lines (8 loc) 552 B
import type { Process, Route } from '@lifi/sdk'; export declare const isRouteDone: (route: Route) => boolean; export declare const isRoutePartiallyDone: (route: Route) => boolean; export declare const isRouteRefunded: (route: Route) => boolean; export declare const isRouteFailed: (route: Route) => boolean; export declare const isRouteActive: (route?: Route) => boolean; export declare const doesRouteHaveCustomTool: (route: Route) => boolean; export declare const getUpdatedProcess: (currentRoute: Route, updatedRoute: Route) => Process | undefined;