cryptoconditions-0.1.0.0: Interledger Crypto-Conditions
Network.CryptoConditions
data Condition Source #
Constructors
Instances
Methods
(==) :: Condition -> Condition -> Bool #
(/=) :: Condition -> Condition -> Bool #
showsPrec :: Int -> Condition -> ShowS #
show :: Condition -> String #
showList :: [Condition] -> ShowS #
getCost :: Condition -> Int Source #
getType :: Condition -> ConditionType Source #
getFingerprint :: Condition -> ByteString Source #
getFulfillment :: Condition -> Maybe ByteString Source #
getSubtypes :: Condition -> Set ConditionType Source #
parseFulfillment :: Int -> ParseASN1 Condition Source #
verifyMessage :: Condition -> Message -> Bool Source #
anon :: Int -> ByteString -> Int -> Set Int -> Condition Source #
ed25519Condition :: PublicKey -> Condition Source #
preimageCondition :: ByteString -> Condition Source #
fulfillEd25519 :: PublicKey -> Signature -> Condition -> Condition Source #
readStandardFulfillment :: Fulfillment -> Either String Condition Source #