blockfrost-api-0.3.1.0: API definitions for blockfrost.io
Safe HaskellNone
LanguageHaskell2010

Blockfrost.Types.Cardano.Scripts

Description

Cardano Scripts responses

Synopsis

Documentation

data Script Source #

Script info

Constructors

Script 

Fields

Instances

Instances details
Eq Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Methods

(==) :: Script -> Script -> Bool #

(/=) :: Script -> Script -> Bool #

Show Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep Script :: Type -> Type #

Methods

from :: Script -> Rep Script x #

to :: Rep Script x -> Script #

ToJSON Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Methods

toSamples :: Proxy Script -> [(Text, Script)] #

type Rep Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep Script = D1 ('MetaData "Script" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.3.1.0-9MF0mqKIq7X32LLMNYkjEF" 'False) (C1 ('MetaCons "Script" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptScriptHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptHash) :*: (S1 ('MetaSel ('Just "_scriptType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptType) :*: S1 ('MetaSel ('Just "_scriptSerialisedSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)))))

data ScriptType Source #

Script type

Constructors

Plutus 
Timelock 

Instances

Instances details
Eq ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Show ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptType :: Type -> Type #

ToJSON ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptType = D1 ('MetaData "ScriptType" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.3.1.0-9MF0mqKIq7X32LLMNYkjEF" 'False) (C1 ('MetaCons "Plutus" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Timelock" 'PrefixI 'False) (U1 :: Type -> Type))

data ScriptRedeemer Source #

Script redeemer

Constructors

ScriptRedeemer 

Fields

Instances

Instances details
Eq ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Show ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptRedeemer :: Type -> Type #

ToJSON ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptRedeemer = D1 ('MetaData "ScriptRedeemer" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.3.1.0-9MF0mqKIq7X32LLMNYkjEF" '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 "_scriptRedeemerDatumHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: 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 

Instances

Instances details
Eq ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Show ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptDatum :: Type -> Type #

ToJSON ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptDatum = D1 ('MetaData "ScriptDatum" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.3.1.0-9MF0mqKIq7X32LLMNYkjEF" 'True) (C1 ('MetaCons "ScriptDatum" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptDatumJsonValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)))

newtype ScriptJSON Source #

Constructors

ScriptJSON 

Instances

Instances details
Eq ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Show ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptJSON :: Type -> Type #

ToJSON ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptJSON = D1 ('MetaData "ScriptJSON" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.3.1.0-9MF0mqKIq7X32LLMNYkjEF" 'True) (C1 ('MetaCons "ScriptJSON" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptJsonJson") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value))))

newtype ScriptCBOR Source #

Constructors

ScriptCBOR 

Instances

Instances details
Eq ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Show ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptCBOR :: Type -> Type #

ToJSON ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptCBOR = D1 ('MetaData "ScriptCBOR" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.3.1.0-9MF0mqKIq7X32LLMNYkjEF" 'True) (C1 ('MetaCons "ScriptCBOR" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptCborCbor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))