cardano-ledger-shelley-ma-0.1.0.0: Shelley ledger with multiasset and time lock support.
Safe Haskell None
Language Haskell2010

Cardano.Ledger.ShelleyMA.TxBody

Synopsis

Documentation

newtype TxBody e Source #

Bundled Patterns

pattern TxBody :: FamsTo era => Set ( TxIn ( Crypto era)) -> StrictSeq ( TxOut era) -> StrictSeq ( DCert ( Crypto era)) -> Wdrl ( Crypto era) -> Coin -> ValidityInterval -> StrictMaybe ( Update era) -> StrictMaybe ( AuxiliaryDataHash ( Crypto era)) -> Value era -> TxBody era
pattern TxBody' :: Set ( TxIn ( Crypto era)) -> StrictSeq ( TxOut era) -> StrictSeq ( DCert ( Crypto era)) -> Wdrl ( Crypto era) -> Coin -> ValidityInterval -> StrictMaybe ( Update era) -> StrictMaybe ( AuxiliaryDataHash ( Crypto era)) -> Value era -> TxBody era

This pattern is for deconstruction only but accompanied with fields and projection functions.

Instances

Instances details
Value era ~ value => HasField "mint" ( TxBody era) value Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

getField :: TxBody era -> value Source #

HasField "txfee" ( TxBody era) Coin Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

HasField "vldt" ( TxBody era) ValidityInterval Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Crypto era ~ crypto => HasField "adHash" ( TxBody era) ( StrictMaybe ( AuxiliaryDataHash crypto)) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Crypto era ~ crypto => HasField "certs" ( TxBody era) ( StrictSeq ( DCert crypto)) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Crypto era ~ crypto => HasField "inputs" ( TxBody era) ( Set ( TxIn crypto)) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

MAClass ma c => HasField "minted" ( TxBody ( ShelleyMAEra ma c)) ( Set ( ScriptHash c)) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA

HasField "outputs" ( TxBody era) ( StrictSeq ( TxOut era)) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

HasField "update" ( TxBody era) ( StrictMaybe ( Update era)) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Crypto era ~ crypto => HasField "wdrls" ( TxBody era) ( Wdrl crypto) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Eq ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

( TransValue Show era, Show ( PParamsDelta era)) => Show ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Generic ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Associated Types

type Rep ( TxBody era) :: Type -> Type Source #

( NFData ( Value era), NFData ( PParamsDelta era), Era era) => NFData ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

rnf :: TxBody era -> () Source #

Typeable era => ToCBOR ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

FamsFrom era => FromCBOR ( Annotator ( TxBody era)) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

SafeToHash ( TxBody e) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

( Typeable era, NoThunks ( Value era), NoThunks ( PParamsDelta era)) => NoThunks ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

(c ~ Crypto era, Era era) => HashAnnotated ( TxBody era) EraIndependentTxBody c Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

type Rep ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

type Rep ( TxBody era) = D1 (' MetaData "TxBody" "Cardano.Ledger.ShelleyMA.TxBody" "cardano-ledger-shelley-ma-0.1.0.0-IyXhkyY7R1xGIgXdNlolP6" ' True ) ( C1 (' MetaCons "TxBodyConstr" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( MemoBytes ( TxBodyRaw era)))))

data TxBodyRaw era Source #

Instances

Instances details
( TransValue Eq era, Eq ( PParamsDelta era)) => Eq ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

( TransValue Show era, Show ( PParamsDelta era)) => Show ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Generic ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Associated Types

type Rep ( TxBodyRaw era) :: Type -> Type Source #

( NFData ( Value era), Era era, NFData ( PParamsDelta era)) => NFData ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

rnf :: TxBodyRaw era -> () Source #

FamsFrom era => FromCBOR ( Annotator ( TxBodyRaw era)) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

FamsFrom era => FromCBOR ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

( NoThunks ( Value era), NoThunks ( PParamsDelta era)) => NoThunks ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

type Rep ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

data StrictMaybe a Source #

Constructors

SNothing
SJust !a

Instances

Instances details
Monad StrictMaybe
Instance details

Defined in Data.Maybe.Strict

Functor StrictMaybe
Instance details

Defined in Data.Maybe.Strict

MonadFail StrictMaybe
Instance details

Defined in Data.Maybe.Strict

Applicative StrictMaybe
Instance details

Defined in Data.Maybe.Strict

Foldable StrictMaybe
Instance details

Defined in Data.Maybe.Strict

Traversable StrictMaybe
Instance details

Defined in Data.Maybe.Strict

HKDFunctor StrictMaybe
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Crypto era ~ crypto => HasField "adHash" ( TxBody era) ( StrictMaybe ( AuxiliaryDataHash crypto))
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto era ~ crypto => HasField "adHash" ( TxBody era) ( StrictMaybe ( AuxiliaryDataHash crypto)) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

aux ~ AuxiliaryData era => HasField "auxiliaryData" ( Tx era) ( StrictMaybe aux)
Instance details

Defined in Cardano.Ledger.Shelley.Tx

HasField "update" ( TxBody era) ( StrictMaybe ( Update era))
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

HasField "update" ( TxBody era) ( StrictMaybe ( Update era)) Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Eq a => Eq ( StrictMaybe a)
Instance details

Defined in Data.Maybe.Strict

Ord a => Ord ( StrictMaybe a)
Instance details

Defined in Data.Maybe.Strict

Show a => Show ( StrictMaybe a)
Instance details

Defined in Data.Maybe.Strict

Generic ( StrictMaybe a)
Instance details

Defined in Data.Maybe.Strict

Associated Types

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

NFData a => NFData ( StrictMaybe a)
Instance details

Defined in Data.Maybe.Strict

ToJSON a => ToJSON ( StrictMaybe a)
Instance details

Defined in Data.Maybe.Strict

FromJSON a => FromJSON ( StrictMaybe a)
Instance details

Defined in Data.Maybe.Strict

ToCBOR a => ToCBOR ( StrictMaybe a)
Instance details

Defined in Data.Maybe.Strict

Era era => ToCBOR ( PParamsUpdate era)
Instance details

Defined in Cardano.Ledger.Shelley.PParams

FromCBOR a => FromCBOR ( StrictMaybe a)
Instance details

Defined in Data.Maybe.Strict

Era era => FromCBOR ( PParamsUpdate era)
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Default ( StrictMaybe t)
Instance details

Defined in Data.Maybe.Strict

NoThunks a => NoThunks ( StrictMaybe a)
Instance details

Defined in Data.Maybe.Strict

NoThunks ( PParamsUpdate era)
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Eq ( PParams' StrictMaybe era)
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Ord ( PParams' StrictMaybe era)
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Show ( PParams' StrictMaybe era)
Instance details

Defined in Cardano.Ledger.Shelley.PParams

NFData ( PParams' StrictMaybe era)
Instance details

Defined in Cardano.Ledger.Shelley.PParams

type Rep ( StrictMaybe a)
Instance details

Defined in Data.Maybe.Strict

type Rep ( StrictMaybe a) = D1 (' MetaData "StrictMaybe" "Data.Maybe.Strict" "strict-containers-0.1.0.0-LCiCzdIbvA0LutM86eIzNe" ' False ) ( C1 (' MetaCons "SNothing" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "SJust" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 a)))

data ValidityInterval Source #

ValidityInterval is a half open interval. Closed on the bottom, Open on the top. A SNothing on the bottom is negative infinity, and a SNothing on the top is positive infinity

Instances

Instances details
Eq ValidityInterval Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Ord ValidityInterval Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Show ValidityInterval Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Generic ValidityInterval Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

NFData ValidityInterval Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

ToCBOR ValidityInterval Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

FromCBOR ValidityInterval Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

NoThunks ValidityInterval Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

HasField "vldt" ( TxBody era) ValidityInterval Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

type Rep ValidityInterval Source #
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

type Rep ValidityInterval = D1 (' MetaData "ValidityInterval" "Cardano.Ledger.ShelleyMA.Timelocks" "cardano-ledger-shelley-ma-0.1.0.0-IyXhkyY7R1xGIgXdNlolP6" ' False ) ( C1 (' MetaCons "ValidityInterval" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "invalidBefore") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( StrictMaybe SlotNo )) :*: S1 (' MetaSel (' Just "invalidHereafter") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( StrictMaybe SlotNo ))))