plutus-ledger-api-1.0.0.1: Interface to the Plutus ledger for the Cardano ledger.
Safe HaskellNone
LanguageHaskell2010

Plutus.V1.Ledger.Credential

Synopsis

Documentation

data StakingCredential Source #

Staking credential used to assign rewards

Instances

Instances details
Eq StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Ord StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Show StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Generic StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Associated Types

type Rep StakingCredential :: Type -> Type Source #

NFData StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Methods

rnf :: StakingCredential -> () Source #

Pretty StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Methods

pretty :: StakingCredential -> Doc ann

prettyList :: [StakingCredential] -> Doc ann

FromData StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

ToData StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

UnsafeFromData StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Eq StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Lift DefaultUni StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Methods

lift :: StakingCredential -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ())

Typeable DefaultUni StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Methods

typeRep :: Proxy StakingCredential -> RTCompile DefaultUni fun (Type TyName DefaultUni ())

type Rep StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

data Credential Source #

Credential required to unlock a transaction output

Constructors

PubKeyCredential PubKeyHash

The transaction that spends this output must be signed by the private key

ScriptCredential ValidatorHash

The transaction that spends this output must include the validator script and be accepted by the validator.

Instances

Instances details
Eq Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Ord Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Show Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Generic Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Associated Types

type Rep Credential :: Type -> Type Source #

NFData Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Methods

rnf :: Credential -> () Source #

Pretty Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Methods

pretty :: Credential -> Doc ann

prettyList :: [Credential] -> Doc ann

FromData Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

ToData Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

UnsafeFromData Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Eq Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Methods

(==) :: Credential -> Credential -> Bool

Lift DefaultUni Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Methods

lift :: Credential -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ())

Typeable DefaultUni Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Methods

typeRep :: Proxy Credential -> RTCompile DefaultUni fun (Type TyName DefaultUni ())

type Rep Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

type Rep Credential = D1 ('MetaData "Credential" "Plutus.V1.Ledger.Credential" "plutus-ledger-api-1.0.0.1-6EvbyJiK8IAAVEtnIJDu5Z" 'False) (C1 ('MetaCons "PubKeyCredential" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyHash)) :+: C1 ('MetaCons "ScriptCredential" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValidatorHash)))