UNPKG

@openocean.finance/widget

Version:

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

16 lines (15 loc) 702 B
import { LifiAdapter, MayanAdapter, RelayAdapter, NearIntentsAdapter, SwapProvider, PegasusAdapter } from './adapters/index.js'; export declare class CrossChainSwapFactory { private static relayInstance; private static nearIntentsInstance; private static mayanInstance; private static lifiInstance; private static pegasusInstance; static getRelayAdapter(): RelayAdapter; static getNearIntentsAdapter(): NearIntentsAdapter; static getMayanAdapter(): MayanAdapter; static getLifiInstance(): LifiAdapter; static getPegasusAdapter(): PegasusAdapter; static getAllAdapters(): SwapProvider[]; static getAdapterByName(name: string): SwapProvider | undefined; }