cardano-ledger-byron-0.1.0.0: The blockchain layer of Cardano during the Byron era
Safe Haskell None
Language Haskell2010

Cardano.Chain.Delegation

Synopsis

Documentation

data APayload a Source #

The delegation Payload contains a list of delegation Certificate s

Instances

Instances details
Functor APayload Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

ToCBOR Payload Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

FromCBOR Payload Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

Eq a => Eq ( APayload a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

Show a => Show ( APayload a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

Generic ( APayload a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

Associated Types

type Rep ( APayload a) :: Type -> Type Source #

NFData a => NFData ( APayload a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

ToJSON a => ToJSON ( APayload a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

Decoded ( APayload ByteString ) Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

FromCBOR ( APayload ByteSpan ) Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

Buildable ( APayload a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

type Rep ( APayload a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

type Rep ( APayload a) = D1 (' MetaData "APayload" "Cardano.Chain.Delegation.Payload" "cardano-ledger-byron-0.1.0.0-1U5kXR8zMRrE7QjCz70XVD" ' False ) ( C1 (' MetaCons "UnsafeAPayload" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getPayload") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 [ ACertificate a]) :*: S1 (' MetaSel (' Just "getAnnotation") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 a)))
type BaseType ( APayload ByteString ) Source #
Instance details

Defined in Cardano.Chain.Delegation.Payload

newtype Map Source #

Instances

Instances details
Eq Map Source #
Instance details

Defined in Cardano.Chain.Delegation.Map

Show Map Source #
Instance details

Defined in Cardano.Chain.Delegation.Map

Generic Map Source #
Instance details

Defined in Cardano.Chain.Delegation.Map

Associated Types

type Rep Map :: Type -> Type Source #

NFData Map Source #
Instance details

Defined in Cardano.Chain.Delegation.Map

Methods

rnf :: Map -> () Source #

ToCBOR Map Source #
Instance details

Defined in Cardano.Chain.Delegation.Map

FromCBOR Map Source #
Instance details

Defined in Cardano.Chain.Delegation.Map

NoThunks Map Source #

A Bimap contains two regular Map s, which are spine strict; we therefore have to worry about the elements only

Instance details

Defined in Cardano.Chain.Delegation.Map

type Rep Map Source #
Instance details

Defined in Cardano.Chain.Delegation.Map

type Rep Map = D1 (' MetaData "Map" "Cardano.Chain.Delegation.Map" "cardano-ledger-byron-0.1.0.0-1U5kXR8zMRrE7QjCz70XVD" ' True ) ( C1 (' MetaCons "Map" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "unMap") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Bimap KeyHash KeyHash ))))

Query

Update

Conversion/traversal

Certificate

data ACertificate a Source #

Delegation certificate allowing the delegateVK to sign blocks on behalf of issuerVK

Each delegator can publish at most one Certificate per EpochNumber , and that EpochNumber must correspond to the current or next EpochNumber at the time of publishing

Constructors

UnsafeACertificate

Fields

Instances

Instances details
Functor ACertificate Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

ToCBOR Certificate Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

FromCBOR Certificate Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Monad m => ToJSON m Certificate Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

MonadError SchemaError m => FromJSON m Certificate Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Eq a => Eq ( ACertificate a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Ord a => Ord ( ACertificate a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Show a => Show ( ACertificate a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Generic ( ACertificate a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Associated Types

type Rep ( ACertificate a) :: Type -> Type Source #

NFData a => NFData ( ACertificate a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

ToJSON a => ToJSON ( ACertificate a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Decoded ( ACertificate ByteString ) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

FromCBOR ( ACertificate ByteSpan ) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Buildable ( ACertificate a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

NoThunks a => NoThunks ( ACertificate a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

type Rep ( ACertificate a) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

type BaseType ( ACertificate ByteString ) Source #
Instance details

Defined in Cardano.Chain.Delegation.Certificate

type CertificateId = Hash Certificate Source #

A delegation certificate identifier (the Hash of a Certificate ).

Certificate Constructors

unsafeCertificate Source #

Arguments

:: EpochNumber
-> VerificationKey

The issuer of the certificate. See UnsafeACertificate .

-> VerificationKey

The delegate of the certificate. See UnsafeACertificate .

-> Signature EpochNumber
-> Certificate

Create a certificate using the provided signature.

Certificate Accessor

Certificate Predicate