plutus-ledger-1.2.0.0: Wallet API
Safe HaskellNone
LanguageHaskell2010

Ledger.Crypto.Orphans

Orphan instances

Serialise PubKeyHash Source # 
Instance details

Methods

encode :: PubKeyHash -> Encoding

decode :: Decoder s PubKeyHash

encodeList :: [PubKeyHash] -> Encoding

decodeList :: Decoder s [PubKeyHash]

Hashable PubKeyHash Source # 
Instance details

FromJSON PubKeyHash Source # 
Instance details

Methods

parseJSON :: Value -> Parser PubKeyHash

parseJSONList :: Value -> Parser [PubKeyHash]

FromJSONKey PubKeyHash Source # 
Instance details

Methods

fromJSONKey :: FromJSONKeyFunction PubKeyHash

fromJSONKeyList :: FromJSONKeyFunction [PubKeyHash]

ToJSON PubKeyHash Source # 
Instance details

Methods

toJSON :: PubKeyHash -> Value

toEncoding :: PubKeyHash -> Encoding

toJSONList :: [PubKeyHash] -> Value

toEncodingList :: [PubKeyHash] -> Encoding

ToJSONKey PubKeyHash Source # 
Instance details

Methods

toJSONKey :: ToJSONKeyFunction PubKeyHash

toJSONKeyList :: ToJSONKeyFunction [PubKeyHash]

Newtype PubKeyHash Source # 
Instance details

Associated Types

type O PubKeyHash