Add 5 new assets and map TRX -> TRC20

This commit is contained in:
Justin Ehrenhofer 2023-02-13 08:51:26 -06:00
parent 6711d9530f
commit 891a9d3368

View file

@ -18,13 +18,8 @@ class TrocadorExchangeProvider extends ExchangeProvider {
super(pairList: _supportedPairs()); super(pairList: _supportedPairs());
static const List<CryptoCurrency> _notSupported = [ static const List<CryptoCurrency> _notSupported = [
CryptoCurrency.xhv,
CryptoCurrency.dcr,
CryptoCurrency.oxt,
CryptoCurrency.pivx,
CryptoCurrency.scrt, CryptoCurrency.scrt,
CryptoCurrency.stx, CryptoCurrency.stx,
CryptoCurrency.bttc,
CryptoCurrency.zaddr, CryptoCurrency.zaddr,
]; ];
@ -268,6 +263,8 @@ class TrocadorExchangeProvider extends ExchangeProvider {
switch (tag) { switch (tag) {
case 'ETH': case 'ETH':
return 'ERC20'; return 'ERC20';
case 'TRX':
return 'TRC20';
default: default:
return tag.toLowerCase(); return tag.toLowerCase();
} }