Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-03 19:57:47 +04:00
parent 3cc0a643e9
commit 642190f7c6
98 changed files with 317 additions and 202 deletions

View file

@ -108,14 +108,18 @@ class MockCryptoCurrencyFactory(private val userWallet: UserWallet.Cold = defaul
)
}
fun createToken(blockchain: Blockchain): CryptoCurrency.Token {
fun createToken(
blockchain: Blockchain,
id: String = "NEVER-MIND",
contractAddress: String = "NEVER-MIND",
): CryptoCurrency.Token {
return factory.createToken(
sdkToken = Token(
name = "NEVER-MIND",
symbol = "NEVER-MIND",
contractAddress = "NEVER-MIND",
contractAddress = contractAddress,
decimals = 8,
id = "NEVER-MIND",
id = id,
),
blockchain = blockchain,
extraDerivationPath = null,