Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RewardAccount.type
Members list
Type members
Classlikes
CBOR decoder for Address
CBOR decoder for Address
Attributes
- Supertypes
- Self type
Attributes
- Supertypes
- Self type
Ordering matches the ledger's derived Ord AccountAddress, which is (Network, AccountId) where AccountId wraps a Credential (libs/cardano-ledger-core/src/Cardano/Ledger/Address.hs:183-190) and Ord (Credential kr) is derived on ScriptHashObj | KeyHashObj (Credential.hs:98-101), so script credentials sort before key credentials.
Ordering matches the ledger's derived Ord AccountAddress, which is (Network, AccountId) where AccountId wraps a Credential (libs/cardano-ledger-core/src/Cardano/Ledger/Address.hs:183-190) and Ord (Credential kr) is derived on ScriptHashObj | KeyHashObj (Credential.hs:98-101), so script credentials sort before key credentials.
This matters beyond serialisation: the ledger resolves a Withdrawing/Rewarding redeemer index with Map.elemAt over Map AccountAddress Coin (Conway/TxBody.hs:672-673), so this ordering decides which withdrawal an index names. The credential kind must be compared between the network and the hash.
Attributes
- Supertypes
-
trait Ordering[RewardAccount]trait PartialOrdering[RewardAccount]trait Equiv[RewardAccount]trait Serializabletrait Comparator[RewardAccount]class Objecttrait Matchableclass AnyShow all
- Self type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Givens
Givens
CBOR decoder for Address
CBOR decoder for Address
Attributes
Ordering matches the ledger's derived Ord AccountAddress, which is (Network, AccountId) where AccountId wraps a Credential (libs/cardano-ledger-core/src/Cardano/Ledger/Address.hs:183-190) and Ord (Credential kr) is derived on ScriptHashObj | KeyHashObj (Credential.hs:98-101), so script credentials sort before key credentials.
Ordering matches the ledger's derived Ord AccountAddress, which is (Network, AccountId) where AccountId wraps a Credential (libs/cardano-ledger-core/src/Cardano/Ledger/Address.hs:183-190) and Ord (Credential kr) is derived on ScriptHashObj | KeyHashObj (Credential.hs:98-101), so script credentials sort before key credentials.
This matters beyond serialisation: the ledger resolves a Withdrawing/Rewarding redeemer index with Map.elemAt over Map AccountAddress Coin (Conway/TxBody.hs:672-673), so this ordering decides which withdrawal an index names. The credential kind must be compared between the network and the hash.