Updated on 2026-08-14
This commit is contained in:
parent
4c51193221
commit
c8a181c829
13 changed files with 135 additions and 73 deletions
|
|
@ -50,4 +50,16 @@ data class SavedSwapTransactionModel(
|
|||
val provider: SwapProvider,
|
||||
@Json(name = "status")
|
||||
val status: ExchangeStatusModel? = null,
|
||||
)
|
||||
@Json(name = "swapTxType")
|
||||
val swapTxTypeDTO: SwapTxTypeDTO? = SwapTxTypeDTO.Swap,
|
||||
)
|
||||
|
||||
// TODO refactor to use separate models to store
|
||||
@JsonClass(generateAdapter = false)
|
||||
enum class SwapTxTypeDTO {
|
||||
@Json(name = "Swap")
|
||||
Swap,
|
||||
|
||||
@Json(name = "SendWithSwap")
|
||||
SendWithSwap,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue