Updated on 2026-08-14
This commit is contained in:
parent
d6352abd88
commit
1c31545ec6
8 changed files with 23 additions and 31 deletions
|
|
@ -169,9 +169,9 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
|
|||
"hyperevm/test" -> Blockchain.HyperliquidTestnet
|
||||
"quai-network" -> Blockchain.Quai
|
||||
"quai-network/test" -> Blockchain.QuaiTestnet
|
||||
"linea" -> Blockchain.Linea
|
||||
"linea/test" -> Blockchain.LineaTestnet
|
||||
"arbitrum-nova" -> Blockchain.ArbitrumNova
|
||||
// "linea" -> Blockchain.Linea
|
||||
// "linea/test" -> Blockchain.LineaTestnet
|
||||
// "arbitrum-nova" -> Blockchain.ArbitrumNova
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
|
@ -338,9 +338,9 @@ fun Blockchain.toNetworkId(): String {
|
|||
Blockchain.HyperliquidTestnet -> "hyperevm/test"
|
||||
Blockchain.Quai -> "quai-network"
|
||||
Blockchain.QuaiTestnet -> "quai-network/test"
|
||||
Blockchain.Linea -> "linea"
|
||||
Blockchain.LineaTestnet -> "linea/test"
|
||||
Blockchain.ArbitrumNova -> "arbitrum-nova"
|
||||
// Blockchain.Linea -> "linea"
|
||||
// Blockchain.LineaTestnet -> "linea/test"
|
||||
// Blockchain.ArbitrumNova -> "arbitrum-nova"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -446,8 +446,8 @@ fun Blockchain.toCoinId(): String {
|
|||
Blockchain.Pepecoin, Blockchain.PepecoinTestnet -> "pepecoin-network"
|
||||
Blockchain.Hyperliquid, Blockchain.HyperliquidTestnet -> "hyperliquid"
|
||||
Blockchain.Quai, Blockchain.QuaiTestnet -> "quai-network"
|
||||
Blockchain.Linea, Blockchain.LineaTestnet -> "linea-ethereum"
|
||||
Blockchain.ArbitrumNova -> "arbitrum-nova-ethereum"
|
||||
// Blockchain.Linea, Blockchain.LineaTestnet -> "linea-ethereum"
|
||||
// Blockchain.ArbitrumNova -> "arbitrum-nova-ethereum"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue