plutus-ledger-api-0.1.0.0: 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 #

Hashable StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

ToJSON StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

FromJSON StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

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

ToData StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

FromData 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

Serialise StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Lift DefaultUni StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Typeable DefaultUni StakingCredential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

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 #

Hashable Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

ToJSON Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

FromJSON Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

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

ToData Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

FromData 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

Serialise Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Lift DefaultUni Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

Typeable DefaultUni Credential Source # 
Instance details

Defined in Plutus.V1.Ledger.Credential

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-0.1.0.0-6XBf4FRRdNK1B20rg7kZGy" '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)))