2020-09-21 11:50:26 +00:00
|
|
|
import 'package:cake_wallet/exchange/limits.dart';
|
2020-01-04 19:31:52 +00:00
|
|
|
|
|
|
|
abstract class LimitsState {}
|
|
|
|
|
|
|
|
class LimitsInitialState extends LimitsState {}
|
|
|
|
|
|
|
|
class LimitsIsLoading extends LimitsState {}
|
|
|
|
|
|
|
|
class LimitsLoadedSuccessfully extends LimitsState {
|
2022-10-12 17:09:57 +00:00
|
|
|
LimitsLoadedSuccessfully({required this.limits});
|
2020-01-08 12:26:34 +00:00
|
|
|
|
|
|
|
final Limits limits;
|
2020-01-04 19:31:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class LimitsLoadedFailure extends LimitsState {
|
2022-10-12 17:09:57 +00:00
|
|
|
LimitsLoadedFailure({required this.error});
|
2020-01-08 12:26:34 +00:00
|
|
|
|
|
|
|
final String error;
|
2020-01-04 19:31:52 +00:00
|
|
|
}
|