PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/viem/_cjs/zksync/utils
Просмотр файла: isEth.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isEth = isEth;
const address_js_1 = require("../constants/address.js");
function isEth(token) {
return (token.localeCompare(address_js_1.legacyEthAddress, undefined, {
sensitivity: 'accent',
}) === 0 ||
token.localeCompare(address_js_1.l2BaseTokenAddress, undefined, {
sensitivity: 'accent',
}) === 0 ||
token.localeCompare(address_js_1.ethAddressInContracts, undefined, {
sensitivity: 'accent',
}) === 0);
}
//# sourceMappingURL=isEth.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!