mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
add USDT Binance Smart Chain (BSC) support (#2341)
This commit is contained in:
parent
900304d405
commit
d0827dd39e
4 changed files with 7 additions and 2 deletions
|
@ -23,6 +23,7 @@ class ThorChainExchangeProvider extends ExchangeProvider {
|
|||
// CryptoCurrency.eth,
|
||||
CryptoCurrency.ltc,
|
||||
CryptoCurrency.bch,
|
||||
CryptoCurrency.usdtbsc,
|
||||
// CryptoCurrency.aave,
|
||||
// CryptoCurrency.dai,
|
||||
// CryptoCurrency.gusd,
|
||||
|
@ -259,7 +260,7 @@ class ThorChainExchangeProvider extends ExchangeProvider {
|
|||
}
|
||||
|
||||
String _normalizeCurrency(CryptoCurrency currency) {
|
||||
final networkTitle = currency.tag == 'ETH' ? 'ETH' : currency.title;
|
||||
final networkTitle = currency.tag == 'ETH' ? 'ETH' : currency.tag ?? currency.title;
|
||||
return '$networkTitle.${currency.title}';
|
||||
}
|
||||
|
||||
|
|
|
@ -347,6 +347,8 @@ class TrocadorExchangeProvider extends ExchangeProvider {
|
|||
return 'TRC20';
|
||||
case 'LN':
|
||||
return 'Lightning';
|
||||
case 'BSC':
|
||||
return 'BEP20';
|
||||
default:
|
||||
return tag.toLowerCase();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue