Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-30 13:34:09 +04:00
parent 0eae1c84fa
commit 066ab573b3
19 changed files with 784 additions and 113 deletions

View file

@ -0,0 +1,15 @@
package com.tangem.data.common.txhistory
import com.tangem.datasource.api.express.models.response.ExchangeItemResponse
import com.tangem.datasource.api.onramp.models.response.OnrampItemResponse
/**
* Persists express (exchange/onramp) transactions into the local tx-history database and fetches any missing token
* metadata for the referenced assets.
*/
interface ExpressHistoryRepository {
suspend fun storeExchanges(ownerAddress: String, items: List<ExchangeItemResponse>)
suspend fun storeOnramps(ownerAddress: String, items: List<OnrampItemResponse>)
}