TimelockGen

scalus.cardano.ledger.ArbitraryInstances.TimelockGen
object TimelockGen

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

KeyHash generator - simplified implementation assuming KeyHash is a value class wrapping a byte array of fixed length (28 bytes as per Cardano specs)

KeyHash generator - simplified implementation assuming KeyHash is a value class wrapping a byte array of fixed length (28 bytes as per Cardano specs)

Attributes

val genSlotNo: Gen[SlotNo]

SlotNo generator - simplified implementation assuming SlotNo is a value class wrapping a Long

SlotNo generator - simplified implementation assuming SlotNo is a value class wrapping a Long

Attributes

val genTimelock: Gen[Timelock]

Main Timelock generator with controlled recursion depth Uses Gen.sized to ensure termination and reasonable test data

Main Timelock generator with controlled recursion depth Uses Gen.sized to ensure termination and reasonable test data

Attributes