From b9ca6ab2cce2833f20e4367c0ea3612a58b04a27 Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 29 Oct 2024 00:33:24 -0400 Subject: [PATCH] line build fixes; symbol name update --- src/charts/datafeed.js | 5 +++-- src/components/Status.vue | 29 +++++++++++++++++++++------ src/components/chart/LimitBuilder.vue | 2 +- src/orderbuild.js | 8 ++++---- src/styles/vars.scss | 5 +++-- 5 files changed, 34 insertions(+), 15 deletions(-) diff --git a/src/charts/datafeed.js b/src/charts/datafeed.js index b83bf5f..373e3e1 100644 --- a/src/charts/datafeed.js +++ b/src/charts/datafeed.js @@ -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 = { diff --git a/src/components/Status.vue b/src/components/Status.vue index 8b29e9e..bbdb8be 100644 --- a/src/components/Status.vue +++ b/src/components/Status.vue @@ -14,11 +14,18 @@ / - + + + + + + + + - +