mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
e2a1d865af
* haven: backup seeds * haven backup fixes * ci fix * reorder build script * disable haven * properly call cw_haven code * [skip ci] update PR * Update evm_chain_transaction_history.dart remove print --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
19 lines
466 B
Dart
19 lines
466 B
Dart
import 'package:cw_core/hive_type_ids.dart';
|
|
import 'package:hive/hive.dart';
|
|
|
|
part 'haven_seed_store.g.dart';
|
|
|
|
@HiveType(typeId: HavenSeedStore.typeId)
|
|
class HavenSeedStore extends HiveObject {
|
|
HavenSeedStore({required this.id, this.seed});
|
|
|
|
static const typeId = HAVEN_SEED_STORE_TYPE_ID;
|
|
static const boxName = 'HavenSeedStore';
|
|
static const boxKey = 'havenSeedStoreKey';
|
|
|
|
@HiveField(0, defaultValue: '')
|
|
String id;
|
|
|
|
@HiveField(2)
|
|
String? seed;
|
|
}
|