| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Blockfrost.Types.Cardano.Scripts
Description
Cardano Scripts responses
Synopsis
- data Script = Script {}
- data ScriptType
- data ScriptRedeemer = ScriptRedeemer {}
- newtype ScriptDatum = ScriptDatum {}
- newtype ScriptDatumCBOR = ScriptDatumCBOR {}
- newtype InlineDatum = InlineDatum {}
- newtype ScriptJSON = ScriptJSON {}
- newtype ScriptCBOR = ScriptCBOR {}
Documentation
Script info
Constructors
| Script | |
Fields
| |
Instances
data ScriptType Source #
Script type
Instances
| FromJSON ScriptType Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts | |||||
| ToJSON ScriptType Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toJSON :: ScriptType -> Value # toEncoding :: ScriptType -> Encoding # toJSONList :: [ScriptType] -> Value # toEncodingList :: [ScriptType] -> Encoding # omitField :: ScriptType -> Bool # | |||||
| Generic ScriptType Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Associated Types
| |||||
| Show ScriptType Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods showsPrec :: Int -> ScriptType -> ShowS # show :: ScriptType -> String # showList :: [ScriptType] -> ShowS # | |||||
| Eq ScriptType Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts | |||||
| Ord ScriptType Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods compare :: ScriptType -> ScriptType -> Ordering # (<) :: ScriptType -> ScriptType -> Bool # (<=) :: ScriptType -> ScriptType -> Bool # (>) :: ScriptType -> ScriptType -> Bool # (>=) :: ScriptType -> ScriptType -> Bool # max :: ScriptType -> ScriptType -> ScriptType # min :: ScriptType -> ScriptType -> ScriptType # | |||||
| ToSample ScriptType Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toSamples :: Proxy ScriptType -> [(Text, ScriptType)] # | |||||
| type Rep ScriptType Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts type Rep ScriptType = D1 ('MetaData "ScriptType" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) ((C1 ('MetaCons "PlutusV1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PlutusV2" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PlutusV3" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Timelock" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data ScriptRedeemer Source #
Script redeemer
Constructors
| ScriptRedeemer | |
Fields
| |
Instances
| FromJSON ScriptRedeemer Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods parseJSON :: Value -> Parser ScriptRedeemer # parseJSONList :: Value -> Parser [ScriptRedeemer] # | |||||
| ToJSON ScriptRedeemer Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toJSON :: ScriptRedeemer -> Value # toEncoding :: ScriptRedeemer -> Encoding # toJSONList :: [ScriptRedeemer] -> Value # toEncodingList :: [ScriptRedeemer] -> Encoding # omitField :: ScriptRedeemer -> Bool # | |||||
| Generic ScriptRedeemer Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Associated Types
Methods from :: ScriptRedeemer -> Rep ScriptRedeemer x # to :: Rep ScriptRedeemer x -> ScriptRedeemer # | |||||
| Show ScriptRedeemer Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods showsPrec :: Int -> ScriptRedeemer -> ShowS # show :: ScriptRedeemer -> String # showList :: [ScriptRedeemer] -> ShowS # | |||||
| Eq ScriptRedeemer Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods (==) :: ScriptRedeemer -> ScriptRedeemer -> Bool # (/=) :: ScriptRedeemer -> ScriptRedeemer -> Bool # | |||||
| ToSample ScriptRedeemer Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toSamples :: Proxy ScriptRedeemer -> [(Text, ScriptRedeemer)] # | |||||
| type Rep ScriptRedeemer Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts type Rep ScriptRedeemer = D1 ('MetaData "ScriptRedeemer" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "ScriptRedeemer" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_scriptRedeemerTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: S1 ('MetaSel ('Just "_scriptRedeemerTxIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "_scriptRedeemerPurpose") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValidationPurpose) :*: S1 ('MetaSel ('Just "_scriptRedeemerRedeemerDataHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DatumHash))) :*: ((S1 ('MetaSel ('Just "_scriptRedeemerDatumHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DatumHash) :*: S1 ('MetaSel ('Just "_scriptRedeemerUnitMem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity)) :*: (S1 ('MetaSel ('Just "_scriptRedeemerUnitSteps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity) :*: S1 ('MetaSel ('Just "_scriptRedeemerFee") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces))))) | |||||
newtype ScriptDatum Source #
Constructors
| ScriptDatum | |
Fields | |
Instances
| FromJSON ScriptDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts | |||||
| ToJSON ScriptDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toJSON :: ScriptDatum -> Value # toEncoding :: ScriptDatum -> Encoding # toJSONList :: [ScriptDatum] -> Value # toEncodingList :: [ScriptDatum] -> Encoding # omitField :: ScriptDatum -> Bool # | |||||
| Generic ScriptDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Associated Types
| |||||
| Show ScriptDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods showsPrec :: Int -> ScriptDatum -> ShowS # show :: ScriptDatum -> String # showList :: [ScriptDatum] -> ShowS # | |||||
| Eq ScriptDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts | |||||
| ToSample ScriptDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toSamples :: Proxy ScriptDatum -> [(Text, ScriptDatum)] # | |||||
| type Rep ScriptDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts type Rep ScriptDatum = D1 ('MetaData "ScriptDatum" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "ScriptDatum" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptDatumJsonValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value))) | |||||
newtype ScriptDatumCBOR Source #
Constructors
| ScriptDatumCBOR | |
Fields | |
Instances
| FromJSON ScriptDatumCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods parseJSON :: Value -> Parser ScriptDatumCBOR # parseJSONList :: Value -> Parser [ScriptDatumCBOR] # | |||||
| ToJSON ScriptDatumCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toJSON :: ScriptDatumCBOR -> Value # toEncoding :: ScriptDatumCBOR -> Encoding # toJSONList :: [ScriptDatumCBOR] -> Value # toEncodingList :: [ScriptDatumCBOR] -> Encoding # omitField :: ScriptDatumCBOR -> Bool # | |||||
| Generic ScriptDatumCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Associated Types
Methods from :: ScriptDatumCBOR -> Rep ScriptDatumCBOR x # to :: Rep ScriptDatumCBOR x -> ScriptDatumCBOR # | |||||
| Show ScriptDatumCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods showsPrec :: Int -> ScriptDatumCBOR -> ShowS # show :: ScriptDatumCBOR -> String # showList :: [ScriptDatumCBOR] -> ShowS # | |||||
| Eq ScriptDatumCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods (==) :: ScriptDatumCBOR -> ScriptDatumCBOR -> Bool # (/=) :: ScriptDatumCBOR -> ScriptDatumCBOR -> Bool # | |||||
| ToSample ScriptDatumCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toSamples :: Proxy ScriptDatumCBOR -> [(Text, ScriptDatumCBOR)] # | |||||
| type Rep ScriptDatumCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts type Rep ScriptDatumCBOR = D1 ('MetaData "ScriptDatumCBOR" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "ScriptDatumCBOR" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptDatumCborCbor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
newtype InlineDatum Source #
Constructors
| InlineDatum | |
Fields | |
Instances
| FromJSON InlineDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts | |||||
| ToJSON InlineDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toJSON :: InlineDatum -> Value # toEncoding :: InlineDatum -> Encoding # toJSONList :: [InlineDatum] -> Value # toEncodingList :: [InlineDatum] -> Encoding # omitField :: InlineDatum -> Bool # | |||||
| Generic InlineDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Associated Types
| |||||
| Show InlineDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods showsPrec :: Int -> InlineDatum -> ShowS # show :: InlineDatum -> String # showList :: [InlineDatum] -> ShowS # | |||||
| Eq InlineDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts | |||||
| ToSample InlineDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toSamples :: Proxy InlineDatum -> [(Text, InlineDatum)] # | |||||
| HasInlineDatum AddressUtxo (Maybe InlineDatum) Source # | |||||
Defined in Blockfrost.Lens Methods inlineDatum :: Lens' AddressUtxo (Maybe InlineDatum) Source # | |||||
| HasInlineDatum UtxoInput (Maybe InlineDatum) Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasInlineDatum UtxoOutput (Maybe InlineDatum) Source # | |||||
Defined in Blockfrost.Lens Methods inlineDatum :: Lens' UtxoOutput (Maybe InlineDatum) Source # | |||||
| type Rep InlineDatum Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts type Rep InlineDatum = D1 ('MetaData "InlineDatum" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "InlineDatum" 'PrefixI 'True) (S1 ('MetaSel ('Just "unInlineDatum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptDatumCBOR))) | |||||
newtype ScriptJSON Source #
Constructors
| ScriptJSON | |
Fields | |
Instances
| FromJSON ScriptJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts | |||||
| ToJSON ScriptJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toJSON :: ScriptJSON -> Value # toEncoding :: ScriptJSON -> Encoding # toJSONList :: [ScriptJSON] -> Value # toEncodingList :: [ScriptJSON] -> Encoding # omitField :: ScriptJSON -> Bool # | |||||
| Generic ScriptJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Associated Types
| |||||
| Show ScriptJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods showsPrec :: Int -> ScriptJSON -> ShowS # show :: ScriptJSON -> String # showList :: [ScriptJSON] -> ShowS # | |||||
| Eq ScriptJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts | |||||
| ToSample ScriptJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toSamples :: Proxy ScriptJSON -> [(Text, ScriptJSON)] # | |||||
| type Rep ScriptJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts type Rep ScriptJSON = D1 ('MetaData "ScriptJSON" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "ScriptJSON" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptJsonJson") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)))) | |||||
newtype ScriptCBOR Source #
Constructors
| ScriptCBOR | |
Fields | |
Instances
| FromJSON ScriptCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts | |||||
| ToJSON ScriptCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toJSON :: ScriptCBOR -> Value # toEncoding :: ScriptCBOR -> Encoding # toJSONList :: [ScriptCBOR] -> Value # toEncodingList :: [ScriptCBOR] -> Encoding # omitField :: ScriptCBOR -> Bool # | |||||
| Generic ScriptCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Associated Types
| |||||
| Show ScriptCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods showsPrec :: Int -> ScriptCBOR -> ShowS # show :: ScriptCBOR -> String # showList :: [ScriptCBOR] -> ShowS # | |||||
| Eq ScriptCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts | |||||
| ToSample ScriptCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts Methods toSamples :: Proxy ScriptCBOR -> [(Text, ScriptCBOR)] # | |||||
| type Rep ScriptCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Scripts type Rep ScriptCBOR = D1 ('MetaData "ScriptCBOR" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "ScriptCBOR" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptCborCbor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) | |||||