plutarch-1.3.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Plutarch.Api.V2

Synopsis

Contexts

newtype PScriptContext (s :: S) Source #

Script context consists of the script purpose and the pending transaction info.

Constructors

PScriptContext (Term s (PDataRecord '["txInfo" := PTxInfo, "purpose" := PScriptPurpose])) 

Instances

Instances details
PEq PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Methods

(#==) :: forall (s :: S). Term s PScriptContext -> Term s PScriptContext -> Term s PBool Source #

PIsData PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PScriptContext) -> Term s PScriptContext Source #

pdataImpl :: forall (s :: S). Term s PScriptContext -> Term s PData Source #

PDataFields PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Associated Types

type PFields PScriptContext :: [PLabeledType] Source #

DerivePlutusType PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Associated Types

type DPTStrat PScriptContext Source #

PlutusType PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Methods

pcon' :: forall (s :: S). PScriptContext s -> Term s (PInner PScriptContext) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PScriptContext) -> (PScriptContext s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Associated Types

type PLifted PScriptContext = (r :: Type) Source #

PShow PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Methods

pshow' :: forall (s :: S). Bool -> Term s PScriptContext -> Term s PString Source #

Generic (PScriptContext s) Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Associated Types

type Rep (PScriptContext s) :: Type -> Type Source #

type PFields PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type DPTStrat PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type PContravariant' PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type PCovariant' PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type PInner PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type PVariant' PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type PLifted PScriptContext Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type Rep (PScriptContext s) Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type Rep (PScriptContext s) = D1 ('MetaData "PScriptContext" "Plutarch.Api.V2.Contexts" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PScriptContext" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["txInfo" := PTxInfo, "purpose" := PScriptPurpose])))))

newtype PTxInfo (s :: S) Source #

A pending transaction. This is the view as seen by the validator script.

Instances

Instances details
PEq PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Methods

(#==) :: forall (s :: S). Term s PTxInfo -> Term s PTxInfo -> Term s PBool Source #

PIsData PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PTxInfo) -> Term s PTxInfo Source #

pdataImpl :: forall (s :: S). Term s PTxInfo -> Term s PData Source #

PDataFields PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Associated Types

type PFields PTxInfo :: [PLabeledType] Source #

Methods

ptoFields :: forall (s :: S). Term s PTxInfo -> Term s (PDataRecord (PFields PTxInfo)) Source #

DerivePlutusType PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Associated Types

type DPTStrat PTxInfo Source #

PlutusType PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Methods

pcon' :: forall (s :: S). PTxInfo s -> Term s (PInner PTxInfo) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PTxInfo) -> (PTxInfo s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Associated Types

type PLifted PTxInfo = (r :: Type) Source #

PShow PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Methods

pshow' :: forall (s :: S). Bool -> Term s PTxInfo -> Term s PString Source #

Generic (PTxInfo s) Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

Associated Types

type Rep (PTxInfo s) :: Type -> Type Source #

Methods

from :: PTxInfo s -> Rep (PTxInfo s) x Source #

to :: Rep (PTxInfo s) x -> PTxInfo s Source #

type PFields PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type DPTStrat PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type PContravariant' PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type PCovariant' PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type PInner PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type PVariant' PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type PLifted PTxInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type Rep (PTxInfo s) Source # 
Instance details

Defined in Plutarch.Api.V2.Contexts

type Rep (PTxInfo s) = D1 ('MetaData "PTxInfo" "Plutarch.Api.V2.Contexts" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PTxInfo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["inputs" := PBuiltinList PTxInInfo, "referenceInputs" := PBuiltinList PTxInInfo, "outputs" := PBuiltinList PTxOut, "fee" := PValue 'Sorted 'Positive, "mint" := PValue 'Sorted 'NoGuarantees, "dcert" := PBuiltinList PDCert, "wdrl" := PMap 'Unsorted PStakingCredential PInteger, "validRange" := PPOSIXTimeRange, "signatories" := PBuiltinList (PAsData PPubKeyHash), "redeemers" := PMap 'Unsorted PScriptPurpose PRedeemer, "datums" := PMap 'Unsorted PDatumHash PDatum, "id" := PTxId])))))

data PScriptPurpose (s :: S) Source #

The purpose of the script that is currently running

Instances

Instances details
PEq PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

Methods

(#==) :: forall (s :: S). Term s PScriptPurpose -> Term s PScriptPurpose -> Term s PBool Source #

PIsData PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PScriptPurpose) -> Term s PScriptPurpose Source #

pdataImpl :: forall (s :: S). Term s PScriptPurpose -> Term s PData Source #

DerivePlutusType PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

Associated Types

type DPTStrat PScriptPurpose Source #

PlutusType PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

Methods

pcon' :: forall (s :: S). PScriptPurpose s -> Term s (PInner PScriptPurpose) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PScriptPurpose) -> (PScriptPurpose s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

Associated Types

type PLifted PScriptPurpose = (r :: Type) Source #

PShow PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

Methods

pshow' :: forall (s :: S). Bool -> Term s PScriptPurpose -> Term s PString Source #

Generic (PScriptPurpose s) Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

Associated Types

type Rep (PScriptPurpose s) :: Type -> Type Source #

type DPTStrat PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

type PContravariant' PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

type PCovariant' PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

type PInner PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

type PVariant' PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

type PLifted PScriptPurpose Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

type Rep (PScriptPurpose s) Source # 
Instance details

Defined in Plutarch.Api.V1.Contexts

Tx

newtype PTxOutRef (s :: S) Source #

Reference to a transaction output with a index referencing which of the outputs is being referred to.

Constructors

PTxOutRef (Term s (PDataRecord '["id" := PTxId, "idx" := PInteger])) 

Instances

Instances details
PEq PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Methods

(#==) :: forall (s :: S). Term s PTxOutRef -> Term s PTxOutRef -> Term s PBool Source #

POrd PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

PPartialOrd PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Methods

(#<=) :: forall (s :: S). Term s PTxOutRef -> Term s PTxOutRef -> Term s PBool Source #

(#<) :: forall (s :: S). Term s PTxOutRef -> Term s PTxOutRef -> Term s PBool Source #

PIsData PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PTxOutRef) -> Term s PTxOutRef Source #

pdataImpl :: forall (s :: S). Term s PTxOutRef -> Term s PData Source #

PDataFields PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type PFields PTxOutRef :: [PLabeledType] Source #

Methods

ptoFields :: forall (s :: S). Term s PTxOutRef -> Term s (PDataRecord (PFields PTxOutRef)) Source #

DerivePlutusType PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type DPTStrat PTxOutRef Source #

PlutusType PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Methods

pcon' :: forall (s :: S). PTxOutRef s -> Term s (PInner PTxOutRef) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PTxOutRef) -> (PTxOutRef s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type PLifted PTxOutRef = (r :: Type) Source #

PShow PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Methods

pshow' :: forall (s :: S). Bool -> Term s PTxOutRef -> Term s PString Source #

PTryFrom PData PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type PTryFromExcess PData PTxOutRef :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s PTxOutRef, Reduce (PTryFromExcess PData PTxOutRef s)) -> Term s r) -> Term s r Source #

PTryFrom PData (PAsData PTxOutRef) Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type PTryFromExcess PData (PAsData PTxOutRef) :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData PTxOutRef), Reduce (PTryFromExcess PData (PAsData PTxOutRef) s)) -> Term s r) -> Term s r Source #

Generic (PTxOutRef s) Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type Rep (PTxOutRef s) :: Type -> Type Source #

Methods

from :: PTxOutRef s -> Rep (PTxOutRef s) x Source #

to :: Rep (PTxOutRef s) x -> PTxOutRef s Source #

type PFields PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type DPTStrat PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PContravariant' PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PCovariant' PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PInner PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PVariant' PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PLifted PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PTryFromExcess PData PTxOutRef Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PTryFromExcess PData (PAsData PTxOutRef) Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type Rep (PTxOutRef s) Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type Rep (PTxOutRef s) = D1 ('MetaData "PTxOutRef" "Plutarch.Api.V1.Tx" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PTxOutRef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["id" := PTxId, "idx" := PInteger])))))

newtype PTxOut (s :: S) Source #

A transaction output. This consists of a target address, value and maybe a datum hash

Constructors

PTxOut (Term s (PDataRecord '["address" := PAddress, "value" := PValue 'Sorted 'Positive, "datum" := POutputDatum, "referenceScript" := PMaybeData PScriptHash])) 

Instances

Instances details
PEq PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

(#==) :: forall (s :: S). Term s PTxOut -> Term s PTxOut -> Term s PBool Source #

PIsData PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PTxOut) -> Term s PTxOut Source #

pdataImpl :: forall (s :: S). Term s PTxOut -> Term s PData Source #

PDataFields PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Associated Types

type PFields PTxOut :: [PLabeledType] Source #

Methods

ptoFields :: forall (s :: S). Term s PTxOut -> Term s (PDataRecord (PFields PTxOut)) Source #

DerivePlutusType PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Associated Types

type DPTStrat PTxOut Source #

PlutusType PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

pcon' :: forall (s :: S). PTxOut s -> Term s (PInner PTxOut) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PTxOut) -> (PTxOut s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Associated Types

type PLifted PTxOut = (r :: Type) Source #

PShow PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

pshow' :: forall (s :: S). Bool -> Term s PTxOut -> Term s PString Source #

Generic (PTxOut s) Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Associated Types

type Rep (PTxOut s) :: Type -> Type Source #

Methods

from :: PTxOut s -> Rep (PTxOut s) x Source #

to :: Rep (PTxOut s) x -> PTxOut s Source #

type PFields PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type DPTStrat PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PContravariant' PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PCovariant' PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PInner PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PVariant' PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PLifted PTxOut Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type Rep (PTxOut s) Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type Rep (PTxOut s) = D1 ('MetaData "PTxOut" "Plutarch.Api.V2.Tx" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PTxOut" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["address" := PAddress, "value" := PValue 'Sorted 'Positive, "datum" := POutputDatum, "referenceScript" := PMaybeData PScriptHash])))))

newtype PTxId (s :: S) Source #

Constructors

PTxId (Term s (PDataRecord '["_0" := PByteString])) 

Instances

Instances details
PEq PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Methods

(#==) :: forall (s :: S). Term s PTxId -> Term s PTxId -> Term s PBool Source #

POrd PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

PPartialOrd PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Methods

(#<=) :: forall (s :: S). Term s PTxId -> Term s PTxId -> Term s PBool Source #

(#<) :: forall (s :: S). Term s PTxId -> Term s PTxId -> Term s PBool Source #

PIsData PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PTxId) -> Term s PTxId Source #

pdataImpl :: forall (s :: S). Term s PTxId -> Term s PData Source #

PDataFields PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type PFields PTxId :: [PLabeledType] Source #

Methods

ptoFields :: forall (s :: S). Term s PTxId -> Term s (PDataRecord (PFields PTxId)) Source #

DerivePlutusType PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type DPTStrat PTxId Source #

PlutusType PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Methods

pcon' :: forall (s :: S). PTxId s -> Term s (PInner PTxId) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PTxId) -> (PTxId s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type PLifted PTxId = (r :: Type) Source #

PShow PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Methods

pshow' :: forall (s :: S). Bool -> Term s PTxId -> Term s PString Source #

PTryFrom PData PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type PTryFromExcess PData PTxId :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s PTxId, Reduce (PTryFromExcess PData PTxId s)) -> Term s r) -> Term s r Source #

PTryFrom PData (PAsData PTxId) Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type PTryFromExcess PData (PAsData PTxId) :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData PTxId), Reduce (PTryFromExcess PData (PAsData PTxId) s)) -> Term s r) -> Term s r Source #

Generic (PTxId s) Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

Associated Types

type Rep (PTxId s) :: Type -> Type Source #

Methods

from :: PTxId s -> Rep (PTxId s) x Source #

to :: Rep (PTxId s) x -> PTxId s Source #

type PFields PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type DPTStrat PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PContravariant' PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PCovariant' PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PInner PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PVariant' PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PLifted PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PTryFromExcess PData PTxId Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type PTryFromExcess PData (PAsData PTxId) Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type Rep (PTxId s) Source # 
Instance details

Defined in Plutarch.Api.V1.Tx

type Rep (PTxId s) = D1 ('MetaData "PTxId" "Plutarch.Api.V1.Tx" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PTxId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["_0" := PByteString])))))

newtype PTxInInfo (s :: S) Source #

A input of the pending transaction.

Constructors

PTxInInfo (Term s (PDataRecord '["outRef" := PTxOutRef, "resolved" := PTxOut])) 

Instances

Instances details
PEq PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

(#==) :: forall (s :: S). Term s PTxInInfo -> Term s PTxInInfo -> Term s PBool Source #

PIsData PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PTxInInfo) -> Term s PTxInInfo Source #

pdataImpl :: forall (s :: S). Term s PTxInInfo -> Term s PData Source #

PDataFields PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Associated Types

type PFields PTxInInfo :: [PLabeledType] Source #

Methods

ptoFields :: forall (s :: S). Term s PTxInInfo -> Term s (PDataRecord (PFields PTxInInfo)) Source #

DerivePlutusType PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Associated Types

type DPTStrat PTxInInfo Source #

PlutusType PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

pcon' :: forall (s :: S). PTxInInfo s -> Term s (PInner PTxInInfo) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PTxInInfo) -> (PTxInInfo s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Associated Types

type PLifted PTxInInfo = (r :: Type) Source #

PShow PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

pshow' :: forall (s :: S). Bool -> Term s PTxInInfo -> Term s PString Source #

Generic (PTxInInfo s) Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Associated Types

type Rep (PTxInInfo s) :: Type -> Type Source #

Methods

from :: PTxInInfo s -> Rep (PTxInInfo s) x Source #

to :: Rep (PTxInInfo s) x -> PTxInInfo s Source #

type PFields PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type DPTStrat PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PContravariant' PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PCovariant' PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PInner PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PVariant' PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PLifted PTxInInfo Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type Rep (PTxInInfo s) Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type Rep (PTxInInfo s) = D1 ('MetaData "PTxInInfo" "Plutarch.Api.V2.Tx" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PTxInInfo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["outRef" := PTxOutRef, "resolved" := PTxOut])))))

data POutputDatum (s :: S) Source #

The datum attached to an output: either nothing, a datum hash or an inline datum (CIP 32)

Constructors

PNoOutputDatum (Term s (PDataRecord '[])) 
POutputDatumHash (Term s (PDataRecord '["datumHash" := PDatumHash])) 
POutputDatum (Term s (PDataRecord '["outputDatum" := PDatum])) 

Instances

Instances details
PEq POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

(#==) :: forall (s :: S). Term s POutputDatum -> Term s POutputDatum -> Term s PBool Source #

PIsData POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData POutputDatum) -> Term s POutputDatum Source #

pdataImpl :: forall (s :: S). Term s POutputDatum -> Term s PData Source #

DerivePlutusType POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Associated Types

type DPTStrat POutputDatum Source #

PlutusType POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

pcon' :: forall (s :: S). POutputDatum s -> Term s (PInner POutputDatum) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner POutputDatum) -> (POutputDatum s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Associated Types

type PLifted POutputDatum = (r :: Type) Source #

PShow POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Methods

pshow' :: forall (s :: S). Bool -> Term s POutputDatum -> Term s PString Source #

Generic (POutputDatum s) Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

Associated Types

type Rep (POutputDatum s) :: Type -> Type Source #

type DPTStrat POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PContravariant' POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PCovariant' POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PInner POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PVariant' POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type PLifted POutputDatum Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type Rep (POutputDatum s) Source # 
Instance details

Defined in Plutarch.Api.V2.Tx

type Rep (POutputDatum s) = D1 ('MetaData "POutputDatum" "Plutarch.Api.V2.Tx" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'False) (C1 ('MetaCons "PNoOutputDatum" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord ('[] :: [PLabeledType]))))) :+: (C1 ('MetaCons "POutputDatumHash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["datumHash" := PDatumHash])))) :+: C1 ('MetaCons "POutputDatum" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["outputDatum" := PDatum]))))))

reexports for unchanged V1 ledger types

data PMaybeData a (s :: S) Source #

Data encoded Maybe type. Used in various ledger api types.

Constructors

PDJust (Term s (PDataRecord '["_0" := a])) 
PDNothing (Term s (PDataRecord '[])) 

Instances

Instances details
PTryFrom PData a => PTryFrom PData (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

Associated Types

type PTryFromExcess PData (PMaybeData a) :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PMaybeData a), Reduce (PTryFromExcess PData (PMaybeData a) s)) -> Term s r) -> Term s r Source #

PTryFrom PData a => PTryFrom PData (PAsData (PMaybeData a)) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

Associated Types

type PTryFromExcess PData (PAsData (PMaybeData a)) :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData (PMaybeData a)), Reduce (PTryFromExcess PData (PAsData (PMaybeData a)) s)) -> Term s r) -> Term s r Source #

PEq (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

Methods

(#==) :: forall (s :: S). Term s (PMaybeData a) -> Term s (PMaybeData a) -> Term s PBool Source #

(PIsData a, POrd a) => POrd (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

(PIsData a, POrd a) => PPartialOrd (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

Methods

(#<=) :: forall (s :: S). Term s (PMaybeData a) -> Term s (PMaybeData a) -> Term s PBool Source #

(#<) :: forall (s :: S). Term s (PMaybeData a) -> Term s (PMaybeData a) -> Term s PBool Source #

PIsData (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData (PMaybeData a)) -> Term s (PMaybeData a) Source #

pdataImpl :: forall (s :: S). Term s (PMaybeData a) -> Term s PData Source #

DerivePlutusType (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

Associated Types

type DPTStrat (PMaybeData a) Source #

PlutusType (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

Methods

pcon' :: forall (s :: S). PMaybeData a s -> Term s (PInner (PMaybeData a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PMaybeData a)) -> (PMaybeData a s -> Term s b) -> Term s b Source #

PLiftData a => PUnsafeLiftDecl (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

Associated Types

type PLifted (PMaybeData a) = (r :: Type) Source #

(PIsData a, PShow a) => PShow (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

Methods

pshow' :: forall (s :: S). Bool -> Term s (PMaybeData a) -> Term s PString Source #

Generic (PMaybeData a s) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

Associated Types

type Rep (PMaybeData a s) :: Type -> Type Source #

Methods

from :: PMaybeData a s -> Rep (PMaybeData a s) x Source #

to :: Rep (PMaybeData a s) x -> PMaybeData a s Source #

type PTryFromExcess PData (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

type PTryFromExcess PData (PAsData (PMaybeData a)) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

type DPTStrat (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

type PContravariant' (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

type PCovariant' (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

type PInner (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

type PVariant' (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

type PLifted (PMaybeData a) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

type Rep (PMaybeData a s) Source # 
Instance details

Defined in Plutarch.Api.V1.Maybe

type Rep (PMaybeData a s) = D1 ('MetaData "PMaybeData" "Plutarch.Api.V1.Maybe" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'False) (C1 ('MetaCons "PDJust" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["_0" := a])))) :+: C1 ('MetaCons "PDNothing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord ('[] :: [PLabeledType]))))))

type PTuple a b = PDataSum '['["_0" := a, "_1" := b]] Source #

newtype PDatum (s :: S) Source #

Constructors

PDatum (Term s PData) 

Instances

Instances details
PEq PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

(#==) :: forall (s :: S). Term s PDatum -> Term s PDatum -> Term s PBool Source #

PIsData PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PDatum) -> Term s PDatum Source #

pdataImpl :: forall (s :: S). Term s PDatum -> Term s PData Source #

DerivePlutusType PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Associated Types

type DPTStrat PDatum Source #

PlutusType PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

pcon' :: forall (s :: S). PDatum s -> Term s (PInner PDatum) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PDatum) -> (PDatum s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Associated Types

type PLifted PDatum = (r :: Type) Source #

PShow PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

pshow' :: forall (s :: S). Bool -> Term s PDatum -> Term s PString Source #

Generic (PDatum s) Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Associated Types

type Rep (PDatum s) :: Type -> Type Source #

Methods

from :: PDatum s -> Rep (PDatum s) x Source #

to :: Rep (PDatum s) x -> PDatum s Source #

type DPTStrat PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PContravariant' PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PCovariant' PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PInner PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PVariant' PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PLifted PDatum Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type Rep (PDatum s) Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type Rep (PDatum s) = D1 ('MetaData "PDatum" "Plutarch.Api.V1.Scripts" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PDatum" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PData))))

newtype PDatumHash (s :: S) Source #

Constructors

PDatumHash (Term s PByteString) 

Instances

Instances details
PEq PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

(#==) :: forall (s :: S). Term s PDatumHash -> Term s PDatumHash -> Term s PBool Source #

POrd PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

PPartialOrd PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

(#<=) :: forall (s :: S). Term s PDatumHash -> Term s PDatumHash -> Term s PBool Source #

(#<) :: forall (s :: S). Term s PDatumHash -> Term s PDatumHash -> Term s PBool Source #

PIsData PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PDatumHash) -> Term s PDatumHash Source #

pdataImpl :: forall (s :: S). Term s PDatumHash -> Term s PData Source #

DerivePlutusType PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Associated Types

type DPTStrat PDatumHash Source #

PlutusType PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

pcon' :: forall (s :: S). PDatumHash s -> Term s (PInner PDatumHash) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PDatumHash) -> (PDatumHash s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Associated Types

type PLifted PDatumHash = (r :: Type) Source #

PShow PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

pshow' :: forall (s :: S). Bool -> Term s PDatumHash -> Term s PString Source #

Generic (PDatumHash s) Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Associated Types

type Rep (PDatumHash s) :: Type -> Type Source #

Methods

from :: PDatumHash s -> Rep (PDatumHash s) x Source #

to :: Rep (PDatumHash s) x -> PDatumHash s Source #

type DPTStrat PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PContravariant' PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PCovariant' PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PInner PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PVariant' PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PLifted PDatumHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type Rep (PDatumHash s) Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type Rep (PDatumHash s) = D1 ('MetaData "PDatumHash" "Plutarch.Api.V1.Scripts" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PDatumHash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PByteString))))

newtype PAddress (s :: S) Source #

Constructors

PAddress (Term s (PDataRecord '["credential" := PCredential, "stakingCredential" := PMaybeData PStakingCredential])) 

Instances

Instances details
PEq PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Methods

(#==) :: forall (s :: S). Term s PAddress -> Term s PAddress -> Term s PBool Source #

POrd PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

PPartialOrd PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Methods

(#<=) :: forall (s :: S). Term s PAddress -> Term s PAddress -> Term s PBool Source #

(#<) :: forall (s :: S). Term s PAddress -> Term s PAddress -> Term s PBool Source #

PIsData PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PAddress) -> Term s PAddress Source #

pdataImpl :: forall (s :: S). Term s PAddress -> Term s PData Source #

PDataFields PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Associated Types

type PFields PAddress :: [PLabeledType] Source #

Methods

ptoFields :: forall (s :: S). Term s PAddress -> Term s (PDataRecord (PFields PAddress)) Source #

DerivePlutusType PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Associated Types

type DPTStrat PAddress Source #

PlutusType PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Methods

pcon' :: forall (s :: S). PAddress s -> Term s (PInner PAddress) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PAddress) -> (PAddress s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Associated Types

type PLifted PAddress = (r :: Type) Source #

PShow PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Methods

pshow' :: forall (s :: S). Bool -> Term s PAddress -> Term s PString Source #

PTryFrom PData PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Associated Types

type PTryFromExcess PData PAddress :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s PAddress, Reduce (PTryFromExcess PData PAddress s)) -> Term s r) -> Term s r Source #

PTryFrom PData (PAsData PAddress) Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Associated Types

type PTryFromExcess PData (PAsData PAddress) :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData PAddress), Reduce (PTryFromExcess PData (PAsData PAddress) s)) -> Term s r) -> Term s r Source #

Generic (PAddress s) Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Associated Types

type Rep (PAddress s) :: Type -> Type Source #

Methods

from :: PAddress s -> Rep (PAddress s) x Source #

to :: Rep (PAddress s) x -> PAddress s Source #

type PFields PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type DPTStrat PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PContravariant' PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PCovariant' PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PInner PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PVariant' PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PLifted PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PTryFromExcess PData PAddress Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PTryFromExcess PData (PAsData PAddress) Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type Rep (PAddress s) Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type Rep (PAddress s) = D1 ('MetaData "PAddress" "Plutarch.Api.V1.Address" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PAddress" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["credential" := PCredential, "stakingCredential" := PMaybeData PStakingCredential])))))

data KeyGuarantees Source #

Constructors

Sorted 
Unsorted 

newtype PScriptHash (s :: S) Source #

Constructors

PScriptHash (Term s PByteString) 

Instances

Instances details
PEq PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

(#==) :: forall (s :: S). Term s PScriptHash -> Term s PScriptHash -> Term s PBool Source #

POrd PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

PPartialOrd PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

(#<=) :: forall (s :: S). Term s PScriptHash -> Term s PScriptHash -> Term s PBool Source #

(#<) :: forall (s :: S). Term s PScriptHash -> Term s PScriptHash -> Term s PBool Source #

PIsData PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PScriptHash) -> Term s PScriptHash Source #

pdataImpl :: forall (s :: S). Term s PScriptHash -> Term s PData Source #

DerivePlutusType PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Associated Types

type DPTStrat PScriptHash Source #

PlutusType PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

pcon' :: forall (s :: S). PScriptHash s -> Term s (PInner PScriptHash) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PScriptHash) -> (PScriptHash s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Associated Types

type PLifted PScriptHash = (r :: Type) Source #

PShow PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

pshow' :: forall (s :: S). Bool -> Term s PScriptHash -> Term s PString Source #

PTryFrom PData (PAsData PScriptHash) Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData PScriptHash), Reduce (PTryFromExcess PData (PAsData PScriptHash) s)) -> Term s r) -> Term s r Source #

Generic (PScriptHash s) Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

Associated Types

type Rep (PScriptHash s) :: Type -> Type Source #

type DPTStrat PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PContravariant' PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PCovariant' PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PInner PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PVariant' PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PLifted PScriptHash Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type PTryFromExcess PData (PAsData PScriptHash) Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type Rep (PScriptHash s) Source # 
Instance details

Defined in Plutarch.Api.V1.Scripts

type Rep (PScriptHash s) = D1 ('MetaData "PScriptHash" "Plutarch.Api.V1.Scripts" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PScriptHash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PByteString))))

newtype PPubKeyHash (s :: S) Source #

Constructors

PPubKeyHash (Term s PByteString) 

Instances

Instances details
PEq PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

Methods

(#==) :: forall (s :: S). Term s PPubKeyHash -> Term s PPubKeyHash -> Term s PBool Source #

POrd PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

PPartialOrd PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

Methods

(#<=) :: forall (s :: S). Term s PPubKeyHash -> Term s PPubKeyHash -> Term s PBool Source #

(#<) :: forall (s :: S). Term s PPubKeyHash -> Term s PPubKeyHash -> Term s PBool Source #

PIsData PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PPubKeyHash) -> Term s PPubKeyHash Source #

pdataImpl :: forall (s :: S). Term s PPubKeyHash -> Term s PData Source #

DerivePlutusType PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

Associated Types

type DPTStrat PPubKeyHash Source #

PlutusType PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

Methods

pcon' :: forall (s :: S). PPubKeyHash s -> Term s (PInner PPubKeyHash) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PPubKeyHash) -> (PPubKeyHash s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

Associated Types

type PLifted PPubKeyHash = (r :: Type) Source #

PShow PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

Methods

pshow' :: forall (s :: S). Bool -> Term s PPubKeyHash -> Term s PString Source #

PTryFrom PData (PAsData PPubKeyHash) Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData PPubKeyHash), Reduce (PTryFromExcess PData (PAsData PPubKeyHash) s)) -> Term s r) -> Term s r Source #

Generic (PPubKeyHash s) Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

Associated Types

type Rep (PPubKeyHash s) :: Type -> Type Source #

type DPTStrat PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

type PContravariant' PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

type PCovariant' PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

type PInner PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

type PVariant' PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

type PLifted PPubKeyHash Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

type PTryFromExcess PData (PAsData PPubKeyHash) Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

type Rep (PPubKeyHash s) Source # 
Instance details

Defined in Plutarch.Api.V1.Crypto

type Rep (PPubKeyHash s) = D1 ('MetaData "PPubKeyHash" "Plutarch.Api.V1.Crypto" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PPubKeyHash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PByteString))))

data PStakingCredential (s :: S) Source #

Constructors

PStakingHash (Term s (PDataRecord '["_0" := PCredential])) 
PStakingPtr (Term s (PDataRecord '["_0" := PInteger, "_1" := PInteger, "_2" := PInteger])) 

Instances

Instances details
PEq PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Methods

(#==) :: forall (s :: S). Term s PStakingCredential -> Term s PStakingCredential -> Term s PBool Source #

POrd PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

PPartialOrd PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

PIsData PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

DerivePlutusType PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Associated Types

type DPTStrat PStakingCredential Source #

PlutusType PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Methods

pcon' :: forall (s :: S). PStakingCredential s -> Term s (PInner PStakingCredential) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PStakingCredential) -> (PStakingCredential s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Associated Types

type PLifted PStakingCredential = (r :: Type) Source #

PShow PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Methods

pshow' :: forall (s :: S). Bool -> Term s PStakingCredential -> Term s PString Source #

PTryFrom PData PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s PStakingCredential, Reduce (PTryFromExcess PData PStakingCredential s)) -> Term s r) -> Term s r Source #

PTryFrom PData (PAsData PStakingCredential) Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData PStakingCredential), Reduce (PTryFromExcess PData (PAsData PStakingCredential) s)) -> Term s r) -> Term s r Source #

Generic (PStakingCredential s) Source # 
Instance details

Defined in Plutarch.Api.V1.Address

Associated Types

type Rep (PStakingCredential s) :: Type -> Type Source #

type DPTStrat PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PContravariant' PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PCovariant' PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PInner PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PVariant' PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PLifted PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PTryFromExcess PData PStakingCredential Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type PTryFromExcess PData (PAsData PStakingCredential) Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type Rep (PStakingCredential s) Source # 
Instance details

Defined in Plutarch.Api.V1.Address

type Rep (PStakingCredential s) = D1 ('MetaData "PStakingCredential" "Plutarch.Api.V1.Address" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'False) (C1 ('MetaCons "PStakingHash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["_0" := PCredential])))) :+: C1 ('MetaCons "PStakingPtr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["_0" := PInteger, "_1" := PInteger, "_2" := PInteger])))))

newtype PValue (keys :: KeyGuarantees) (amounts :: AmountGuarantees) (s :: S) Source #

Constructors

PValue (Term s (PMap keys PCurrencySymbol (PMap keys PTokenName PInteger))) 

Instances

Instances details
PTryFrom PData (PAsData (PValue 'Sorted 'NoGuarantees)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData (PValue 'Sorted 'NoGuarantees)), Reduce (PTryFromExcess PData (PAsData (PValue 'Sorted 'NoGuarantees)) s)) -> Term s r) -> Term s r Source #

PTryFrom PData (PAsData (PValue 'Sorted 'NonZero)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type PTryFromExcess PData (PAsData (PValue 'Sorted 'NonZero)) :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData (PValue 'Sorted 'NonZero)), Reduce (PTryFromExcess PData (PAsData (PValue 'Sorted 'NonZero)) s)) -> Term s r) -> Term s r Source #

PTryFrom PData (PAsData (PValue 'Sorted 'Positive)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData (PValue 'Sorted 'Positive)), Reduce (PTryFromExcess PData (PAsData (PValue 'Sorted 'Positive)) s)) -> Term s r) -> Term s r Source #

PTryFrom PData (PAsData (PValue 'Unsorted 'NoGuarantees)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData (PValue 'Unsorted 'NoGuarantees)), Reduce (PTryFromExcess PData (PAsData (PValue 'Unsorted 'NoGuarantees)) s)) -> Term s r) -> Term s r Source #

PTryFrom PData (PAsData (PValue 'Unsorted 'NonZero)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData (PValue 'Unsorted 'NonZero)), Reduce (PTryFromExcess PData (PAsData (PValue 'Unsorted 'NonZero)) s)) -> Term s r) -> Term s r Source #

PTryFrom PData (PAsData (PValue 'Unsorted 'Positive)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData (PValue 'Unsorted 'Positive)), Reduce (PTryFromExcess PData (PAsData (PValue 'Unsorted 'Positive)) s)) -> Term s r) -> Term s r Source #

Semigroup (Term s (PValue 'Sorted normalization)) => Monoid (Term s (PValue 'Sorted normalization)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

mempty :: Term s (PValue 'Sorted normalization) Source #

mappend :: Term s (PValue 'Sorted normalization) -> Term s (PValue 'Sorted normalization) -> Term s (PValue 'Sorted normalization) Source #

mconcat :: [Term s (PValue 'Sorted normalization)] -> Term s (PValue 'Sorted normalization) Source #

Semigroup (Term s (PValue 'Sorted 'NoGuarantees)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Semigroup (Term s (PValue 'Sorted 'NonZero)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Semigroup (Term s (PValue 'Sorted 'Positive)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

PEq (PValue 'Sorted 'NoGuarantees) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

(#==) :: forall (s :: S). Term s (PValue 'Sorted 'NoGuarantees) -> Term s (PValue 'Sorted 'NoGuarantees) -> Term s PBool Source #

PEq (PValue 'Sorted 'NonZero) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

(#==) :: forall (s :: S). Term s (PValue 'Sorted 'NonZero) -> Term s (PValue 'Sorted 'NonZero) -> Term s PBool Source #

PEq (PValue 'Sorted 'Positive) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

(#==) :: forall (s :: S). Term s (PValue 'Sorted 'Positive) -> Term s (PValue 'Sorted 'Positive) -> Term s PBool Source #

PPartialOrd (PValue 'Sorted 'NonZero) Source #

Partial ordering implementation for sorted PValue with NonZero amounts.

Use pcheckBinRel if AmountGuarantees is NoGuarantees.

Instance details

Defined in Plutarch.Api.V1.Value

Methods

(#<=) :: forall (s :: S). Term s (PValue 'Sorted 'NonZero) -> Term s (PValue 'Sorted 'NonZero) -> Term s PBool Source #

(#<) :: forall (s :: S). Term s (PValue 'Sorted 'NonZero) -> Term s (PValue 'Sorted 'NonZero) -> Term s PBool Source #

PPartialOrd (PValue 'Sorted 'Positive) Source #

Partial ordering implementation for sorted PValue with Positive amounts.

Use pcheckBinRel if AmountGuarantees is NoGuarantees.

Instance details

Defined in Plutarch.Api.V1.Value

Methods

(#<=) :: forall (s :: S). Term s (PValue 'Sorted 'Positive) -> Term s (PValue 'Sorted 'Positive) -> Term s PBool Source #

(#<) :: forall (s :: S). Term s (PValue 'Sorted 'Positive) -> Term s (PValue 'Sorted 'Positive) -> Term s PBool Source #

PIsData (PValue keys amounts) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData (PValue keys amounts)) -> Term s (PValue keys amounts) Source #

pdataImpl :: forall (s :: S). Term s (PValue keys amounts) -> Term s PData Source #

DerivePlutusType (PValue keys amounts) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type DPTStrat (PValue keys amounts) Source #

PlutusType (PValue keys amounts) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type PInner (PValue keys amounts) :: PType Source #

type PCovariant' (PValue keys amounts) Source #

type PContravariant' (PValue keys amounts) Source #

type PVariant' (PValue keys amounts) Source #

Methods

pcon' :: forall (s :: S). PValue keys amounts s -> Term s (PInner (PValue keys amounts)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PValue keys amounts)) -> (PValue keys amounts s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl (PValue 'Unsorted 'NonZero) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type PLifted (PValue 'Unsorted 'NonZero) = (r :: Type) Source #

PShow (PValue keys amounts) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

pshow' :: forall (s :: S). Bool -> Term s (PValue keys amounts) -> Term s PString Source #

Semigroup (Term s (PValue 'Sorted 'NoGuarantees)) => Group (Term s (PValue 'Sorted 'NoGuarantees)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Semigroup (Term s (PValue 'Sorted 'NonZero)) => Group (Term s (PValue 'Sorted 'NonZero)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Semigroup (Term s (PValue 'Sorted normalization)) => Monoid (Term s (PValue 'Sorted normalization)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

mempty :: Term s (PValue 'Sorted normalization) Source #

Semigroup (Term s (PValue 'Sorted 'NoGuarantees)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Semigroup (Term s (PValue 'Sorted 'NonZero)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Semigroup (Term s (PValue 'Sorted 'Positive)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Generic (PValue keys amounts s) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type Rep (PValue keys amounts s) :: Type -> Type Source #

Methods

from :: PValue keys amounts s -> Rep (PValue keys amounts s) x Source #

to :: Rep (PValue keys amounts s) x -> PValue keys amounts s Source #

type PTryFromExcess PData (PAsData (PValue 'Sorted 'NoGuarantees)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PTryFromExcess PData (PAsData (PValue 'Sorted 'NonZero)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PTryFromExcess PData (PAsData (PValue 'Sorted 'Positive)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PTryFromExcess PData (PAsData (PValue 'Unsorted 'NoGuarantees)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PTryFromExcess PData (PAsData (PValue 'Unsorted 'NonZero)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PTryFromExcess PData (PAsData (PValue 'Unsorted 'Positive)) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type DPTStrat (PValue keys amounts) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type DPTStrat (PValue keys amounts) = PlutusTypeNewtype
type PContravariant' (PValue keys amounts) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PContravariant' (PValue keys amounts)
type PCovariant' (PValue keys amounts) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PCovariant' (PValue keys amounts)
type PInner (PValue keys amounts) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PInner (PValue keys amounts) = DerivedPInner (DPTStrat (PValue keys amounts)) (PValue keys amounts)
type PVariant' (PValue keys amounts) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PVariant' (PValue keys amounts)
type PLifted (PValue 'Unsorted 'NonZero) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type Rep (PValue keys amounts s) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type Rep (PValue keys amounts s) = D1 ('MetaData "PValue" "Plutarch.Api.V1.Value" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PMap keys PCurrencySymbol (PMap keys PTokenName PInteger))))))

newtype PCurrencySymbol (s :: S) Source #

Constructors

PCurrencySymbol (Term s PByteString) 

Instances

Instances details
PEq PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

(#==) :: forall (s :: S). Term s PCurrencySymbol -> Term s PCurrencySymbol -> Term s PBool Source #

POrd PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

PPartialOrd PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

(#<=) :: forall (s :: S). Term s PCurrencySymbol -> Term s PCurrencySymbol -> Term s PBool Source #

(#<) :: forall (s :: S). Term s PCurrencySymbol -> Term s PCurrencySymbol -> Term s PBool Source #

PIsData PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PCurrencySymbol) -> Term s PCurrencySymbol Source #

pdataImpl :: forall (s :: S). Term s PCurrencySymbol -> Term s PData Source #

DerivePlutusType PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type DPTStrat PCurrencySymbol Source #

PlutusType PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

pcon' :: forall (s :: S). PCurrencySymbol s -> Term s (PInner PCurrencySymbol) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PCurrencySymbol) -> (PCurrencySymbol s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type PLifted PCurrencySymbol = (r :: Type) Source #

PShow PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

pshow' :: forall (s :: S). Bool -> Term s PCurrencySymbol -> Term s PString Source #

PTryFrom PData (PAsData PCurrencySymbol) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData PCurrencySymbol), Reduce (PTryFromExcess PData (PAsData PCurrencySymbol) s)) -> Term s r) -> Term s r Source #

Generic (PCurrencySymbol s) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type Rep (PCurrencySymbol s) :: Type -> Type Source #

type DPTStrat PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PContravariant' PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PCovariant' PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PInner PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PVariant' PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PLifted PCurrencySymbol Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PTryFromExcess PData (PAsData PCurrencySymbol) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type Rep (PCurrencySymbol s) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type Rep (PCurrencySymbol s) = D1 ('MetaData "PCurrencySymbol" "Plutarch.Api.V1.Value" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PCurrencySymbol" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PByteString))))

newtype PTokenName (s :: S) Source #

Constructors

PTokenName (Term s PByteString) 

Instances

Instances details
PEq PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

(#==) :: forall (s :: S). Term s PTokenName -> Term s PTokenName -> Term s PBool Source #

POrd PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

PPartialOrd PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

(#<=) :: forall (s :: S). Term s PTokenName -> Term s PTokenName -> Term s PBool Source #

(#<) :: forall (s :: S). Term s PTokenName -> Term s PTokenName -> Term s PBool Source #

PIsData PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PTokenName) -> Term s PTokenName Source #

pdataImpl :: forall (s :: S). Term s PTokenName -> Term s PData Source #

DerivePlutusType PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type DPTStrat PTokenName Source #

PlutusType PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

pcon' :: forall (s :: S). PTokenName s -> Term s (PInner PTokenName) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PTokenName) -> (PTokenName s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type PLifted PTokenName = (r :: Type) Source #

PShow PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Methods

pshow' :: forall (s :: S). Bool -> Term s PTokenName -> Term s PString Source #

PTryFrom PData (PAsData PTokenName) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type PTryFromExcess PData (PAsData PTokenName) :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData PTokenName), Reduce (PTryFromExcess PData (PAsData PTokenName) s)) -> Term s r) -> Term s r Source #

Generic (PTokenName s) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

Associated Types

type Rep (PTokenName s) :: Type -> Type Source #

Methods

from :: PTokenName s -> Rep (PTokenName s) x Source #

to :: Rep (PTokenName s) x -> PTokenName s Source #

type DPTStrat PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PContravariant' PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PCovariant' PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PInner PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PVariant' PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PLifted PTokenName Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type PTryFromExcess PData (PAsData PTokenName) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type Rep (PTokenName s) Source # 
Instance details

Defined in Plutarch.Api.V1.Value

type Rep (PTokenName s) = D1 ('MetaData "PTokenName" "Plutarch.Api.V1.Value" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PTokenName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PByteString))))

newtype PInterval a (s :: S) Source #

Constructors

PInterval (Term s (PDataRecord '["from" := PLowerBound a, "to" := PUpperBound a])) 

Instances

Instances details
PEq (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

(#==) :: forall (s :: S). Term s (PInterval a) -> Term s (PInterval a) -> Term s PBool Source #

(POrd a, PIsData a) => POrd (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

(POrd a, PIsData a) => PPartialOrd (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

(#<=) :: forall (s :: S). Term s (PInterval a) -> Term s (PInterval a) -> Term s PBool Source #

(#<) :: forall (s :: S). Term s (PInterval a) -> Term s (PInterval a) -> Term s PBool Source #

PIsData (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData (PInterval a)) -> Term s (PInterval a) Source #

pdataImpl :: forall (s :: S). Term s (PInterval a) -> Term s PData Source #

PDataFields (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type PFields (PInterval a) :: [PLabeledType] Source #

Methods

ptoFields :: forall (s :: S). Term s (PInterval a) -> Term s (PDataRecord (PFields (PInterval a))) Source #

DerivePlutusType (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type DPTStrat (PInterval a) Source #

PlutusType (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pcon' :: forall (s :: S). PInterval a s -> Term s (PInner (PInterval a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PInterval a)) -> (PInterval a s -> Term s b) -> Term s b Source #

PLiftData a => PUnsafeLiftDecl (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type PLifted (PInterval a) = (r :: Type) Source #

(PIsData a, PShow a) => PShow (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pshow' :: forall (s :: S). Bool -> Term s (PInterval a) -> Term s PString Source #

Generic (PInterval a s) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type Rep (PInterval a s) :: Type -> Type Source #

Methods

from :: PInterval a s -> Rep (PInterval a s) x Source #

to :: Rep (PInterval a s) x -> PInterval a s Source #

type PFields (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type DPTStrat (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PContravariant' (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PCovariant' (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PInner (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PVariant' (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PLifted (PInterval a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type Rep (PInterval a s) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type Rep (PInterval a s) = D1 ('MetaData "PInterval" "Plutarch.Api.V1.Interval" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PInterval" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["from" := PLowerBound a, "to" := PUpperBound a])))))

data PExtended a (s :: S) Source #

Constructors

PNegInf (Term s (PDataRecord '[])) 
PFinite (Term s (PDataRecord '["_0" := a])) 
PPosInf (Term s (PDataRecord '[])) 

Instances

Instances details
PEq (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

(#==) :: forall (s :: S). Term s (PExtended a) -> Term s (PExtended a) -> Term s PBool Source #

(POrd a, PIsData a) => POrd (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

(POrd a, PIsData a) => PPartialOrd (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

(#<=) :: forall (s :: S). Term s (PExtended a) -> Term s (PExtended a) -> Term s PBool Source #

(#<) :: forall (s :: S). Term s (PExtended a) -> Term s (PExtended a) -> Term s PBool Source #

PIsData (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData (PExtended a)) -> Term s (PExtended a) Source #

pdataImpl :: forall (s :: S). Term s (PExtended a) -> Term s PData Source #

DerivePlutusType (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type DPTStrat (PExtended a) Source #

PlutusType (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pcon' :: forall (s :: S). PExtended a s -> Term s (PInner (PExtended a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PExtended a)) -> (PExtended a s -> Term s b) -> Term s b Source #

(PIsData a, PShow a) => PShow (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pshow' :: forall (s :: S). Bool -> Term s (PExtended a) -> Term s PString Source #

Generic (PExtended a s) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type Rep (PExtended a s) :: Type -> Type Source #

Methods

from :: PExtended a s -> Rep (PExtended a s) x Source #

to :: Rep (PExtended a s) x -> PExtended a s Source #

type DPTStrat (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PContravariant' (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PCovariant' (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PInner (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PVariant' (PExtended a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type Rep (PExtended a s) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type Rep (PExtended a s) = D1 ('MetaData "PExtended" "Plutarch.Api.V1.Interval" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'False) (C1 ('MetaCons "PNegInf" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord ('[] :: [PLabeledType]))))) :+: (C1 ('MetaCons "PFinite" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["_0" := a])))) :+: C1 ('MetaCons "PPosInf" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord ('[] :: [PLabeledType])))))))

newtype PLowerBound a (s :: S) Source #

Constructors

PLowerBound (Term s (PDataRecord '["_0" := PExtended a, "_1" := PClosure])) 

Instances

Instances details
PEq (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

(#==) :: forall (s :: S). Term s (PLowerBound a) -> Term s (PLowerBound a) -> Term s PBool Source #

(POrd a, PIsData a) => POrd (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

(POrd a, PIsData a) => PPartialOrd (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

(#<=) :: forall (s :: S). Term s (PLowerBound a) -> Term s (PLowerBound a) -> Term s PBool Source #

(#<) :: forall (s :: S). Term s (PLowerBound a) -> Term s (PLowerBound a) -> Term s PBool Source #

PIsData (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData (PLowerBound a)) -> Term s (PLowerBound a) Source #

pdataImpl :: forall (s :: S). Term s (PLowerBound a) -> Term s PData Source #

PDataFields (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type PFields (PLowerBound a) :: [PLabeledType] Source #

Methods

ptoFields :: forall (s :: S). Term s (PLowerBound a) -> Term s (PDataRecord (PFields (PLowerBound a))) Source #

DerivePlutusType (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type DPTStrat (PLowerBound a) Source #

PlutusType (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pcon' :: forall (s :: S). PLowerBound a s -> Term s (PInner (PLowerBound a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PLowerBound a)) -> (PLowerBound a s -> Term s b) -> Term s b Source #

PLiftData a => PUnsafeLiftDecl (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type PLifted (PLowerBound a) = (r :: Type) Source #

(PIsData a, PShow a) => PShow (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pshow' :: forall (s :: S). Bool -> Term s (PLowerBound a) -> Term s PString Source #

Generic (PLowerBound a s) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type Rep (PLowerBound a s) :: Type -> Type Source #

Methods

from :: PLowerBound a s -> Rep (PLowerBound a s) x Source #

to :: Rep (PLowerBound a s) x -> PLowerBound a s Source #

type PFields (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type DPTStrat (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PContravariant' (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PCovariant' (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PInner (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PVariant' (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PLifted (PLowerBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type Rep (PLowerBound a s) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type Rep (PLowerBound a s) = D1 ('MetaData "PLowerBound" "Plutarch.Api.V1.Interval" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PLowerBound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["_0" := PExtended a, "_1" := PClosure])))))

newtype PUpperBound a (s :: S) Source #

Constructors

PUpperBound (Term s (PDataRecord '["_0" := PExtended a, "_1" := PClosure])) 

Instances

Instances details
PEq (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

(#==) :: forall (s :: S). Term s (PUpperBound a) -> Term s (PUpperBound a) -> Term s PBool Source #

(POrd a, PIsData a) => POrd (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

(POrd a, PIsData a) => PPartialOrd (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

(#<=) :: forall (s :: S). Term s (PUpperBound a) -> Term s (PUpperBound a) -> Term s PBool Source #

(#<) :: forall (s :: S). Term s (PUpperBound a) -> Term s (PUpperBound a) -> Term s PBool Source #

PIsData (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData (PUpperBound a)) -> Term s (PUpperBound a) Source #

pdataImpl :: forall (s :: S). Term s (PUpperBound a) -> Term s PData Source #

PDataFields (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type PFields (PUpperBound a) :: [PLabeledType] Source #

Methods

ptoFields :: forall (s :: S). Term s (PUpperBound a) -> Term s (PDataRecord (PFields (PUpperBound a))) Source #

DerivePlutusType (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type DPTStrat (PUpperBound a) Source #

PlutusType (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pcon' :: forall (s :: S). PUpperBound a s -> Term s (PInner (PUpperBound a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PUpperBound a)) -> (PUpperBound a s -> Term s b) -> Term s b Source #

PLiftData a => PUnsafeLiftDecl (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type PLifted (PUpperBound a) = (r :: Type) Source #

(PIsData a, PShow a) => PShow (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Methods

pshow' :: forall (s :: S). Bool -> Term s (PUpperBound a) -> Term s PString Source #

Generic (PUpperBound a s) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

Associated Types

type Rep (PUpperBound a s) :: Type -> Type Source #

Methods

from :: PUpperBound a s -> Rep (PUpperBound a s) x Source #

to :: Rep (PUpperBound a s) x -> PUpperBound a s Source #

type PFields (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type DPTStrat (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PContravariant' (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PCovariant' (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PInner (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PVariant' (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type PLifted (PUpperBound a) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type Rep (PUpperBound a s) Source # 
Instance details

Defined in Plutarch.Api.V1.Interval

type Rep (PUpperBound a s) = D1 ('MetaData "PUpperBound" "Plutarch.Api.V1.Interval" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PUpperBound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PDataRecord '["_0" := PExtended a, "_1" := PClosure])))))

newtype PPOSIXTime (s :: S) Source #

Constructors

PPOSIXTime (Term s PInteger) 

Instances

Instances details
PEq PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

Methods

(#==) :: forall (s :: S). Term s PPOSIXTime -> Term s PPOSIXTime -> Term s PBool Source #

POrd PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

PPartialOrd PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

Methods

(#<=) :: forall (s :: S). Term s PPOSIXTime -> Term s PPOSIXTime -> Term s PBool Source #

(#<) :: forall (s :: S). Term s PPOSIXTime -> Term s PPOSIXTime -> Term s PBool Source #

PIsData PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData PPOSIXTime) -> Term s PPOSIXTime Source #

pdataImpl :: forall (s :: S). Term s PPOSIXTime -> Term s PData Source #

PIntegral PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

DerivePlutusType PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

Associated Types

type DPTStrat PPOSIXTime Source #

PlutusType PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

Methods

pcon' :: forall (s :: S). PPOSIXTime s -> Term s (PInner PPOSIXTime) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PPOSIXTime) -> (PPOSIXTime s -> Term s b) -> Term s b Source #

PUnsafeLiftDecl PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

Associated Types

type PLifted PPOSIXTime = (r :: Type) Source #

PNum PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

Methods

(#+) :: forall (s :: S). Term s PPOSIXTime -> Term s PPOSIXTime -> Term s PPOSIXTime Source #

(#-) :: forall (s :: S). Term s PPOSIXTime -> Term s PPOSIXTime -> Term s PPOSIXTime Source #

(#*) :: forall (s :: S). Term s PPOSIXTime -> Term s PPOSIXTime -> Term s PPOSIXTime Source #

pnegate :: forall (s :: S). Term s (PPOSIXTime :--> PPOSIXTime) Source #

pabs :: forall (s :: S). Term s (PPOSIXTime :--> PPOSIXTime) Source #

psignum :: forall (s :: S). Term s (PPOSIXTime :--> PPOSIXTime) Source #

pfromInteger :: forall (s :: S). Integer -> Term s PPOSIXTime Source #

PShow PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

Methods

pshow' :: forall (s :: S). Bool -> Term s PPOSIXTime -> Term s PString Source #

PTryFrom PData (PAsData PPOSIXTime) Source # 
Instance details

Defined in Plutarch.Api.V1.Time

Associated Types

type PTryFromExcess PData (PAsData PPOSIXTime) :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData PPOSIXTime), Reduce (PTryFromExcess PData (PAsData PPOSIXTime) s)) -> Term s r) -> Term s r Source #

Generic (PPOSIXTime s) Source # 
Instance details

Defined in Plutarch.Api.V1.Time

Associated Types

type Rep (PPOSIXTime s) :: Type -> Type Source #

Methods

from :: PPOSIXTime s -> Rep (PPOSIXTime s) x Source #

to :: Rep (PPOSIXTime s) x -> PPOSIXTime s Source #

type DPTStrat PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

type PContravariant' PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

type PCovariant' PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

type PInner PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

type PVariant' PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

type PLifted PPOSIXTime Source # 
Instance details

Defined in Plutarch.Api.V1.Time

type PTryFromExcess PData (PAsData PPOSIXTime) Source # 
Instance details

Defined in Plutarch.Api.V1.Time

type Rep (PPOSIXTime s) Source # 
Instance details

Defined in Plutarch.Api.V1.Time

type Rep (PPOSIXTime s) = D1 ('MetaData "PPOSIXTime" "Plutarch.Api.V1.Time" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PPOSIXTime" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PInteger))))

newtype PMap (keysort :: KeyGuarantees) (k :: PType) (v :: PType) (s :: S) Source #

Constructors

PMap (Term s (PBuiltinList (PBuiltinPair (PAsData k) (PAsData v)))) 

Instances

Instances details
(POrd k, PIsData k, PIsData v, PTryFrom PData (PAsData k), PTryFrom PData (PAsData v)) => PTryFrom PData (PAsData (PMap 'Sorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Associated Types

type PTryFromExcess PData (PAsData (PMap 'Sorted k v)) :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData (PMap 'Sorted k v)), Reduce (PTryFromExcess PData (PAsData (PMap 'Sorted k v)) s)) -> Term s r) -> Term s r Source #

(PTryFrom PData (PAsData k), PTryFrom PData (PAsData v)) => PTryFrom PData (PAsData (PMap 'Unsorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Associated Types

type PTryFromExcess PData (PAsData (PMap 'Unsorted k v)) :: PType Source #

Methods

ptryFrom' :: forall (s :: S) (r :: PType). Term s PData -> ((Term s (PAsData (PMap 'Unsorted k v)), Reduce (PTryFromExcess PData (PAsData (PMap 'Unsorted k v)) s)) -> Term s r) -> Term s r Source #

(POrd k, PIsData k, PIsData v, Semigroup (Term s v)) => Monoid (Term s (PMap 'Sorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Methods

mempty :: Term s (PMap 'Sorted k v) Source #

mappend :: Term s (PMap 'Sorted k v) -> Term s (PMap 'Sorted k v) -> Term s (PMap 'Sorted k v) Source #

mconcat :: [Term s (PMap 'Sorted k v)] -> Term s (PMap 'Sorted k v) Source #

(POrd k, PIsData k, PIsData v, Semigroup (Term s v)) => Semigroup (Term s (PMap 'Sorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Methods

(<>) :: Term s (PMap 'Sorted k v) -> Term s (PMap 'Sorted k v) -> Term s (PMap 'Sorted k v) Source #

sconcat :: NonEmpty (Term s (PMap 'Sorted k v)) -> Term s (PMap 'Sorted k v) Source #

stimes :: Integral b => b -> Term s (PMap 'Sorted k v) -> Term s (PMap 'Sorted k v) Source #

(PIsData k, PIsData v, POrd k) => IsList (Term s (PMap 'Sorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Associated Types

type Item (Term s (PMap 'Sorted k v)) Source #

Methods

fromList :: [Item (Term s (PMap 'Sorted k v))] -> Term s (PMap 'Sorted k v) Source #

fromListN :: Int -> [Item (Term s (PMap 'Sorted k v))] -> Term s (PMap 'Sorted k v) Source #

toList :: Term s (PMap 'Sorted k v) -> [Item (Term s (PMap 'Sorted k v))] Source #

(PIsData k, PIsData v, POrd k) => IsList (Term s (PMap 'Unsorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Associated Types

type Item (Term s (PMap 'Unsorted k v)) Source #

Methods

fromList :: [Item (Term s (PMap 'Unsorted k v))] -> Term s (PMap 'Unsorted k v) Source #

fromListN :: Int -> [Item (Term s (PMap 'Unsorted k v))] -> Term s (PMap 'Unsorted k v) Source #

toList :: Term s (PMap 'Unsorted k v) -> [Item (Term s (PMap 'Unsorted k v))] Source #

(POrd k, PIsData k, PIsData v, Group (Term s v)) => Group (Term s (PMap 'Sorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Methods

inv :: Term s (PMap 'Sorted k v) -> Term s (PMap 'Sorted k v) Source #

(POrd k, PIsData k, PIsData v, Semigroup (Term s v)) => Monoid (Term s (PMap 'Sorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Methods

mempty :: Term s (PMap 'Sorted k v) Source #

(POrd k, PIsData k, PIsData v, Semigroup (Term s v)) => Semigroup (Term s (PMap 'Sorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Methods

(<>) :: Term s (PMap 'Sorted k v) -> Term s (PMap 'Sorted k v) -> Term s (PMap 'Sorted k v) Source #

PEq (PMap 'Sorted k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Methods

(#==) :: forall (s :: S). Term s (PMap 'Sorted k v) -> Term s (PMap 'Sorted k v) -> Term s PBool Source #

PIsData (PMap keysort k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Methods

pfromDataImpl :: forall (s :: S). Term s (PAsData (PMap keysort k v)) -> Term s (PMap keysort k v) Source #

pdataImpl :: forall (s :: S). Term s (PMap keysort k v) -> Term s PData Source #

DerivePlutusType (PMap keysort k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Associated Types

type DPTStrat (PMap keysort k v) Source #

PlutusType (PMap keysort k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Associated Types

type PInner (PMap keysort k v) :: PType Source #

type PCovariant' (PMap keysort k v) Source #

type PContravariant' (PMap keysort k v) Source #

type PVariant' (PMap keysort k v) Source #

Methods

pcon' :: forall (s :: S). PMap keysort k v s -> Term s (PInner (PMap keysort k v)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PMap keysort k v)) -> (PMap keysort k v s -> Term s b) -> Term s b Source #

(PLiftData k, PLiftData v, Ord (PLifted k)) => PUnsafeLiftDecl (PMap 'Unsorted k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Associated Types

type PLifted (PMap 'Unsorted k v) = (r :: Type) Source #

(PIsData k, PIsData v, PShow k, PShow v) => PShow (PMap keysort k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Methods

pshow' :: forall (s :: S). Bool -> Term s (PMap keysort k v) -> Term s PString Source #

Generic (PMap keysort k v s) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

Associated Types

type Rep (PMap keysort k v s) :: Type -> Type Source #

Methods

from :: PMap keysort k v s -> Rep (PMap keysort k v s) x Source #

to :: Rep (PMap keysort k v s) x -> PMap keysort k v s Source #

type PTryFromExcess PData (PAsData (PMap 'Sorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

type PTryFromExcess PData (PAsData (PMap 'Unsorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

type Item (Term s (PMap 'Sorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

type Item (Term s (PMap 'Sorted k v)) = (Term s k, Term s v)
type Item (Term s (PMap 'Unsorted k v)) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

type Item (Term s (PMap 'Unsorted k v)) = (Term s k, Term s v)
type DPTStrat (PMap keysort k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

type DPTStrat (PMap keysort k v) = PlutusTypeNewtype
type PContravariant' (PMap keysort k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

type PContravariant' (PMap keysort k v)
type PCovariant' (PMap keysort k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

type PCovariant' (PMap keysort k v)
type PInner (PMap keysort k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

type PInner (PMap keysort k v) = DerivedPInner (DPTStrat (PMap keysort k v)) (PMap keysort k v)
type PVariant' (PMap keysort k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

type PVariant' (PMap keysort k v)
type PLifted (PMap 'Unsorted k v) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

type PLifted (PMap 'Unsorted k v) = Map (PLifted k) (PLifted v)
type Rep (PMap keysort k v s) Source # 
Instance details

Defined in Plutarch.Api.V1.AssocMap

type Rep (PMap keysort k v s) = D1 ('MetaData "PMap" "Plutarch.Api.V1.AssocMap" "plutarch-1.3.0-287WdR4V4qr3NTh5i3Je4I" 'True) (C1 ('MetaCons "PMap" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PBuiltinList (PBuiltinPair (PAsData k) (PAsData v)))))))

Script Utils

scriptHash :: Script -> ScriptHash Source #

Hash a Script, with the correct prefix for Plutus V2

datumHash :: Datum -> DatumHash Source #

Hash a Datum.

redeemerHash :: Redeemer -> RedeemerHash Source #

Hash a Redeemer.

dataHash :: ToData a => a -> BuiltinByteString Source #

Hash the data encoded representation of given argument.