mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +00:00
Core stuff
This commit is contained in:
parent
1d793ab284
commit
8c6b99da42
3 changed files with 44 additions and 0 deletions
12
lib/core/app_store.dart
Normal file
12
lib/core/app_store.dart
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
import 'package:mobx/mobx.dart';
|
||||||
|
|
||||||
|
part 'app_store.g.dart';
|
||||||
|
|
||||||
|
class AppStore = AppStoreBase with _$AppStore;
|
||||||
|
|
||||||
|
abstract class AppStoreBase with Store {
|
||||||
|
// Sign Up
|
||||||
|
// Auth
|
||||||
|
// Wallet
|
||||||
|
// Settings
|
||||||
|
}
|
20
lib/core/monero_wallet_store.dart
Normal file
20
lib/core/monero_wallet_store.dart
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
import 'dart:async';
|
||||||
|
import 'package:cake_wallet/src/domain/common/node.dart';
|
||||||
|
import 'package:cake_wallet/src/domain/common/wallet_type.dart';
|
||||||
|
import 'package:mobx/mobx.dart';
|
||||||
|
import 'package:cake_wallet/src/domain/common/wallet.dart';
|
||||||
|
import 'package:cake_wallet/src/domain/monero/account.dart';
|
||||||
|
import 'package:cake_wallet/src/domain/monero/monero_wallet.dart';
|
||||||
|
import 'package:cake_wallet/src/domain/monero/subaddress.dart';
|
||||||
|
import 'package:cake_wallet/src/domain/services/wallet_service.dart';
|
||||||
|
import 'package:cake_wallet/src/domain/common/crypto_currency.dart';
|
||||||
|
import 'package:cake_wallet/src/stores/settings/settings_store.dart';
|
||||||
|
import 'package:cake_wallet/generated/i18n.dart';
|
||||||
|
|
||||||
|
part 'monero_wallet_store.g.dart';
|
||||||
|
|
||||||
|
class MoneroWalletStore = MoneroWalletStoreBase with _$MoneroWalletStore;
|
||||||
|
|
||||||
|
abstract class MoneroWalletStoreBase with Store {
|
||||||
|
|
||||||
|
}
|
12
lib/core/sign_up_store.dart
Normal file
12
lib/core/sign_up_store.dart
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
import 'package:flutter/foundation.dart';
|
||||||
|
import 'package:mobx/mobx.dart';
|
||||||
|
import 'package:cake_wallet/src/domain/common/wallet_type.dart';
|
||||||
|
|
||||||
|
part 'sign_up_store.g.dart';
|
||||||
|
|
||||||
|
class SignUpStore = SignUpStoreBase with _$SignUpStore;
|
||||||
|
|
||||||
|
|
||||||
|
abstract class SignUpStoreBase with Store {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue