Updated on 2026-08-14

This commit is contained in:
Tangem 2023-01-30 18:21:13 +03:00
parent b166701147
commit ea37cec21f
12 changed files with 100 additions and 64 deletions

View file

@ -53,4 +53,7 @@ interface TransactionManager {
*/
@Throws(IllegalStateException::class)
fun getBlockchainInfo(networkId: String): ProxyNetworkInfo
@Throws(IllegalStateException::class)
fun getExplorerTransactionLink(networkId: String, txAddress: String): String
}

View file

@ -33,6 +33,7 @@ interface UserWalletManager {
*
* @param currency to add to wallet
*/
@Throws(IllegalStateException::class)
fun addToken(currency: Currency)
/**
@ -40,6 +41,7 @@ interface UserWalletManager {
*
* @param networkId for currency
*/
@Throws(IllegalStateException::class)
fun getWalletAddress(networkId: String): String
/**
@ -63,4 +65,7 @@ interface UserWalletManager {
* Returns selected app currency
*/
fun getUserAppCurrency(): ProxyFiatCurrency
@Throws(IllegalStateException::class)
fun getLastTransactionHash(networkId: String): String?
}