"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PnlLock = exports.getTsKey = exports.Assets = void 0;
exports.Assets = ['ETHUSDC'];
var getDefaultSource = function (type) {
    switch (type) {
        case 'price':
            return 'binance';
        case 'yield':
            return 'uniswapV2';
        default:
            return 'unknown';
    }
};
var getTsKey = function (asset, type, source) {
    if (source === void 0) { source = getDefaultSource(type); }
    return "ts-".concat(type, "-").concat(asset, "-").concat(source);
};
exports.getTsKey = getTsKey;
var PnlLock;
(function (PnlLock) {
    PnlLock[PnlLock["None"] = 0] = "None";
    PnlLock[PnlLock["Deposit"] = 1] = "Deposit";
    PnlLock[PnlLock["Withdraw"] = 2] = "Withdraw";
})(PnlLock = exports.PnlLock || (exports.PnlLock = {}));
//# sourceMappingURL=types.js.map