Updated on 2026-08-14
This commit is contained in:
parent
cf4dc83d0d
commit
83571f3bd5
19 changed files with 360 additions and 57 deletions
|
|
@ -29,4 +29,6 @@ interface TransactionManager {
|
|||
|
||||
@Throws(IllegalStateException::class)
|
||||
fun getNativeTokenDecimals(networkId: String): Int
|
||||
|
||||
fun calculateFee(networkId: String, gasPrice: String, estimatedGas: Int): BigDecimal
|
||||
}
|
||||
|
|
@ -53,4 +53,10 @@ interface UserWalletManager {
|
|||
* Returns selected app currency
|
||||
*/
|
||||
fun getUserAppCurrency(): ProxyFiatCurrency
|
||||
|
||||
/**
|
||||
* @param networkId
|
||||
* @return currency name
|
||||
*/
|
||||
fun getCurrencyByNetworkId(networkId: String): String
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue