line build fixes; symbol name update
This commit is contained in:
@@ -106,12 +106,13 @@ export function feelessTickerKey(ticker) {
|
||||
|
||||
function addSymbol(chainId, p, base, quote, inverted) {
|
||||
const symbol = base.s + '/' + quote.s
|
||||
const exchange = ['UNIv2', 'UNIv3'][p.e]
|
||||
const fee = `${(p.f/10000).toFixed(2)}%`
|
||||
const exchange = ['Uniswap v2', 'Uniswap v3'][p.e] + ' ' + fee
|
||||
const full_name = exchange + ':' + symbol // + '%' + formatFee(fee)
|
||||
const ticker = tickerKey(chainId, p.e, base.a, quote.a, p.f)
|
||||
// add the search index only if this is the natural, noninverted base/quote pair
|
||||
log('addSymbol', p, base, quote, inverted, ticker)
|
||||
const description = `${base.n} / ${quote.n} ${(p.f/10000).toFixed(2)}%`
|
||||
const description = `${base.n} / ${quote.n}`
|
||||
const type = 'swap'
|
||||
const decimals = inverted ? -p.d : p.d
|
||||
const symbolInfo = {
|
||||
|
||||
Reference in New Issue
Block a user