shelley-spec-ledger-0.1.0.0
Safe HaskellNone
LanguageHaskell98

Shelley.Spec.Ledger.Address.Bootstrap

Synopsis

Documentation

data BootstrapWitness era where Source #

Bundled Patterns

pattern BootstrapWitnessEra era ⇒ VKey 'Witness (Crypto era) → SignedDSIGN (Crypto era) (Hash (Crypto era) EraIndependentTxBody) → ChainCodeByteStringBootstrapWitness era 

Instances

Instances details
Era era ⇒ Eq (BootstrapWitness era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Methods

(==)BootstrapWitness era → BootstrapWitness era → Bool #

(/=)BootstrapWitness era → BootstrapWitness era → Bool #

Era era ⇒ Ord (BootstrapWitness era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Era era ⇒ Show (BootstrapWitness era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Generic (BootstrapWitness era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Associated Types

type Rep (BootstrapWitness era) ∷ TypeType #

Methods

fromBootstrapWitness era → Rep (BootstrapWitness era) x #

toRep (BootstrapWitness era) x → BootstrapWitness era #

Era era ⇒ ToCBOR (BootstrapWitness era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Methods

toCBORBootstrapWitness era → Encoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (BootstrapWitness era) → Size Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BootstrapWitness era] → Size Source #

Era era ⇒ FromCBOR (Annotator (BootstrapWitness era)) Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Era era ⇒ NoThunks (BootstrapWitness era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Methods

noThunks ∷ Context → BootstrapWitness era → IO (Maybe ThunkInfo)

wNoThunks ∷ Context → BootstrapWitness era → IO (Maybe ThunkInfo)

showTypeOfProxy (BootstrapWitness era) → String

type Rep (BootstrapWitness era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

type Rep (BootstrapWitness era) = D1 ('MetaData "BootstrapWitness" "Shelley.Spec.Ledger.Address.Bootstrap" "shelley-spec-ledger-0.1.0.0-inplace" 'False) (C1 ('MetaCons "BootstrapWitness'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bwKey'") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (VKey 'Witness (Crypto era))) :*: S1 ('MetaSel ('Just "bwSig'") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SignedDSIGN (Crypto era) (Hash (Crypto era) EraIndependentTxBody)))) :*: (S1 ('MetaSel ('Just "bwChainCode'") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ChainCode) :*: (S1 ('MetaSel ('Just "bwAttributes'") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "bwBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))))

newtype ChainCode Source #

Constructors

ChainCode 

Instances

Instances details
Eq ChainCode Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Methods

(==)ChainCodeChainCodeBool #

(/=)ChainCodeChainCodeBool #

Show ChainCode Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Methods

showsPrecIntChainCodeShowS #

showChainCodeString #

showList ∷ [ChainCode] → ShowS #

Generic ChainCode Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Associated Types

type Rep ChainCodeTypeType #

Methods

fromChainCodeRep ChainCode x #

toRep ChainCode x → ChainCode #

ToCBOR ChainCode Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Methods

toCBORChainCodeEncoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ChainCodeSize Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ChainCode] → Size Source #

FromCBOR ChainCode Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

NoThunks ChainCode Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Methods

noThunks ∷ Context → ChainCodeIO (Maybe ThunkInfo)

wNoThunks ∷ Context → ChainCodeIO (Maybe ThunkInfo)

showTypeOfProxy ChainCodeString

type Rep ChainCode Source # 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

type Rep ChainCode = D1 ('MetaData "ChainCode" "Shelley.Spec.Ledger.Address.Bootstrap" "shelley-spec-ledger-0.1.0.0-inplace" 'True) (C1 ('MetaCons "ChainCode" 'PrefixI 'True) (S1 ('MetaSel ('Just "unChainCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))

bootstrapWitKeyHash ∷ ∀ era. Era era ⇒ BootstrapWitness era → KeyHash 'Witness (Crypto era) Source #

Rebuild the addrRoot of the corresponding address.

unpackByronVKey ∷ ∀ crypto. DSIGN crypto ~ Ed25519DSIGNVerificationKey → (VKey 'Witness crypto, ChainCode) Source #