scalus.cardano.ledger.Coin
See theCoin companion object
Represents an amount of Cardano's native currency (ADA)
On the wire a coin is unsigned (Conway CDDL coin = uint), and the CBOR decoder rejects negative values. The constructor deliberately allows negative amounts: balancing and Value arithmetic produce transient negative differences.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article