| 1 | import 'package:cake_wallet/entities/contact_base.dart'; |
| 2 | import 'package:cw_core/crypto_currency.dart'; |
| 3 | import 'package:cw_core/wallet_type.dart'; |
| 4 | |
| 5 | class WalletContact implements ContactBase { |
| 6 | WalletContact(this.address, this.name, this.type, {this.walletType}); |
| 7 | |
| 8 | @override |
| 9 | String address; |
| 10 | |
| 11 | @override |
| 12 | String name; |
| 13 | |
| 14 | @override |
| 15 | CryptoCurrency type; |
| 16 | |
| 17 | /// Wallet type of the wallet this contact belongs to |
| 18 | /// Used for EVM chain filtering |
| 19 | final WalletType? walletType; |
| 20 | |
| 21 | String get displayName => ""; |
| 22 | |
| 23 | set displayName(String _) {} |
| 24 | } |