"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.mmConfig = void 0;
var tokens = {
    arbitrum: {
        ARB: '0x912CE59144191C1204E64559FE8253a0e49E6548',
        Y2K: '0x65c936f008BC34fE819bce9Fa5afD9dc2d49977f',
        SECT: '0x0B63C61bba4a876a6eB8b5e596800F7649A9B71E',
    },
};
var config = [
    // {
    //   baseToken: 'Y2K',
    //   quoteToken: 'ARB',
    //   type: 'Arrakis',
    //   feeTier: 3000,
    //   dec0: '18',
    //   dec1: '18',
    //   chain: 'arbitrum',
    // },
    {
        baseToken: 'SECT',
        quoteToken: 'ARB',
        type: 'Arrakis',
        feeTier: 3000,
        dec0: '18',
        dec1: '18',
        chain: 'arbitrum',
    },
];
var getName = function (type, symbol0, symbol1, chain) {
    return "".concat(type, "MM_").concat(symbol0, "-").concat(symbol1, "_").concat(chain);
};
var getConfig = function (type, baseToken, quoteToken, chain) {
    return {
        baseToken: tokens[chain][baseToken],
        name: getName(type, baseToken, quoteToken, chain),
        symbol: "".concat(baseToken, "-").concat(quoteToken),
        token0: tokens[chain][quoteToken],
        token1: tokens[chain][baseToken],
        type: type,
        chain: chain,
    };
};
exports.mmConfig = config.reduce(function (acc, cur) {
    var baseToken = cur.baseToken, quoteToken = cur.quoteToken, type = cur.type, chain = cur.chain;
    var name = getName(type, baseToken, quoteToken, chain);
    acc[name] = __assign(__assign({}, cur), getConfig(type, baseToken, quoteToken, chain));
    return acc;
}, {});
//# sourceMappingURL=config.js.map