cardano-cli-1.30.0
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.Shelley.Orphans

Orphan instances

ToJSONKey Ptr Source # 
Instance details

Methods

toJSONKey ∷ ToJSONKeyFunction Ptr

toJSONKeyList ∷ ToJSONKeyFunction [Ptr]

ToJSON BlockNo Source # 
Instance details

Methods

toJSONBlockNo → Value #

toEncodingBlockNo → Encoding #

toJSONList ∷ [BlockNo] → Value #

toEncodingList ∷ [BlockNo] → Encoding #

ToJSON ByronHash Source # 
Instance details

Methods

toJSON ∷ ByronHash → Value #

toEncoding ∷ ByronHash → Encoding #

toJSONList ∷ [ByronHash] → Value #

toEncodingList ∷ [ByronHash] → Encoding #

ToJSON TicknState Source # 
Instance details

Methods

toJSON ∷ TicknState → Value #

toEncoding ∷ TicknState → Encoding #

toJSONList ∷ [TicknState] → Value #

toEncodingList ∷ [TicknState] → Encoding #

ToJSON LogWeight Source # 
Instance details

Methods

toJSON ∷ LogWeight → Value #

toEncoding ∷ LogWeight → Encoding #

toJSONList ∷ [LogWeight] → Value #

toEncodingList ∷ [LogWeight] → Encoding #

ToJSON (PolicyID StandardCrypto) Source # 
Instance details

Methods

toJSON ∷ PolicyID StandardCrypto → Value #

toEncoding ∷ PolicyID StandardCrypto → Encoding #

toJSONList ∷ [PolicyID StandardCrypto] → Value #

toEncodingList ∷ [PolicyID StandardCrypto] → Encoding #

ToJSON (PoolDistr StandardCrypto) Source # 
Instance details

Methods

toJSON ∷ PoolDistr StandardCrypto → Value #

toEncoding ∷ PoolDistr StandardCrypto → Encoding #

toJSONList ∷ [PoolDistr StandardCrypto] → Value #

toEncodingList ∷ [PoolDistr StandardCrypto] → Encoding #

ToJSON (Stake StandardCrypto) Source # 
Instance details

Methods

toJSON ∷ Stake StandardCrypto → Value #

toEncoding ∷ Stake StandardCrypto → Encoding #

toJSONList ∷ [Stake StandardCrypto] → Value #

toEncodingList ∷ [Stake StandardCrypto] → Encoding #

ToJSON (AuxiliaryDataHash StandardCrypto) Source # 
Instance details

Methods

toJSON ∷ AuxiliaryDataHash StandardCrypto → Value #

toEncoding ∷ AuxiliaryDataHash StandardCrypto → Encoding #

toJSONList ∷ [AuxiliaryDataHash StandardCrypto] → Value #

toEncodingList ∷ [AuxiliaryDataHash StandardCrypto] → Encoding #

Crypto crypto ⇒ ToJSON (ShelleyHash crypto) Source # 
Instance details

Methods

toJSON ∷ ShelleyHash crypto → Value #

toEncoding ∷ ShelleyHash crypto → Encoding #

toJSONList ∷ [ShelleyHash crypto] → Value #

toEncodingList ∷ [ShelleyHash crypto] → Encoding #

Crypto crypto ⇒ ToJSON (HashHeader crypto) Source # 
Instance details

Methods

toJSON ∷ HashHeader crypto → Value #

toEncoding ∷ HashHeader crypto → Encoding #

toJSONList ∷ [HashHeader crypto] → Value #

toEncodingList ∷ [HashHeader crypto] → Encoding #

ToJSON (HeaderHash blk) ⇒ ToJSON (Tip blk) Source # 
Instance details

Methods

toJSON ∷ Tip blk → Value #

toEncoding ∷ Tip blk → Encoding #

toJSONList ∷ [Tip blk] → Value #

toEncodingList ∷ [Tip blk] → Encoding #

ToJSON (StakeReference StandardCrypto) Source # 
Instance details

Methods

toJSON ∷ StakeReference StandardCrypto → Value #

toEncoding ∷ StakeReference StandardCrypto → Encoding #

toJSONList ∷ [StakeReference StandardCrypto] → Value #

toEncodingList ∷ [StakeReference StandardCrypto] → Encoding #

ToJSON (ChainDepState StandardCrypto) Source # 
Instance details

Methods

toJSON ∷ ChainDepState StandardCrypto → Value #

toEncoding ∷ ChainDepState StandardCrypto → Encoding #

toJSONList ∷ [ChainDepState StandardCrypto] → Value #

toEncodingList ∷ [ChainDepState StandardCrypto] → Encoding #

ToJSON (PrtclState StandardCrypto) Source # 
Instance details

Methods

toJSON ∷ PrtclState StandardCrypto → Value #

toEncoding ∷ PrtclState StandardCrypto → Encoding #

toJSONList ∷ [PrtclState StandardCrypto] → Value #

toEncodingList ∷ [PrtclState StandardCrypto] → Encoding #

Crypto crypto ⇒ ToJSON (TxId crypto) Source # 
Instance details

Methods

toJSON ∷ TxId crypto → Value #

toEncoding ∷ TxId crypto → Encoding #

toJSONList ∷ [TxId crypto] → Value #

toEncodingList ∷ [TxId crypto] → Encoding #

ToJSON (OneEraHash xs) Source # 
Instance details

Methods

toJSON ∷ OneEraHash xs → Value #

toEncoding ∷ OneEraHash xs → Encoding #

toJSONList ∷ [OneEraHash xs] → Value #

toEncodingList ∷ [OneEraHash xs] → Encoding #

(ToJSONKey k, ToJSON v) ⇒ ToJSON (BiMap v k v) Source # 
Instance details

Methods

toJSON ∷ BiMap v k v → Value #

toEncoding ∷ BiMap v k v → Encoding #

toJSONList ∷ [BiMap v k v] → Value #

toEncodingList ∷ [BiMap v k v] → Encoding #