mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-19 05:58:50 +02:00
Add 5 new assets and map TRX -> TRC20
This commit is contained in:
@@ -18,13 +18,8 @@ class TrocadorExchangeProvider extends ExchangeProvider {
|
||||
super(pairList: _supportedPairs());
|
||||
|
||||
static const List<CryptoCurrency> _notSupported = [
|
||||
CryptoCurrency.xhv,
|
||||
CryptoCurrency.dcr,
|
||||
CryptoCurrency.oxt,
|
||||
CryptoCurrency.pivx,
|
||||
CryptoCurrency.scrt,
|
||||
CryptoCurrency.stx,
|
||||
CryptoCurrency.bttc,
|
||||
CryptoCurrency.zaddr,
|
||||
];
|
||||
|
||||
@@ -268,6 +263,8 @@ class TrocadorExchangeProvider extends ExchangeProvider {
|
||||
switch (tag) {
|
||||
case 'ETH':
|
||||
return 'ERC20';
|
||||
case 'TRX':
|
||||
return 'TRC20';
|
||||
default:
|
||||
return tag.toLowerCase();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user