mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
CW-596-Solana-Bug-Fixes (#1340)
* fix: Generic bug fixes across solana * fix: Remove back and forth parsing * fix: Add check to cut flow when estimated fee is higher than wallet balance * Update error message for fees exception * Remove logs --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
co-authored by
Omar Hatem
parent
698c222291
commit
a9b8c03e55
+6
-1
@@ -948,7 +948,11 @@ abstract class Solana {
|
||||
required CryptoCurrency currency,
|
||||
});
|
||||
List<CryptoCurrency> getSPLTokenCurrencies(WalletBase wallet);
|
||||
Future<void> addSPLToken(WalletBase wallet, CryptoCurrency token);
|
||||
Future<void> addSPLToken(
|
||||
WalletBase wallet,
|
||||
CryptoCurrency token,
|
||||
String contractAddress,
|
||||
);
|
||||
Future<void> deleteSPLToken(WalletBase wallet, CryptoCurrency token);
|
||||
Future<CryptoCurrency?> getSPLToken(WalletBase wallet, String contractAddress);
|
||||
|
||||
@@ -956,6 +960,7 @@ abstract class Solana {
|
||||
double getTransactionAmountRaw(TransactionInfo transactionInfo);
|
||||
String getTokenAddress(CryptoCurrency asset);
|
||||
List<int>? getValidationLength(CryptoCurrency type);
|
||||
double? getEstimateFees(WalletBase wallet);
|
||||
}
|
||||
|
||||
""";
|
||||
|
||||
Reference in New Issue
Block a user