UNPKG

opstack-kit-chains

Version:
17 lines 623 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isEth = void 0; 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); } exports.isEth = isEth; //# sourceMappingURL=isEth.js.map