Skip to content

Instantly share code, notes, and snippets.

@manjotmona
Created May 9, 2018 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manjotmona/cbded0dd6f6d547a9e11a61fc9239667 to your computer and use it in GitHub Desktop.
Save manjotmona/cbded0dd6f6d547a9e11a61fc9239667 to your computer and use it in GitHub Desktop.
trait Box[P <: Proposition] extends BytesSerializable {
val value: Box.Amount
val proposition: P
val id: ADKey
}
object Box {
type Amount = Long
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment