| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Plutarch.LedgerApi.V3.Contexts
Synopsis
- newtype PColdCommitteeCredential (s :: S) = PColdCommitteeCredential (Term s PCredential)
- newtype PHotCommitteeCredential (s :: S) = PHotCommitteeCredential (Term s PCredential)
- newtype PDRepCredential (s :: S) = PDRepCredential (Term s PCredential)
- data PDRep (s :: S)
- = PDRep (Term s (PAsData PDRepCredential))
- | PDRepAlwaysAbstain
- | PDRepAlwaysNoConfidence
- data PDelegatee (s :: S)
- = PDelegStake (Term s (PAsData PPubKeyHash))
- | PDelegVote (Term s PDRep)
- | PDelegStakeVote (Term s (PAsData PPubKeyHash)) (Term s PDRep)
- data PTxCert (s :: S)
- = PTxCertRegStaking (Term s PCredential) (Term s (PMaybeData PLovelace))
- | PTxCertUnRegStaking (Term s PCredential) (Term s (PMaybeData PLovelace))
- | PTxCertDelegStaking (Term s PCredential) (Term s PDelegatee)
- | PTxCertRegDeleg (Term s PCredential) (Term s PDelegatee) (Term s (PAsData PLovelace))
- | PTxCertRegDRep (Term s PDRepCredential) (Term s (PAsData PLovelace))
- | PTxCertUpdateDRep (Term s PDRepCredential)
- | PTxCertUnRegDRep (Term s PDRepCredential) (Term s (PAsData PLovelace))
- | PTxCertPoolRegister (Term s (PAsData PPubKeyHash)) (Term s (PAsData PPubKeyHash))
- | PTxCertPoolRetire (Term s (PAsData PPubKeyHash)) (Term s (PAsData PInteger))
- | PTxCertAuthHotCommittee (Term s PColdCommitteeCredential) (Term s PHotCommitteeCredential)
- | PTxCertResignColdCommittee (Term s PColdCommitteeCredential)
- data PVoter (s :: S)
- = PCommitteeVoter (Term s PHotCommitteeCredential)
- | PDRepVoter (Term s PDRepCredential)
- | PStakePoolVoter (Term s (PAsData PPubKeyHash))
- data PVote (s :: S)
- data PGovernanceActionId (s :: S) = PGovernanceActionId (Term s (PAsData PTxId)) (Term s (PAsData PInteger))
- data PCommittee (s :: S) = PCommittee {
- pcommittee'members :: Term s (PAsData (PUnsortedMap PColdCommitteeCredential PInteger))
- pcommittee'quorum :: Term s PRationalData
- newtype PConstitution (s :: S) = PConstitution (Term s (PMaybeData PScriptHash))
- data PProtocolVersion (s :: S) = PProtocolVersion {
- pprotocolVersion'major :: Term s (PAsData PInteger)
- pprotocolVersion'minor :: Term s (PAsData PInteger)
- newtype PChangedParameters (s :: S) = PChangedParameters (Term s PData)
- data PGovernanceAction (s :: S)
- = PParameterChange (Term s (PMaybeData PGovernanceActionId)) (Term s PChangedParameters) (Term s (PMaybeData PScriptHash))
- | PHardForkInitiation (Term s (PMaybeData PGovernanceActionId)) (Term s PProtocolVersion)
- | PTreasuryWithdrawals (Term s (PAsData (PUnsortedMap PCredential PLovelace))) (Term s (PMaybeData PScriptHash))
- | PNoConfidence (Term s (PMaybeData PGovernanceActionId))
- | PUpdateCommittee (Term s (PMaybeData PGovernanceActionId)) (Term s (PAsData (PBuiltinList (PAsData PColdCommitteeCredential)))) (Term s (PAsData (PUnsortedMap PColdCommitteeCredential PInteger))) (Term s PRationalData)
- | PNewConstitution (Term s (PMaybeData PGovernanceActionId)) (Term s PConstitution)
- | PInfoAction
- data PProposalProcedure (s :: S) = PProposalProcedure {
- pproposalProcedure'deposit :: Term s (PAsData PLovelace)
- pproposalProcedure'returnAddr :: Term s PCredential
- pproposalProcedure'governanceAction :: Term s PGovernanceAction
- data PScriptPurpose (s :: S)
- = PMinting (Term s (PAsData PCurrencySymbol))
- | PSpending (Term s PTxOutRef)
- | PRewarding (Term s PCredential)
- | PCertifying (Term s (PAsData PInteger)) (Term s PTxCert)
- | PVoting (Term s PVoter)
- | PProposing (Term s (PAsData PInteger)) (Term s PProposalProcedure)
- data PScriptInfo (s :: S)
- = PMintingScript (Term s (PAsData PCurrencySymbol))
- | PSpendingScript (Term s PTxOutRef) (Term s (PMaybeData PDatum))
- | PRewardingScript (Term s PCredential)
- | PCertifyingScript (Term s (PAsData PInteger)) (Term s PTxCert)
- | PVotingScript (Term s PVoter)
- | PProposingScript (Term s (PAsData PInteger)) (Term s PProposalProcedure)
- data PTxInInfo (s :: S) = PTxInInfo {
- ptxInInfo'outRef :: Term s PTxOutRef
- ptxInInfo'resolved :: Term s PTxOut
- data PTxInfo (s :: S) = PTxInfo {
- ptxInfo'inputs :: Term s (PAsData (PBuiltinList (PAsData PTxInInfo)))
- ptxInfo'referenceInputs :: Term s (PAsData (PBuiltinList (PAsData PTxInInfo)))
- ptxInfo'outputs :: Term s (PAsData (PBuiltinList (PAsData PTxOut)))
- ptxInfo'fee :: Term s (PAsData PLovelace)
- ptxInfo'mint :: Term s (PAsData PMintValue)
- ptxInfo'txCerts :: Term s (PAsData (PBuiltinList (PAsData PTxCert)))
- ptxInfo'wdrl :: Term s (PAsData (PUnsortedMap PCredential PLovelace))
- ptxInfo'validRange :: Term s (PInterval PPosixTime)
- ptxInfo'signatories :: Term s (PAsData (PBuiltinList (PAsData PPubKeyHash)))
- ptxInfo'redeemers :: Term s (PAsData (PUnsortedMap PScriptPurpose PRedeemer))
- ptxInfo'data :: Term s (PAsData (PUnsortedMap PDatumHash PDatum))
- ptxInfo'id :: Term s (PAsData PTxId)
- ptxInfo'votes :: Term s (PAsData (PUnsortedMap PVoter (PUnsortedMap PGovernanceActionId PVote)))
- ptxInfo'proposalProcedures :: Term s (PAsData (PBuiltinList (PAsData PProposalProcedure)))
- ptxInfo'currentTreasuryAmount :: Term s (PMaybeData PLovelace)
- ptxInfo'treasuryDonation :: Term s (PMaybeData PLovelace)
- data PScriptContext (s :: S) = PScriptContext {
- pscriptContext'txInfo :: Term s PTxInfo
- pscriptContext'redeemer :: Term s PRedeemer
- pscriptContext'scriptInfo :: Term s PScriptInfo
- pfindOwnInput :: forall (s :: S). Term s (PScriptContext :--> PMaybe PTxInInfo)
- pfindDatum :: forall (s :: S). Term s (PDatumHash :--> (PTxInfo :--> PMaybe PDatum))
- pfindDatumHash :: forall (s :: S). Term s (PDatum :--> (PTxInfo :--> PMaybe PDatumHash))
- pparseDatum :: forall (a :: S -> Type) (s :: S). PTryFrom PData (PAsData a) => Term s (PDatumHash :--> (PUnsortedMap PDatumHash PDatum :--> PMaybe (PAsData a)))
- pfindTxInByTxOutRef :: forall (s :: S). Term s (PTxOutRef :--> (PTxInfo :--> PMaybe PTxInInfo))
- pfindContinuingOutputs :: forall (s :: S). Term s (PScriptContext :--> PBuiltinList PInteger)
- pgetContinuingOutputs :: forall (s :: S). Term s (PScriptContext :--> PBuiltinList (PAsData PTxOut))
- ptxSignedBy :: forall (s :: S). Term s (PTxInfo :--> (PPubKeyHash :--> PBool))
- ppubKeyOutputsAt :: forall (s :: S). Term s (PPubKeyHash :--> (PTxInfo :--> PBuiltinList (PAsData PLedgerValue)))
- pvaluePaidTo :: forall (s :: S). Term s (PTxInfo :--> (PPubKeyHash :--> PLedgerValue))
- pvalueSpent :: forall (s :: S). Term s (PTxInfo :--> PLedgerValue)
- pvalueProduced :: forall (s :: S). Term s (PTxInfo :--> PLedgerValue)
- pownCurrencySymbol :: forall (s :: S). Term s (PScriptContext :--> PMaybe PCurrencySymbol)
- pspendsOutput :: forall (s :: S). Term s (PTxInfo :--> (PTxId :--> (PInteger :--> PBool)))
Documentation
newtype PColdCommitteeCredential (s :: S) Source #
Since: 3.1.0
Constructors
| PColdCommitteeCredential (Term s PCredential) |
Instances
newtype PHotCommitteeCredential (s :: S) Source #
Since: 3.1.0
Constructors
| PHotCommitteeCredential (Term s PCredential) |
Instances
newtype PDRepCredential (s :: S) Source #
Since: 3.1.0
Constructors
| PDRepCredential (Term s PCredential) |
Instances
| PEq PDRepCredential Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods (#==) :: forall (s :: S). Term s PDRepCredential -> Term s PDRepCredential -> Term s PBool | |
| PIsData PDRepCredential Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PDRepCredential) -> Term s PDRepCredential pdataImpl :: forall (s :: S). Term s PDRepCredential -> Term s PData | |
| PLiftable PDRepCredential Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PDRepCredential -> PlutusRepr PDRepCredential reprToHask :: PlutusRepr PDRepCredential -> Either LiftError (AsHaskell PDRepCredential) reprToPlut :: forall (s :: S). PlutusRepr PDRepCredential -> PLifted s PDRepCredential plutToRepr :: (forall (s :: S). PLifted s PDRepCredential) -> Either LiftError (PlutusRepr PDRepCredential) | |
| PValidateData PDRepCredential Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PDRepCredential Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PInner PDRepCredential :: S -> Type Methods pcon' :: forall (s :: S). PDRepCredential s -> Term s (PInner PDRepCredential) pmatch' :: forall (s :: S) (b :: S -> Type). Term s (PInner PDRepCredential) -> (PDRepCredential s -> Term s b) -> Term s b | |
| PShow PDRepCredential Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pshow' :: forall (s :: S). Bool -> Term s PDRepCredential -> Term s PString | |
| PTryFrom PData (PAsData PDRepCredential) Source # | Since: 3.4.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PTryFromExcess PData (PAsData PDRepCredential) :: S -> Type Methods ptryFrom' :: forall (s :: S) (r :: S -> Type). Term s PData -> ((Term s (PAsData PDRepCredential), Reduce (PTryFromExcess PData (PAsData PDRepCredential) s)) -> Term s r) -> Term s r | |
| Generic (PDRepCredential s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods from :: PDRepCredential s -> Rep (PDRepCredential s) x Source # to :: Rep (PDRepCredential s) x -> PDRepCredential s Source # | |
| Generic (PDRepCredential s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type Code (PDRepCredential s) :: [[Type]] Methods from :: PDRepCredential s -> Rep (PDRepCredential s) to :: Rep (PDRepCredential s) -> PDRepCredential s | |
| type AsHaskell PDRepCredential Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PlutusRepr PDRepCredential Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PInner PDRepCredential Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PDRepCredential) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PTryFromExcess PData (PAsData PDRepCredential) = PTryFromExcess PData (PInner (PAsData PDRepCredential)) | |
| type Rep (PDRepCredential s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PDRepCredential s) = D1 ('MetaData "PDRepCredential" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'True) (C1 ('MetaCons "PDRepCredential" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PCredential)))) | |
| type Code (PDRepCredential s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
Since: 3.1.0
Constructors
| PDRep (Term s (PAsData PDRepCredential)) | |
| PDRepAlwaysAbstain | |
| PDRepAlwaysNoConfidence |
Instances
| PEq PDRep Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| PIsData PDRep Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PDRep) -> Term s PDRep | |
| PLiftable PDRep Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PDRep -> PlutusRepr PDRep reprToHask :: PlutusRepr PDRep -> Either LiftError (AsHaskell PDRep) reprToPlut :: forall (s :: S). PlutusRepr PDRep -> PLifted s PDRep plutToRepr :: (forall (s :: S). PLifted s PDRep) -> Either LiftError (PlutusRepr PDRep) | |
| PValidateData PDRep Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PDRep Source # | |
| PShow PDRep Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| PTryFrom PData (PAsData PDRep) Source # | Since: 3.4.0 |
| Generic (PDRep s) Source # | |
| Generic (PDRep s) Source # | |
| type AsHaskell PDRep Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PlutusRepr PDRep Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PInner PDRep Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PDRep) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type Rep (PDRep s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PDRep s) = D1 ('MetaData "PDRep" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'False) (C1 ('MetaCons "PDRep" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PDRepCredential)))) :+: (C1 ('MetaCons "PDRepAlwaysAbstain" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PDRepAlwaysNoConfidence" 'PrefixI 'False) (U1 :: Type -> Type))) | |
| type Code (PDRep s) Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
data PDelegatee (s :: S) Source #
Since: 3.1.0
Constructors
| PDelegStake (Term s (PAsData PPubKeyHash)) | |
| PDelegVote (Term s PDRep) | |
| PDelegStakeVote (Term s (PAsData PPubKeyHash)) (Term s PDRep) |
Instances
| PEq PDelegatee Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods (#==) :: forall (s :: S). Term s PDelegatee -> Term s PDelegatee -> Term s PBool | |
| PIsData PDelegatee Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PDelegatee) -> Term s PDelegatee pdataImpl :: forall (s :: S). Term s PDelegatee -> Term s PData | |
| PLiftable PDelegatee Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PDelegatee -> PlutusRepr PDelegatee reprToHask :: PlutusRepr PDelegatee -> Either LiftError (AsHaskell PDelegatee) reprToPlut :: forall (s :: S). PlutusRepr PDelegatee -> PLifted s PDelegatee plutToRepr :: (forall (s :: S). PLifted s PDelegatee) -> Either LiftError (PlutusRepr PDelegatee) | |
| PValidateData PDelegatee Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PDelegatee Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PInner PDelegatee :: S -> Type Methods pcon' :: forall (s :: S). PDelegatee s -> Term s (PInner PDelegatee) pmatch' :: forall (s :: S) (b :: S -> Type). Term s (PInner PDelegatee) -> (PDelegatee s -> Term s b) -> Term s b | |
| PShow PDelegatee Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pshow' :: forall (s :: S). Bool -> Term s PDelegatee -> Term s PString | |
| PTryFrom PData (PAsData PDelegatee) Source # | Since: 3.4.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PTryFromExcess PData (PAsData PDelegatee) :: S -> Type Methods ptryFrom' :: forall (s :: S) (r :: S -> Type). Term s PData -> ((Term s (PAsData PDelegatee), Reduce (PTryFromExcess PData (PAsData PDelegatee) s)) -> Term s r) -> Term s r | |
| Generic (PDelegatee s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods from :: PDelegatee s -> Rep (PDelegatee s) x Source # to :: Rep (PDelegatee s) x -> PDelegatee s Source # | |
| Generic (PDelegatee s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type Code (PDelegatee s) :: [[Type]] | |
| type AsHaskell PDelegatee Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PlutusRepr PDelegatee Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PInner PDelegatee Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PDelegatee) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type Rep (PDelegatee s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PDelegatee s) = D1 ('MetaData "PDelegatee" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'False) (C1 ('MetaCons "PDelegStake" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PPubKeyHash)))) :+: (C1 ('MetaCons "PDelegVote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PDRep))) :+: C1 ('MetaCons "PDelegStakeVote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PPubKeyHash))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PDRep))))) | |
| type Code (PDelegatee s) Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
data PTxCert (s :: S) Source #
Since: 3.1.0
Constructors
| PTxCertRegStaking (Term s PCredential) (Term s (PMaybeData PLovelace)) | |
| PTxCertUnRegStaking (Term s PCredential) (Term s (PMaybeData PLovelace)) | |
| PTxCertDelegStaking (Term s PCredential) (Term s PDelegatee) | |
| PTxCertRegDeleg (Term s PCredential) (Term s PDelegatee) (Term s (PAsData PLovelace)) | |
| PTxCertRegDRep (Term s PDRepCredential) (Term s (PAsData PLovelace)) | |
| PTxCertUpdateDRep (Term s PDRepCredential) | |
| PTxCertUnRegDRep (Term s PDRepCredential) (Term s (PAsData PLovelace)) | |
| PTxCertPoolRegister (Term s (PAsData PPubKeyHash)) (Term s (PAsData PPubKeyHash)) | |
| PTxCertPoolRetire (Term s (PAsData PPubKeyHash)) (Term s (PAsData PInteger)) | |
| PTxCertAuthHotCommittee (Term s PColdCommitteeCredential) (Term s PHotCommitteeCredential) | |
| PTxCertResignColdCommittee (Term s PColdCommitteeCredential) |
Instances
Since: 3.1.0
Constructors
| PCommitteeVoter (Term s PHotCommitteeCredential) | |
| PDRepVoter (Term s PDRepCredential) | |
| PStakePoolVoter (Term s (PAsData PPubKeyHash)) |
Instances
| PEq PVoter Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| PIsData PVoter Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PVoter) -> Term s PVoter | |
| PLiftable PVoter Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PVoter -> PlutusRepr PVoter reprToHask :: PlutusRepr PVoter -> Either LiftError (AsHaskell PVoter) reprToPlut :: forall (s :: S). PlutusRepr PVoter -> PLifted s PVoter plutToRepr :: (forall (s :: S). PLifted s PVoter) -> Either LiftError (PlutusRepr PVoter) | |
| PValidateData PVoter Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PVoter Source # | |
| PShow PVoter Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| PTryFrom PData (PAsData PVoter) Source # | Since: 3.4.0 |
| Generic (PVoter s) Source # | |
| Generic (PVoter s) Source # | |
| type AsHaskell PVoter Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PlutusRepr PVoter Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PInner PVoter Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PVoter) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type Rep (PVoter s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PVoter s) = D1 ('MetaData "PVoter" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'False) (C1 ('MetaCons "PCommitteeVoter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PHotCommitteeCredential))) :+: (C1 ('MetaCons "PDRepVoter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PDRepCredential))) :+: C1 ('MetaCons "PStakePoolVoter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PPubKeyHash)))))) | |
| type Code (PVoter s) Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
Since: 3.1.0
Instances
| PEq PVote Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| PIsData PVote Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PVote) -> Term s PVote | |
| PLiftable PVote Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PVote -> PlutusRepr PVote reprToHask :: PlutusRepr PVote -> Either LiftError (AsHaskell PVote) reprToPlut :: forall (s :: S). PlutusRepr PVote -> PLifted s PVote plutToRepr :: (forall (s :: S). PLifted s PVote) -> Either LiftError (PlutusRepr PVote) | |
| PValidateData PVote Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PVote Source # | |
| PShow PVote Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| PTryFrom PData (PAsData PVote) Source # | Since: 3.4.0 |
| Generic (PVote s) Source # | |
| Generic (PVote s) Source # | |
| type AsHaskell PVote Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PlutusRepr PVote Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PInner PVote Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PVote) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type Rep (PVote s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PVote s) = D1 ('MetaData "PVote" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'False) (C1 ('MetaCons "PVoteYes" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PVoteNo" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PAbstain" 'PrefixI 'False) (U1 :: Type -> Type))) | |
| type Code (PVote s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
data PGovernanceActionId (s :: S) Source #
Since: 3.1.0
Constructors
| PGovernanceActionId (Term s (PAsData PTxId)) (Term s (PAsData PInteger)) |
Instances
| PEq PGovernanceActionId Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods (#==) :: forall (s :: S). Term s PGovernanceActionId -> Term s PGovernanceActionId -> Term s PBool | |
| PIsData PGovernanceActionId Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PGovernanceActionId) -> Term s PGovernanceActionId pdataImpl :: forall (s :: S). Term s PGovernanceActionId -> Term s PData | |
| PLiftable PGovernanceActionId Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PGovernanceActionId -> PlutusRepr PGovernanceActionId reprToHask :: PlutusRepr PGovernanceActionId -> Either LiftError (AsHaskell PGovernanceActionId) reprToPlut :: forall (s :: S). PlutusRepr PGovernanceActionId -> PLifted s PGovernanceActionId plutToRepr :: (forall (s :: S). PLifted s PGovernanceActionId) -> Either LiftError (PlutusRepr PGovernanceActionId) | |
| PValidateData PGovernanceActionId Source # | Checks that we have a valid Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PGovernanceActionId Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PInner PGovernanceActionId :: S -> Type Methods pcon' :: forall (s :: S). PGovernanceActionId s -> Term s (PInner PGovernanceActionId) pmatch' :: forall (s :: S) (b :: S -> Type). Term s (PInner PGovernanceActionId) -> (PGovernanceActionId s -> Term s b) -> Term s b | |
| PShow PGovernanceActionId Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pshow' :: forall (s :: S). Bool -> Term s PGovernanceActionId -> Term s PString | |
| PTryFrom PData (PAsData PGovernanceActionId) Source # | Since: 3.4.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PTryFromExcess PData (PAsData PGovernanceActionId) :: S -> Type Methods ptryFrom' :: forall (s :: S) (r :: S -> Type). Term s PData -> ((Term s (PAsData PGovernanceActionId), Reduce (PTryFromExcess PData (PAsData PGovernanceActionId) s)) -> Term s r) -> Term s r | |
| Generic (PGovernanceActionId s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods from :: PGovernanceActionId s -> Rep (PGovernanceActionId s) x Source # to :: Rep (PGovernanceActionId s) x -> PGovernanceActionId s Source # | |
| Generic (PGovernanceActionId s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type Code (PGovernanceActionId s) :: [[Type]] Methods from :: PGovernanceActionId s -> Rep (PGovernanceActionId s) to :: Rep (PGovernanceActionId s) -> PGovernanceActionId s | |
| type AsHaskell PGovernanceActionId Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type AsHaskell PGovernanceActionId = AsHaskell (DeriveDataPLiftable PGovernanceActionId GovernanceActionId) | |
| type PlutusRepr PGovernanceActionId Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PlutusRepr PGovernanceActionId = PlutusRepr (DeriveDataPLiftable PGovernanceActionId GovernanceActionId) | |
| type PInner PGovernanceActionId Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PGovernanceActionId) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PTryFromExcess PData (PAsData PGovernanceActionId) = PTryFromExcess PData (PInner (PAsData PGovernanceActionId)) | |
| type Rep (PGovernanceActionId s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PGovernanceActionId s) = D1 ('MetaData "PGovernanceActionId" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'False) (C1 ('MetaCons "PGovernanceActionId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PTxId))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PInteger))))) | |
| type Code (PGovernanceActionId s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
data PCommittee (s :: S) Source #
Since: 3.1.0
Constructors
| PCommittee | |
Fields
| |
Instances
| PEq PCommittee Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods (#==) :: forall (s :: S). Term s PCommittee -> Term s PCommittee -> Term s PBool | |
| PIsData PCommittee Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PCommittee) -> Term s PCommittee pdataImpl :: forall (s :: S). Term s PCommittee -> Term s PData | |
| PLiftable PCommittee Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PCommittee -> PlutusRepr PCommittee reprToHask :: PlutusRepr PCommittee -> Either LiftError (AsHaskell PCommittee) reprToPlut :: forall (s :: S). PlutusRepr PCommittee -> PLifted s PCommittee plutToRepr :: (forall (s :: S). PLifted s PCommittee) -> Either LiftError (PlutusRepr PCommittee) | |
| PValidateData PCommittee Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PCommittee Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PInner PCommittee :: S -> Type Methods pcon' :: forall (s :: S). PCommittee s -> Term s (PInner PCommittee) pmatch' :: forall (s :: S) (b :: S -> Type). Term s (PInner PCommittee) -> (PCommittee s -> Term s b) -> Term s b | |
| PShow PCommittee Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pshow' :: forall (s :: S). Bool -> Term s PCommittee -> Term s PString | |
| PTryFrom PData (PAsData PCommittee) Source # | Since: 3.4.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PTryFromExcess PData (PAsData PCommittee) :: S -> Type Methods ptryFrom' :: forall (s :: S) (r :: S -> Type). Term s PData -> ((Term s (PAsData PCommittee), Reduce (PTryFromExcess PData (PAsData PCommittee) s)) -> Term s r) -> Term s r | |
| Generic (PCommittee s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods from :: PCommittee s -> Rep (PCommittee s) x Source # to :: Rep (PCommittee s) x -> PCommittee s Source # | |
| Generic (PCommittee s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type Code (PCommittee s) :: [[Type]] | |
| type AsHaskell PCommittee Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PlutusRepr PCommittee Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PInner PCommittee Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PCommittee) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type Rep (PCommittee s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PCommittee s) = D1 ('MetaData "PCommittee" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'False) (C1 ('MetaCons "PCommittee" 'PrefixI 'True) (S1 ('MetaSel ('Just "pcommittee'members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData (PUnsortedMap PColdCommitteeCredential PInteger)))) :*: S1 ('MetaSel ('Just "pcommittee'quorum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PRationalData)))) | |
| type Code (PCommittee s) Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
newtype PConstitution (s :: S) Source #
A constitution, omitting the optional anchor.
Since: 3.1.0
Constructors
| PConstitution (Term s (PMaybeData PScriptHash)) |
Instances
| PEq PConstitution Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods (#==) :: forall (s :: S). Term s PConstitution -> Term s PConstitution -> Term s PBool | |
| PIsData PConstitution Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PConstitution) -> Term s PConstitution pdataImpl :: forall (s :: S). Term s PConstitution -> Term s PData | |
| PLiftable PConstitution Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PConstitution -> PlutusRepr PConstitution reprToHask :: PlutusRepr PConstitution -> Either LiftError (AsHaskell PConstitution) reprToPlut :: forall (s :: S). PlutusRepr PConstitution -> PLifted s PConstitution plutToRepr :: (forall (s :: S). PLifted s PConstitution) -> Either LiftError (PlutusRepr PConstitution) | |
| PValidateData PConstitution Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PConstitution Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PInner PConstitution :: S -> Type Methods pcon' :: forall (s :: S). PConstitution s -> Term s (PInner PConstitution) pmatch' :: forall (s :: S) (b :: S -> Type). Term s (PInner PConstitution) -> (PConstitution s -> Term s b) -> Term s b | |
| PShow PConstitution Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pshow' :: forall (s :: S). Bool -> Term s PConstitution -> Term s PString | |
| PTryFrom PData (PAsData PConstitution) Source # | Since: 3.4.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PTryFromExcess PData (PAsData PConstitution) :: S -> Type Methods ptryFrom' :: forall (s :: S) (r :: S -> Type). Term s PData -> ((Term s (PAsData PConstitution), Reduce (PTryFromExcess PData (PAsData PConstitution) s)) -> Term s r) -> Term s r | |
| Generic (PConstitution s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods from :: PConstitution s -> Rep (PConstitution s) x Source # to :: Rep (PConstitution s) x -> PConstitution s Source # | |
| Generic (PConstitution s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type Code (PConstitution s) :: [[Type]] Methods from :: PConstitution s -> Rep (PConstitution s) to :: Rep (PConstitution s) -> PConstitution s | |
| type AsHaskell PConstitution Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PlutusRepr PConstitution Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PInner PConstitution Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PConstitution) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PTryFromExcess PData (PAsData PConstitution) = PTryFromExcess PData (PInner (PAsData PConstitution)) | |
| type Rep (PConstitution s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PConstitution s) = D1 ('MetaData "PConstitution" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'True) (C1 ('MetaCons "PConstitution" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PMaybeData PScriptHash))))) | |
| type Code (PConstitution s) Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
data PProtocolVersion (s :: S) Source #
Since: 3.1.0
Constructors
| PProtocolVersion | |
Fields
| |
Instances
| PEq PProtocolVersion Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods (#==) :: forall (s :: S). Term s PProtocolVersion -> Term s PProtocolVersion -> Term s PBool | |
| PIsData PProtocolVersion Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PProtocolVersion) -> Term s PProtocolVersion pdataImpl :: forall (s :: S). Term s PProtocolVersion -> Term s PData | |
| PLiftable PProtocolVersion Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PProtocolVersion -> PlutusRepr PProtocolVersion reprToHask :: PlutusRepr PProtocolVersion -> Either LiftError (AsHaskell PProtocolVersion) reprToPlut :: forall (s :: S). PlutusRepr PProtocolVersion -> PLifted s PProtocolVersion plutToRepr :: (forall (s :: S). PLifted s PProtocolVersion) -> Either LiftError (PlutusRepr PProtocolVersion) | |
| PValidateData PProtocolVersion Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PProtocolVersion Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PInner PProtocolVersion :: S -> Type Methods pcon' :: forall (s :: S). PProtocolVersion s -> Term s (PInner PProtocolVersion) pmatch' :: forall (s :: S) (b :: S -> Type). Term s (PInner PProtocolVersion) -> (PProtocolVersion s -> Term s b) -> Term s b | |
| PShow PProtocolVersion Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pshow' :: forall (s :: S). Bool -> Term s PProtocolVersion -> Term s PString | |
| PTryFrom PData (PAsData PProtocolVersion) Source # | Since: 3.4.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PTryFromExcess PData (PAsData PProtocolVersion) :: S -> Type Methods ptryFrom' :: forall (s :: S) (r :: S -> Type). Term s PData -> ((Term s (PAsData PProtocolVersion), Reduce (PTryFromExcess PData (PAsData PProtocolVersion) s)) -> Term s r) -> Term s r | |
| Generic (PProtocolVersion s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods from :: PProtocolVersion s -> Rep (PProtocolVersion s) x Source # to :: Rep (PProtocolVersion s) x -> PProtocolVersion s Source # | |
| Generic (PProtocolVersion s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type Code (PProtocolVersion s) :: [[Type]] Methods from :: PProtocolVersion s -> Rep (PProtocolVersion s) to :: Rep (PProtocolVersion s) -> PProtocolVersion s | |
| type AsHaskell PProtocolVersion Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PlutusRepr PProtocolVersion Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PlutusRepr PProtocolVersion = PlutusRepr (DeriveDataPLiftable PProtocolVersion ProtocolVersion) | |
| type PInner PProtocolVersion Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PProtocolVersion) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PTryFromExcess PData (PAsData PProtocolVersion) = PTryFromExcess PData (PInner (PAsData PProtocolVersion)) | |
| type Rep (PProtocolVersion s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PProtocolVersion s) = D1 ('MetaData "PProtocolVersion" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'False) (C1 ('MetaCons "PProtocolVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "pprotocolVersion'major") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PInteger))) :*: S1 ('MetaSel ('Just "pprotocolVersion'minor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PInteger))))) | |
| type Code (PProtocolVersion s) Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
newtype PChangedParameters (s :: S) Source #
Since: 3.1.0
Constructors
| PChangedParameters (Term s PData) |
Instances
| PEq PChangedParameters Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods (#==) :: forall (s :: S). Term s PChangedParameters -> Term s PChangedParameters -> Term s PBool | |
| PIsData PChangedParameters Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PChangedParameters) -> Term s PChangedParameters pdataImpl :: forall (s :: S). Term s PChangedParameters -> Term s PData | |
| PLiftable PChangedParameters Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PChangedParameters -> PlutusRepr PChangedParameters reprToHask :: PlutusRepr PChangedParameters -> Either LiftError (AsHaskell PChangedParameters) reprToPlut :: forall (s :: S). PlutusRepr PChangedParameters -> PLifted s PChangedParameters plutToRepr :: (forall (s :: S). PLifted s PChangedParameters) -> Either LiftError (PlutusRepr PChangedParameters) | |
| PValidateData PChangedParameters Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PChangedParameters Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PInner PChangedParameters :: S -> Type Methods pcon' :: forall (s :: S). PChangedParameters s -> Term s (PInner PChangedParameters) pmatch' :: forall (s :: S) (b :: S -> Type). Term s (PInner PChangedParameters) -> (PChangedParameters s -> Term s b) -> Term s b | |
| PShow PChangedParameters Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pshow' :: forall (s :: S). Bool -> Term s PChangedParameters -> Term s PString | |
| PTryFrom PData (PAsData PChangedParameters) Source # | Since: 3.4.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PTryFromExcess PData (PAsData PChangedParameters) :: S -> Type Methods ptryFrom' :: forall (s :: S) (r :: S -> Type). Term s PData -> ((Term s (PAsData PChangedParameters), Reduce (PTryFromExcess PData (PAsData PChangedParameters) s)) -> Term s r) -> Term s r | |
| Generic (PChangedParameters s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods from :: PChangedParameters s -> Rep (PChangedParameters s) x Source # to :: Rep (PChangedParameters s) x -> PChangedParameters s Source # | |
| Generic (PChangedParameters s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type Code (PChangedParameters s) :: [[Type]] Methods from :: PChangedParameters s -> Rep (PChangedParameters s) to :: Rep (PChangedParameters s) -> PChangedParameters s | |
| type AsHaskell PChangedParameters Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type AsHaskell PChangedParameters = AsHaskell (DeriveDataPLiftable PChangedParameters ChangedParameters) | |
| type PlutusRepr PChangedParameters Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PlutusRepr PChangedParameters = PlutusRepr (DeriveDataPLiftable PChangedParameters ChangedParameters) | |
| type PInner PChangedParameters Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PChangedParameters) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PTryFromExcess PData (PAsData PChangedParameters) = PTryFromExcess PData (PInner (PAsData PChangedParameters)) | |
| type Rep (PChangedParameters s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PChangedParameters s) = D1 ('MetaData "PChangedParameters" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'True) (C1 ('MetaCons "PChangedParameters" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PData)))) | |
| type Code (PChangedParameters s) Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
data PGovernanceAction (s :: S) Source #
Since: 3.1.0
Constructors
| PParameterChange (Term s (PMaybeData PGovernanceActionId)) (Term s PChangedParameters) (Term s (PMaybeData PScriptHash)) | |
| PHardForkInitiation (Term s (PMaybeData PGovernanceActionId)) (Term s PProtocolVersion) | |
| PTreasuryWithdrawals (Term s (PAsData (PUnsortedMap PCredential PLovelace))) (Term s (PMaybeData PScriptHash)) | |
| PNoConfidence (Term s (PMaybeData PGovernanceActionId)) | |
| PUpdateCommittee (Term s (PMaybeData PGovernanceActionId)) (Term s (PAsData (PBuiltinList (PAsData PColdCommitteeCredential)))) (Term s (PAsData (PUnsortedMap PColdCommitteeCredential PInteger))) (Term s PRationalData) | |
| PNewConstitution (Term s (PMaybeData PGovernanceActionId)) (Term s PConstitution) | |
| PInfoAction |
Instances
data PProposalProcedure (s :: S) Source #
Since: 3.1.0
Constructors
| PProposalProcedure | |
Fields
| |
Instances
| PEq PProposalProcedure Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods (#==) :: forall (s :: S). Term s PProposalProcedure -> Term s PProposalProcedure -> Term s PBool | |
| PIsData PProposalProcedure Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PProposalProcedure) -> Term s PProposalProcedure pdataImpl :: forall (s :: S). Term s PProposalProcedure -> Term s PData | |
| PLiftable PProposalProcedure Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PProposalProcedure -> PlutusRepr PProposalProcedure reprToHask :: PlutusRepr PProposalProcedure -> Either LiftError (AsHaskell PProposalProcedure) reprToPlut :: forall (s :: S). PlutusRepr PProposalProcedure -> PLifted s PProposalProcedure plutToRepr :: (forall (s :: S). PLifted s PProposalProcedure) -> Either LiftError (PlutusRepr PProposalProcedure) | |
| PValidateData PProposalProcedure Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PProposalProcedure Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PInner PProposalProcedure :: S -> Type Methods pcon' :: forall (s :: S). PProposalProcedure s -> Term s (PInner PProposalProcedure) pmatch' :: forall (s :: S) (b :: S -> Type). Term s (PInner PProposalProcedure) -> (PProposalProcedure s -> Term s b) -> Term s b | |
| PShow PProposalProcedure Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pshow' :: forall (s :: S). Bool -> Term s PProposalProcedure -> Term s PString | |
| PTryFrom PData (PAsData PProposalProcedure) Source # | Since: 3.4.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PTryFromExcess PData (PAsData PProposalProcedure) :: S -> Type Methods ptryFrom' :: forall (s :: S) (r :: S -> Type). Term s PData -> ((Term s (PAsData PProposalProcedure), Reduce (PTryFromExcess PData (PAsData PProposalProcedure) s)) -> Term s r) -> Term s r | |
| Generic (PProposalProcedure s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods from :: PProposalProcedure s -> Rep (PProposalProcedure s) x Source # to :: Rep (PProposalProcedure s) x -> PProposalProcedure s Source # | |
| Generic (PProposalProcedure s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type Code (PProposalProcedure s) :: [[Type]] Methods from :: PProposalProcedure s -> Rep (PProposalProcedure s) to :: Rep (PProposalProcedure s) -> PProposalProcedure s | |
| type AsHaskell PProposalProcedure Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type AsHaskell PProposalProcedure = AsHaskell (DeriveDataPLiftable PProposalProcedure ProposalProcedure) | |
| type PlutusRepr PProposalProcedure Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PlutusRepr PProposalProcedure = PlutusRepr (DeriveDataPLiftable PProposalProcedure ProposalProcedure) | |
| type PInner PProposalProcedure Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PProposalProcedure) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PTryFromExcess PData (PAsData PProposalProcedure) = PTryFromExcess PData (PInner (PAsData PProposalProcedure)) | |
| type Rep (PProposalProcedure s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PProposalProcedure s) = D1 ('MetaData "PProposalProcedure" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'False) (C1 ('MetaCons "PProposalProcedure" 'PrefixI 'True) (S1 ('MetaSel ('Just "pproposalProcedure'deposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PLovelace))) :*: (S1 ('MetaSel ('Just "pproposalProcedure'returnAddr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PCredential)) :*: S1 ('MetaSel ('Just "pproposalProcedure'governanceAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PGovernanceAction))))) | |
| type Code (PProposalProcedure s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
data PScriptPurpose (s :: S) Source #
Since: 2.0.0
Constructors
| PMinting (Term s (PAsData PCurrencySymbol)) | |
| PSpending (Term s PTxOutRef) | |
| PRewarding (Term s PCredential) | Since: 3.1.0 |
| PCertifying (Term s (PAsData PInteger)) (Term s PTxCert) | |
| PVoting (Term s PVoter) | Since: 3.1.0 |
| PProposing (Term s (PAsData PInteger)) (Term s PProposalProcedure) | Since: 3.1.0 |
Instances
data PScriptInfo (s :: S) Source #
Since: 3.1.0
Constructors
| PMintingScript (Term s (PAsData PCurrencySymbol)) | |
| PSpendingScript (Term s PTxOutRef) (Term s (PMaybeData PDatum)) | |
| PRewardingScript (Term s PCredential) | |
| PCertifyingScript (Term s (PAsData PInteger)) (Term s PTxCert) | |
| PVotingScript (Term s PVoter) | |
| PProposingScript (Term s (PAsData PInteger)) (Term s PProposalProcedure) |
Instances
| PEq PScriptInfo Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods (#==) :: forall (s :: S). Term s PScriptInfo -> Term s PScriptInfo -> Term s PBool | |
| PIsData PScriptInfo Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PScriptInfo) -> Term s PScriptInfo pdataImpl :: forall (s :: S). Term s PScriptInfo -> Term s PData | |
| PLiftable PScriptInfo Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PScriptInfo -> PlutusRepr PScriptInfo reprToHask :: PlutusRepr PScriptInfo -> Either LiftError (AsHaskell PScriptInfo) reprToPlut :: forall (s :: S). PlutusRepr PScriptInfo -> PLifted s PScriptInfo plutToRepr :: (forall (s :: S). PLifted s PScriptInfo) -> Either LiftError (PlutusRepr PScriptInfo) | |
| PValidateData PScriptInfo Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PScriptInfo Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PInner PScriptInfo :: S -> Type Methods pcon' :: forall (s :: S). PScriptInfo s -> Term s (PInner PScriptInfo) pmatch' :: forall (s :: S) (b :: S -> Type). Term s (PInner PScriptInfo) -> (PScriptInfo s -> Term s b) -> Term s b | |
| PShow PScriptInfo Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pshow' :: forall (s :: S). Bool -> Term s PScriptInfo -> Term s PString | |
| PTryFrom PData (PAsData PScriptInfo) Source # | Since: 3.4.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PTryFromExcess PData (PAsData PScriptInfo) :: S -> Type Methods ptryFrom' :: forall (s :: S) (r :: S -> Type). Term s PData -> ((Term s (PAsData PScriptInfo), Reduce (PTryFromExcess PData (PAsData PScriptInfo) s)) -> Term s r) -> Term s r | |
| Generic (PScriptInfo s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods from :: PScriptInfo s -> Rep (PScriptInfo s) x Source # to :: Rep (PScriptInfo s) x -> PScriptInfo s Source # | |
| Generic (PScriptInfo s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type Code (PScriptInfo s) :: [[Type]] | |
| type AsHaskell PScriptInfo Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PlutusRepr PScriptInfo Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PInner PScriptInfo Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PScriptInfo) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PTryFromExcess PData (PAsData PScriptInfo) = PTryFromExcess PData (PInner (PAsData PScriptInfo)) | |
| type Rep (PScriptInfo s) Source # | Since: 3.1.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PScriptInfo s) = D1 ('MetaData "PScriptInfo" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'False) ((C1 ('MetaCons "PMintingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PCurrencySymbol)))) :+: (C1 ('MetaCons "PSpendingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PTxOutRef)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PMaybeData PDatum)))) :+: C1 ('MetaCons "PRewardingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PCredential))))) :+: (C1 ('MetaCons "PCertifyingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PInteger))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PTxCert))) :+: (C1 ('MetaCons "PVotingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PVoter))) :+: C1 ('MetaCons "PProposingScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s (PAsData PInteger))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PProposalProcedure)))))) | |
| type Code (PScriptInfo s) Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
data PTxInInfo (s :: S) Source #
An input of the transaction.
Since: 2.0.0
Constructors
| PTxInInfo | |
Fields
| |
Instances
| PEq PTxInInfo Source # | Since: 2.0.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| PIsData PTxInInfo Source # | Since: 2.0.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PTxInInfo) -> Term s PTxInInfo pdataImpl :: forall (s :: S). Term s PTxInInfo -> Term s PData | |
| PLiftable PTxInInfo Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PTxInInfo -> PlutusRepr PTxInInfo reprToHask :: PlutusRepr PTxInInfo -> Either LiftError (AsHaskell PTxInInfo) reprToPlut :: forall (s :: S). PlutusRepr PTxInInfo -> PLifted s PTxInInfo plutToRepr :: (forall (s :: S). PLifted s PTxInInfo) -> Either LiftError (PlutusRepr PTxInInfo) | |
| PValidateData PTxInInfo Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PTxInInfo Source # | |
| PShow PTxInInfo Source # | Since: 2.0.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| PTryFrom PData (PAsData PTxInInfo) Source # | Since: 3.4.0 |
| Generic (PTxInInfo s) Source # | |
| Generic (PTxInInfo s) Source # | |
| type AsHaskell PTxInInfo Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PlutusRepr PTxInInfo Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PInner PTxInInfo Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PTxInInfo) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type Rep (PTxInInfo s) Source # | Since: 2.0.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PTxInInfo s) = D1 ('MetaData "PTxInInfo" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'False) (C1 ('MetaCons "PTxInInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "ptxInInfo'outRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PTxOutRef)) :*: S1 ('MetaSel ('Just "ptxInInfo'resolved") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PTxOut)))) | |
| type Code (PTxInInfo s) Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
data PTxInfo (s :: S) Source #
Constructors
Instances
data PScriptContext (s :: S) Source #
Since: 3.1.0
Constructors
| PScriptContext | |
Fields
| |
Instances
| PEq PScriptContext Source # | Since: 2.0.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods (#==) :: forall (s :: S). Term s PScriptContext -> Term s PScriptContext -> Term s PBool | |
| PIsData PScriptContext Source # | Since: 2.0.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pfromDataImpl :: forall (s :: S). Term s (PAsData PScriptContext) -> Term s PScriptContext pdataImpl :: forall (s :: S). Term s PScriptContext -> Term s PData | |
| PLiftable PScriptContext Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods haskToRepr :: AsHaskell PScriptContext -> PlutusRepr PScriptContext reprToHask :: PlutusRepr PScriptContext -> Either LiftError (AsHaskell PScriptContext) reprToPlut :: forall (s :: S). PlutusRepr PScriptContext -> PLifted s PScriptContext plutToRepr :: (forall (s :: S). PLifted s PScriptContext) -> Either LiftError (PlutusRepr PScriptContext) | |
| PValidateData PScriptContext Source # | Since: 3.6.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pwithValidated :: forall (s :: S). Term s PData -> forall (r :: S -> Type). Term s r -> Term s r | |
| PlutusType PScriptContext Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PInner PScriptContext :: S -> Type Methods pcon' :: forall (s :: S). PScriptContext s -> Term s (PInner PScriptContext) pmatch' :: forall (s :: S) (b :: S -> Type). Term s (PInner PScriptContext) -> (PScriptContext s -> Term s b) -> Term s b | |
| PShow PScriptContext Source # | Since: 2.0.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Methods pshow' :: forall (s :: S). Bool -> Term s PScriptContext -> Term s PString | |
| PTryFrom PData (PAsData PScriptContext) Source # | Since: 3.4.0 |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type PTryFromExcess PData (PAsData PScriptContext) :: S -> Type Methods ptryFrom' :: forall (s :: S) (r :: S -> Type). Term s PData -> ((Term s (PAsData PScriptContext), Reduce (PTryFromExcess PData (PAsData PScriptContext) s)) -> Term s r) -> Term s r | |
| Generic (PScriptContext s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Methods from :: PScriptContext s -> Rep (PScriptContext s) x Source # to :: Rep (PScriptContext s) x -> PScriptContext s Source # | |
| Generic (PScriptContext s) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts Associated Types type Code (PScriptContext s) :: [[Type]] Methods from :: PScriptContext s -> Rep (PScriptContext s) to :: Rep (PScriptContext s) -> PScriptContext s | |
| type AsHaskell PScriptContext Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PlutusRepr PScriptContext Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PInner PScriptContext Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
| type PTryFromExcess PData (PAsData PScriptContext) Source # | |
Defined in Plutarch.LedgerApi.V3.Contexts type PTryFromExcess PData (PAsData PScriptContext) = PTryFromExcess PData (PInner (PAsData PScriptContext)) | |
| type Rep (PScriptContext s) Source # | Since: 2.0.0 |
Defined in Plutarch.LedgerApi.V3.Contexts type Rep (PScriptContext s) = D1 ('MetaData "PScriptContext" "Plutarch.LedgerApi.V3.Contexts" "plutarch-ledger-api-3.7.0-6oyR5CovKH48s7GQOEhwfC" 'False) (C1 ('MetaCons "PScriptContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "pscriptContext'txInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PTxInfo)) :*: (S1 ('MetaSel ('Just "pscriptContext'redeemer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PRedeemer)) :*: S1 ('MetaSel ('Just "pscriptContext'scriptInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term s PScriptInfo))))) | |
| type Code (PScriptContext s) Source # | Since: 3.3.0 |
Defined in Plutarch.LedgerApi.V3.Contexts | |
pfindOwnInput :: forall (s :: S). Term s (PScriptContext :--> PMaybe PTxInInfo) Source #
Find the input currently being validated.
Since: 3.6.0
pfindDatum :: forall (s :: S). Term s (PDatumHash :--> (PTxInfo :--> PMaybe PDatum)) Source #
Find the datum corresponding to a datum hash, if there is one.
Since: 3.1.0
pfindDatumHash :: forall (s :: S). Term s (PDatum :--> (PTxInfo :--> PMaybe PDatumHash)) Source #
Find the hash of a datum if it's part of the pending transaction's hashes.
Since: 3.1.0
pparseDatum :: forall (a :: S -> Type) (s :: S). PTryFrom PData (PAsData a) => Term s (PDatumHash :--> (PUnsortedMap PDatumHash PDatum :--> PMaybe (PAsData a))) Source #
Lookup up the datum given the datum hash.
Takes as argument the datum assoc list from a PTxInfo. Validates the datum
using PTryFrom.
Example:
pparseDatum MyType # datumHash #$ pfield "datums" # txinfo
Since: 2.1.2
pfindTxInByTxOutRef :: forall (s :: S). Term s (PTxOutRef :--> (PTxInfo :--> PMaybe PTxInInfo)) Source #
pfindContinuingOutputs :: forall (s :: S). Term s (PScriptContext :--> PBuiltinList PInteger) Source #
Find the indices of all the outputs that pay to the same script address we are currently spending from, if any.
Since: 3.6.0
pgetContinuingOutputs :: forall (s :: S). Term s (PScriptContext :--> PBuiltinList (PAsData PTxOut)) Source #
Get all the outputs that pay to the same script address we are currently spending from, if any.
Since: 3.6.0
ptxSignedBy :: forall (s :: S). Term s (PTxInfo :--> (PPubKeyHash :--> PBool)) Source #
Check if a transaction was signed by the given public key.
Since: 3.6.0
ppubKeyOutputsAt :: forall (s :: S). Term s (PPubKeyHash :--> (PTxInfo :--> PBuiltinList (PAsData PLedgerValue))) Source #
Get the Values paid to a public key address by a pending transaction.
Since: 3.6.0
pvaluePaidTo :: forall (s :: S). Term s (PTxInfo :--> (PPubKeyHash :--> PLedgerValue)) Source #
Get the total value paid to a public key address by a pending transaction.
Since: 3.6.0
pvalueSpent :: forall (s :: S). Term s (PTxInfo :--> PLedgerValue) Source #
pvalueProduced :: forall (s :: S). Term s (PTxInfo :--> PLedgerValue) Source #
pownCurrencySymbol :: forall (s :: S). Term s (PScriptContext :--> PMaybe PCurrencySymbol) Source #
Get the PCurrencySymbol of the current minting policy script.
Since: 3.6.0
pspendsOutput :: forall (s :: S). Term s (PTxInfo :--> (PTxId :--> (PInteger :--> PBool))) Source #
Check if the pending transaction spends a specific transaction output (identified by the hash of a transaction and an index into that transactions' outputs)
Since: 3.6.0