Updated on 2026-08-14

This commit is contained in:
Tangem 2024-01-18 14:30:01 +01:00
parent a24de5f7f8
commit d227d1fae3
9 changed files with 28 additions and 14 deletions

View file

@ -74,8 +74,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
"near-protocol/test" -> Blockchain.NearTestnet
"decimal" -> Blockchain.Decimal
"decimal/test" -> Blockchain.DecimalTestnet
"xdc-network" -> Blockchain.XinFin
"xdc-network/test" -> Blockchain.XinFinTestnet
"xdc-network" -> Blockchain.XDC
"xdc-network/test" -> Blockchain.XDCTestnet
"TODO" -> Blockchain.Vechain // TODO [REDACTED_TASK_KEY]
"TODO/test" -> Blockchain.VechainTestnet // TODO [REDACTED_TASK_KEY]
"aptos" -> Blockchain.Aptos
@ -155,8 +155,8 @@ fun Blockchain.toNetworkId(): String {
Blockchain.NearTestnet -> "near-protocol/test"
Blockchain.Decimal -> "decimal"
Blockchain.DecimalTestnet -> "decimal/test"
Blockchain.XinFin -> "xdc-network"
Blockchain.XinFinTestnet -> "xdc-network/test"
Blockchain.XDC -> "xdc-network"
Blockchain.XDCTestnet -> "xdc-network/test"
Blockchain.Vechain -> "TODO" // TODO [REDACTED_TASK_KEY]
Blockchain.VechainTestnet -> "TODO/test" // TODO [REDACTED_TASK_KEY]
Blockchain.Aptos -> "aptos"
@ -208,7 +208,7 @@ fun Blockchain.toCoinId(): String {
Blockchain.Near -> "near"
Blockchain.NearTestnet -> "near/test"
Blockchain.Decimal, Blockchain.DecimalTestnet -> "decimal"
Blockchain.XinFin, Blockchain.XinFinTestnet -> "xdce-crowd-sale"
Blockchain.XDC, Blockchain.XDCTestnet -> "xdce-crowd-sale"
Blockchain.Vechain -> "TODO" // TODO [REDACTED_TASK_KEY]
Blockchain.VechainTestnet -> "TODO/test" // TODO [REDACTED_TASK_KEY]
Blockchain.Aptos -> "aptos"