@yoroi/swap
Version:
The Swap package of Yoroi SDK
12 lines (11 loc) • 428 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getDexUrlByProtocol = getDexUrlByProtocol;
var _constants = require("../constants");
var _getDexByProtocol = require("./getDexByProtocol");
function getDexUrlByProtocol(protocol) {
return _constants.dexUrls[(0, _getDexByProtocol.getDexByProtocol)(protocol)] || 'https://yoroi-wallet.com';
}
//# sourceMappingURL=getDexUrlByProtocol.js.map