cardano-api-1.36.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.EraCast

Documentation

class EraCast (f ∷ TypeType) where Source #

Methods

eraCast ∷ (IsCardanoEra fromEra, IsCardanoEra toEra) ⇒ CardanoEra toEra → f fromEra → Either EraCastError (f toEra) Source #

Instances

Instances details
EraCast ReferenceScript Source # 
Instance details

Defined in Cardano.Api.Script

Methods

eraCast ∷ (IsCardanoEra fromEra, IsCardanoEra toEra) ⇒ CardanoEra toEra → ReferenceScript fromEra → Either EraCastError (ReferenceScript toEra) Source #

EraCast AddressInEra Source # 
Instance details

Defined in Cardano.Api.Address

Methods

eraCast ∷ (IsCardanoEra fromEra, IsCardanoEra toEra) ⇒ CardanoEra toEra → AddressInEra fromEra → Either EraCastError (AddressInEra toEra) Source #

EraCast TxOutValue Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

eraCast ∷ (IsCardanoEra fromEra, IsCardanoEra toEra) ⇒ CardanoEra toEra → TxOutValue fromEra → Either EraCastError (TxOutValue toEra) Source #

EraCast UTxO Source # 
Instance details

Defined in Cardano.Api.Query

Methods

eraCast ∷ (IsCardanoEra fromEra, IsCardanoEra toEra) ⇒ CardanoEra toEra → UTxO fromEra → Either EraCastError (UTxO toEra) Source #

EraCast (AddressTypeInEra addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

eraCast ∷ (IsCardanoEra fromEra, IsCardanoEra toEra) ⇒ CardanoEra toEra → AddressTypeInEra addrtype fromEra → Either EraCastError (AddressTypeInEra addrtype toEra) Source #

EraCast (TxOutDatum ctx) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

eraCast ∷ (IsCardanoEra fromEra, IsCardanoEra toEra) ⇒ CardanoEra toEra → TxOutDatum ctx fromEra → Either EraCastError (TxOutDatum ctx toEra) Source #

EraCast (TxOut ctx) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

eraCast ∷ (IsCardanoEra fromEra, IsCardanoEra toEra) ⇒ CardanoEra toEra → TxOut ctx fromEra → Either EraCastError (TxOut ctx toEra) Source #

data EraCastError Source #

Constructors

∀ fromEra toEra value.(IsCardanoEra fromEra, IsCardanoEra toEra, Show value) ⇒ EraCastError 

Fields