Updated on 2026-08-14
This commit is contained in:
parent
8ef0c9f5a6
commit
6d697e05c1
15 changed files with 217 additions and 83 deletions
|
|
@ -14,6 +14,8 @@ interface UserWalletManager {
|
|||
*/
|
||||
suspend fun getUserTokens(networkId: String): List<Currency>
|
||||
|
||||
fun getNativeTokenForNetwork(networkId: String): Currency
|
||||
|
||||
/**
|
||||
* Returns user walletId
|
||||
*/
|
||||
|
|
@ -51,16 +53,14 @@ interface UserWalletManager {
|
|||
|
||||
fun getNativeTokenBalance(networkId: String): ProxyAmount?
|
||||
|
||||
/**
|
||||
* @param networkId
|
||||
* @return currency name
|
||||
*/
|
||||
fun getNetworkCurrency(networkId: String): String
|
||||
|
||||
/**
|
||||
* 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