You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
516 B
25 lines
516 B
7 years ago
|
package com.xsn.explorer.models
|
||
|
|
||
|
case class Transaction(
|
||
|
id: TransactionId,
|
||
|
blockhash: Blockhash,
|
||
|
time: Long,
|
||
|
size: Size,
|
||
|
inputs: List[Transaction.Input],
|
||
|
outputs: List[Transaction.Output])
|
||
|
|
||
|
object Transaction {
|
||
|
|
||
|
case class Input(
|
||
|
index: Int,
|
||
|
value: Option[BigDecimal],
|
||
|
address: Option[Address])
|
||
|
|
||
|
case class Output(
|
||
|
index: Int,
|
||
|
value: BigDecimal,
|
||
|
address: Address,
|
||
|
tposOwnerAddress: Option[Address],
|
||
|
tposMerchantAddress: Option[Address])
|
||
|
}
|