Updated on 2026-08-14

This commit is contained in:
Tangem 2022-10-18 21:43:15 +05:00
parent eea2cb8559
commit 88bf5f0535
2 changed files with 3 additions and 3 deletions

View file

@ -13,14 +13,14 @@ object SaltPayWorkaround {
symbol = "WXDAI",
contractAddress = "0x4346186e7461cB4DF06bCFCB4cD591423022e417",
decimals = 18,
id = "xdai",
id = "wrapped-xdai",
)
Blockchain.SaltPayTestnet -> Token(
name = "WXDAI Test",
symbol = "MyERC20",
contractAddress = "0x69cca8D8295de046C7c14019D9029Ccc77987A48",
decimals = 0,
id = "xdai",
id = "wrapped-xdai",
)
else -> throw IllegalArgumentException()
}

View file

@ -134,7 +134,7 @@ fun Blockchain.toCoinId(): String {
Blockchain.Kusama -> "kusama"
Blockchain.Optimism, Blockchain.OptimismTestnet -> "ethereum"
Blockchain.Dash -> "dash"
Blockchain.SaltPay, Blockchain.SaltPayTestnet -> "wrapped-xdai"
Blockchain.SaltPay, Blockchain.SaltPayTestnet -> "xdai"
Blockchain.Unknown -> "unknown"
}
}