DRep

scalus.cardano.ledger.DRep
enum DRep

Represents a Delegated Representative (DRep) in the Cardano blockchain.

A DRep can be one of several types:

  • KeyHash: A DRep identified by a key hash
  • ScriptHash: A DRep identified by a script hash
  • AlwaysAbstain: A special DRep that always abstains from voting
  • AlwaysNoConfidence: A special DRep that always votes no confidence

Attributes

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

Members list

Type members

Enum entries

case AlwaysAbstain extends DRep

A special DRep that always abstains from voting.

A special DRep that always abstains from voting.

Attributes

case AlwaysNoConfidence extends DRep

A special DRep that always votes no confidence.

A special DRep that always votes no confidence.

Attributes

final case class KeyHash(keyHash: AddrKeyHash)

A DRep identified by a key hash.

A DRep identified by a key hash.

Value parameters

keyHash

The key hash of the DRep

Attributes

final case class ScriptHash(scriptHash: ScriptHash)

A DRep identified by a script hash.

A DRep identified by a script hash.

Value parameters

scriptHash

The script hash of the DRep

Attributes