Credential

scalus.cardano.ledger.Credential
See theCredential companion enum
object Credential

Attributes

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

Members list

Type members

Classlikes

object given_Ordering_Credential extends Ordering[Credential]

Ordering matches the ledger's derived Ord (Credential kr), which is derived on ScriptHashObj | KeyHashObj (libs/cardano-ledger-core/.../Credential.hs:98-101), so script credentials sort before key credentials, then by hash.

Ordering matches the ledger's derived Ord (Credential kr), which is derived on ScriptHashObj | KeyHashObj (libs/cardano-ledger-core/.../Credential.hs:98-101), so script credentials sort before key credentials, then by hash.

This is the order the ledger's Set (Credential ColdCommitteeRole) iterates in, and hence the order a governance action's removed-committee-member list is serialised in.

Attributes

Supertypes
trait Ordering[Credential]
trait PartialOrdering[Credential]
trait Equiv[Credential]
trait Serializable
trait Comparator[Credential]
class Object
trait Matchable
class Any
Show all
Self type

Pretty prints Credential as KeyHash(hash) or ScriptHash(hash)

Pretty prints Credential as KeyHash(hash) or ScriptHash(hash)

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

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

Givens

Givens

given derived$All: All[Credential]

Ordering matches the ledger's derived Ord (Credential kr), which is derived on ScriptHashObj | KeyHashObj (libs/cardano-ledger-core/.../Credential.hs:98-101), so script credentials sort before key credentials, then by hash.

Ordering matches the ledger's derived Ord (Credential kr), which is derived on ScriptHashObj | KeyHashObj (libs/cardano-ledger-core/.../Credential.hs:98-101), so script credentials sort before key credentials, then by hash.

This is the order the ledger's Set (Credential ColdCommitteeRole) iterates in, and hence the order a governance action's removed-committee-member list is serialised in.

Attributes

Pretty prints Credential as KeyHash(hash) or ScriptHash(hash)

Pretty prints Credential as KeyHash(hash) or ScriptHash(hash)

Attributes