mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
Cw 939 whitelist known tokens (#2038)
* [skip-ci] init * don't get price data for potential scam tokens * updates * dont fetch fiat price for scam currencies
This commit is contained in:
parent
3a56277c27
commit
57fe3287fa
9 changed files with 97 additions and 11 deletions
|
@ -11,7 +11,8 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> implemen
|
|||
this.iconPath,
|
||||
this.tag,
|
||||
this.enabled = false,
|
||||
})
|
||||
this.isPotentialScam = false,
|
||||
})
|
||||
: super(title: title, raw: raw);
|
||||
|
||||
final String name;
|
||||
|
@ -20,6 +21,7 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> implemen
|
|||
final String? iconPath;
|
||||
final int decimals;
|
||||
final bool enabled;
|
||||
final bool isPotentialScam;
|
||||
|
||||
set enabled(bool value) => this.enabled = value;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue