given_Ordering_Credential
scalus.cardano.ledger.Credential.given_Ordering_Credential
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.
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
- Graph
-
- Supertypes
-
trait Ordering[Credential]trait PartialOrdering[Credential]trait Equiv[Credential]trait Serializabletrait Comparator[Credential]class Objecttrait Matchableclass AnyShow all
- Self type
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- Ordering
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Inherited methods
Attributes
- Definition Classes
-
Ordering -> PartialOrdering -> Equiv
- Inherited from:
- Ordering
Attributes
- Definition Classes
-
Ordering -> PartialOrdering
- Inherited from:
- Ordering
Attributes
- Definition Classes
-
Ordering -> PartialOrdering
- Inherited from:
- Ordering
Attributes
- Inherited from:
- Ordering
Attributes
- Definition Classes
-
Ordering -> PartialOrdering
- Inherited from:
- Ordering
Attributes
- Definition Classes
-
Ordering -> PartialOrdering
- Inherited from:
- Ordering
Attributes
- Inherited from:
- Ordering
Attributes
- Inherited from:
- Ordering
Attributes
- Inherited from:
- Ordering
Attributes
- Inherited from:
- Ordering
Attributes
- Inherited from:
- Ordering
Attributes
- Definition Classes
-
Ordering -> PartialOrdering
- Inherited from:
- Ordering
Attributes
- Inherited from:
- Comparator
def thenComparing[U <: Comparable[_ >: U <: <FromJavaObject>]](x$0: Function[_ >: Credential <: <FromJavaObject>, _ <: U]): Comparator[Credential]
Attributes
- Inherited from:
- Comparator
def thenComparing[U <: <FromJavaObject>](x$0: Function[_ >: Credential <: <FromJavaObject>, _ <: U], x$1: Comparator[_ >: U <: <FromJavaObject>]): Comparator[Credential]
Attributes
- Inherited from:
- Comparator
Attributes
- Inherited from:
- Comparator
def thenComparingDouble(x$0: ToDoubleFunction[_ >: Credential <: <FromJavaObject>]): Comparator[Credential]
Attributes
- Inherited from:
- Comparator
def thenComparingInt(x$0: ToIntFunction[_ >: Credential <: <FromJavaObject>]): Comparator[Credential]
Attributes
- Inherited from:
- Comparator
def thenComparingLong(x$0: ToLongFunction[_ >: Credential <: <FromJavaObject>]): Comparator[Credential]
Attributes
- Inherited from:
- Comparator
Attributes
- Inherited from:
- Ordering
Implicits
Inherited implicits
Attributes
- Inherited from:
- Ordering
In this article