Updated on 2026-08-14
This commit is contained in:
parent
5bfb8c3f60
commit
a0d7cd3066
11 changed files with 181 additions and 30 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue