Value

scalus.ledger.api.v1.Value
object Value

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Value.type

Members list

Value members

Concrete methods

def apply(cs: CurrencySymbol, tn: TokenName, v: BigInt): Value
def checkBinRel(op: (BigInt, BigInt) => Boolean)(a: Value, b: Value): Boolean
def checkBinRelTokens(op: (BigInt, BigInt) => Boolean)(a: AssocMap[TokenName, BigInt], b: AssocMap[TokenName, BigInt]): Boolean
def checkPred(l: Value, r: Value)(f: (These[BigInt, BigInt]) => Boolean): Boolean
def debugToString(v: Value): String
def eq(a: Value, b: Value): Boolean
def equalsAssets(a: AssocMap[TokenName, BigInt], b: AssocMap[TokenName, BigInt]): Boolean
def gt(a: Value, b: Value): Boolean
def gte(a: Value, b: Value): Boolean
def lovelace(v: BigInt): Value
def lt(a: Value, b: Value): Boolean
def lte(a: Value, b: Value): Boolean
def unionVal(l: Value, r: Value): AssocMap[CurrencySymbol, AssocMap[TokenName, These[BigInt, BigInt]]]
def unionWith(op: (BigInt, BigInt) => BigInt)(a: Value, b: Value): Value

Concrete fields

val divide: (a: Value, b: Value) => Value
val minus: (a: Value, b: Value) => Value
val multiply: (a: Value, b: Value) => Value
val plus: (a: Value, b: Value) => Value
val zero: Value

Givens

Givens

given given_Eq_Value: () => Value

Extensions

Extensions

extension (v: Value)
inline def *(other: Value): Value
inline def +(other: Value): Value
inline def -(other: Value): Value
inline def /(other: Value): Value
inline def <(other: Value): Boolean
inline def <=(other: Value): Boolean
inline def >(other: Value): Boolean
inline def >=(other: Value): Boolean
inline def showDebug: String