intermediate checkin during chart order form work
This commit is contained in:
@@ -54,7 +54,7 @@ function addSymbol(p, base, quote, inverted) {
|
||||
const exchange = ['UNIv2', 'UNIv3'][p.e]
|
||||
const full_name = exchange + ':' + symbol // + '%' + formatFee(fee)
|
||||
if (full_name in symbolsSeen) {
|
||||
// add this pool's address to the index but don't create a new symbol
|
||||
// add this pool's address to the existing index but don't create a new symbol
|
||||
indexes[full_name].as.push(p.a)
|
||||
return
|
||||
}
|
||||
@@ -62,7 +62,7 @@ function addSymbol(p, base, quote, inverted) {
|
||||
const longExchange = ['Uniswap v2', 'Uniswap v3',][p.e]
|
||||
const description = `${base.n} / ${quote.n}`
|
||||
const type = 'swap'
|
||||
_symbols[full_name] = {symbol, full_name, description, exchange, type, inverted, base, quote}
|
||||
_symbols[full_name] = {symbol, full_name, description, exchange, type, inverted, base, quote, x:p.x}
|
||||
indexes[full_name] = {
|
||||
// key
|
||||
id: full_name,
|
||||
|
||||
Reference in New Issue
Block a user