cake_wallet/cw_polygon/lib/polygon_transaction_history.dart
OmarHatem e276181f88 Fix EVM wallets with Password flow
Fix Conflicts with main
2024-02-03 04:00:35 +02:00

20 lines
622 B
Dart

import 'dart:core';
import 'package:cw_evm/evm_chain_transaction_history.dart';
import 'package:cw_evm/evm_chain_transaction_info.dart';
import 'package:cw_polygon/polygon_transaction_info.dart';
class PolygonTransactionHistory extends EVMChainTransactionHistory {
PolygonTransactionHistory({
required super.walletInfo,
required super.password,
required super.encryptionFileUtils,
});
@override
String getTransactionHistoryFileName() => 'polygon_transactions.json';
@override
EVMChainTransactionInfo getTransactionInfo(Map<String, dynamic> val) =>
PolygonTransactionInfo.fromJson(val);
}