import { formatUnits as a } from "ethers";
import { formatUsdAmount as m } from "./formatUsdAmount.js";
const i = (r, t) => {
  const s = r ? a(r, t.decimals) : "0", o = r ? m(parseFloat(s) * t.price) : "$0.00";
  return o === "$0.00" ? "$0.01" : o;
};
export {
  i as getUsdDisplayBalance
};
//# sourceMappingURL=getUsdDisplayBalance.js.map
