Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-24 15:07:18 +05:00
parent 5bfb8c3f60
commit a0d7cd3066
11 changed files with 181 additions and 30 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"