Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-27 10:07:06 +03:00
commit 0cc3e8e4e4
13 changed files with 74 additions and 48 deletions

View file

@ -159,6 +159,13 @@ object BlockchainUtils {
return isSolana(blockchainId) || isBSC(blockchainId) || isTon(blockchainId)
}
/** Checks if the blockchain uses case-insensitive contract addresses */
fun isCaseInsensitiveContractAddress(blockchainId: String): Boolean {
val blockchain = Blockchain.fromId(blockchainId)
return blockchain.isEvm()
}
private fun getNetworkStandardName(blockchain: Blockchain): String {
return when (blockchain) {
Blockchain.Ethereum, Blockchain.EthereumTestnet -> "ERC20"