mirrored_repositories/espresso-cash-public/packages/espressocash_app/lib/features/mobile_wallet
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:solana_mobile_wallet/solana_mobile_wallet.dart';

part 'remote_request.freezed.dart';

@freezed
class RemoteRequest with _$RemoteRequest {
  const factory RemoteRequest.authorizeDapp({
    required AuthorizeRequest request,
  }) = AuthorizeDapp;

  const factory RemoteRequest.signPayloads({
    required SignPayloadsRequest request,
  }) = SignPayloads;

  const factory RemoteRequest.signTransactionsForSending({
    required SignAndSendTransactionsRequest request,
  }) = SignTransactionsForSending;
}
