Updated on 2026-08-14
This commit is contained in:
parent
ae0eb0aff2
commit
ae9bb1fc07
10 changed files with 14 additions and 40 deletions
|
|
@ -7,17 +7,7 @@ import com.tangem.datasource.api.markets.models.response.TokenMarketInfoResponse
|
|||
import com.tangem.datasource.api.tangemTech.models.CoinsResponse
|
||||
import com.tangem.datasource.api.tangemTech.models.UserTokensResponse
|
||||
|
||||
val l2BlockchainsList = listOf(
|
||||
Blockchain.Optimism,
|
||||
Blockchain.Arbitrum,
|
||||
Blockchain.ZkSyncEra,
|
||||
Blockchain.Manta,
|
||||
Blockchain.PolygonZkEVM,
|
||||
Blockchain.Aurora,
|
||||
Blockchain.Base,
|
||||
Blockchain.Blast,
|
||||
Blockchain.Cyber,
|
||||
)
|
||||
val l2BlockchainsList = Blockchain.entries.filter { it.isL2EthereumNetwork() }
|
||||
|
||||
val l2BlockchainsCoinIds = l2BlockchainsList.map { it.toCoinId() }
|
||||
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ object BlockchainUtils {
|
|||
}
|
||||
|
||||
private fun getNetworkNameWithoutTestnet(blockchain: Blockchain): String {
|
||||
return blockchain.getNetworkName().replace(oldValue = " Testnet", newValue = "")
|
||||
return blockchain.fullName.replace(oldValue = " Testnet", newValue = "")
|
||||
}
|
||||
|
||||
fun isTokenBetaFunctionality(blockchainId: String): Boolean {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue