| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.Mary
Contents
Synopsis
- data MaryEra
- data ShelleyTx (l ∷ TxLevel) era
- data ShelleyTxOut era
- data MaryValue
- data family TxBody (l ∷ TxLevel) era
- data family Tx (l ∷ TxLevel) era
- data family ApplyTxError era
Documentation
Instances
data ShelleyTx (l ∷ TxLevel) era Source #
Instances
| (Typeable l, EraTxBody era, EraTxWits era, EraTxAuxData era, STxLevel l era ~ STxTopLevel l era) ⇒ DecCBOR (Annotator (ShelleyTx l era)) | |
| (Era era, EncCBOR (TxWits era), EncCBOR (TxBody l era), EncCBOR (TxAuxData era), Typeable l) ⇒ ToCBOR (ShelleyTx l era) | |
| (Era era, EncCBOR (TxWits era), EncCBOR (TxBody l era), EncCBOR (TxAuxData era)) ⇒ EncCBOR (ShelleyTx l era) | |
| (NFData (TxBody l era), NFData (TxWits era), NFData (TxAuxData era)) ⇒ NFData (ShelleyTx l era) | |
Defined in Cardano.Ledger.Shelley.Tx | |
| (Era era, Show (TxBody l era), Show (TxWits era), Show (TxAuxData era)) ⇒ Show (ShelleyTx l era) | |
| (Era era, Eq (TxBody l era), Eq (TxWits era), Eq (TxAuxData era)) ⇒ Eq (ShelleyTx l era) | |
| (Typeable era, Typeable l) ⇒ NoThunks (ShelleyTx l era) | |
data ShelleyTxOut era Source #
Instances
| TranslateEra AllegraEra ShelleyTxOut | |||||
Defined in Cardano.Ledger.Allegra.Translation Associated Types
| |||||
| TranslateEra MaryEra ShelleyTxOut Source # | |||||
Defined in Cardano.Ledger.Mary.Translation Associated Types
| |||||
| (Era era, Val (Value era)) ⇒ ToJSON (ShelleyTxOut era) | |||||
Defined in Cardano.Ledger.Shelley.TxOut Methods toJSON ∷ ShelleyTxOut era → Value Source # toEncoding ∷ ShelleyTxOut era → Encoding Source # toJSONList ∷ [ShelleyTxOut era] → Value Source # toEncodingList ∷ [ShelleyTxOut era] → Encoding Source # omitField ∷ ShelleyTxOut era → Bool Source # | |||||
| (Era era, DecCBOR (CompactForm (Value era))) ⇒ DecCBOR (ShelleyTxOut era) | |||||
Defined in Cardano.Ledger.Shelley.TxOut | |||||
| (Era era, MemPack (CompactForm (Value era)), DecCBOR (CompactForm (Value era))) ⇒ DecShareCBOR (ShelleyTxOut era) | |||||
| (Era era, EncCBOR (CompactForm (Value era))) ⇒ EncCBOR (ShelleyTxOut era) | |||||
Defined in Cardano.Ledger.Shelley.TxOut Methods encCBOR ∷ ShelleyTxOut era → Encoding Source # | |||||
| (Era era, Val (Value era)) ⇒ ToKeyValuePairs (ShelleyTxOut era) | |||||
Defined in Cardano.Ledger.Shelley.TxOut Methods toKeyValuePairs ∷ KeyValue e kv ⇒ ShelleyTxOut era → [kv] Source # | |||||
| NFData (ShelleyTxOut era) | |||||
Defined in Cardano.Ledger.Shelley.TxOut Methods rnf ∷ ShelleyTxOut era → () # | |||||
| Generic (ShelleyTxOut era) | |||||
Defined in Cardano.Ledger.Shelley.TxOut Associated Types
Methods from ∷ ShelleyTxOut era → Rep (ShelleyTxOut era) x # to ∷ Rep (ShelleyTxOut era) x → ShelleyTxOut era # | |||||
| (Era era, Val (Value era)) ⇒ Show (ShelleyTxOut era) | |||||
Defined in Cardano.Ledger.Shelley.TxOut Methods showsPrec ∷ Int → ShelleyTxOut era → ShowS # show ∷ ShelleyTxOut era → String # showList ∷ [ShelleyTxOut era] → ShowS # | |||||
| Eq (CompactForm (Value era)) ⇒ Eq (ShelleyTxOut era) | |||||
Defined in Cardano.Ledger.Shelley.TxOut Methods (==) ∷ ShelleyTxOut era → ShelleyTxOut era → Bool # (/=) ∷ ShelleyTxOut era → ShelleyTxOut era → Bool # | |||||
| Ord (CompactForm (Value era)) ⇒ Ord (ShelleyTxOut era) | |||||
Defined in Cardano.Ledger.Shelley.TxOut Methods compare ∷ ShelleyTxOut era → ShelleyTxOut era → Ordering # (<) ∷ ShelleyTxOut era → ShelleyTxOut era → Bool # (<=) ∷ ShelleyTxOut era → ShelleyTxOut era → Bool # (>) ∷ ShelleyTxOut era → ShelleyTxOut era → Bool # (>=) ∷ ShelleyTxOut era → ShelleyTxOut era → Bool # max ∷ ShelleyTxOut era → ShelleyTxOut era → ShelleyTxOut era # min ∷ ShelleyTxOut era → ShelleyTxOut era → ShelleyTxOut era # | |||||
| (Era era, MemPack (CompactForm (Value era))) ⇒ MemPack (ShelleyTxOut era) | This instance uses a zero Tag for forward compatibility in binary representation with TxOut instances for future eras | ||||
Defined in Cardano.Ledger.Shelley.TxOut Methods packedByteCount ∷ ShelleyTxOut era → Int Source # packM ∷ ShelleyTxOut era → Pack s () Source # | |||||
| NoThunks (ShelleyTxOut era) | |||||
Defined in Cardano.Ledger.Shelley.TxOut | |||||
| type TranslationError AllegraEra ShelleyTxOut | |||||
Defined in Cardano.Ledger.Allegra.Translation | |||||
| type TranslationError MaryEra ShelleyTxOut Source # | |||||
Defined in Cardano.Ledger.Mary.Translation | |||||
| type Share (ShelleyTxOut era) | |||||
| type Rep (ShelleyTxOut era) | |||||
Defined in Cardano.Ledger.Shelley.TxOut type Rep (ShelleyTxOut era) = D1 ('MetaData "ShelleyTxOut" "Cardano.Ledger.Shelley.TxOut" "cardano-ledger-shelley-1.20.0.0-inplace" 'False) (C1 ('MetaCons "TxOutCompact" 'PrefixI 'True) (S1 ('MetaSel ('Just "txOutCompactAddr") 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 CompactAddr) :*: S1 ('MetaSel ('Just "txOutCompactValue") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CompactForm (Value era))))) | |||||
The Value representing MultiAssets
Note that the Ord instance isn't semantically meaningful and is used only
to satisfy constraints on Haskell containers such as Set and Map.
Do not use it for any purpose that would directly affect chain behavior.
Instances
| ToJSON MaryValue Source # | |||||
| DecCBOR MaryValue Source # | |||||
| EncCBOR MaryValue Source # | |||||
| ToKeyValuePairs MaryValue Source # | |||||
Defined in Cardano.Ledger.Mary.Value Methods toKeyValuePairs ∷ KeyValue e kv ⇒ MaryValue → [kv] Source # | |||||
| Compactible MaryValue Source # | |||||
Defined in Cardano.Ledger.Mary.Value Associated Types
| |||||
| Val MaryValue Source # | |||||
Defined in Cardano.Ledger.Mary.Value Methods (<+>) ∷ MaryValue → MaryValue → MaryValue Source # (<×>) ∷ Integral i ⇒ i → MaryValue → MaryValue Source # (<->) ∷ MaryValue → MaryValue → MaryValue Source # isZero ∷ MaryValue → Bool Source # coin ∷ MaryValue → Coin Source # modifyCoin ∷ (Coin → Coin) → MaryValue → MaryValue Source # size ∷ MaryValue → Integer Source # pointwise ∷ (Integer → Integer → Bool) → MaryValue → MaryValue → Bool Source # isAdaOnly ∷ MaryValue → Bool Source # isAdaOnlyCompact ∷ CompactForm MaryValue → Bool Source # coinCompact ∷ CompactForm MaryValue → CompactForm Coin Source # injectCompact ∷ CompactForm Coin → CompactForm MaryValue Source # modifyCompactCoin ∷ (CompactForm Coin → CompactForm Coin) → CompactForm MaryValue → CompactForm MaryValue Source # | |||||
| NFData MaryValue Source # | |||||
Defined in Cardano.Ledger.Mary.Value | |||||
| Monoid MaryValue Source # | |||||
| Semigroup MaryValue Source # | |||||
| Generic MaryValue Source # | |||||
Defined in Cardano.Ledger.Mary.Value Associated Types
| |||||
| Show MaryValue Source # | |||||
| Eq MaryValue Source # | |||||
| Ord MaryValue Source # | |||||
Defined in Cardano.Ledger.Mary.Value | |||||
| Abelian MaryValue Source # | |||||
Defined in Cardano.Ledger.Mary.Value | |||||
| Group MaryValue Source # | |||||
| NoThunks MaryValue Source # | |||||
| Inject Coin MaryValue Source # | |||||
| DecCBOR (CompactForm MaryValue) Source # | |||||
| EncCBOR (CompactForm MaryValue) Source # | |||||
Defined in Cardano.Ledger.Mary.Value | |||||
| NFData (CompactForm MaryValue) Source # | |||||
Defined in Cardano.Ledger.Mary.Value Methods rnf ∷ CompactForm MaryValue → () # | |||||
| Show (CompactForm MaryValue) Source # | |||||
Defined in Cardano.Ledger.Mary.Value | |||||
| Eq (CompactForm MaryValue) Source # | |||||
Defined in Cardano.Ledger.Mary.Value Methods (==) ∷ CompactForm MaryValue → CompactForm MaryValue → Bool # (/=) ∷ CompactForm MaryValue → CompactForm MaryValue → Bool # | |||||
| Ord (CompactForm MaryValue) Source # | |||||
Defined in Cardano.Ledger.Mary.Value Methods compare ∷ CompactForm MaryValue → CompactForm MaryValue → Ordering # (<) ∷ CompactForm MaryValue → CompactForm MaryValue → Bool # (<=) ∷ CompactForm MaryValue → CompactForm MaryValue → Bool # (>) ∷ CompactForm MaryValue → CompactForm MaryValue → Bool # (>=) ∷ CompactForm MaryValue → CompactForm MaryValue → Bool # max ∷ CompactForm MaryValue → CompactForm MaryValue → CompactForm MaryValue # min ∷ CompactForm MaryValue → CompactForm MaryValue → CompactForm MaryValue # | |||||
| MemPack (CompactForm MaryValue) Source # | |||||
Defined in Cardano.Ledger.Mary.Value | |||||
| NoThunks (CompactForm MaryValue) Source # | |||||
| newtype CompactForm MaryValue Source # | |||||
Defined in Cardano.Ledger.Mary.Value | |||||
| type Rep MaryValue Source # | |||||
Defined in Cardano.Ledger.Mary.Value type Rep MaryValue = D1 ('MetaData "MaryValue" "Cardano.Ledger.Mary.Value" "cardano-ledger-mary-1.11.1.0-inplace" 'False) (C1 ('MetaCons "MaryValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Coin) :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MultiAsset))) | |||||
data family TxBody (l ∷ TxLevel) era Source #
The body of a transaction.
Instances
| HasEraTxLevel TxBody AllegraEra | |||||
Defined in Cardano.Ledger.Allegra.TxBody Methods toSTxLevel ∷ ∀ (l ∷ TxLevel). TxBody l AllegraEra → STxLevel l AllegraEra Source # | |||||
| HasEraTxLevel TxBody MaryEra Source # | |||||
Defined in Cardano.Ledger.Mary.TxBody | |||||
| HasEraTxLevel TxBody ShelleyEra | |||||
Defined in Cardano.Ledger.Shelley.TxBody Methods toSTxLevel ∷ ∀ (l ∷ TxLevel). TxBody l ShelleyEra → STxLevel l ShelleyEra Source # | |||||
| EraTxBody era ⇒ HasOKey TxId (TxBody l era) | |||||
| Typeable l ⇒ DecCBOR (Annotator (TxBody l AllegraEra)) | |||||
| Typeable l ⇒ DecCBOR (Annotator (TxBody l MaryEra)) Source # | |||||
| Typeable l ⇒ DecCBOR (Annotator (TxBody l ShelleyEra)) | |||||
| Typeable l ⇒ ToCBOR (TxBody l AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.TxBody | |||||
| Typeable l ⇒ ToCBOR (TxBody l MaryEra) Source # | |||||
| Typeable l ⇒ ToCBOR (TxBody l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.TxBody | |||||
| EncCBOR (TxBody l AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.TxBody | |||||
| EncCBOR (TxBody l MaryEra) Source # | |||||
| EncCBOR (TxBody l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.TxBody | |||||
| SafeToHash (TxBody l AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.TxBody Methods originalBytes ∷ TxBody l AllegraEra → ByteString Source # originalBytesSize ∷ TxBody l AllegraEra → Int Source # makeHashWithExplicitProxys ∷ Proxy i → TxBody l AllegraEra → SafeHash i Source # | |||||
| SafeToHash (TxBody l MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary.TxBody Methods originalBytes ∷ TxBody l MaryEra → ByteString Source # originalBytesSize ∷ TxBody l MaryEra → Int Source # makeHashWithExplicitProxys ∷ Proxy i → TxBody l MaryEra → SafeHash i Source # | |||||
| SafeToHash (TxBody l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.TxBody Methods originalBytes ∷ TxBody l ShelleyEra → ByteString Source # originalBytesSize ∷ TxBody l ShelleyEra → Int Source # makeHashWithExplicitProxys ∷ Proxy i → TxBody l ShelleyEra → SafeHash i Source # | |||||
| EqRaw (TxBody l AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.TxBody Methods eqRaw ∷ TxBody l AllegraEra → TxBody l AllegraEra → Bool Source # | |||||
| EqRaw (TxBody l MaryEra) Source # | |||||
| EqRaw (TxBody l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.TxBody Methods eqRaw ∷ TxBody l ShelleyEra → TxBody l ShelleyEra → Bool Source # | |||||
| Memoized (TxBody l AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.TxBody Associated Types
Methods getMemoBytes ∷ TxBody l AllegraEra → MemoBytes (RawType (TxBody l AllegraEra)) wrapMemoBytes ∷ MemoBytes (RawType (TxBody l AllegraEra)) → TxBody l AllegraEra | |||||
| Memoized (TxBody l MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary.TxBody Associated Types
| |||||
| Memoized (TxBody l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.TxBody Associated Types
Methods getMemoBytes ∷ TxBody l ShelleyEra → MemoBytes (RawType (TxBody l ShelleyEra)) wrapMemoBytes ∷ MemoBytes (RawType (TxBody l ShelleyEra)) → TxBody l ShelleyEra | |||||
| NFData (TxBody l AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.TxBody Methods rnf ∷ TxBody l AllegraEra → () # | |||||
| NFData (TxBody l MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary.TxBody | |||||
| NFData (TxBody l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.TxBody Methods rnf ∷ TxBody l ShelleyEra → () # | |||||
| Generic (TxBody l AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.TxBody Associated Types
Methods from ∷ TxBody l AllegraEra → Rep (TxBody l AllegraEra) x # to ∷ Rep (TxBody l AllegraEra) x → TxBody l AllegraEra # | |||||
| Generic (TxBody l MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary.TxBody Associated Types
| |||||
| Generic (TxBody l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.TxBody Associated Types
Methods from ∷ TxBody l ShelleyEra → Rep (TxBody l ShelleyEra) x # to ∷ Rep (TxBody l ShelleyEra) x → TxBody l ShelleyEra # | |||||
| Show (TxBody l AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.TxBody | |||||
| Show (TxBody l MaryEra) Source # | |||||
| Show (TxBody l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.TxBody | |||||
| Eq (TxBody l AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.TxBody Methods (==) ∷ TxBody l AllegraEra → TxBody l AllegraEra → Bool # (/=) ∷ TxBody l AllegraEra → TxBody l AllegraEra → Bool # | |||||
| Eq (TxBody l MaryEra) Source # | |||||
| Eq (TxBody l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.TxBody Methods (==) ∷ TxBody l ShelleyEra → TxBody l ShelleyEra → Bool # (/=) ∷ TxBody l ShelleyEra → TxBody l ShelleyEra → Bool # | |||||
| Typeable l ⇒ NoThunks (TxBody l AllegraEra) | |||||
| Typeable l ⇒ NoThunks (TxBody l MaryEra) Source # | |||||
| Typeable l ⇒ NoThunks (TxBody l ShelleyEra) | |||||
| HashAnnotated (TxBody l AllegraEra) EraIndependentTxBody | |||||
Defined in Cardano.Ledger.Allegra.TxBody Methods hashAnnotated ∷ TxBody l AllegraEra → SafeHash EraIndependentTxBody Source # | |||||
| HashAnnotated (TxBody l MaryEra) EraIndependentTxBody Source # | |||||
Defined in Cardano.Ledger.Mary.TxBody Methods hashAnnotated ∷ TxBody l MaryEra → SafeHash EraIndependentTxBody Source # | |||||
| HashAnnotated (TxBody l ShelleyEra) EraIndependentTxBody | |||||
Defined in Cardano.Ledger.Shelley.TxBody Methods hashAnnotated ∷ TxBody l ShelleyEra → SafeHash EraIndependentTxBody Source # | |||||
| newtype TxBody l AllegraEra | |||||
Defined in Cardano.Ledger.Allegra.TxBody | |||||
| newtype TxBody l MaryEra Source # | |||||
Defined in Cardano.Ledger.Mary.TxBody | |||||
| newtype TxBody l ShelleyEra | |||||
Defined in Cardano.Ledger.Shelley.TxBody | |||||
| type RawType (TxBody l AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.TxBody | |||||
| type RawType (TxBody l MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary.TxBody | |||||
| type RawType (TxBody l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.TxBody | |||||
| type Rep (TxBody l AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.TxBody type Rep (TxBody l AllegraEra) = D1 ('MetaData "TxBody" "Cardano.Ledger.Allegra.TxBody" "cardano-ledger-allegra-1.10.1.0-inplace" 'True) (C1 ('MetaCons "MkAllegraTxBody" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (MemoBytes (AllegraTxBodyRaw () l AllegraEra))))) | |||||
| type Rep (TxBody l MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary.TxBody type Rep (TxBody l MaryEra) = D1 ('MetaData "TxBody" "Cardano.Ledger.Mary.TxBody" "cardano-ledger-mary-1.11.1.0-inplace" 'True) (C1 ('MetaCons "MkMaryTxBody" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (MemoBytes (MaryTxBodyRaw l))))) | |||||
| type Rep (TxBody l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.TxBody type Rep (TxBody l ShelleyEra) = D1 ('MetaData "TxBody" "Cardano.Ledger.Shelley.TxBody" "cardano-ledger-shelley-1.20.0.0-inplace" 'True) (C1 ('MetaCons "MkShelleyTxBody" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (MemoBytes (ShelleyTxBodyRaw l ShelleyEra))))) | |||||
data family Tx (l ∷ TxLevel) era Source #
Instances
| HasEraTxLevel Tx AllegraEra | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods toSTxLevel ∷ ∀ (l ∷ TxLevel). Tx l AllegraEra → STxLevel l AllegraEra Source # | |||||
| HasEraTxLevel Tx MaryEra Source # | |||||
Defined in Cardano.Ledger.Mary.Tx | |||||
| HasEraTxLevel Tx ShelleyEra | |||||
Defined in Cardano.Ledger.Shelley.Tx Methods toSTxLevel ∷ ∀ (l ∷ TxLevel). Tx l ShelleyEra → STxLevel l ShelleyEra Source # | |||||
| TranslateEra AllegraEra (Tx 'TopTx) | |||||
Defined in Cardano.Ledger.Allegra.Translation Associated Types
Methods translateEra ∷ TranslationContext AllegraEra → Tx 'TopTx (PreviousEra AllegraEra) → Except (TranslationError AllegraEra (Tx 'TopTx)) (Tx 'TopTx AllegraEra) Source # | |||||
| TranslateEra MaryEra (Tx 'TopTx) Source # | |||||
Defined in Cardano.Ledger.Mary.Translation Associated Types
Methods translateEra ∷ TranslationContext MaryEra → Tx 'TopTx (PreviousEra MaryEra) → Except (TranslationError MaryEra (Tx 'TopTx)) (Tx 'TopTx MaryEra) Source # | |||||
| EraTx era ⇒ HasOKey TxId (Tx l era) | |||||
| Typeable l ⇒ DecCBOR (Annotator (Tx l ShelleyEra)) | |||||
| Typeable t ⇒ DecCBOR (Annotator (Tx t AllegraEra)) | |||||
| Typeable t ⇒ DecCBOR (Annotator (Tx t MaryEra)) Source # | |||||
| Typeable l ⇒ ToCBOR (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| Typeable t ⇒ ToCBOR (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| Typeable t ⇒ ToCBOR (Tx t MaryEra) Source # | |||||
| EncCBOR (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| EncCBOR (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| EncCBOR (Tx t MaryEra) Source # | |||||
| EqRaw (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx Methods eqRaw ∷ Tx l ShelleyEra → Tx l ShelleyEra → Bool Source # | |||||
| EqRaw (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods eqRaw ∷ Tx t AllegraEra → Tx t AllegraEra → Bool Source # | |||||
| EqRaw (Tx t MaryEra) Source # | |||||
| NFData (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx Methods rnf ∷ Tx l ShelleyEra → () # | |||||
| NFData (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods rnf ∷ Tx t AllegraEra → () # | |||||
| NFData (Tx t MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary.Tx | |||||
| Generic (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx Associated Types
Methods from ∷ Tx l ShelleyEra → Rep (Tx l ShelleyEra) x # to ∷ Rep (Tx l ShelleyEra) x → Tx l ShelleyEra # | |||||
| Generic (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx Associated Types
Methods from ∷ Tx t AllegraEra → Rep (Tx t AllegraEra) x # to ∷ Rep (Tx t AllegraEra) x → Tx t AllegraEra # | |||||
| Generic (Tx t MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary.Tx Associated Types
| |||||
| Show (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| Show (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| Show (Tx t MaryEra) Source # | |||||
| Eq (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx Methods (==) ∷ Tx l ShelleyEra → Tx l ShelleyEra → Bool # (/=) ∷ Tx l ShelleyEra → Tx l ShelleyEra → Bool # | |||||
| Eq (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods (==) ∷ Tx t AllegraEra → Tx t AllegraEra → Bool # (/=) ∷ Tx t AllegraEra → Tx t AllegraEra → Bool # | |||||
| Eq (Tx t MaryEra) Source # | |||||
| Typeable l ⇒ NoThunks (Tx l ShelleyEra) | |||||
| Typeable t ⇒ NoThunks (Tx t AllegraEra) | |||||
| Typeable t ⇒ NoThunks (Tx t MaryEra) Source # | |||||
| newtype Tx l ShelleyEra | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| newtype Tx t AllegraEra | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| newtype Tx t MaryEra Source # | |||||
| type TranslationError AllegraEra (Tx 'TopTx) | |||||
Defined in Cardano.Ledger.Allegra.Translation | |||||
| type TranslationError MaryEra (Tx 'TopTx) Source # | |||||
Defined in Cardano.Ledger.Mary.Translation | |||||
| type Rep (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx type Rep (Tx l ShelleyEra) = D1 ('MetaData "Tx" "Cardano.Ledger.Shelley.Tx" "cardano-ledger-shelley-1.20.0.0-inplace" 'True) (C1 ('MetaCons "MkShelleyTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "unShelleyTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ShelleyTx l ShelleyEra)))) | |||||
| type Rep (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx type Rep (Tx t AllegraEra) = D1 ('MetaData "Tx" "Cardano.Ledger.Allegra.Tx" "cardano-ledger-allegra-1.10.1.0-inplace" 'True) (C1 ('MetaCons "MkAllegraTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "unAllegraTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ShelleyTx t AllegraEra)))) | |||||
| type Rep (Tx t MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary.Tx | |||||
data family ApplyTxError era Source #
Instances
| DecCBOR (ApplyTxError AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra Methods decCBOR ∷ Decoder s (ApplyTxError AllegraEra) Source # dropCBOR ∷ Proxy (ApplyTxError AllegraEra) → Decoder s () Source # label ∷ Proxy (ApplyTxError AllegraEra) → Text Source # | |||||
| DecCBOR (ApplyTxError MaryEra) Source # | |||||
| DecCBOR (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool Methods decCBOR ∷ Decoder s (ApplyTxError ShelleyEra) Source # dropCBOR ∷ Proxy (ApplyTxError ShelleyEra) → Decoder s () Source # label ∷ Proxy (ApplyTxError ShelleyEra) → Text Source # | |||||
| EncCBOR (ApplyTxError AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra Methods | |||||
| EncCBOR (ApplyTxError MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary | |||||
| EncCBOR (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool Methods | |||||
| Semigroup (ApplyTxError AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra Methods (<>) ∷ ApplyTxError AllegraEra → ApplyTxError AllegraEra → ApplyTxError AllegraEra # sconcat ∷ NonEmpty (ApplyTxError AllegraEra) → ApplyTxError AllegraEra # stimes ∷ Integral b ⇒ b → ApplyTxError AllegraEra → ApplyTxError AllegraEra # | |||||
| Semigroup (ApplyTxError MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary Methods (<>) ∷ ApplyTxError MaryEra → ApplyTxError MaryEra → ApplyTxError MaryEra # sconcat ∷ NonEmpty (ApplyTxError MaryEra) → ApplyTxError MaryEra # stimes ∷ Integral b ⇒ b → ApplyTxError MaryEra → ApplyTxError MaryEra # | |||||
| Semigroup (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool Methods (<>) ∷ ApplyTxError ShelleyEra → ApplyTxError ShelleyEra → ApplyTxError ShelleyEra # sconcat ∷ NonEmpty (ApplyTxError ShelleyEra) → ApplyTxError ShelleyEra # stimes ∷ Integral b ⇒ b → ApplyTxError ShelleyEra → ApplyTxError ShelleyEra # | |||||
| Generic (ApplyTxError AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra Associated Types
Methods from ∷ ApplyTxError AllegraEra → Rep (ApplyTxError AllegraEra) x # to ∷ Rep (ApplyTxError AllegraEra) x → ApplyTxError AllegraEra # | |||||
| Generic (ApplyTxError MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary Associated Types
Methods from ∷ ApplyTxError MaryEra → Rep (ApplyTxError MaryEra) x # to ∷ Rep (ApplyTxError MaryEra) x → ApplyTxError MaryEra # | |||||
| Generic (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool Associated Types
Methods from ∷ ApplyTxError ShelleyEra → Rep (ApplyTxError ShelleyEra) x # to ∷ Rep (ApplyTxError ShelleyEra) x → ApplyTxError ShelleyEra # | |||||
| Show (ApplyTxError AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra Methods showsPrec ∷ Int → ApplyTxError AllegraEra → ShowS # show ∷ ApplyTxError AllegraEra → String # showList ∷ [ApplyTxError AllegraEra] → ShowS # | |||||
| Show (ApplyTxError MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary | |||||
| Show (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool Methods showsPrec ∷ Int → ApplyTxError ShelleyEra → ShowS # show ∷ ApplyTxError ShelleyEra → String # showList ∷ [ApplyTxError ShelleyEra] → ShowS # | |||||
| Eq (ApplyTxError AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra Methods (==) ∷ ApplyTxError AllegraEra → ApplyTxError AllegraEra → Bool # (/=) ∷ ApplyTxError AllegraEra → ApplyTxError AllegraEra → Bool # | |||||
| Eq (ApplyTxError MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary Methods (==) ∷ ApplyTxError MaryEra → ApplyTxError MaryEra → Bool # (/=) ∷ ApplyTxError MaryEra → ApplyTxError MaryEra → Bool # | |||||
| Eq (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool Methods (==) ∷ ApplyTxError ShelleyEra → ApplyTxError ShelleyEra → Bool # (/=) ∷ ApplyTxError ShelleyEra → ApplyTxError ShelleyEra → Bool # | |||||
| newtype ApplyTxError AllegraEra | |||||
Defined in Cardano.Ledger.Allegra | |||||
| newtype ApplyTxError MaryEra Source # | |||||
Defined in Cardano.Ledger.Mary | |||||
| newtype ApplyTxError ShelleyEra | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool | |||||
| type Rep (ApplyTxError AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra | |||||
| type Rep (ApplyTxError MaryEra) Source # | |||||
Defined in Cardano.Ledger.Mary | |||||
| type Rep (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool | |||||
Orphan instances
| ApplyTx MaryEra Source # | |||||
Associated Types
Methods mkStAnnTx ∷ EpochInfo (Either Text) → SystemStart → PParams MaryEra → UTxO MaryEra → StAnnTxCache MaryEra → Tx 'TopTx MaryEra → StAnnTx 'TopTx MaryEra Source # internalApplyTxWithValidation ∷ ValidationPolicy → Globals → MempoolEnv MaryEra → MempoolState MaryEra → Tx 'TopTx MaryEra → Either (ApplyTxError MaryEra) (MempoolState MaryEra, ValidatedTx MaryEra) Source # internalReapplyValidatedTx ∷ Globals → MempoolEnv MaryEra → MempoolState MaryEra → ValidatedTx MaryEra → Either (ApplyTxError MaryEra) (MempoolState MaryEra) Source # applyTxValidation ∷ ValidationPolicy → Globals → MempoolEnv MaryEra → MempoolState MaryEra → StAnnTx 'TopTx MaryEra → Either (ApplyTxError MaryEra) (MempoolState MaryEra, Validated (Tx 'TopTx MaryEra)) Source # | |||||
| ApplyTick MaryEra Source # | |||||
Methods applyTick ∷ ∀ (ep ∷ EventPolicy). SingEP ep → Globals → NewEpochState MaryEra → SlotNo → (NewEpochState MaryEra, [Event (EraRule "TICK" MaryEra)]) Source # | |||||
| EraBlockHeader h MaryEra ⇒ ApplyBlock h MaryEra Source # | |||||
Methods wrapBlockSignal ∷ Block h MaryEra → Signal (EraRule "BBODY" MaryEra) Source # applyBlock ∷ ∀ (ep ∷ EventPolicy). SingEP ep → ValidationPolicy → Globals → NewEpochState MaryEra → Block h MaryEra → (NewEpochState MaryEra, [PredicateFailure (EraRule "BBODY" MaryEra)], [Event (EraRule "BBODY" MaryEra)]) Source # | |||||
| DecCBOR (ApplyTxError MaryEra) Source # | |||||
| EncCBOR (ApplyTxError MaryEra) Source # | |||||
| Semigroup (ApplyTxError MaryEra) Source # | |||||
Methods (<>) ∷ ApplyTxError MaryEra → ApplyTxError MaryEra → ApplyTxError MaryEra # sconcat ∷ NonEmpty (ApplyTxError MaryEra) → ApplyTxError MaryEra # stimes ∷ Integral b ⇒ b → ApplyTxError MaryEra → ApplyTxError MaryEra # | |||||
| Generic (ApplyTxError MaryEra) Source # | |||||
Associated Types
Methods from ∷ ApplyTxError MaryEra → Rep (ApplyTxError MaryEra) x # to ∷ Rep (ApplyTxError MaryEra) x → ApplyTxError MaryEra # | |||||
| Show (ApplyTxError MaryEra) Source # | |||||
| Eq (ApplyTxError MaryEra) Source # | |||||
Methods (==) ∷ ApplyTxError MaryEra → ApplyTxError MaryEra → Bool # (/=) ∷ ApplyTxError MaryEra → ApplyTxError MaryEra → Bool # | |||||