"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PriceFeed = void 0;
var tslib_1 = require("tslib");
var baseAdapter_1 = require("./baseAdapter");
var PriceFeed = (function (_super) {
    tslib_1.__extends(PriceFeed, _super);
    function PriceFeed() {
        return _super.call(this, "Default Adapter", "127.0.0.1", {}) || this;
    }
    PriceFeed.prototype.getPriceByAddress = function (address, currency) {
        return tslib_1.__awaiter(this, void 0, void 0, function () {
            var price;
            return tslib_1.__generator(this, function (_a) {
                switch (_a.label) {
                    case 0: return [4, this.getPricesByAddress([address], currency)];
                    case 1:
                        price = _a.sent();
                        return [2, price[0]];
                }
            });
        });
    };
    PriceFeed.prototype.getPricesByAddress = function (addresses, _currency) {
        return Promise.resolve(addresses.map(function (address) { return ({ address: address, price: 0, timestamp: 0 }); }));
    };
    return PriceFeed;
}(baseAdapter_1.BaseHTTPAdapter));
exports.PriceFeed = PriceFeed;
//# sourceMappingURL=default.js.map