Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ledger.Value.Orphans
Contents
Orphan instances
Generic AssetId Source # | |
Serialise CurrencySymbol Source # | |
Methods encode :: CurrencySymbol -> Encoding decode :: Decoder s CurrencySymbol encodeList :: [CurrencySymbol] -> Encoding decodeList :: Decoder s [CurrencySymbol] | |
Serialise TokenName Source # | |
Methods encode :: TokenName -> Encoding decode :: Decoder s TokenName encodeList :: [TokenName] -> Encoding decodeList :: Decoder s [TokenName] | |
Serialise Value Source # | |
Methods encode :: Value -> Encoding decode :: Decoder s Value encodeList :: [Value] -> Encoding decodeList :: Decoder s [Value] | |
Serialise AssetClass Source # | |
Methods encode :: AssetClass -> Encoding decode :: Decoder s AssetClass encodeList :: [AssetClass] -> Encoding decodeList :: Decoder s [AssetClass] | |
Serialise AssetId Source # | |
Serialise AssetName Source # | |
Methods encode :: AssetName -> Encoding encodeList :: [AssetName] -> Encoding decodeList :: Decoder s [AssetName] | |
Serialise Lovelace Source # | |
Methods encode :: Lovelace -> Encoding encodeList :: [Lovelace] -> Encoding decodeList :: Decoder s [Lovelace] | |
Serialise PolicyId Source # | |
Methods encode :: PolicyId -> Encoding encodeList :: [PolicyId] -> Encoding decodeList :: Decoder s [PolicyId] | |
Serialise Quantity Source # | |
Methods encode :: Quantity -> Encoding decode :: Decoder s Quantity encodeList :: [Quantity] -> Encoding decodeList :: Decoder s [Quantity] | |
Serialise Value Source # | |
Hashable CurrencySymbol Source # | |
Hashable TokenName Source # | |
Hashable Value Source # | |
Hashable AssetClass Source # | |
FromJSON CurrencySymbol Source # | |
FromJSON TokenName Source # | |
FromJSON Value Source # | |
FromJSON AssetClass Source # | |
FromJSON AssetId Source # | |
ToJSON CurrencySymbol Source # | |
Methods toJSON :: CurrencySymbol -> Value toEncoding :: CurrencySymbol -> Encoding toJSONList :: [CurrencySymbol] -> Value toEncodingList :: [CurrencySymbol] -> Encoding | |
ToJSON TokenName Source # | |
Methods toJSON :: TokenName -> Value toEncoding :: TokenName -> Encoding toJSONList :: [TokenName] -> Value toEncodingList :: [TokenName] -> Encoding | |
ToJSON Value Source # | |
Methods toJSON :: Value -> Value0 toEncoding :: Value -> Encoding toJSONList :: [Value] -> Value0 toEncodingList :: [Value] -> Encoding | |
ToJSON AssetClass Source # | |
Methods toJSON :: AssetClass -> Value toEncoding :: AssetClass -> Encoding toJSONList :: [AssetClass] -> Value toEncodingList :: [AssetClass] -> Encoding | |
ToJSON AssetId Source # | |
Methods toEncoding :: AssetId -> Encoding toJSONList :: [AssetId] -> Value toEncodingList :: [AssetId] -> Encoding | |
Pretty AssetId Source # | |
Pretty Lovelace Source # | |
Pretty Value Source # | |
(Serialise k, Serialise v) => Serialise (Map k v) Source # | |
Methods encode :: Map k v -> Encoding decode :: Decoder s (Map k v) encodeList :: [Map k v] -> Encoding decodeList :: Decoder s [Map k v] | |
(Hashable k, Hashable v) => Hashable (Map k v) Source # | |
(FromJSON v, FromJSON k) => FromJSON (Map k v) Source # | |
(ToJSON v, ToJSON k) => ToJSON (Map k v) Source # | |
Methods toJSON :: Map k v -> Value toEncoding :: Map k v -> Encoding toJSONList :: [Map k v] -> Value toEncodingList :: [Map k v] -> Encoding |