Updated on 2026-08-14
This commit is contained in:
parent
841b332d88
commit
82d85edb86
9 changed files with 33 additions and 12 deletions
|
|
@ -114,6 +114,17 @@ object BlockchainUtils {
|
|||
return l2BlockchainsList.contains(blockchain)
|
||||
}
|
||||
|
||||
/**
|
||||
* Blockchains not affecting total balance counting on errors
|
||||
*/
|
||||
fun isIncludeToBalanceOnError(blockchainId: String): Boolean {
|
||||
val blockchain = Blockchain.fromId(blockchainId)
|
||||
return when (blockchain) {
|
||||
Blockchain.Binance, Blockchain.BinanceTestnet -> true
|
||||
else -> false
|
||||
}
|
||||
}
|
||||
|
||||
private fun getNetworkStandardName(blockchain: Blockchain): String {
|
||||
return when (blockchain) {
|
||||
Blockchain.Ethereum, Blockchain.EthereumTestnet -> "ERC20"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue