
com.wavesenterprise.transaction.docker.ExecutableTransaction.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of we-models Show documentation
Show all versions of we-models Show documentation
Library for Waves Enterprise blockchain platform
package com.wavesenterprise.transaction.docker
import com.wavesenterprise.state.{ByteStr, DataEntry}
import com.wavesenterprise.transaction.docker.assets.ContractTransferInV1
import com.wavesenterprise.transaction.{FastHashId, VersionedTransaction}
import play.api.libs.json.Writes
trait ExecutableTransaction extends FastHashId with VersionedTransaction {
def contractId: ByteStr
def txType: Long
def params: List[DataEntry[_]] = List.empty
def fee: Long
def payments: List[ContractTransferInV1] = List.empty
}
object ExecutableTransaction {
val MaxBytes: Int = 125 * 1024 // 125KB
implicit val writes: Writes[ExecutableTransaction] = tx => tx.json()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy