Updated on 2026-08-14
This commit is contained in:
parent
51e650c360
commit
391e0562cc
13 changed files with 519 additions and 115 deletions
|
|
@ -74,6 +74,13 @@ inline val TxHistoryInfo.explorerHash: String?
|
|||
is ExpressTx -> matchHash
|
||||
}
|
||||
|
||||
/** Human-meaningful transaction id to copy/display: the on-chain hash for an [OnChainTx], the express deal id otherwise. */
|
||||
inline val TxHistoryInfo.idToCopy: String
|
||||
get() = when (this) {
|
||||
is OnChainTx.BSDK -> txInfo.txHash
|
||||
is ExpressTx -> txId
|
||||
}
|
||||
|
||||
/**
|
||||
* A history row backed by an express operation. It is a thin wrapper over the standalone express
|
||||
* model ([ExchangeTransaction] / [OnrampTransaction]), adding only the history-view concerns:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue