bcc-api-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.Api.Certificate

Description

Certificates embedded in transactions

Synopsis

Documentation

data Certificate Source #

Instances

Instances details
Eq Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

Show Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

FromCBOR Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

Methods

fromCBOR ∷ Decoder s Certificate #

labelProxy CertificateText #

ToCBOR Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

Methods

toCBORCertificate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Certificate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Certificate] → Size #

HasTypeProxy Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

Associated Types

data AsType Certificate Source #

SerialiseAsCBOR Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

HasTextEnvelope Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

data AsType Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

Registering stake address and delegating

Registering stake pools

data StakePoolRelay Source #

Constructors

StakePoolRelayIp (Maybe IPv4) (Maybe IPv6) (Maybe PortNumber)

One or both of IPv4 & IPv6

StakePoolRelayDnsARecord ByteString (Maybe PortNumber)

An DNS name pointing to a A or AAAA record.

StakePoolRelayDnsSrvRecord ByteString

A DNS name pointing to a SRV record.

Instances

Instances details
Eq StakePoolRelay Source # 
Instance details

Defined in Bcc.Api.Certificate

Show StakePoolRelay Source # 
Instance details

Defined in Bcc.Api.Certificate

Special certificates

data MIRTarget Source #

The MIRTarget determines the target of a MIRCertificate. A MIRCertificate moves entropic from either the reserves or the treasury to either a collection of stake credentials or to the other pot.

Constructors

StakeAddressesMIR [(StakeCredential, Entropic)]

Use StakeAddressesMIR to make the target of a MIRCertificate a mapping of stake credentials to entropic.

SendToReservesMIR Entropic

Use SendToReservesMIR to make the target of a MIRCertificate the reserves pot.

SendToTreasuryMIR Entropic

Use SendToTreasuryMIR to make the target of a MIRCertificate the treasury pot.

Instances

Instances details
Eq MIRTarget Source # 
Instance details

Defined in Bcc.Api.Certificate

Show MIRTarget Source # 
Instance details

Defined in Bcc.Api.Certificate

Internal conversion functions

toSophieCertificateCertificate → DCert StandardCrypto Source #

fromSophieCertificate ∷ DCert StandardCrypto → Certificate Source #

toSophiePoolParamsStakePoolParameters → PoolParams StandardCrypto Source #

fromSophiePoolParams ∷ PoolParams StandardCrypto → StakePoolParameters Source #

Data family instances

data family AsType t Source #

A family of singleton types used in this API to indicate which type to use where it would otherwise be ambiguous or merely unclear.

Values of this type are passed to deserialisation functions for example.

Instances

Instances details
data AsType AurumEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType JenEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType EvieEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType SophieEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType ColeEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

data AsType TxMetadata Source # 
Instance details

Defined in Bcc.Api.TxMetadata

data AsType StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType ScriptData Source # 
Instance details

Defined in Bcc.Api.ScriptData

data AsType ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

data AsType ScriptInAnyLang Source # 
Instance details

Defined in Bcc.Api.Script

data AsType ZerepochScriptV1 Source # 
Instance details

Defined in Bcc.Api.Script

data AsType SimpleScriptV2 Source # 
Instance details

Defined in Bcc.Api.Script

data AsType SimpleScriptV1 Source # 
Instance details

Defined in Bcc.Api.Script

data AsType ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

data AsType ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

data AsType ColeVote Source # 
Instance details

Defined in Bcc.Api.SpecialCole

data AsType ColeUpdateProposal Source # 
Instance details

Defined in Bcc.Api.SpecialCole

data AsType VrfKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

data AsType KesKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

data AsType StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

data AsType StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

data AsType AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

data AsType SophieAddr Source # 
Instance details

Defined in Bcc.Api.Address

data AsType ColeAddr Source # 
Instance details

Defined in Bcc.Api.Address

data AsType AssetName Source # 
Instance details

Defined in Bcc.Api.Value

data AsType PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

data AsType UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

data AsType OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

data AsType Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

data AsType TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

data AsType BlockHeader Source # 
Instance details

Defined in Bcc.Api.Block

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

data AsType OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

data AsType (Hash a) Source # 
Instance details

Defined in Bcc.Api.Hash

data AsType (Hash a) = AsHash (AsType a)
data AsType (VerificationKey a) Source # 
Instance details

Defined in Bcc.Api.Key

data AsType (SigningKey a) Source # 
Instance details

Defined in Bcc.Api.Key

data AsType (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

data AsType (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

data AsType (ScriptInEra era) Source # 
Instance details

Defined in Bcc.Api.Script

data AsType (Script lang) Source # 
Instance details

Defined in Bcc.Api.Script

data AsType (Script lang) = AsScript (AsType lang)
data AsType (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

data AsType (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)
data AsType (TxBody era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data AsType (TxBody era) = AsTxBody (AsType era)
data AsType (KeyWitness era) Source # 
Instance details

Defined in Bcc.Api.Tx

data AsType (Tx era) Source # 
Instance details

Defined in Bcc.Api.Tx

data AsType (Tx era) = AsTx (AsType era)