import { parseUnits as e } from "ethers";
import { isNotEmptyAmount as n } from "../../../utils/checkers/isNotEmptyAmount.js";
const u = (o) => !!o.sourceToken && !!o.sourceTokenAmount && !!o.sourceTokenBalance && n(o.sourceTokenAmount) && n(o.sourceTokenBalance) && e(o.sourceTokenAmount, o.sourceToken.decimals) <= e(o.sourceTokenBalance, o.sourceToken.decimals);
export {
  u as isBalanceSufficient
};
//# sourceMappingURL=isBalanceSufficient.js.map
