import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
import Assets from "../../assets";
export const coinToIcon = {
    Crv: _jsx(Assets.Crv, {}),
    Bnb: _jsx(Assets.BNB, {}),
    Btc: _jsx(Assets.Bitcoin, {}),
    Dot: _jsx(Assets.Dot, {}),
    Eq: _jsx(Assets.EQ, {}),
    Gens: _jsx(Assets.GENS, {}),
    Hdot: _jsx(Assets.Dot, {}),
    Eos: _jsx(Assets.Eos, {}),
    Eth: _jsx(Assets.Eth, {}),
    Eqd: _jsx(Assets.Eqd, {}),
    Usd: _jsx(Assets.Usd, {}),
    Dai: _jsx(Assets.Usd, {}),
    Busd: _jsx(Assets.Usd, {}),
    Usdc: _jsx(Assets.Usd, {}),
    Usdt: _jsx(Assets.Usd, {}),
    Wbtc: _jsx(Assets.Wbtc, {}),
    Xdot: _jsx(Assets.Dot, {}),
    Unknown: _jsx(_Fragment, {}),
};
export const ellipsis = (str, max) => {
    return str.length > max ? str.slice(0, max) + "..." : str;
};
//# sourceMappingURL=util.js.map