Updated on 2026-08-14

This commit is contained in:
Tangem 2025-09-23 19:27:33 +05:00
commit cab885e39f
16 changed files with 469 additions and 12 deletions

View file

@ -4,6 +4,7 @@ import com.tangem.domain.transaction.FeeRepository
import com.tangem.domain.transaction.error.FeeErrorResolver
import com.tangem.domain.yield.supply.YieldSupplyTransactionRepository
import com.tangem.domain.yield.supply.usecase.YieldSupplyEstimateEnterFeeUseCase
import com.tangem.domain.yield.supply.usecase.YieldSupplyGetContractAddressUseCase
import com.tangem.domain.yield.supply.usecase.YieldSupplyStartEarningUseCase
import com.tangem.domain.yield.supply.usecase.YieldSupplyStopEarningUseCase
import dagger.Module
@ -47,4 +48,15 @@ internal object YieldSupplyDomainModule {
feeErrorResolver = feeErrorResolver,
)
}
@Provides
@Singleton
fun provideYieldSupplyGetContractAddressUseCase(
yieldSupplyTransactionRepository: YieldSupplyTransactionRepository,
): YieldSupplyGetContractAddressUseCase {
return YieldSupplyGetContractAddressUseCase(
yieldSupplyTransactionRepository = yieldSupplyTransactionRepository,
)
}
}