Updated on 2026-08-14
This commit is contained in:
parent
ef8a13cfaa
commit
2f60ccf3fc
14 changed files with 732 additions and 148 deletions
|
|
@ -7,14 +7,14 @@ import java.math.BigDecimal
|
|||
* A crypto asset leg of an express operation: which asset and how much of it moved.
|
||||
*
|
||||
* @property id The asset identifier (network id + contract address).
|
||||
* @property amount Human-readable amount (already scaled by [decimals]).
|
||||
* @property amount Human-readable amount (already scaled by [decimals]); `null` when the backend provided no amount.
|
||||
* @property decimals The asset's decimals.
|
||||
* @property cryptoCurrency The portfolio [CryptoCurrency] this asset was resolved to (matched by network id +
|
||||
* contract address across all accounts). `null` when no portfolio currency matched and no fallback could be built.
|
||||
*/
|
||||
data class ExpressTransactionAsset(
|
||||
val id: ExpressAsset.ID,
|
||||
val amount: BigDecimal,
|
||||
val amount: BigDecimal?,
|
||||
val decimals: Int,
|
||||
val cryptoCurrency: CryptoCurrency? = null,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue