Plutarch.Orphans
Contents
Description
Methods
parseJSON :: Value -> Parser Script Source #
parseJSONList :: Value -> Parser [Script] Source #
parseJSON :: Value -> Parser Credential Source #
parseJSONList :: Value -> Parser [Credential] Source #
parseJSON :: Value -> Parser StakingCredential Source #
parseJSONList :: Value -> Parser [StakingCredential] Source #
parseJSON :: Value -> Parser PubKeyHash Source #
parseJSONList :: Value -> Parser [PubKeyHash] Source #
parseJSON :: Value -> Parser Datum Source #
parseJSONList :: Value -> Parser [Datum] Source #
parseJSON :: Value -> Parser ScriptHash Source #
parseJSONList :: Value -> Parser [ScriptHash] Source #
parseJSON :: Value -> Parser POSIXTime Source #
parseJSONList :: Value -> Parser [POSIXTime] Source #
parseJSON :: Value -> Parser TxId Source #
parseJSONList :: Value -> Parser [TxId] Source #
parseJSON :: Value -> Parser TxOutRef Source #
parseJSONList :: Value -> Parser [TxOutRef] Source #
parseJSON :: Value -> Parser CurrencySymbol Source #
parseJSONList :: Value -> Parser [CurrencySymbol] Source #
parseJSON :: Value -> Parser TokenName Source #
parseJSONList :: Value -> Parser [TokenName] Source #
parseJSON :: Value -> Parser BuiltinByteString Source #
parseJSONList :: Value -> Parser [BuiltinByteString] Source #
toJSON :: Script -> Value Source #
toEncoding :: Script -> Encoding Source #
toJSONList :: [Script] -> Value Source #
toEncodingList :: [Script] -> Encoding Source #
toJSON :: Credential -> Value Source #
toEncoding :: Credential -> Encoding Source #
toJSONList :: [Credential] -> Value Source #
toEncodingList :: [Credential] -> Encoding Source #
toJSON :: StakingCredential -> Value Source #
toEncoding :: StakingCredential -> Encoding Source #
toJSONList :: [StakingCredential] -> Value Source #
toEncodingList :: [StakingCredential] -> Encoding Source #
toJSON :: PubKeyHash -> Value Source #
toEncoding :: PubKeyHash -> Encoding Source #
toJSONList :: [PubKeyHash] -> Value Source #
toEncodingList :: [PubKeyHash] -> Encoding Source #
toJSON :: Datum -> Value Source #
toEncoding :: Datum -> Encoding Source #
toJSONList :: [Datum] -> Value Source #
toEncodingList :: [Datum] -> Encoding Source #
toJSON :: ScriptHash -> Value Source #
toEncoding :: ScriptHash -> Encoding Source #
toJSONList :: [ScriptHash] -> Value Source #
toEncodingList :: [ScriptHash] -> Encoding Source #
toJSON :: POSIXTime -> Value Source #
toEncoding :: POSIXTime -> Encoding Source #
toJSONList :: [POSIXTime] -> Value Source #
toEncodingList :: [POSIXTime] -> Encoding Source #
toJSON :: TxId -> Value Source #
toEncoding :: TxId -> Encoding Source #
toJSONList :: [TxId] -> Value Source #
toEncodingList :: [TxId] -> Encoding Source #
toJSON :: TxOutRef -> Value Source #
toEncoding :: TxOutRef -> Encoding Source #
toJSONList :: [TxOutRef] -> Value Source #
toEncodingList :: [TxOutRef] -> Encoding Source #
toJSON :: CurrencySymbol -> Value Source #
toEncoding :: CurrencySymbol -> Encoding Source #
toJSONList :: [CurrencySymbol] -> Value Source #
toEncodingList :: [CurrencySymbol] -> Encoding Source #
toJSON :: TokenName -> Value Source #
toEncoding :: TokenName -> Encoding Source #
toJSONList :: [TokenName] -> Value Source #
toEncodingList :: [TokenName] -> Encoding Source #
toJSON :: BuiltinByteString -> Value Source #
toEncoding :: BuiltinByteString -> Encoding Source #
toJSONList :: [BuiltinByteString] -> Value Source #
toEncodingList :: [BuiltinByteString] -> Encoding Source #
Since: 3.0.3
Associated Types
type PTryFromExcess PData (PAsData PDatumHash) :: PType Source #
ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData PDatumHash), Reduce (PTryFromExcess PData (PAsData PDatumHash) s)) -> Term s r) -> Term s r Source #
type PTryFromExcess PData (PAsData PUnit) :: PType Source #
ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData PUnit), Reduce (PTryFromExcess PData (PAsData PUnit) s)) -> Term s r) -> Term s r Source #
pfromDataImpl :: forall (s :: S). Term s (PAsData (PAsData a)) -> Term s (PAsData a) Source #
pdataImpl :: forall (s :: S). Term s (PAsData a) -> Term s PData Source #
fromBuiltinData :: BuiltinData -> Maybe (Ratio Integer) Source #
toBuiltinData :: Ratio Integer -> BuiltinData Source #