UNPKG

@yoroi/swap

Version:
8 lines (7 loc) 283 B
"use strict"; import { dexUrls } from '../constants'; import { getDexByProtocol } from './getDexByProtocol'; export function getDexUrlByProtocol(protocol) { return dexUrls[getDexByProtocol(protocol)] || 'https://yoroi-wallet.com'; } //# sourceMappingURL=getDexUrlByProtocol.js.map