Coin

scalus.cardano.ledger.Coin
See theCoin companion class
object Coin

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Coin.type

Members list

Type members

Classlikes

object given_CommutativeGroup_Coin extends CommutativeGroup[Coin]

Attributes

Supertypes
trait CommutativeGroup[Coin]
trait CommutativeMonoid[Coin]
trait CommutativeSemigroup[Coin]
trait Group[Coin]
trait Monoid[Coin]
trait Semigroup[Coin]
trait Serializable
class Object
trait Matchable
class Any
Show all
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 ada(amount: Long): Coin

Create lovelace amount from ADA amount, e.g. ada(2) = 2_000_000 lovelace

Create lovelace amount from ADA amount, e.g. ada(2) = 2_000_000 lovelace

Attributes

Concrete fields

val zero: Coin

Zero coin value

Zero coin value

Attributes