Updated on 2026-08-14

This commit is contained in:
Tangem 2023-01-17 16:23:33 +03:00
parent 78818a6efa
commit bd3ee9e237
33 changed files with 643 additions and 207 deletions

View file

@ -13,6 +13,7 @@ interface TransactionManager {
amountToSend: BigDecimal,
currencyToSend: Currency,
feeAmount: BigDecimal,
estimatedGas: Int,
destinationAddress: String,
dataToSign: String,
): SendTxResult
@ -25,8 +26,6 @@ interface TransactionManager {
destinationAddress: String,
): ProxyAmount
fun getNativeAddress(networkId: String): String
@Throws(IllegalStateException::class)
fun getNativeTokenDecimals(networkId: String): Int

View file

@ -12,7 +12,7 @@ interface UserWalletManager {
/**
* Returns all user tokens (merged from local and backend)
*/
suspend fun getUserTokens(): List<Currency>
suspend fun getUserTokens(networkId: String): List<Currency>
/**
* Returns user walletId