Updated on 2026-08-14
This commit is contained in:
parent
af04a09095
commit
fd70774d75
1 changed files with 9 additions and 3 deletions
|
|
@ -38,9 +38,15 @@ internal object YieldBalanceSupplierModule {
|
|||
fun provideSingleYieldBalanceSupplier(factory: SingleYieldBalanceProducer.Factory): SingleYieldBalanceSupplier {
|
||||
return object : SingleYieldBalanceSupplier(
|
||||
factory = factory,
|
||||
keyCreator = {
|
||||
"single_yield_balance_${it.userWalletId.stringValue}_${it.network.rawId}_" +
|
||||
it.network.derivationPath.value
|
||||
keyCreator = { params ->
|
||||
listOf(
|
||||
"single_yield_balance",
|
||||
params.userWalletId.stringValue,
|
||||
params.currencyId.value,
|
||||
params.network.id.rawId,
|
||||
params.network.id.derivationPath,
|
||||
)
|
||||
.joinToString(separator = "_")
|
||||
},
|
||||
) {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue