plutus-ledger-1.2.0.0: Wallet API
Safe HaskellNone
LanguageHaskell2010

Ledger.Scripts.Orphans

Orphan instances

Serialise DatumHash Source # 
Instance details

Methods

encode :: DatumHash -> Encoding

decode :: Decoder s DatumHash

encodeList :: [DatumHash] -> Encoding

decodeList :: Decoder s [DatumHash]

Serialise Datum Source # 
Instance details

Methods

encode :: Datum -> Encoding

decode :: Decoder s Datum

encodeList :: [Datum] -> Encoding

decodeList :: Decoder s [Datum]

Serialise ValidatorHash Source # 
Instance details

Methods

encode :: ValidatorHash -> Encoding

decode :: Decoder s ValidatorHash

encodeList :: [ValidatorHash] -> Encoding

decodeList :: Decoder s [ValidatorHash]

Serialise MintingPolicyHash Source # 
Instance details

Methods

encode :: MintingPolicyHash -> Encoding

decode :: Decoder s MintingPolicyHash

encodeList :: [MintingPolicyHash] -> Encoding

decodeList :: Decoder s [MintingPolicyHash]

Serialise Redeemer Source # 
Instance details

Methods

encode :: Redeemer -> Encoding

decode :: Decoder s Redeemer

encodeList :: [Redeemer] -> Encoding

decodeList :: Decoder s [Redeemer]

Serialise RedeemerHash Source # 
Instance details

Methods

encode :: RedeemerHash -> Encoding

decode :: Decoder s RedeemerHash

encodeList :: [RedeemerHash] -> Encoding

decodeList :: Decoder s [RedeemerHash]

Serialise ScriptHash Source # 
Instance details

Methods

encode :: ScriptHash -> Encoding

decode :: Decoder s ScriptHash

encodeList :: [ScriptHash] -> Encoding

decodeList :: Decoder s [ScriptHash]

Serialise StakeValidatorHash Source # 
Instance details

Methods

encode :: StakeValidatorHash -> Encoding

decode :: Decoder s StakeValidatorHash

encodeList :: [StakeValidatorHash] -> Encoding

decodeList :: Decoder s [StakeValidatorHash]

Hashable DatumHash Source # 
Instance details

Hashable ValidatorHash Source # 
Instance details

Hashable MintingPolicyHash Source # 
Instance details

Hashable RedeemerHash Source # 
Instance details

Hashable ScriptHash Source # 
Instance details

Hashable StakeValidatorHash Source # 
Instance details

FromJSON DatumHash Source # 
Instance details

Methods

parseJSON :: Value -> Parser DatumHash

parseJSONList :: Value -> Parser [DatumHash]

FromJSON Datum Source # 
Instance details

Methods

parseJSON :: Value -> Parser Datum

parseJSONList :: Value -> Parser [Datum]

FromJSON ValidatorHash Source # 
Instance details

Methods

parseJSON :: Value -> Parser ValidatorHash

parseJSONList :: Value -> Parser [ValidatorHash]

FromJSON MintingPolicyHash Source # 
Instance details

Methods

parseJSON :: Value -> Parser MintingPolicyHash

parseJSONList :: Value -> Parser [MintingPolicyHash]

FromJSON Validator Source # 
Instance details

Methods

parseJSON :: Value -> Parser Validator

parseJSONList :: Value -> Parser [Validator]

FromJSON Redeemer Source # 
Instance details

Methods

parseJSON :: Value -> Parser Redeemer

parseJSONList :: Value -> Parser [Redeemer]

FromJSON Context Source # 
Instance details

Methods

parseJSON :: Value -> Parser Context

parseJSONList :: Value -> Parser [Context]

FromJSON MintingPolicy Source # 
Instance details

Methods

parseJSON :: Value -> Parser MintingPolicy

parseJSONList :: Value -> Parser [MintingPolicy]

FromJSON RedeemerHash Source # 
Instance details

Methods

parseJSON :: Value -> Parser RedeemerHash

parseJSONList :: Value -> Parser [RedeemerHash]

FromJSON Script Source # 
Instance details

Methods

parseJSON :: Value -> Parser Script

parseJSONList :: Value -> Parser [Script]

FromJSON ScriptHash Source # 
Instance details

Methods

parseJSON :: Value -> Parser ScriptHash

parseJSONList :: Value -> Parser [ScriptHash]

FromJSON StakeValidator Source # 
Instance details

Methods

parseJSON :: Value -> Parser StakeValidator

parseJSONList :: Value -> Parser [StakeValidator]

FromJSON StakeValidatorHash Source # 
Instance details

Methods

parseJSON :: Value -> Parser StakeValidatorHash

parseJSONList :: Value -> Parser [StakeValidatorHash]

FromJSONKey DatumHash Source # 
Instance details

Methods

fromJSONKey :: FromJSONKeyFunction DatumHash

fromJSONKeyList :: FromJSONKeyFunction [DatumHash]

FromJSONKey ValidatorHash Source # 
Instance details

Methods

fromJSONKey :: FromJSONKeyFunction ValidatorHash

fromJSONKeyList :: FromJSONKeyFunction [ValidatorHash]

FromJSONKey MintingPolicyHash Source # 
Instance details

Methods

fromJSONKey :: FromJSONKeyFunction MintingPolicyHash

fromJSONKeyList :: FromJSONKeyFunction [MintingPolicyHash]

FromJSONKey RedeemerHash Source # 
Instance details

Methods

fromJSONKey :: FromJSONKeyFunction RedeemerHash

fromJSONKeyList :: FromJSONKeyFunction [RedeemerHash]

FromJSONKey ScriptHash Source # 
Instance details

Methods

fromJSONKey :: FromJSONKeyFunction ScriptHash

fromJSONKeyList :: FromJSONKeyFunction [ScriptHash]

FromJSONKey StakeValidatorHash Source # 
Instance details

Methods

fromJSONKey :: FromJSONKeyFunction StakeValidatorHash

fromJSONKeyList :: FromJSONKeyFunction [StakeValidatorHash]

ToJSON DatumHash Source # 
Instance details

Methods

toJSON :: DatumHash -> Value

toEncoding :: DatumHash -> Encoding

toJSONList :: [DatumHash] -> Value

toEncodingList :: [DatumHash] -> Encoding

ToJSON Datum Source # 
Instance details

Methods

toJSON :: Datum -> Value

toEncoding :: Datum -> Encoding

toJSONList :: [Datum] -> Value

toEncodingList :: [Datum] -> Encoding

ToJSON ValidatorHash Source # 
Instance details

Methods

toJSON :: ValidatorHash -> Value

toEncoding :: ValidatorHash -> Encoding

toJSONList :: [ValidatorHash] -> Value

toEncodingList :: [ValidatorHash] -> Encoding

ToJSON MintingPolicyHash Source # 
Instance details

ToJSON Validator Source # 
Instance details

Methods

toJSON :: Validator -> Value

toEncoding :: Validator -> Encoding

toJSONList :: [Validator] -> Value

toEncodingList :: [Validator] -> Encoding

ToJSON Redeemer Source # 
Instance details

Methods

toJSON :: Redeemer -> Value

toEncoding :: Redeemer -> Encoding

toJSONList :: [Redeemer] -> Value

toEncodingList :: [Redeemer] -> Encoding

ToJSON Context Source # 
Instance details

Methods

toJSON :: Context -> Value

toEncoding :: Context -> Encoding

toJSONList :: [Context] -> Value

toEncodingList :: [Context] -> Encoding

ToJSON MintingPolicy Source # 
Instance details

Methods

toJSON :: MintingPolicy -> Value

toEncoding :: MintingPolicy -> Encoding

toJSONList :: [MintingPolicy] -> Value

toEncodingList :: [MintingPolicy] -> Encoding

ToJSON RedeemerHash Source # 
Instance details

Methods

toJSON :: RedeemerHash -> Value

toEncoding :: RedeemerHash -> Encoding

toJSONList :: [RedeemerHash] -> Value

toEncodingList :: [RedeemerHash] -> Encoding

ToJSON Script Source # 
Instance details

Methods

toJSON :: Script -> Value

toEncoding :: Script -> Encoding

toJSONList :: [Script] -> Value

toEncodingList :: [Script] -> Encoding

ToJSON ScriptHash Source # 
Instance details

Methods

toJSON :: ScriptHash -> Value

toEncoding :: ScriptHash -> Encoding

toJSONList :: [ScriptHash] -> Value

toEncodingList :: [ScriptHash] -> Encoding

ToJSON StakeValidator Source # 
Instance details

Methods

toJSON :: StakeValidator -> Value

toEncoding :: StakeValidator -> Encoding

toJSONList :: [StakeValidator] -> Value

toEncodingList :: [StakeValidator] -> Encoding

ToJSON StakeValidatorHash Source # 
Instance details

ToJSONKey DatumHash Source # 
Instance details

Methods

toJSONKey :: ToJSONKeyFunction DatumHash

toJSONKeyList :: ToJSONKeyFunction [DatumHash]

ToJSONKey ValidatorHash Source # 
Instance details

Methods

toJSONKey :: ToJSONKeyFunction ValidatorHash

toJSONKeyList :: ToJSONKeyFunction [ValidatorHash]

ToJSONKey MintingPolicyHash Source # 
Instance details

Methods

toJSONKey :: ToJSONKeyFunction MintingPolicyHash

toJSONKeyList :: ToJSONKeyFunction [MintingPolicyHash]

ToJSONKey RedeemerHash Source # 
Instance details

Methods

toJSONKey :: ToJSONKeyFunction RedeemerHash

toJSONKeyList :: ToJSONKeyFunction [RedeemerHash]

ToJSONKey ScriptHash Source # 
Instance details

Methods

toJSONKey :: ToJSONKeyFunction ScriptHash

toJSONKeyList :: ToJSONKeyFunction [ScriptHash]

ToJSONKey StakeValidatorHash Source # 
Instance details

Methods

toJSONKey :: ToJSONKeyFunction StakeValidatorHash

toJSONKeyList :: ToJSONKeyFunction [StakeValidatorHash]