Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
parseJsonPreimage :: IsCondition c => (ByteString -> c) -> Object -> Parser c Source #
parseJsonPrefix :: (IsCondition c, FromJSON c) => (ByteString -> Int -> c -> c) -> Object -> Parser c Source #
parseJsonThreshold :: (IsCondition c, FromJSON c) => (Word16 -> [c] -> c) -> Object -> Parser c Source #
parseJsonEd25519 :: IsCondition c => (PublicKey -> Maybe Signature -> c) -> Object -> Parser c Source #
toJsonPreimage :: ByteString -> Value Source #
toJsonPrefix :: (IsCondition c, ToJSON c) => ByteString -> Int -> c -> Value Source #
toJsonThreshold :: (IsCondition c, ToJSON c) => Word16 -> [c] -> Value Source #