MultiAsset

scalus.cardano.ledger.MultiAsset
See theMultiAsset companion object
case class MultiAsset

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

infix def +(other: MultiAsset): MultiAsset
infix def -(other: MultiAsset): MultiAsset
def isEmpty: Boolean
def isNegative: Boolean
def isPositive: Boolean

Returns a MultiAsset containing only assets with negative quantities. Policies with no negative tokens are dropped.

Returns a MultiAsset containing only assets with negative quantities. Policies with no negative tokens are dropped.

Attributes

def nonEmpty: Boolean

Returns a MultiAsset containing only assets with positive quantities. Policies with no positive tokens are dropped.

Returns a MultiAsset containing only assets with positive quantities. Policies with no positive tokens are dropped.

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product