UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

42 lines (41 loc) 1.55 kB
import type { UseBluvoFlowHook } from '@bluvo/react'; export type BluvoQuote = UseBluvoFlowHook['quote']; export type BluvoWithdrawableBalance = UseBluvoFlowHook['walletBalances']; export type BluvoWithdrawal = UseBluvoFlowHook['withdrawal']; export type BluvoBrokerageMinMax = { minUsd: number; maxUsd: number; }; export declare enum BluvoExchangeType { Coinbase = "coinbase", Binance = "binance", Gemini = "gemini", Kraken = "kraken" } export type BluvoExchangeInfo = { icon: (size: number) => JSX.Element | null; name: string; }; export declare enum BluvoExchangeStatus { Live = "live", Offline = "offline", Maintenance = "maintenance", ComingSoon = "coming_soon" } export declare const BLUVO_MIN_DEPOSIT_BY_CUSTOMER: Record<string, number>; export declare const SUPPORTED_EXCHANGES: readonly [{ readonly exchange: BluvoExchangeType.Coinbase; readonly status: BluvoExchangeStatus.Live; }, { readonly exchange: BluvoExchangeType.Binance; readonly status: BluvoExchangeStatus.ComingSoon; }, { readonly exchange: BluvoExchangeType.Kraken; readonly status: BluvoExchangeStatus.ComingSoon; }, { readonly exchange: BluvoExchangeType.Gemini; readonly status: BluvoExchangeStatus.ComingSoon; }]; export declare const BLUVO_EXCHANGES: Readonly<Record<BluvoExchangeType, BluvoExchangeInfo>>; export declare function getExchangeIcon(brokerType: BluvoExchangeType, size: number): JSX.Element | null; export declare function getExchangeName(brokerType: BluvoExchangeType): string;