plutus-ledger-api-1.36.0.0: Interface to the Plutus ledger for the Cardano ledger.
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusLedgerApi.V1.Address

Synopsis

Documentation

data Address Source #

An address may contain two credentials, the payment credential and optionally a StakingCredential.

Constructors

Address 

Fields

Instances

Instances details
Generic Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

Associated Types

type Rep AddressTypeType Source #

Methods

fromAddressRep Address x Source #

toRep Address x → Address Source #

Show Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

NFData Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

Methods

rnfAddress → () Source #

Eq Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

Methods

(==)AddressAddressBool Source #

(/=)AddressAddressBool Source #

Ord Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

HasBlueprintDefinition Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

Associated Types

type Unroll Address ∷ [Type] Source #

Eq Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

Methods

(==)AddressAddressBool Source #

FromData Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

ToData Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

UnsafeFromData Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

Pretty Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

Methods

prettyAddressDoc ann Source #

prettyList ∷ [Address] → Doc ann Source #

(HasSchemaDefinition Credential referencedTypes, HasSchemaDefinition (Maybe StakingCredential) referencedTypes) ⇒ HasBlueprintSchema Address referencedTypes Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

Methods

schemaSchema referencedTypes Source #

Lift DefaultUni Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

Typeable DefaultUni Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

type Rep Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

type Rep Address = D1 ('MetaData "Address" "PlutusLedgerApi.V1.Address" "plutus-ledger-api-1.36.0.0-inplace" 'False) (C1 ('MetaCons "Address" 'PrefixI 'True) (S1 ('MetaSel ('Just "addressCredential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Credential) :*: S1 ('MetaSel ('Just "addressStakingCredential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StakingCredential))))
type Unroll Address Source # 
Instance details

Defined in PlutusLedgerApi.V1.Address

pubKeyHashAddressPubKeyHashAddress Source #

The address that should be targeted by a transaction output locked by the public key with the given hash.

toPubKeyHashAddressMaybe PubKeyHash Source #

The PubKeyHash of the address, if any

toScriptHashAddressMaybe ScriptHash Source #

The validator hash of the address, if any

scriptHashAddressScriptHashAddress Source #

The address that should be used by a transaction output locked by the given validator script hash.

stakingCredentialAddressMaybe StakingCredential Source #

The staking credential of an address (if any)