Native

scalus.cardano.ledger.Script.Native
See theNative companion class
object Native

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Native.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 apply(script: Timelock): Native

A native script encoded canonically.

A native script encoded canonically.

Attributes

def fromCbor(cbor: Array[Byte]): Native

A native script decoded from cbor that keeps these bytes, a non-minimal encoding included.

A native script decoded from cbor that keeps these bytes, a non-minimal encoding included.

Attributes

def unapply(native: Native): Some[Timelock]

Binds the timelock.

Binds the timelock.

Attributes

Givens

Givens

given decoder(using OriginalCborByteArray): Decoder[Native]

Keeps the bytes the timelock is decoded from.

Keeps the bytes the timelock is decoded from.

Attributes

given given_Encoder_Native: Encoder[Native]

Writes the original bytes. Canonical bytes go through the timelock encoder, so borer's validating writer still accepts them; other bytes need scalus.serialization.cbor.Cbor.

Writes the original bytes. Canonical bytes go through the timelock encoder, so borer's validating writer still accepts them; other bytes need scalus.serialization.cbor.Cbor.

Attributes