Timelock

scalus.cardano.ledger.Timelock
See theTimelock companion enum
object Timelock

Attributes

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

Members list

Type members

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 fromCbor(cbor: Array[Byte]): Timelock

Reads a Timelock script from a CBOR encoded byte array

Reads a Timelock script from a CBOR encoded byte array

Value parameters

cbor

The CBOR encoded byte array

Attributes

Returns

The Timelock script

def inInterval(slot: SlotNo, interval: ValidityInterval): Boolean
def lteNegInfty(i: SlotNo, j: Option[SlotNo]): Boolean

Checks if less-than-equal comparison holds where Nothing is negative infinity

Checks if less-than-equal comparison holds where Nothing is negative infinity

Attributes

Returns

true if i <= j, false if i > j or j is SNothing

def ltePosInfty(i: Option[SlotNo], j: SlotNo): Boolean

Checks if less-than-equal comparison holds where Nothing is positive infinity

Checks if less-than-equal comparison holds where Nothing is positive infinity

Attributes

Returns

true if i <= j, false if i > j or i is SNothing

Givens

Givens