Value

scalus.cardano.ledger.Value
See theValue companion enum
object Value

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Value.type

Members list

Inherited
  • Not inherited
  • Mirror

Type members

Classlikes

object given_Decoder_Value extends Decoder[Value]

CBOR decoder for Value

CBOR decoder for Value

Attributes

Supertypes
trait Decoder[Value]
class Object
trait Matchable
class Any
Self type
object given_Encoder_Value extends Encoder[Value]

CBOR encoder for Value

CBOR encoder for Value

Attributes

Supertypes
trait Encoder[Value]
class Object
trait Matchable
class Any
Self type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(coin: Coin, multiAsset: MultiAsset[Long]): Value

Create a Value from coin and multi-asset

Create a Value from coin and multi-asset

Attributes

def lovelace(amount: Long): Value

Create a pure ADA value

Create a pure ADA value

Attributes

Concrete fields

val zero: Value

Zero value (0 ADA, no assets)

Zero value (0 ADA, no assets)

Attributes

Givens

Givens

CBOR decoder for Value

CBOR decoder for Value

Attributes

CBOR encoder for Value

CBOR encoder for Value

Attributes