Updated on 2026-08-14
This commit is contained in:
parent
ae6ddfbeda
commit
67bc92be89
3 changed files with 17 additions and 1 deletions
|
|
@ -76,6 +76,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
|
|||
"decimal/test" -> Blockchain.DecimalTestnet
|
||||
"TODO" -> Blockchain.Vechain // TODO [REDACTED_TASK_KEY]
|
||||
"TODO/test" -> Blockchain.VechainTestnet // TODO [REDACTED_TASK_KEY]
|
||||
"aptos" -> Blockchain.Aptos
|
||||
"aptos/test" -> Blockchain.AptosTestnet
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
|
@ -153,6 +155,8 @@ fun Blockchain.toNetworkId(): String {
|
|||
Blockchain.DecimalTestnet -> "decimal/test"
|
||||
Blockchain.Vechain -> "TODO" // TODO [REDACTED_TASK_KEY]
|
||||
Blockchain.VechainTestnet -> "TODO/test" // TODO [REDACTED_TASK_KEY]
|
||||
Blockchain.Aptos -> "aptos"
|
||||
Blockchain.AptosTestnet -> "aptos/test"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -202,6 +206,8 @@ fun Blockchain.toCoinId(): String {
|
|||
Blockchain.Decimal, Blockchain.DecimalTestnet -> "decimal"
|
||||
Blockchain.Vechain -> "TODO" // TODO [REDACTED_TASK_KEY]
|
||||
Blockchain.VechainTestnet -> "TODO/test" // TODO [REDACTED_TASK_KEY]
|
||||
Blockchain.Aptos -> "aptos"
|
||||
Blockchain.AptosTestnet -> "aptos/test"
|
||||
Blockchain.Unknown -> "unknown"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue