mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
Add 5 new assets and map TRX -> TRC20
This commit is contained in:
parent
6711d9530f
commit
891a9d3368
1 changed files with 2 additions and 5 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue