const i = 11n;
const T = (n) => {
  if (!n.sourceToken)
    return "0";
  const { price: r, decimals: t, assetId: I } = n.sourceToken;
  if (I === "nep141:btc.omft.near")
    return (i * 10n ** BigInt(t - 5)).toString();
  const o = BigInt(10 ** n.sourceToken.decimals), e = BigInt(Math.round(r * Number(o)));
  return ((BigInt(1) * BigInt(10) ** BigInt(t) * o + e - 1n) / e).toString();
};
export {
  T as getMinDepositTokenAmount
};
//# sourceMappingURL=getMinDepositTokenAmount.js.map
