import { isBtcAddress as s } from "../chains/isBtcAddress.js";
import { isEvmAddress as o } from "../chains/isEvmAddress.js";
import { isCardanoAddress as t } from "../chains/isCardanoAddress.js";
import { isDogeAddress as a } from "../chains/isDogeAddress.js";
import { isTronAddress as c } from "../chains/isTronAddress.js";
import { isXrpAddress as i } from "../chains/isXrpAddress.js";
import { isNearAddress as m } from "../chains/isNearAddress.js";
import { isLtcAddress as n } from "../chains/isLtcAddress.js";
import { isStellarAddress as p } from "../chains/isStellarAddress.js";
import { isSuiAddress as u } from "../chains/isSuiAddress.js";
import { isSolanaAddress as A } from "../chains/isSolanaAddress.js";
import { isTonAddress as f } from "../chains/isTonAddress.js";
import { isZecAddress as l } from "../chains/isZecAddress.js";
import { isDashAddress as d } from "../chains/isDashAddress.js";
import { isStarknetAddress as h } from "../chains/isStarknetAddress.js";
import { isBchAddress as b } from "../chains/isBchAddress.js";
import { isAleoAddress as x } from "../chains/isAleoAddress.js";
const j = (e, r) => {
  switch (e) {
    case "eth":
    case "arb":
    case "bera":
    case "base":
    case "gnosis":
    case "avax":
    case "op":
    case "pol":
    case "monad":
    case "bsc":
    case "plasma":
    case "scroll":
    case "xlayer":
    case "aurora":
      return !!o(r);
    case "btc":
      return !!s(r);
    case "doge":
      return !!a(r);
    case "stellar":
      return !!p(r);
    case "cardano":
      return !!t(r);
    case "ltc":
      return !!n(r);
    case "near":
      return !!m(r);
    case "sol":
      return !!A(r);
    case "sui":
      return !!u(r);
    case "xrp":
      return !!i(r);
    case "zec":
      return !!l(r);
    case "ton":
      return !!f(r);
    case "tron":
      return !!c(r);
    case "dash":
      return !!d(r);
    case "starknet":
      return !!h(r);
    case "bch":
      return !!b(r);
    case "aleo":
      return !!x(r);
    default:
      return null;
  }
};
export {
  j as isValidChainAddress
};
//# sourceMappingURL=isValidChainAddress.js.map
