711721c1ee
Build canonical spot/future token maps with quote priority, unify cache refresh scheduling, and switch resolver/token tests to map-based token lookups. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
18 lines
347 B
Go
18 lines
347 B
Go
package binance
|
|
|
|
var SymbolPrefixList = []string{"1000000", "1000", "1M"}
|
|
|
|
var SymbolSuffixList = []string{"USDT", "USDC", "FDUSD"}
|
|
|
|
var SymbolSuffixMap = map[string]string{
|
|
"USDT": "",
|
|
"USDC": "c",
|
|
"FDUSD": "fd",
|
|
}
|
|
|
|
var QuotePriority = []string{"USDT", "USDC", "FDUSD"}
|
|
|
|
var FutureToken2SpotTokenMap = map[string]string{
|
|
"LUNA2": "LUNA",
|
|
}
|