Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ShelleyTxOut era where
- TxOutCompact !CompactAddr !(CompactForm (Value era))
- pattern ShelleyTxOut ∷ (HasCallStack, Era era, Val (Value era)) ⇒ Addr → Value era → ShelleyTxOut era
- addrEitherShelleyTxOutL ∷ Lens' (ShelleyTxOut era) (Either Addr CompactAddr)
- valueEitherShelleyTxOutL ∷ Val (Value era) ⇒ Lens' (ShelleyTxOut era) (Either (Value era) (CompactForm (Value era)))
Documentation
data ShelleyTxOut era Source #
TxOutCompact !CompactAddr !(CompactForm (Value era)) |
pattern ShelleyTxOut ∷ (HasCallStack, Era era, Val (Value era)) ⇒ Addr → Value era → ShelleyTxOut era |
Instances
Helpers
addrEitherShelleyTxOutL ∷ Lens' (ShelleyTxOut era) (Either Addr CompactAddr) Source #
valueEitherShelleyTxOutL ∷ Val (Value era) ⇒ Lens' (ShelleyTxOut era) (Either (Value era) (CompactForm (Value era))) Source #