| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
PlutusLedgerApi.V1.Credential
Description
Address and staking address credentials for outputs.
Documentation
data StakingCredential Source #
Staking credential used to assign rewards.
Constructors
| StakingHash Credential | The staking hash is the |
| StakingPtr | The certificate pointer, constructed by the given
slot number, transaction and certificate indices.
NB: The fields should really be all |
Instances
data Credential Source #
Credentials required to unlock a transaction output.
Constructors
| PubKeyCredential PubKeyHash | The transaction that spends this output must be signed by the private key.
See |
| ScriptCredential ScriptHash | The transaction that spends this output must include the validator script and
be accepted by the validator. See |
Instances
| Generic Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Associated Types
| |||||
| Show Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential | |||||
| NFData Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Methods rnf :: Credential -> () Source # | |||||
| Eq Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Methods (==) :: Credential -> Credential -> Bool Source # (/=) :: Credential -> Credential -> Bool Source # | |||||
| Ord Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Methods compare :: Credential -> Credential -> Ordering Source # (<) :: Credential -> Credential -> Bool Source # (<=) :: Credential -> Credential -> Bool Source # (>) :: Credential -> Credential -> Bool Source # (>=) :: Credential -> Credential -> Bool Source # max :: Credential -> Credential -> Credential Source # min :: Credential -> Credential -> Credential Source # | |||||
| HasBlueprintDefinition Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Methods (==) :: Credential -> Credential -> Bool | |||||
| FromData Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Methods | |||||
| ToData Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Methods toBuiltinData :: Credential -> BuiltinData # | |||||
| UnsafeFromData Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Methods | |||||
| Show Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential | |||||
| Pretty Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential | |||||
| (HasSchemaDefinition PubKeyHash referencedTypes, HasSchemaDefinition ScriptHash referencedTypes) => HasBlueprintSchema Credential referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Methods lift :: Credential -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ()) | |||||
| Typeable DefaultUni Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential Methods typeRep :: Proxy Credential -> RTCompile DefaultUni fun (Type TyName DefaultUni ()) | |||||
| type Rep Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential type Rep Credential = D1 ('MetaData "Credential" "PlutusLedgerApi.V1.Credential" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" '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 ScriptHash))) | |||||
| type Unroll Credential Source # | |||||
Defined in PlutusLedgerApi.V1.Credential type Unroll Credential = Insert Credential (GUnroll (IfStuckRep (RepIsStuckError Credential :: Type -> Type) (Rep Credential))) | |||||