UNPKG

@crypto-dex-sdk/parachains-amplitude

Version:

Zenlink Parachains Impl for Amplitude

25 lines (22 loc) 443 B
import type { StableSwap } from '@crypto-dex-sdk/amm' import { useMemo } from 'react' export enum StablePoolState { LOADING, NOT_EXISTS, EXISTS, INVALID, } // TODO: Bifrost Stable Pools export function useGetStablePools(): { isLoading: boolean isError: boolean data: [StablePoolState, StableSwap | null][] } { return useMemo(() => { return { isLoading: false, isError: false, data: [], } }, []) }