"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.indexBySymbol = void 0;
const indexBySymbol = (tokenList) => {
    const result = tokenList.reduce((acc, entry) => ({ [entry.symbol]: entry, ...acc }), {});
    return result;
};
exports.indexBySymbol = indexBySymbol;
