bcc-api-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.Api

Contents

Description

This module provides a library interface for interacting with Bcc as a user of the system.

It is intended to be the complete API covering everything but without exposing constructors that reveal any lower level types.

In the interest of simplicity it glosses over some details of the system. Most simple tools should be able to work just using this interface, however you can go deeper and expose the types from the underlying libraries using Bcc.Api.Cole or Bcc.Api.Sophie.

Synopsis

Eras

data ColeEra Source #

A type used as a tag to distinguish the Cole era.

Instances

Instances details
HasTypeProxy ColeEra Source # 
Instance details

Defined in Bcc.Api.Eras

Associated Types

data AsType ColeEra Source #

IsBccEra ColeEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType ColeEra Source # 
Instance details

Defined in Bcc.Api.Eras

data SophieEra Source #

A type used as a tag to distinguish the Sophie era.

Instances

Instances details
HasTypeProxy SophieEra Source # 
Instance details

Defined in Bcc.Api.Eras

Associated Types

data AsType SophieEra Source #

IsSophieBasedEra SophieEra Source # 
Instance details

Defined in Bcc.Api.Eras

IsBccEra SophieEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType SophieEra Source # 
Instance details

Defined in Bcc.Api.Eras

data EvieEra Source #

A type used as a tag to distinguish the Evie era.

Instances

Instances details
HasTypeProxy EvieEra Source # 
Instance details

Defined in Bcc.Api.Eras

Associated Types

data AsType EvieEra Source #

IsSophieBasedEra EvieEra Source # 
Instance details

Defined in Bcc.Api.Eras

IsBccEra EvieEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType EvieEra Source # 
Instance details

Defined in Bcc.Api.Eras

data JenEra Source #

A type used as a tag to distinguish the Jen era.

Instances

Instances details
HasTypeProxy JenEra Source # 
Instance details

Defined in Bcc.Api.Eras

Associated Types

data AsType JenEra Source #

IsSophieBasedEra JenEra Source # 
Instance details

Defined in Bcc.Api.Eras

IsBccEra JenEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType JenEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AurumEra Source #

A type used as a tag to distinguish the Aurum era.

Instances

Instances details
HasTypeProxy AurumEra Source # 
Instance details

Defined in Bcc.Api.Eras

Associated Types

data AsType AurumEra Source #

IsSophieBasedEra AurumEra Source # 
Instance details

Defined in Bcc.Api.Eras

IsBccEra AurumEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType AurumEra Source # 
Instance details

Defined in Bcc.Api.Eras

data BccEra era where Source #

This GADT provides a value-level representation of all the Bcc eras. This enables pattern matching on the era to allow them to be treated in a non-uniform way.

This can be used in combination with the IsBccEra class to get access to this value.

In combination this can often enable code that handles all eras, and does so uniformly where possible, and non-uniformly where necessary.

Instances

Instances details
Eq (BccEra era) Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

(==)BccEra era → BccEra era → Bool Source #

(/=)BccEra era → BccEra era → Bool Source #

Ord (BccEra era) Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

compareBccEra era → BccEra era → Ordering Source #

(<)BccEra era → BccEra era → Bool Source #

(<=)BccEra era → BccEra era → Bool Source #

(>)BccEra era → BccEra era → Bool Source #

(>=)BccEra era → BccEra era → Bool Source #

maxBccEra era → BccEra era → BccEra era Source #

minBccEra era → BccEra era → BccEra era Source #

Show (BccEra era) Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

showsPrecIntBccEra era → ShowS Source #

showBccEra era → String Source #

showList ∷ [BccEra era] → ShowS Source #

ToJSON (BccEra era) Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

toJSONBccEra era → Value #

toEncodingBccEra era → Encoding #

toJSONList ∷ [BccEra era] → Value #

toEncodingList ∷ [BccEra era] → Encoding #

TestEquality BccEra Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

testEquality ∷ ∀ (a ∷ k) (b ∷ k). BccEra a → BccEra b → Maybe (a :~: b) Source #

class HasTypeProxy era ⇒ IsBccEra era where Source #

The class of Bcc eras. This allows uniform handling of all Bcc eras, but also non-uniform by making case distinctions on the BccEra constructors, or the BccEraStyle constructors via bccEraStyle.

Methods

bccEraBccEra era Source #

Instances

Instances details
IsBccEra AurumEra Source # 
Instance details

Defined in Bcc.Api.Eras

IsBccEra JenEra Source # 
Instance details

Defined in Bcc.Api.Eras

IsBccEra EvieEra Source # 
Instance details

Defined in Bcc.Api.Eras

IsBccEra SophieEra Source # 
Instance details

Defined in Bcc.Api.Eras

IsBccEra ColeEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AnyBccEra where Source #

Constructors

AnyBccEraIsBccEra era ⇒ BccEra era → AnyBccEra 

Instances

Instances details
Eq AnyBccEra Source # 
Instance details

Defined in Bcc.Api.Eras

Show AnyBccEra Source # 
Instance details

Defined in Bcc.Api.Eras

ToJSON AnyBccEra Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

toJSONAnyBccEra → Value #

toEncodingAnyBccEra → Encoding #

toJSONList ∷ [AnyBccEra] → Value #

toEncodingList ∷ [AnyBccEra] → Encoding #

anyBccEraBccEra era → AnyBccEra Source #

Like the AnyBccEra constructor but does not demand a IsBccEra class constraint.

data InAnyBccEra thing where Source #

This pairs up some era-dependent type with a BccEra value that tells us what era it is, but hides the era type. This is useful when the era is not statically known, for example when deserialising from a file.

Constructors

InAnyBccEraIsBccEra era ⇒ BccEra era → thing era → InAnyBccEra thing 

Sophie-based eras

data SophieBasedEra era where Source #

While the Cole and Sophie eras are quite different, there are several eras that are based on Sophie with only minor differences. It is useful to be able to treat the Sophie-based eras in a mostly-uniform way.

Values of this type witness the fact that the era is Sophie-based. This can be used to constrain the era to being a Sophie-based on. It allows non-uniform handling making case distinctions on the constructor.

Instances

Instances details
Eq (SophieBasedEra era) Source # 
Instance details

Defined in Bcc.Api.Eras

Ord (SophieBasedEra era) Source # 
Instance details

Defined in Bcc.Api.Eras

Show (SophieBasedEra era) Source # 
Instance details

Defined in Bcc.Api.Eras

class IsBccEra era ⇒ IsSophieBasedEra era where Source #

The class of eras that are based on Sophie. This allows uniform handling of Sophie-based eras, but also non-uniform by making case distinctions on the SophieBasedEra constructors.

data InAnySophieBasedEra thing where Source #

This pairs up some era-dependent type with a SophieBasedEra value that tells us what era it is, but hides the era type. This is useful when the era is not statically known, for example when deserialising from a file.

Constructors

InAnySophieBasedEraIsSophieBasedEra era ⇒ SophieBasedEra era → thing era → InAnySophieBasedEra thing 

data BccEraStyle era where Source #

This is the same essential information as BccEra but instead of a flat set of alternative eras, it is factored into the legcy Cole era and the current Sophie-based eras.

This way of factoring the eras is useful because in many cases the major differences are between the Cole and Sophie-based eras, and the Sophie-based eras can often be treated uniformly.

Instances

Instances details
Eq (BccEraStyle era) Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

(==)BccEraStyle era → BccEraStyle era → Bool Source #

(/=)BccEraStyle era → BccEraStyle era → Bool Source #

Ord (BccEraStyle era) Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

compareBccEraStyle era → BccEraStyle era → Ordering Source #

(<)BccEraStyle era → BccEraStyle era → Bool Source #

(<=)BccEraStyle era → BccEraStyle era → Bool Source #

(>)BccEraStyle era → BccEraStyle era → Bool Source #

(>=)BccEraStyle era → BccEraStyle era → Bool Source #

maxBccEraStyle era → BccEraStyle era → BccEraStyle era Source #

minBccEraStyle era → BccEraStyle era → BccEraStyle era Source #

Show (BccEraStyle era) Source # 
Instance details

Defined in Bcc.Api.Eras

sophieBasedToBccEraSophieBasedEra era → BccEra era Source #

Converts a SophieBasedEra to the broader BccEra.

Deprecated

type Cole = ColeEra Source #

Deprecated: Use ColeEra or ColeAddr as appropriate

type Sophie = SophieEra Source #

Deprecated: Use SophieEra or SophieAddr as appropriate

type Evie = EvieEra Source #

Deprecated: Use EvieEra instead

type Jen = JenEra Source #

Deprecated: Use JenEra instead

Type tags

class HasTypeProxy t where Source #

Associated Types

data 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.

Methods

proxyToAsTypeProxy t → AsType t Source #

Instances

Instances details
HasTypeProxy AurumEra Source # 
Instance details

Defined in Bcc.Api.Eras

Associated Types

data AsType AurumEra Source #

HasTypeProxy JenEra Source # 
Instance details

Defined in Bcc.Api.Eras

Associated Types

data AsType JenEra Source #

HasTypeProxy EvieEra Source # 
Instance details

Defined in Bcc.Api.Eras

Associated Types

data AsType EvieEra Source #

HasTypeProxy SophieEra Source # 
Instance details

Defined in Bcc.Api.Eras

Associated Types

data AsType SophieEra Source #

HasTypeProxy ColeEra Source # 
Instance details

Defined in Bcc.Api.Eras

Associated Types

data AsType ColeEra Source #

HasTypeProxy TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Associated Types

data AsType TextEnvelope Source #

HasTypeProxy TxMetadata Source # 
Instance details

Defined in Bcc.Api.TxMetadata

Associated Types

data AsType TxMetadata Source #

HasTypeProxy StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType StakePoolKey Source #

HasTypeProxy VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTypeProxy VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType VestedDelegateKey Source #

HasTypeProxy VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType VestedExtendedKey Source #

HasTypeProxy VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType VestedKey Source #

HasTypeProxy GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTypeProxy GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTypeProxy GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTypeProxy GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType GenesisVestedKey Source #

HasTypeProxy VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType VestedUTxOKey Source #

HasTypeProxy GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType GenesisUTxOKey Source #

HasTypeProxy GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTypeProxy GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType GenesisDelegateKey Source #

HasTypeProxy GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType GenesisExtendedKey Source #

HasTypeProxy GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType GenesisKey Source #

HasTypeProxy StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType StakeExtendedKey Source #

HasTypeProxy StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType StakeKey Source #

HasTypeProxy PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType PaymentExtendedKey Source #

HasTypeProxy PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType PaymentKey Source #

HasTypeProxy ScriptData Source # 
Instance details

Defined in Bcc.Api.ScriptData

Associated Types

data AsType ScriptData Source #

HasTypeProxy ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType ScriptHash Source #

HasTypeProxy ScriptInAnyLang Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType ScriptInAnyLang Source #

HasTypeProxy ZerepochScriptV1 Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType ZerepochScriptV1 Source #

HasTypeProxy SimpleScriptV2 Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType SimpleScriptV2 Source #

HasTypeProxy SimpleScriptV1 Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType SimpleScriptV1 Source #

HasTypeProxy ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

Associated Types

data AsType ColeKeyLegacy Source #

HasTypeProxy ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

Associated Types

data AsType ColeKey Source #

HasTypeProxy ColeVote Source # 
Instance details

Defined in Bcc.Api.SpecialCole

Associated Types

data AsType ColeVote Source #

HasTypeProxy ColeUpdateProposal Source # 
Instance details

Defined in Bcc.Api.SpecialCole

Associated Types

data AsType ColeUpdateProposal Source #

HasTypeProxy VrfKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Associated Types

data AsType VrfKey Source #

HasTypeProxy KesKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Associated Types

data AsType KesKey Source #

HasTypeProxy StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Associated Types

data AsType StakePoolMetadata Source #

HasTypeProxy StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType StakeAddress Source #

HasTypeProxy AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType AddressAny Source #

HasTypeProxy SophieAddr Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType SophieAddr Source #

HasTypeProxy ColeAddr Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType ColeAddr Source #

HasTypeProxy AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Associated Types

data AsType AssetName Source #

HasTypeProxy PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

Associated Types

data AsType PolicyId Source #

HasTypeProxy UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Associated Types

data AsType UpdateProposal Source #

HasTypeProxy OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Associated Types

data AsType OptimumNonce Source #

HasTypeProxy Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

Associated Types

data AsType Certificate Source #

HasTypeProxy TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Associated Types

data AsType TxId Source #

HasTypeProxy BlockHeader Source # 
Instance details

Defined in Bcc.Api.Block

Associated Types

data AsType BlockHeader Source #

HasTypeProxy OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

HasTypeProxy OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

Associated Types

data AsType OperationalCertificate Source #

HasTypeProxy a ⇒ HasTypeProxy (Hash a) Source # 
Instance details

Defined in Bcc.Api.Hash

Associated Types

data AsType (Hash a) Source #

Methods

proxyToAsTypeProxy (Hash a) → AsType (Hash a) Source #

HasTypeProxy a ⇒ HasTypeProxy (VerificationKey a) Source # 
Instance details

Defined in Bcc.Api.Key

Associated Types

data AsType (VerificationKey a) Source #

HasTypeProxy a ⇒ HasTypeProxy (SigningKey a) Source # 
Instance details

Defined in Bcc.Api.Key

Associated Types

data AsType (SigningKey a) Source #

HasTypeProxy lang ⇒ HasTypeProxy (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType (ZerepochScript lang) Source #

HasTypeProxy lang ⇒ HasTypeProxy (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType (SimpleScript lang) Source #

HasTypeProxy era ⇒ HasTypeProxy (ScriptInEra era) Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType (ScriptInEra era) Source #

HasTypeProxy lang ⇒ HasTypeProxy (Script lang) Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType (Script lang) Source #

Methods

proxyToAsTypeProxy (Script lang) → AsType (Script lang) Source #

HasTypeProxy era ⇒ HasTypeProxy (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType (AddressInEra era) Source #

HasTypeProxy addrtype ⇒ HasTypeProxy (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType (Address addrtype) Source #

Methods

proxyToAsTypeProxy (Address addrtype) → AsType (Address addrtype) Source #

HasTypeProxy era ⇒ HasTypeProxy (TxBody era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Associated Types

data AsType (TxBody era) Source #

Methods

proxyToAsTypeProxy (TxBody era) → AsType (TxBody era) Source #

HasTypeProxy era ⇒ HasTypeProxy (KeyWitness era) Source # 
Instance details

Defined in Bcc.Api.Tx

Associated Types

data AsType (KeyWitness era) Source #

HasTypeProxy era ⇒ HasTypeProxy (Tx era) Source # 
Instance details

Defined in Bcc.Api.Tx

Associated Types

data AsType (Tx era) Source #

Methods

proxyToAsTypeProxy (Tx era) → AsType (Tx era) Source #

Cryptographic key interface

class (Eq (VerificationKey keyrole), Show (VerificationKey keyrole), SerialiseAsRawBytes (Hash keyrole), HasTextEnvelope (VerificationKey keyrole), HasTextEnvelope (SigningKey keyrole)) ⇒ Key keyrole Source #

An interface for cryptographic keys used for signatures with a SigningKey and a VerificationKey key.

This interface does not provide actual signing or verifying functions since this API is concerned with the management of keys: generating and serialising.

Instances

Instances details
Key StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

Key ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

Key VrfKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Key KesKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

data family VerificationKey keyrole ∷ Type Source #

The type of cryptographic verification key, for each key role.

Instances

Instances details
Eq (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Eq (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Show (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Show (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

IsString (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

IsString (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

FromCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

FromCBOR (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

FromCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

FromCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

ToCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey StakePoolKey → Encoding #

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

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

ToCBOR (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedDelegateKey → Encoding #

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

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

ToCBOR (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedExtendedKey → Encoding #

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

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

ToCBOR (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedKey → Encoding #

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

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

ToCBOR (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisVestedDelegateKey → Encoding #

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

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

ToCBOR (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisVestedExtendedKey → Encoding #

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

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

ToCBOR (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisVestedKey → Encoding #

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

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

ToCBOR (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedUTxOKey → Encoding #

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

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

ToCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisUTxOKey → Encoding #

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

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

ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisDelegateKey → Encoding #

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

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

ToCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisExtendedKey → Encoding #

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

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

ToCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisKey → Encoding #

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

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

ToCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey StakeExtendedKey → Encoding #

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

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

ToCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey StakeKey → Encoding #

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

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

ToCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey PaymentExtendedKey → Encoding #

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

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

ToCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey PaymentKey → Encoding #

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

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

ToCBOR (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORVerificationKey ColeKeyLegacy → Encoding #

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

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

ToCBOR (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORVerificationKey ColeKey → Encoding #

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

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

ToCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORVerificationKey VrfKey → Encoding #

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

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

ToCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORVerificationKey KesKey → Encoding #

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

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

HasTypeProxy a ⇒ HasTypeProxy (VerificationKey a) Source # 
Instance details

Defined in Bcc.Api.Key

Associated Types

data AsType (VerificationKey a) Source #

SerialiseAsCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

HasTextEnvelope (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

HasTextEnvelope (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

HasTextEnvelope (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

HasTextEnvelope (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsBech32 (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsBech32 (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

newtype VerificationKey StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey StakePoolKey = StakePoolVerificationKey (VKey 'StakePool StandardCrypto)
newtype VerificationKey VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey VestedDelegateKey = VestedDelegateVerificationKey (VKey 'VestedDelegate StandardCrypto)
newtype VerificationKey VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey VestedKey = VestedVerificationKey (VKey 'Vested StandardCrypto)
newtype VerificationKey GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisVestedDelegateKey = GenesisVestedDelegateVerificationKey (VKey 'VestedDelegate StandardCrypto)
newtype VerificationKey GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisVestedKey = GenesisVestedVerificationKey (VKey 'Genesis StandardCrypto)
newtype VerificationKey VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey VestedUTxOKey = VestedUTxOVerificationKey (VKey 'Payment StandardCrypto)
newtype VerificationKey GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisUTxOKey = GenesisUTxOVerificationKey (VKey 'Payment StandardCrypto)
newtype VerificationKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisDelegateKey = GenesisDelegateVerificationKey (VKey 'GenesisDelegate StandardCrypto)
newtype VerificationKey GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisKey = GenesisVerificationKey (VKey 'Genesis StandardCrypto)
newtype VerificationKey StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey StakeKey = StakeVerificationKey (VKey 'Staking StandardCrypto)
newtype VerificationKey PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey PaymentKey = PaymentVerificationKey (VKey 'Payment StandardCrypto)
newtype VerificationKey ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype VerificationKey ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype VerificationKey ColeKey = ColeVerificationKey VerificationKey
newtype VerificationKey VrfKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

newtype VerificationKey VrfKey = VrfVerificationKey (VerKeyVRF StandardCrypto)
newtype VerificationKey KesKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

newtype VerificationKey KesKey = KesVerificationKey (VerKeyKES StandardCrypto)
data AsType (VerificationKey a) Source # 
Instance details

Defined in Bcc.Api.Key

getVerificationKeyKey keyrole ⇒ SigningKey keyrole → VerificationKey keyrole Source #

Get the corresponding verification key from a signing key.

verificationKeyHashKey keyrole ⇒ VerificationKey keyrole → Hash keyrole Source #

castVerificationKeyCastVerificationKeyRole keyroleA keyroleB ⇒ VerificationKey keyroleA → VerificationKey keyroleB Source #

Change the role of a VerificationKey, if the representation permits.

castSigningKeyCastSigningKeyRole keyroleA keyroleB ⇒ SigningKey keyroleA → SigningKey keyroleB Source #

Change the role of a SigningKey, if the representation permits.

Generating keys

generateSigningKeyKey keyrole ⇒ AsType keyrole → IO (SigningKey keyrole) Source #

Generate a SigningKey using a seed from operating system entropy.

deterministicSigningKeyKey keyrole ⇒ AsType keyrole → Seed → SigningKey keyrole Source #

Generate a SigningKey deterministically, given a Seed. The required size of the seed is given by deterministicSigningKeySeedSize.

Hashes

In Bcc most keys are identified by their hash, and hashes are used in many other places.

data family Hash keyrole ∷ Type Source #

Instances

Instances details
Eq (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Eq (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Eq (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Eq (Hash StakePoolMetadata) Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

Ord (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Ord (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Ord (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Ord (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Ord (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

Show (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Show (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Show (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Show (Hash StakePoolMetadata) Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Show (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

IsString (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

IsString (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

IsString (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

parseJSON ∷ Value → Parser (Hash ScriptData) #

parseJSONList ∷ Value → Parser [Hash ScriptData] #

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toJSONHash StakePoolKey → Value #

toEncodingHash StakePoolKey → Encoding #

toJSONList ∷ [Hash StakePoolKey] → Value #

toEncodingList ∷ [Hash StakePoolKey] → Encoding #

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

toJSONHash ScriptData → Value #

toEncodingHash ScriptData → Encoding #

toJSONList ∷ [Hash ScriptData] → Value #

toEncodingList ∷ [Hash ScriptData] → Encoding #

FromCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash StakePoolKey) #

labelProxy (Hash StakePoolKey) → Text #

FromCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash VestedKey) #

labelProxy (Hash VestedKey) → Text #

FromCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash VestedUTxOKey) #

labelProxy (Hash VestedUTxOKey) → Text #

FromCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash GenesisUTxOKey) #

labelProxy (Hash GenesisUTxOKey) → Text #

FromCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash GenesisKey) #

labelProxy (Hash GenesisKey) → Text #

FromCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash StakeKey) #

labelProxy (Hash StakeKey) → Text #

FromCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash PaymentKey) #

labelProxy (Hash PaymentKey) → Text #

FromCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

fromCBOR ∷ Decoder s (Hash ColeKeyLegacy) #

labelProxy (Hash ColeKeyLegacy) → Text #

FromCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

fromCBOR ∷ Decoder s (Hash ColeKey) #

labelProxy (Hash ColeKey) → Text #

FromCBOR (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

fromCBOR ∷ Decoder s (Hash VrfKey) #

labelProxy (Hash VrfKey) → Text #

FromCBOR (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

fromCBOR ∷ Decoder s (Hash KesKey) #

labelProxy (Hash KesKey) → Text #

ToCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakePoolKey → Encoding #

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

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

ToCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedDelegateExtendedKey → Encoding #

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

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

ToCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedDelegateKey → Encoding #

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

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

ToCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedExtendedKey → Encoding #

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

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

ToCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedKey → Encoding #

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

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

ToCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedDelegateExtendedKey → Encoding #

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

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

ToCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedDelegateKey → Encoding #

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

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

ToCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedExtendedKey → Encoding #

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

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

ToCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedKey → Encoding #

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

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

ToCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedUTxOKey → Encoding #

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

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

ToCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisUTxOKey → Encoding #

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

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

ToCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisDelegateExtendedKey → Encoding #

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

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

ToCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisDelegateKey → Encoding #

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

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

ToCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisExtendedKey → Encoding #

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

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

ToCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisKey → Encoding #

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

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

ToCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakeExtendedKey → Encoding #

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

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

ToCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakeKey → Encoding #

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

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

ToCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash PaymentExtendedKey → Encoding #

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

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

ToCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash PaymentKey → Encoding #

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

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

ToCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORHash ColeKeyLegacy → Encoding #

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

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

ToCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORHash ColeKey → Encoding #

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

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

ToCBOR (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORHash VrfKey → Encoding #

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

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

ToCBOR (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORHash KesKey → Encoding #

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

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

FromJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

fromJSONKey ∷ FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList ∷ FromJSONKeyFunction [Hash ScriptData]

ToJSONKey (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList ∷ ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList ∷ ToJSONKeyFunction [Hash ScriptData]

HasTypeProxy a ⇒ HasTypeProxy (Hash a) Source # 
Instance details

Defined in Bcc.Api.Hash

Associated Types

data AsType (Hash a) Source #

Methods

proxyToAsTypeProxy (Hash a) → AsType (Hash a) Source #

SerialiseAsCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsCBOR (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

SerialiseAsRawBytes (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

SerialiseAsBech32 (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakePoolKey = StakePoolKeyHash (KeyHash 'StakePool StandardCrypto)
newtype Hash VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedDelegateExtendedKey = VestedDelegateExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedDelegateKey = VestedDelegateKeyHash (KeyHash 'VestedDelegate StandardCrypto)
newtype Hash VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedExtendedKey = VestedExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedKey = VestedKeyHash (KeyHash 'Vested StandardCrypto)
newtype Hash GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedDelegateKey = GenesisVestedDelegateKeyHash (KeyHash 'VestedDelegate StandardCrypto)
newtype Hash GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedExtendedKey = GenesisVestedExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedKey = GenesisVestedKeyHash (KeyHash 'Genesis StandardCrypto)
newtype Hash VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedUTxOKey = VestedUTxOKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisUTxOKey = GenesisUTxOKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisDelegateExtendedKey = GenesisDelegateExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisDelegateKey = GenesisDelegateKeyHash (KeyHash 'GenesisDelegate StandardCrypto)
newtype Hash GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisExtendedKey = GenesisExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisKey = GenesisKeyHash (KeyHash 'Genesis StandardCrypto)
newtype Hash StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeExtendedKey = StakeExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeKey = StakeKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash PaymentExtendedKey = PaymentExtendedKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash PaymentKey = PaymentKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash ScriptData Source # 
Instance details

Defined in Bcc.Api.ScriptData

newtype Hash ScriptData = ScriptDataHash (DataHash StandardCrypto)
newtype Hash ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype Hash ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype Hash ColeKey = ColeKeyHash KeyHash
newtype Hash VrfKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

newtype Hash VrfKey = VrfKeyHash (Hash StandardCrypto (VerKeyVRF StandardCrypto))
newtype Hash KesKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

newtype Hash KesKey = KesKeyHash (Hash StandardCrypto (VerKeyKES StandardCrypto))
newtype Hash StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

newtype Hash StakePoolMetadata = StakePoolMetadataHash (Hash StandardCrypto ByteString)
newtype Hash BlockHeader Source #

For now at least we use a fixed concrete hash type for all modes and era. The different eras do use different types, but it's all the same underlying representation.

Instance details

Defined in Bcc.Api.Block

data AsType (Hash a) Source # 
Instance details

Defined in Bcc.Api.Hash

data AsType (Hash a) = AsHash (AsType a)

castHashCastHash roleA roleB ⇒ Hash roleA → Hash roleB Source #

Payment addresses

Constructing and inspecting normal payment addresses

data Address addrtype Source #

Addresses are used as locations where assets live. The address determines the rights needed to spend assets at the address: in particular holding some signing key or being able to satisfy the conditions of a script.

There are currently two types of address:

  • Cole addresses, which use the type tag ColeAddr; and
  • Sophie addresses, which use the type tag SophieAddr. Notably, Sophie addresses support scripts and stake delegation.

The address type is subtly from the ledger era in which each address type is valid: while Cole addresses are the only choice in the Cole era, the Sophie era and all subsequent eras support both Cole and Sophie addresses. The Address type param only says the type of the address (either Cole or Sophie). The AddressInEra type connects the address type with the era in which it is supported.

Instances

Instances details
Eq (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

(==)Address addrtype → Address addrtype → Bool Source #

(/=)Address addrtype → Address addrtype → Bool Source #

Ord (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

compareAddress addrtype → Address addrtype → Ordering Source #

(<)Address addrtype → Address addrtype → Bool Source #

(<=)Address addrtype → Address addrtype → Bool Source #

(>)Address addrtype → Address addrtype → Bool Source #

(>=)Address addrtype → Address addrtype → Bool Source #

maxAddress addrtype → Address addrtype → Address addrtype Source #

minAddress addrtype → Address addrtype → Address addrtype Source #

Show (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

showsPrecIntAddress addrtype → ShowS Source #

showAddress addrtype → String Source #

showList ∷ [Address addrtype] → ShowS Source #

HasTypeProxy addrtype ⇒ HasTypeProxy (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType (Address addrtype) Source #

Methods

proxyToAsTypeProxy (Address addrtype) → AsType (Address addrtype) Source #

SerialiseAsRawBytes (Address SophieAddr) Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAsRawBytes (Address ColeAddr) Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAsBech32 (Address SophieAddr) Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAddress (Address SophieAddr) Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAddress (Address ColeAddr) 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 ColeAddr Source #

A type used as a tag to distinguish Cole addresses.

data NetworkId Source #

Constructors

Mainnet 
Testnet !NetworkMagic 

Instances

Instances details
Eq NetworkId Source # 
Instance details

Defined in Bcc.Api.NetworkId

Show NetworkId Source # 
Instance details

Defined in Bcc.Api.NetworkId

Cole addresses

data ColeKey Source #

Cole-era payment keys. Used for Cole addresses and witnessing transactions that spend from these addresses.

These use Ed25519 but with a 32byte "chaincode" used in HD derivation. The inclusion of the chaincode is a design mistake but one that cannot be corrected for the Cole era. The Sophie era PaymentKeys do not include a chaincode. It is safe to use a zero or random chaincode for new Cole keys.

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

Associated Types

data AsType ColeKey Source #

Key ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsColeKey ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

CastVerificationKeyRole ColeKeyLegacy ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

CastVerificationKeyRole ColeKey PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

CastVerificationKeyRole ColeKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Ord (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

FromCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

fromCBOR ∷ Decoder s (Hash ColeKey) #

labelProxy (Hash ColeKey) → Text #

FromCBOR (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

FromCBOR (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

fromCBOR ∷ Decoder s (SigningKey ColeKey) #

labelProxy (SigningKey ColeKey) → Text #

ToCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORHash ColeKey → Encoding #

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

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

ToCBOR (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORVerificationKey ColeKey → Encoding #

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

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

ToCBOR (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORSigningKey ColeKey → Encoding #

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

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

SerialiseAsCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

HasTextEnvelope (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

HasTextEnvelope (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

data AsType ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype Hash ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype Hash ColeKey = ColeKeyHash KeyHash
newtype VerificationKey ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype VerificationKey ColeKey = ColeVerificationKey VerificationKey
newtype SigningKey ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype SigningKey ColeKey = ColeSigningKey SigningKey

data ColeKeyLegacy Source #

Instances

Instances details
HasTypeProxy ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

Associated Types

data AsType ColeKeyLegacy Source #

Key ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsColeKey ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

CastVerificationKeyRole ColeKeyLegacy ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Ord (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Show (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

IsString (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

FromCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

fromCBOR ∷ Decoder s (Hash ColeKeyLegacy) #

labelProxy (Hash ColeKeyLegacy) → Text #

FromCBOR (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

FromCBOR (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

ToCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORHash ColeKeyLegacy → Encoding #

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

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

ToCBOR (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORVerificationKey ColeKeyLegacy → Encoding #

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

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

ToCBOR (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORSigningKey ColeKeyLegacy → Encoding #

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

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

SerialiseAsCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

HasTextEnvelope (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

HasTextEnvelope (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

data AsType ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype Hash ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype VerificationKey ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

newtype SigningKey ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

Sophie addresses

data PaymentKey Source #

Sophie-era payment keys. Used for Sophie payment addresses and witnessing transactions that spend from these addresses.

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType PaymentKey Source #

Key PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastSigningKeyRole VestedUTxOKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastSigningKeyRole GenesisUTxOKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole VestedUTxOKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisUTxOKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole PaymentExtendedKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole ColeKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash PaymentKey) #

labelProxy (Hash PaymentKey) → Text #

FromCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash PaymentKey → Encoding #

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

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

ToCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey PaymentKey → Encoding #

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

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

ToCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey PaymentKey → Encoding #

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

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

SerialiseAsCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash PaymentKey = PaymentKeyHash (KeyHash 'Payment StandardCrypto)
newtype VerificationKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey PaymentKey = PaymentVerificationKey (VKey 'Payment StandardCrypto)
newtype SigningKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey PaymentKey = PaymentSigningKey (SignKeyDSIGN StandardCrypto)

data PaymentExtendedKey Source #

Sophie-era payment keys using extended ed25519 cryptographic keys.

They can be used for Sophie payment addresses and witnessing transactions that spend from these addresses.

These extended keys are used by HD wallets. So this type provides interoperability with HD wallets. The ITN CLI also supported this key type.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey PaymentKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey PaymentKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType PaymentExtendedKey Source #

Key PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole PaymentExtendedKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole ColeKey PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

Eq (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash PaymentExtendedKey → Encoding #

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

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

ToCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey PaymentExtendedKey → Encoding #

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

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

ToCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey PaymentExtendedKey → Encoding #

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

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

SerialiseAsCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash PaymentExtendedKey = PaymentExtendedKeyHash (KeyHash 'Payment StandardCrypto)
newtype VerificationKey PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Addresses in any era

data AddressAny Source #

Either a Cole address or a Sophie address.

Sometimes we need to be able to work with either of the two types of address (Cole or Sophie addresses), but without reference to an era in which the address will be used. This type serves that purpose.

Instances

Instances details
Eq AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

Ord AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

Show AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

HasTypeProxy AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType AddressAny Source #

SerialiseAsRawBytes AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAddress AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

data AsType AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

Addresses in specific eras

data AddressInEra era where Source #

An Address that can be used in a particular ledger era.

All current ledger eras support Cole addresses. Sophie addresses are supported in the SophieEra and later eras.

Constructors

AddressInEraAddressTypeInEra addrtype era → Address addrtype → AddressInEra era 

Instances

Instances details
Eq (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

(==)AddressInEra era → AddressInEra era → Bool Source #

(/=)AddressInEra era → AddressInEra era → Bool Source #

Show (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

IsBccEra era ⇒ ToJSON (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

toJSONAddressInEra era → Value #

toEncodingAddressInEra era → Encoding #

toJSONList ∷ [AddressInEra era] → Value #

toEncodingList ∷ [AddressInEra era] → Encoding #

HasTypeProxy era ⇒ HasTypeProxy (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType (AddressInEra era) Source #

IsBccEra era ⇒ SerialiseAsRawBytes (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

IsBccEra era ⇒ SerialiseAddress (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

data AsType (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

isKeyAddressAddressInEra era → Bool Source #

Is the UTxO at the address only spendable via a key witness.

data AddressTypeInEra addrtype era where Source #

Instances

Instances details
Show (AddressTypeInEra addrtype era) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

showsPrecIntAddressTypeInEra addrtype era → ShowS Source #

showAddressTypeInEra addrtype era → String Source #

showList ∷ [AddressTypeInEra addrtype era] → ShowS Source #

Stake addresses

Constructing and inspecting stake addresses

data StakeAddress Source #

Instances

Instances details
Eq StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

Ord StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

Show StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

HasTypeProxy StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType StakeAddress Source #

SerialiseAsRawBytes StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAsBech32 StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAddress StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

data AsType StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

data StakeKey Source #

Instances

Instances details
HasTypeProxy StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType StakeKey Source #

Key StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole StakeExtendedKey StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash StakeKey) #

labelProxy (Hash StakeKey) → Text #

FromCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (SigningKey StakeKey) #

labelProxy (SigningKey StakeKey) → Text #

ToCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakeKey → Encoding #

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

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

ToCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey StakeKey → Encoding #

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

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

ToCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey StakeKey → Encoding #

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

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

SerialiseAsCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeKey = StakeKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey StakeKey = StakeVerificationKey (VKey 'Staking StandardCrypto)
newtype SigningKey StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey StakeKey = StakeSigningKey (SignKeyDSIGN StandardCrypto)

data StakeExtendedKey Source #

Sophie-era stake keys using extended ed25519 cryptographic keys.

They can be used for Sophie stake addresses and witnessing transactions that use stake addresses.

These extended keys are used by HD wallets. So this type provides interoperability with HD wallets. The ITN CLI also supported this key type.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey StakeKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey StakeKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType StakeExtendedKey Source #

Key StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole StakeExtendedKey StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakeExtendedKey → Encoding #

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

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

ToCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey StakeExtendedKey → Encoding #

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

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

ToCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey StakeExtendedKey → Encoding #

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

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

SerialiseAsCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeExtendedKey = StakeExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Currency values

Bcc / Entropic

data Entropic Source #

Instances

Instances details
Enum Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Eq Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Num Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Ord Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Show Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Semigroup Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Monoid Entropic Source # 
Instance details

Defined in Bcc.Api.Value

FromJSON Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser Entropic #

parseJSONList ∷ Value → Parser [Entropic] #

ToJSON Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONEntropic → Value #

toEncodingEntropic → Encoding #

toJSONList ∷ [Entropic] → Value #

toEncodingList ∷ [Entropic] → Encoding #

FromCBOR Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Methods

fromCBOR ∷ Decoder s Entropic #

labelProxy EntropicText #

ToCBOR Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toCBOREntropic → Encoding #

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

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

Multi-asset values

newtype Quantity Source #

Constructors

Quantity Integer 

Instances

Instances details
Eq Quantity Source # 
Instance details

Defined in Bcc.Api.Value

Num Quantity Source # 
Instance details

Defined in Bcc.Api.Value

Ord Quantity Source # 
Instance details

Defined in Bcc.Api.Value

Show Quantity Source # 
Instance details

Defined in Bcc.Api.Value

Semigroup Quantity Source # 
Instance details

Defined in Bcc.Api.Value

Monoid Quantity Source # 
Instance details

Defined in Bcc.Api.Value

FromJSON Quantity Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser Quantity #

parseJSONList ∷ Value → Parser [Quantity] #

ToJSON Quantity Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONQuantity → Value #

toEncodingQuantity → Encoding #

toJSONList ∷ [Quantity] → Value #

toEncodingList ∷ [Quantity] → Encoding #

newtype PolicyId Source #

Constructors

PolicyId ScriptHash 

Instances

Instances details
Eq PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

Ord PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

Show PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

IsString PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

FromJSON PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser PolicyId #

parseJSONList ∷ Value → Parser [PolicyId] #

ToJSON PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONPolicyId → Value #

toEncodingPolicyId → Encoding #

toJSONList ∷ [PolicyId] → Value #

toEncodingList ∷ [PolicyId] → Encoding #

HasTypeProxy PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

Associated Types

data AsType PolicyId Source #

SerialiseAsRawBytes PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

data AsType PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

newtype AssetName Source #

Constructors

AssetName ByteString 

Instances

Instances details
Eq AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Ord AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Show AssetName Source # 
Instance details

Defined in Bcc.Api.Value

IsString AssetName Source # 
Instance details

Defined in Bcc.Api.Value

FromJSON AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser AssetName #

parseJSONList ∷ Value → Parser [AssetName] #

ToJSON AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONAssetName → Value #

toEncodingAssetName → Encoding #

toJSONList ∷ [AssetName] → Value #

toEncodingList ∷ [AssetName] → Encoding #

FromJSONKey AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Methods

fromJSONKey ∷ FromJSONKeyFunction AssetName

fromJSONKeyList ∷ FromJSONKeyFunction [AssetName]

ToJSONKey AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONKey ∷ ToJSONKeyFunction AssetName

toJSONKeyList ∷ ToJSONKeyFunction [AssetName]

HasTypeProxy AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Associated Types

data AsType AssetName Source #

SerialiseAsRawBytes AssetName Source # 
Instance details

Defined in Bcc.Api.Value

data AsType AssetName Source # 
Instance details

Defined in Bcc.Api.Value

data AssetId Source #

Instances

Instances details
Eq AssetId Source # 
Instance details

Defined in Bcc.Api.Value

Methods

(==)AssetIdAssetIdBool Source #

(/=)AssetIdAssetIdBool Source #

Ord AssetId Source # 
Instance details

Defined in Bcc.Api.Value

Show AssetId Source # 
Instance details

Defined in Bcc.Api.Value

data Value Source #

Instances

Instances details
Eq Value Source # 
Instance details

Defined in Bcc.Api.Value

Methods

(==)ValueValueBool Source #

(/=)ValueValueBool Source #

Show Value Source # 
Instance details

Defined in Bcc.Api.Value

Semigroup Value Source # 
Instance details

Defined in Bcc.Api.Value

Methods

(<>)ValueValueValue Source #

sconcatNonEmpty ValueValue Source #

stimesIntegral b ⇒ b → ValueValue Source #

Monoid Value Source # 
Instance details

Defined in Bcc.Api.Value

FromJSON Value Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value0 → Parser Value #

parseJSONList ∷ Value0 → Parser [Value] #

ToJSON Value Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONValue → Value0 #

toEncodingValue → Encoding #

toJSONList ∷ [Value] → Value0 #

toEncodingList ∷ [Value] → Encoding #

negateValueValueValue Source #

This lets you write a - b as a <> negateValue b.

newtype ValueNestedRep Source #

An alternative nested representation for Value that groups assets that share a PolicyId.

renderValueValueText Source #

Render a textual representation of a Value.

renderValuePrettyValueText Source #

Render a "prettified" textual representation of a Value.

Bcc / Entropic within multi-asset values

valueToEntropicValueMaybe Entropic Source #

Check if the Value consists of only Entropic and no other assets, and if so then return the Entropic.

See also selectEntropic to select the Entropic quantity from the Value, ignoring other assets.

Blocks

Blocks in the context of an era

data Block era where Source #

A blockchain block in a particular Bcc era.

Bundled Patterns

pattern BlockBlockHeader → [Tx era] → Block era

A block consists of a header and a body containing transactions.

Instances

Instances details
Show (Block era) Source # 
Instance details

Defined in Bcc.Api.Block

Methods

showsPrecIntBlock era → ShowS Source #

showBlock era → String Source #

showList ∷ [Block era] → ShowS Source #

data BlockHeader Source #

Instances

Instances details
HasTypeProxy BlockHeader Source # 
Instance details

Defined in Bcc.Api.Block

Associated Types

data AsType BlockHeader Source #

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

Show (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

data AsType BlockHeader Source # 
Instance details

Defined in Bcc.Api.Block

newtype Hash BlockHeader Source #

For now at least we use a fixed concrete hash type for all modes and era. The different eras do use different types, but it's all the same underlying representation.

Instance details

Defined in Bcc.Api.Block

Points on the chain

data ChainPoint Source #

Instances

Instances details
Eq ChainPoint Source # 
Instance details

Defined in Bcc.Api.Block

Show ChainPoint Source # 
Instance details

Defined in Bcc.Api.Block

newtype EpochNo #

Constructors

EpochNo 

Fields

Instances

Instances details
Enum EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Eq EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

(==)EpochNoEpochNoBool Source #

(/=)EpochNoEpochNoBool Source #

Num EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Ord EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Show EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Generic EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Associated Types

type Rep EpochNoTypeType Source #

Methods

fromEpochNoRep EpochNo x Source #

toRep EpochNo x → EpochNo Source #

FromJSON EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochNo #

parseJSONList ∷ Value → Parser [EpochNo] #

NoThunks EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

noThunks ∷ Context → EpochNoIO (Maybe ThunkInfo)

wNoThunks ∷ Context → EpochNoIO (Maybe ThunkInfo)

showTypeOfProxy EpochNoString

ToJSON EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toJSONEpochNo → Value #

toEncodingEpochNo → Encoding #

toJSONList ∷ [EpochNo] → Value #

toEncodingList ∷ [EpochNo] → Encoding #

FromCBOR EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

fromCBOR ∷ Decoder s EpochNo #

labelProxy EpochNoText #

ToCBOR EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toCBOREpochNo → Encoding #

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

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

Serialise EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

encodeEpochNo → Encoding

decode ∷ Decoder s EpochNo

encodeList ∷ [EpochNo] → Encoding

decodeList ∷ Decoder s [EpochNo]

Condense EpochNo 
Instance details

Defined in Shardagnostic.Consensus.Util.Condense

Methods

condenseEpochNoString

type Rep EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

type Rep EpochNo = D1 ('MetaData "EpochNo" "Bcc.Slotting.Slot" "bcc-slotting-0.1.0.0-31796ee1b38506581e134229951d26120392aac1ce6c978fbf7438ab37ed4173" 'True) (C1 ('MetaCons "EpochNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEpochNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

Tip of the chain

data ChainTip Source #

This is like a ChainPoint but is conventionally used for the tip of the chain: that is the most recent block at the end of the chain.

It also carries the BlockNo of the chain tip.

Instances

Instances details
Eq ChainTip Source # 
Instance details

Defined in Bcc.Api.Block

Show ChainTip Source # 
Instance details

Defined in Bcc.Api.Block

ToJSON ChainTip Source # 
Instance details

Defined in Bcc.Api.Block

Methods

toJSONChainTip → Value #

toEncodingChainTip → Encoding #

toJSONList ∷ [ChainTip] → Value #

toEncodingList ∷ [ChainTip] → Encoding #

newtype BlockNo #

Constructors

BlockNo 

Fields

Instances

Instances details
Bounded BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Enum BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Eq BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

(==)BlockNoBlockNoBool Source #

(/=)BlockNoBlockNoBool Source #

Num BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Ord BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Show BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Generic BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Associated Types

type Rep BlockNoTypeType Source #

Methods

fromBlockNoRep BlockNo x Source #

toRep BlockNo x → BlockNo Source #

NFData BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

rnfBlockNo → () Source #

NoThunks BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

noThunks ∷ Context → BlockNoIO (Maybe ThunkInfo)

wNoThunks ∷ Context → BlockNoIO (Maybe ThunkInfo)

showTypeOfProxy BlockNoString

FromCBOR BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

fromCBOR ∷ Decoder s BlockNo #

labelProxy BlockNoText #

ToCBOR BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

toCBORBlockNo → Encoding #

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

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

Serialise BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

encodeBlockNo → Encoding

decode ∷ Decoder s BlockNo

encodeList ∷ [BlockNo] → Encoding

decodeList ∷ Decoder s [BlockNo]

Condense BlockNo 
Instance details

Defined in Shardagnostic.Consensus.Util.Condense

Methods

condenseBlockNoString

type Rep BlockNo 
Instance details

Defined in Bcc.Slotting.Block

type Rep BlockNo = D1 ('MetaData "BlockNo" "Bcc.Slotting.Block" "bcc-slotting-0.1.0.0-31796ee1b38506581e134229951d26120392aac1ce6c978fbf7438ab37ed4173" 'True) (C1 ('MetaCons "BlockNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBlockNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

Building transactions

Building transactions

Constructing and inspecting transactions

Transaction bodies

data TxBody era where Source #

Bundled Patterns

pattern TxBodyTxBodyContent ViewTx era → TxBody era 

Instances

Instances details
Eq (TxBody era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)TxBody era → TxBody era → Bool Source #

(/=)TxBody era → TxBody era → Bool Source #

Show (TxBody era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

showsPrecIntTxBody era → ShowS Source #

showTxBody era → String Source #

showList ∷ [TxBody era] → ShowS Source #

HasTypeProxy era ⇒ HasTypeProxy (TxBody era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Associated Types

data AsType (TxBody era) Source #

Methods

proxyToAsTypeProxy (TxBody era) → AsType (TxBody era) Source #

IsBccEra era ⇒ SerialiseAsCBOR (TxBody era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

serialiseToCBORTxBody era → ByteString Source #

deserialiseFromCBORAsType (TxBody era) → ByteStringEither DecoderError (TxBody era) Source #

IsBccEra era ⇒ HasTextEnvelope (TxBody era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data AsType (TxBody era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data AsType (TxBody era) = AsTxBody (AsType era)

data TxBodyScriptData era where Source #

Constructors

TxBodyNoScriptDataTxBodyScriptData era 
TxBodyScriptDataScriptDataSupportedInEra era → TxDats (SophieLedgerEra era) → Redeemers (SophieLedgerEra era) → TxBodyScriptData era 

Instances

Instances details
Eq (TxBodyScriptData era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Show (TxBodyScriptData era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Transaction Ids

newtype TxId Source #

Constructors

TxId (Hash StandardCrypto EraIndependentTxBody) 

Instances

Instances details
Eq TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)TxIdTxIdBool Source #

(/=)TxIdTxIdBool Source #

Ord TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

compareTxIdTxIdOrdering Source #

(<)TxIdTxIdBool Source #

(<=)TxIdTxIdBool Source #

(>)TxIdTxIdBool Source #

(>=)TxIdTxIdBool Source #

maxTxIdTxIdTxId Source #

minTxIdTxIdTxId Source #

Show TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

showsPrecIntTxIdShowS Source #

showTxIdString Source #

showList ∷ [TxId] → ShowS Source #

IsString TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

fromStringStringTxId Source #

FromJSON TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

parseJSON ∷ Value → Parser TxId #

parseJSONList ∷ Value → Parser [TxId] #

ToJSON TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxId → Value #

toEncodingTxId → Encoding #

toJSONList ∷ [TxId] → Value #

toEncodingList ∷ [TxId] → Encoding #

FromJSONKey TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

fromJSONKey ∷ FromJSONKeyFunction TxId

fromJSONKeyList ∷ FromJSONKeyFunction [TxId]

ToJSONKey TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONKey ∷ ToJSONKeyFunction TxId

toJSONKeyList ∷ ToJSONKeyFunction [TxId]

HasTypeProxy TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Associated Types

data AsType TxId Source #

SerialiseAsRawBytes TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

data AsType TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

getTxId ∷ ∀ era. TxBody era → TxId Source #

Calculate the transaction identifier for a TxBody.

Transaction inputs

data TxIn Source #

Constructors

TxIn TxId TxIx 

Instances

Instances details
Eq TxIn Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)TxInTxInBool Source #

(/=)TxInTxInBool Source #

Ord TxIn Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

compareTxInTxInOrdering Source #

(<)TxInTxInBool Source #

(<=)TxInTxInBool Source #

(>)TxInTxInBool Source #

(>=)TxInTxInBool Source #

maxTxInTxInTxIn Source #

minTxInTxInTxIn Source #

Show TxIn Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

showsPrecIntTxInShowS Source #

showTxInString Source #

showList ∷ [TxIn] → ShowS Source #

ToJSON TxIn Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxIn → Value #

toEncodingTxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSONKey TxIn Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONKey ∷ ToJSONKeyFunction TxIn

toJSONKeyList ∷ ToJSONKeyFunction [TxIn]

newtype TxIx Source #

Constructors

TxIx Word 

Instances

Instances details
Enum TxIx Source # 
Instance details

Defined in Bcc.Api.TxBody

Eq TxIx Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)TxIxTxIxBool Source #

(/=)TxIxTxIxBool Source #

Ord TxIx Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

compareTxIxTxIxOrdering Source #

(<)TxIxTxIxBool Source #

(<=)TxIxTxIxBool Source #

(>)TxIxTxIxBool Source #

(>=)TxIxTxIxBool Source #

maxTxIxTxIxTxIx Source #

minTxIxTxIxTxIx Source #

Show TxIx Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

showsPrecIntTxIxShowS Source #

showTxIxString Source #

showList ∷ [TxIx] → ShowS Source #

FromJSON TxIx Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

parseJSON ∷ Value → Parser TxIx #

parseJSONList ∷ Value → Parser [TxIx] #

ToJSON TxIx Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxIx → Value #

toEncodingTxIx → Encoding #

toJSONList ∷ [TxIx] → Value #

toEncodingList ∷ [TxIx] → Encoding #

Transaction outputs

data TxOut era Source #

Constructors

TxOut (AddressInEra era) (TxOutValue era) (TxOutDatumHash era) 

Instances

Instances details
Eq (TxOut era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)TxOut era → TxOut era → Bool Source #

(/=)TxOut era → TxOut era → Bool Source #

Show (TxOut era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

showsPrecIntTxOut era → ShowS Source #

showTxOut era → String Source #

showList ∷ [TxOut era] → ShowS Source #

Generic (TxOut era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Associated Types

type Rep (TxOut era) ∷ TypeType Source #

Methods

fromTxOut era → Rep (TxOut era) x Source #

toRep (TxOut era) x → TxOut era Source #

IsBccEra era ⇒ ToJSON (TxOut era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxOut era → Value #

toEncodingTxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

type Rep (TxOut era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data TxOutValue era where Source #

Instances

Instances details
Eq (TxOutValue era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)TxOutValue era → TxOutValue era → Bool Source #

(/=)TxOutValue era → TxOutValue era → Bool Source #

Show (TxOutValue era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

showsPrecIntTxOutValue era → ShowS Source #

showTxOutValue era → String Source #

showList ∷ [TxOutValue era] → ShowS Source #

Generic (TxOutValue era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Associated Types

type Rep (TxOutValue era) ∷ TypeType Source #

Methods

fromTxOutValue era → Rep (TxOutValue era) x Source #

toRep (TxOutValue era) x → TxOutValue era Source #

ToJSON (TxOutValue era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxOutValue era → Value #

toEncodingTxOutValue era → Encoding #

toJSONList ∷ [TxOutValue era] → Value #

toEncodingList ∷ [TxOutValue era] → Encoding #

type Rep (TxOutValue era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data TxOutDatumHash era where Source #

Instances

Instances details
Eq (TxOutDatumHash era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Show (TxOutDatumHash era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Generic (TxOutDatumHash era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Associated Types

type Rep (TxOutDatumHash era) ∷ TypeType Source #

Methods

fromTxOutDatumHash era → Rep (TxOutDatumHash era) x Source #

toRep (TxOutDatumHash era) x → TxOutDatumHash era Source #

type Rep (TxOutDatumHash era) Source # 
Instance details

Defined in Bcc.Api.TxBody

type Rep (TxOutDatumHash era) = D1 ('MetaData "TxOutDatumHash" "Bcc.Api.TxBody" "bcc-api-1.99.0-inplace" 'False) (C1 ('MetaCons "TxOutDatumHashNone" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "TxOutDatumHash" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ScriptDataSupportedInEra era)) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash ScriptData))))

Other transaction body types

data TxInsCollateral era where Source #

Instances

Instances details
Eq (TxInsCollateral era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Show (TxInsCollateral era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data TxFee era where Source #

Constructors

TxFeeImplicitTxFeesImplicitInEra era → TxFee era 
TxFeeExplicitTxFeesExplicitInEra era → EntropicTxFee era 

Instances

Instances details
Eq (TxFee era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)TxFee era → TxFee era → Bool Source #

(/=)TxFee era → TxFee era → Bool Source #

Show (TxFee era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

showsPrecIntTxFee era → ShowS Source #

showTxFee era → String Source #

showList ∷ [TxFee era] → ShowS Source #

data TxValidityUpperBound era where Source #

This was formerly known as the TTL.

Instances

Instances details
Eq (TxValidityUpperBound era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Show (TxValidityUpperBound era) Source # 
Instance details

Defined in Bcc.Api.TxBody

newtype SlotNo #

Constructors

SlotNo 

Fields

Instances

Instances details
Bounded SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Enum SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Eq SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

(==)SlotNoSlotNoBool Source #

(/=)SlotNoSlotNoBool Source #

Num SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Ord SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Show SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Generic SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Associated Types

type Rep SlotNoTypeType Source #

Methods

fromSlotNoRep SlotNo x Source #

toRep SlotNo x → SlotNo Source #

NFData SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

rnfSlotNo → () Source #

FromJSON SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

parseJSON ∷ Value → Parser SlotNo #

parseJSONList ∷ Value → Parser [SlotNo] #

NoThunks SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

noThunks ∷ Context → SlotNoIO (Maybe ThunkInfo)

wNoThunks ∷ Context → SlotNoIO (Maybe ThunkInfo)

showTypeOfProxy SlotNoString

ToJSON SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toJSONSlotNo → Value #

toEncodingSlotNo → Encoding #

toJSONList ∷ [SlotNo] → Value #

toEncodingList ∷ [SlotNo] → Encoding #

FromCBOR SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

fromCBOR ∷ Decoder s SlotNo #

labelProxy SlotNoText #

ToCBOR SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toCBORSlotNo → Encoding #

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

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

Serialise SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

encodeSlotNo → Encoding

decode ∷ Decoder s SlotNo

encodeList ∷ [SlotNo] → Encoding

decodeList ∷ Decoder s [SlotNo]

Condense SlotNo 
Instance details

Defined in Shardagnostic.Consensus.Util.Condense

Methods

condenseSlotNoString

HasField "ttl" (TxBody era) SlotNo 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

getField ∷ TxBody era → SlotNo Source #

HasHeader block ⇒ Anchorable (WithOrigin SlotNo) (Anchor block) block 
Instance details

Defined in Shardagnostic.Network.AnchoredFragment

Methods

asAnchor ∷ block → Anchor block

getAnchorMeasureProxy block → Anchor block → WithOrigin SlotNo

Anchorable (WithOrigin SlotNo) (HeaderState blk) (HeaderState blk) 
Instance details

Defined in Shardagnostic.Consensus.HeaderValidation

Methods

asAnchor ∷ HeaderState blk → HeaderState blk

getAnchorMeasureProxy (HeaderState blk) → HeaderState blk → WithOrigin SlotNo

GetTip l ⇒ Anchorable (WithOrigin SlotNo) (Checkpoint l) (Checkpoint l) 
Instance details

Defined in Shardagnostic.Consensus.Storage.LedgerDB.InMemory

Methods

asAnchor ∷ Checkpoint l → Checkpoint l

getAnchorMeasureProxy (Checkpoint l) → Checkpoint l → WithOrigin SlotNo

Embed (StakeCreds era) (Map (Credential 'Staking era) SlotNo) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toBase ∷ StakeCreds era → Map (Credential 'Staking era) SlotNo

fromBaseMap (Credential 'Staking era) SlotNo → StakeCreds era

HasExp (StakeCreds era) (Map (Credential 'Staking era) SlotNo) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toExp ∷ StakeCreds era → Exp (Map (Credential 'Staking era) SlotNo)

type Rep SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

type Rep SlotNo = D1 ('MetaData "SlotNo" "Bcc.Slotting.Slot" "bcc-slotting-0.1.0.0-31796ee1b38506581e134229951d26120392aac1ce6c978fbf7438ab37ed4173" 'True) (C1 ('MetaCons "SlotNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSlotNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

newtype EpochSlots #

Constructors

EpochSlots 

Fields

Instances

Instances details
Eq EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Data EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → EpochSlots → c EpochSlots Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c EpochSlots Source #

toConstrEpochSlotsConstr Source #

dataTypeOfEpochSlotsDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c EpochSlots) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c EpochSlots) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → EpochSlotsEpochSlots Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → EpochSlots → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → EpochSlots → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → EpochSlots → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → EpochSlots → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → EpochSlots → m EpochSlots Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → EpochSlots → m EpochSlots Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → EpochSlots → m EpochSlots Source #

Ord EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Read EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Show EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Generic EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Associated Types

type Rep EpochSlotsTypeType Source #

Buildable EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Methods

buildEpochSlotsBuilder

NoThunks EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Methods

noThunks ∷ Context → EpochSlotsIO (Maybe ThunkInfo)

wNoThunks ∷ Context → EpochSlotsIO (Maybe ThunkInfo)

showTypeOfProxy EpochSlotsString

FromCBOR EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Methods

fromCBOR ∷ Decoder s EpochSlots #

labelProxy EpochSlotsText #

ToCBOR EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Methods

toCBOREpochSlots → Encoding #

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

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

type Rep EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

type Rep EpochSlots = D1 ('MetaData "EpochSlots" "Bcc.Chain.Slotting.EpochSlots" "bcc-ledger-cole-0.1.0.0-6008ffc54c78353d0f5147cdbc5bfdf298d329fad75e5df92e68f459a4ba4121" 'True) (C1 ('MetaCons "EpochSlots" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEpochSlots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

data TxMetadataInEra era where Source #

Instances

Instances details
Eq (TxMetadataInEra era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Show (TxMetadataInEra era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data TxAuxScripts era where Source #

Instances

Instances details
Eq (TxAuxScripts era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)TxAuxScripts era → TxAuxScripts era → Bool Source #

(/=)TxAuxScripts era → TxAuxScripts era → Bool Source #

Show (TxAuxScripts era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data TxExtraScriptData era where Source #

Instances

Instances details
Eq (TxExtraScriptData era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Show (TxExtraScriptData era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data TxWithdrawals build era where Source #

Instances

Instances details
Eq (TxWithdrawals build era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)TxWithdrawals build era → TxWithdrawals build era → Bool Source #

(/=)TxWithdrawals build era → TxWithdrawals build era → Bool Source #

Show (TxWithdrawals build era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

showsPrecIntTxWithdrawals build era → ShowS Source #

showTxWithdrawals build era → String Source #

showList ∷ [TxWithdrawals build era] → ShowS Source #

data TxCertificates build era where Source #

Instances

Instances details
Eq (TxCertificates build era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)TxCertificates build era → TxCertificates build era → Bool Source #

(/=)TxCertificates build era → TxCertificates build era → Bool Source #

Show (TxCertificates build era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

showsPrecIntTxCertificates build era → ShowS Source #

showTxCertificates build era → String Source #

showList ∷ [TxCertificates build era] → ShowS Source #

data TxUpdateProposal era where Source #

Instances

Instances details
Eq (TxUpdateProposal era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Show (TxUpdateProposal era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data TxMintValue build era where Source #

Constructors

TxMintNoneTxMintValue build era 
TxMintValueMultiAssetSupportedInEra era → ValueBuildTxWith build (Map PolicyId (ScriptWitness WitCtxMint era)) → TxMintValue build era 

Instances

Instances details
Eq (TxMintValue build era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)TxMintValue build era → TxMintValue build era → Bool Source #

(/=)TxMintValue build era → TxMintValue build era → Bool Source #

Show (TxMintValue build era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

showsPrecIntTxMintValue build era → ShowS Source #

showTxMintValue build era → String Source #

showList ∷ [TxMintValue build era] → ShowS Source #

Building vs viewing transactions

data BuildTxWith build a where Source #

Constructors

ViewTxBuildTxWith ViewTx a 
BuildTxWith ∷ a → BuildTxWith BuildTx a 

Instances

Instances details
Eq a ⇒ Eq (BuildTxWith build a) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

(==)BuildTxWith build a → BuildTxWith build a → Bool Source #

(/=)BuildTxWith build a → BuildTxWith build a → Bool Source #

Show a ⇒ Show (BuildTxWith build a) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

showsPrecIntBuildTxWith build a → ShowS Source #

showBuildTxWith build a → String Source #

showList ∷ [BuildTxWith build a] → ShowS Source #

Era-dependent transaction body features

data CollateralSupportedInEra era where Source #

A representation of whether the era supports transactions with inputs used only for collateral for script fees.

The Aurum and subsequent eras support collateral inputs.

data MultiAssetSupportedInEra era where Source #

A representation of whether the era supports multi-asset transactions.

The Jen and subsequent eras support multi-asset transactions.

The negation of this is OnlyBccSupportedInEra.

Constructors

MultiAssetInJenEraMultiAssetSupportedInEra JenEra

Multi-asset transactions are supported in the Jen era.

MultiAssetInAurumEraMultiAssetSupportedInEra AurumEra

Multi-asset transactions are supported in the Aurum era.

data OnlyBccSupportedInEra era where Source #

A representation of whether the era supports only bcc transactions.

Prior to the Jen era only bcc transactions are supported. Multi-assets are supported from the Jen era onwards.

This is the negation of MultiAssetSupportedInEra. It exists since we need evidence to be positive.

Instances

Instances details
Eq (OnlyBccSupportedInEra era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Show (OnlyBccSupportedInEra era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data TxFeesExplicitInEra era where Source #

A representation of whether the era requires explicitly specified fees in transactions.

The Cole era tx fees are implicit (as the difference bettween the sum of outputs and sum of inputs), but all later eras the fees are specified in the transaction explicitly.

Instances

Instances details
Eq (TxFeesExplicitInEra era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Show (TxFeesExplicitInEra era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data TxFeesImplicitInEra era where Source #

A representation of whether the era requires implicitly specified fees in transactions.

This is the negation of TxFeesExplicitInEra.

Instances

Instances details
Eq (TxFeesImplicitInEra era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Show (TxFeesImplicitInEra era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data ValidityUpperBoundSupportedInEra era where Source #

A representation of whether the era supports transactions with an upper bound on the range of slots in which they are valid.

The Sophie and subsequent eras support an upper bound on the validity range. In the Sophie era specifically it is actually required. It is optional in later eras.

data ValidityNoUpperBoundSupportedInEra era where Source #

A representation of whether the era supports transactions having no upper bound on the range of slots in which they are valid.

Note that the SophieEra does not support omitting a validity upper bound. It was introduced as a required field in Sophie and then made optional in Evie and subsequent eras.

The Cole era supports this by virtue of the fact that it does not support validity ranges at all.

data ValidityLowerBoundSupportedInEra era where Source #

A representation of whether the era supports transactions with a lower bound on the range of slots in which they are valid.

The Evie and subsequent eras support an optional lower bound on the validity range. No equivalent of ValidityNoUpperBoundSupportedInEra is needed since all eras support having no lower bound.

data TxMetadataSupportedInEra era where Source #

A representation of whether the era supports transaction metadata.

Transaction metadata is supported from the Sophie era onwards.

data AuxScriptsSupportedInEra era where Source #

A representation of whether the era supports auxiliary scripts in transactions.

Auxiliary scripts are supported from the Evie era onwards.

data TxExtraKeyWitnessesSupportedInEra era where Source #

A representation of whether the era supports transactions that specify in the body that they need extra key witnesses, and where this fact is visible to scripts.

Extra key witnesses visible to scripts are supported from the Aurum era onwards.

data ScriptDataSupportedInEra era where Source #

A representation of whether the era supports multi-asset transactions.

The Jen and subsequent eras support multi-asset transactions.

The negation of this is OnlyBccSupportedInEra.

Constructors

ScriptDataInAurumEraScriptDataSupportedInEra AurumEra

Script data is supported in transactions in the Aurum era.

data WithdrawalsSupportedInEra era where Source #

A representation of whether the era supports withdrawals from reward accounts.

The Sophie and subsequent eras support stake addresses, their associated reward accounts and support for withdrawals from them.

data UpdateProposalSupportedInEra era where Source #

A representation of whether the era supports UpdateProposals embedded in transactions.

The Sophie and subsequent eras support such update proposals. They Cole era has a notion of an update proposal, but it is a standalone chain object and not embedded in a transaction.

Feature availability functions

Fee calculation

transactionFee Source #

Arguments

∷ ∀ era. IsSophieBasedEra era 
Natural

The fixed tx fee

Natural

The tx fee per byte

Tx era 
Entropic 

Deprecated: Use evaluateTransactionFee instead

For a concrete fully-constructed transaction, determine the minimum fee that it needs to pay.

This function is simple, but if you are doing input selection then you probably want to consider estimateTransactionFee.

estimateTransactionFee Source #

Arguments

∷ ∀ era. IsSophieBasedEra era 
NetworkId 
Natural

The fixed tx fee

Natural

The tx fee per byte

Tx era 
Int

The number of extra UTxO transaction inputs

Int

The number of extra transaction outputs

Int

The number of extra Sophie key witnesses

Int

The number of extra Cole key witnesses

Entropic 

This can estimate what the transaction fee will be, based on a starting base transaction, plus the numbers of the additional components of the transaction that may be added.

So for example with wallet coin selection, the base transaction should contain all the things not subject to coin selection (such as script inputs, metadata, withdrawals, certs etc)

evaluateTransactionFee Source #

Arguments

∷ ∀ era. IsSophieBasedEra era 
ProtocolParameters 
TxBody era 
Word

The number of Sophie key witnesses

Word

The number of Cole key witnesses

Entropic 

Compute the transaction fee for a proposed transaction, with the assumption that there will be the given number of key witnesses (i.e. signatures).

TODO: we need separate args for Sophie vs Cole key sigs

estimateTransactionKeyWitnessCountTxBodyContent BuildTx era → Word Source #

Give an approximate count of the number of key witnesses (i.e. signatures) a transaction will need.

This is an estimate not a precise count in that it can over-estimate: it makes conservative assumptions such as all inputs are from distinct addresses, but in principle multiple inputs can use the same address and we only need a witness per address.

Similarly there can be overlap between the regular and collateral inputs, but we conservatively assume they are distinct.

TODO: it is worth us considering a more precise count that relies on the UTxO to resolve which inputs are for distinct addresses, and also to count the number of Sophie vs Cole style witnesses.

Minimum required UTxO calculation

data MinimumUTxOError Source #

Instances

Instances details
Show MinimumUTxOError Source # 
Instance details

Defined in Bcc.Api.Fees

Error MinimumUTxOError Source # 
Instance details

Defined in Bcc.Api.Fees

Script execution units

evaluateTransactionExecutionUnits ∷ ∀ era mode. EraInMode era mode → SystemStartEraHistory mode → ProtocolParametersUTxO era → TxBody era → Either TransactionValidityIntervalError (Map ScriptWitnessIndex (Either ScriptExecutionError ExecutionUnits)) Source #

Compute the ExecutionUnits needed for each script in the transaction.

This works by running all the scripts and counting how many execution units are actually used.

data ScriptExecutionError Source #

The different possible reasons that executing a script can fail, as reported by evaluateTransactionExecutionUnits.

The first three of these are about failures before we even get to execute the script, and two are the result of execution.

Constructors

ScriptErrorMissingTxIn TxIn

The script depends on a TxIn that has not been provided in the given UTxO subset. The given UTxO must cover all the inputs the transaction references.

ScriptErrorTxInWithoutDatum TxIn

The TxIn the script is spending does not have a ScriptDatum. All inputs guarded by Zerepoch scripts need to have been created with a ScriptDatum.

ScriptErrorWrongDatum (Hash ScriptData)

The ScriptDatum provided does not match the one from the UTxO. This means the wrong ScriptDatum value has been provided.

ScriptErrorEvaluationFailed EvaluationError

The script evaluation failed. This usually means it evaluated to an error value. This is not a case of running out of execution units (which is not possible for evaluateTransactionExecutionUnits since the whole point of it is to discover how many execution units are needed).

ScriptErrorExecutionUnitsOverflow

The execution units overflowed a 64bit word. Congratulations if you encounter this error. With the current style of cost model this would need a script to run for over 7 months, which is somewhat more than the expected maximum of a few milliseconds.

ScriptErrorNotZerepochWitnessedTxIn ScriptWitnessIndex

An attempt was made to spend a key witnessed tx input with a script witness.

newtype TransactionValidityIntervalError Source #

The transaction validity interval is too far into the future.

Transactions with Zerepoch scripts need to have a validity interval that is not so far in the future that we cannot reliably determine the UTC time corresponding to the validity interval expressed in slot numbers.

This is because the Zerepoch scripts get given the transaction validity interval in UTC time, so that they are not sensitive to slot lengths.

If either end of the validity interval is beyond the so called "time horizon" then the consensus algorithm is not able to reliably determine the relationship between slots and time. This is this situation in which this error is reported. For the Bcc mainnet the time horizon is 36 hours beyond the current time. This effectively means we cannot submit check or submit transactions that use Zerepoch scripts that have the end of their validity interval more than 36 hours into the future.

Constructors

TransactionValidityIntervalError PastHorizonException 

Transaction balance

evaluateTransactionBalance ∷ ∀ era. IsSophieBasedEra era ⇒ ProtocolParametersSet PoolIdUTxO era → TxBody era → TxOutValue era Source #

Compute the total balance of the proposed transaction. Ultimately a valid transaction must be fully balanced: that is have a total value of zero.

Finding the (non-zero) balance of partially constructed transaction is useful for adjusting a transaction to be fully balanced.

Building transactions with automated fees and balancing

makeTransactionBodyAutoBalance Source #

Arguments

∷ ∀ era mode. IsSophieBasedEra era 
EraInMode era mode 
SystemStart 
EraHistory mode 
ProtocolParameters 
Set PoolId

The set of registered stake pools

UTxO era

Just the transaction inputs, not the entire UTxO.

TxBodyContent BuildTx era 
AddressInEra era

Change address

Maybe Word

Override key witnesses

Either TxBodyErrorAutoBalance (BalancedTxBody era) 

This is much like makeTransactionBody but with greater automation to calculate suitable values for several things.

In particular:

  • It calculates the correct script ExecutionUnits (ignoring the provided values, which can thus be zero).
  • It calculates the transaction fees, based on the script ExecutionUnits, the current ProtocolParameters, and an estimate of the number of key witnesses (i.e. signatures). There is an override for the number of key witnesses.
  • It accepts a change address, calculates the balance of the transaction and puts the excess change into the change output.
  • It also checks that the balance is positive and the change is above the minimum threshold.

To do this it needs more information than makeTransactionBody, all of which can be queried from a local node.

data BalancedTxBody era Source #

Constructors

BalancedTxBody 

Fields

data TxBodyErrorAutoBalance Source #

The possible errors that can arise from makeTransactionBodyAutoBalance.

Constructors

TxBodyError TxBodyError

The same errors that can arise from makeTransactionBody.

TxBodyScriptExecutionError [(ScriptWitnessIndex, ScriptExecutionError)]

One or more of the scripts fails to execute correctly.

TxBodyScriptBadScriptValidity

One or more of the scripts were expected to fail validation, but none did.

TxBodyErrorAssetBalanceWrong Value

The balance of the non-bcc assets is not zero. The Value here is that residual non-zero balance. The makeTransactionBodyAutoBalance function only automatically balances bcc, not other assets.

TxBodyErrorBccBalanceNegative Entropic

There is not enough bcc to cover both the outputs and the fees. The transaction should be changed to provide more input bcc, or otherwise adjusted to need less (e.g. outputs, script etc).

TxBodyErrorBccBalanceTooSmall

Offending TxOut

Fields

TxBodyErrorColeEraNotSupported

makeTransactionBodyAutoBalance does not yet support the Cole era.

TxBodyErrorMissingParamMinUTxO

The ProtocolParameters must provide the value for the min utxo parameter, for eras that use this parameter.

TxBodyErrorMissingParamCostPerWord

The ProtocolParameters must provide the value for the cost per word parameter, for eras that use this parameter.

TxBodyErrorValidityInterval TransactionValidityIntervalError

The transaction validity interval is too far into the future. See TransactionValidityIntervalError for details.

TxBodyErrorMinUTxONotMet

Offending TxOut

Fields

TxBodyErrorMinUTxOMissingPParams MinimumUTxOError 
TxBodyErrorNonBccAssetsUnbalanced Value 

data TxScriptValidity era where Source #

A representation of whether the era supports tx script validity.

The Jen and subsequent eras support script validity.

Constructors

TxScriptValidityNoneTxScriptValidity era 
TxScriptValidityTxScriptValiditySupportedInEra era → ScriptValidityTxScriptValidity era

Tx script validity is supported in transactions in the Aurum era onwards.

Instances

Instances details
Eq (TxScriptValidity era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Show (TxScriptValidity era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data ScriptValidity Source #

Indicates whether a script is expected to fail or pass validation.

Constructors

ScriptInvalid

Script is expected to fail validation. Transactions marked as such can include scripts that fail validation. Such transactions may be submitted to the chain, in which case the collateral will be taken upon on chain script validation failure.

ScriptValid

Script is expected to pass validation. Transactions marked as such cannot include scripts that fail validation.

Instances

Instances details
Eq ScriptValidity Source # 
Instance details

Defined in Bcc.Api.TxBody

Show ScriptValidity Source # 
Instance details

Defined in Bcc.Api.TxBody

FromCBOR ScriptValidity Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

fromCBOR ∷ Decoder s ScriptValidity #

labelProxy ScriptValidityText #

ToCBOR ScriptValidity Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toCBORScriptValidity → Encoding #

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

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

Signing transactions

Creating transaction witnesses one by one, or all in one go.

data Tx era where Source #

Bundled Patterns

pattern TxTxBody era → [KeyWitness era] → Tx era 

Instances

Instances details
Eq (Tx era) Source # 
Instance details

Defined in Bcc.Api.Tx

Methods

(==)Tx era → Tx era → Bool Source #

(/=)Tx era → Tx era → Bool Source #

Show (Tx era) Source # 
Instance details

Defined in Bcc.Api.Tx

Methods

showsPrecIntTx era → ShowS Source #

showTx era → String Source #

showList ∷ [Tx era] → ShowS Source #

HasTypeProxy era ⇒ HasTypeProxy (Tx era) Source # 
Instance details

Defined in Bcc.Api.Tx

Associated Types

data AsType (Tx era) Source #

Methods

proxyToAsTypeProxy (Tx era) → AsType (Tx era) Source #

IsBccEra era ⇒ SerialiseAsCBOR (Tx era) Source # 
Instance details

Defined in Bcc.Api.Tx

Methods

serialiseToCBORTx era → ByteString Source #

deserialiseFromCBORAsType (Tx era) → ByteStringEither DecoderError (Tx era) Source #

IsBccEra era ⇒ HasTextEnvelope (Tx 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)

getTxBody ∷ ∀ era. Tx era → TxBody era Source #

getTxWitnesses ∷ ∀ era. Tx era → [KeyWitness era] Source #

Signing in one go

Incremental signing and separate witnesses

makeSignedTransaction ∷ ∀ era. [KeyWitness era] → TxBody era → Tx era Source #

data KeyWitness era Source #

Instances

Instances details
Eq (KeyWitness era) Source # 
Instance details

Defined in Bcc.Api.Tx

Methods

(==)KeyWitness era → KeyWitness era → Bool Source #

(/=)KeyWitness era → KeyWitness era → Bool Source #

Show (KeyWitness era) Source # 
Instance details

Defined in Bcc.Api.Tx

Methods

showsPrecIntKeyWitness era → ShowS Source #

showKeyWitness era → String Source #

showList ∷ [KeyWitness era] → ShowS Source #

HasTypeProxy era ⇒ HasTypeProxy (KeyWitness era) Source # 
Instance details

Defined in Bcc.Api.Tx

Associated Types

data AsType (KeyWitness era) Source #

IsBccEra era ⇒ SerialiseAsCBOR (KeyWitness era) Source # 
Instance details

Defined in Bcc.Api.Tx

IsBccEra era ⇒ HasTextEnvelope (KeyWitness era) Source # 
Instance details

Defined in Bcc.Api.Tx

data AsType (KeyWitness era) Source # 
Instance details

Defined in Bcc.Api.Tx

Transaction metadata

Embedding additional structured data within transactions.

newtype TxMetadata Source #

Instances

Instances details
Eq TxMetadata Source # 
Instance details

Defined in Bcc.Api.TxMetadata

Show TxMetadata Source # 
Instance details

Defined in Bcc.Api.TxMetadata

Semigroup TxMetadata Source #

Merge metadata maps. When there are clashing entries the left hand side takes precedence.

Instance details

Defined in Bcc.Api.TxMetadata

Monoid TxMetadata Source # 
Instance details

Defined in Bcc.Api.TxMetadata

HasTypeProxy TxMetadata Source # 
Instance details

Defined in Bcc.Api.TxMetadata

Associated Types

data AsType TxMetadata Source #

SerialiseAsCBOR TxMetadata Source # 
Instance details

Defined in Bcc.Api.TxMetadata

data AsType TxMetadata Source # 
Instance details

Defined in Bcc.Api.TxMetadata

Constructing metadata

Validating metadata

validateTxMetadataTxMetadataEither [(Word64, TxMetadataRangeError)] () Source #

Validate transaction metadata. This is for use with existing constructed metadata values, e.g. constructed manually or decoded from CBOR directly.

data TxMetadataRangeError Source #

An error in transaction metadata due to an out-of-range value.

Constructors

TxMetadataNumberOutOfRange !Integer

The number is outside the maximum range of -2^64-1 .. 2^64-1.

TxMetadataTextTooLong !Int

The length of a text string metadatum value exceeds the maximum of 64 bytes as UTF8.

TxMetadataBytesTooLong !Int

The length of a byte string metadatum value exceeds the maximum of 64 bytes.

Converstion to/from JSON

data TxMetadataJsonSchema Source #

Tx metadata is similar to JSON but not exactly the same. It has some deliberate limitations such as no support for floating point numbers or special forms for null or boolean values. It also has limitations on the length of strings. On the other hand, unlike JSON, it distinguishes between byte strings and text strings. It also supports any value as map keys rather than just string.

We provide two different mappings between tx metadata and JSON, useful for different purposes:

  1. A mapping that allows almost any JSON value to be converted into tx metadata. This does not require a specific JSON schema for the input. It does not expose the full representation capability of tx metadata.
  2. A mapping that exposes the full representation capability of tx metadata, but relies on a specific JSON schema for the input JSON.

In the "no schema" mapping, the idea is that (almost) any JSON can be turned into tx metadata and then converted back, without loss. That is, we can round-trip the JSON.

The subset of JSON supported is all JSON except: * No null or bool values * No floating point, only integers in the range of a 64bit signed integer * A limitation on string lengths

The approach for this mapping is to use whichever representation as tx metadata is most compact. In particular:

  • JSON lists and maps represented as CBOR lists and maps
  • JSON strings represented as CBOR strings
  • JSON hex strings with "0x" prefix represented as CBOR byte strings
  • JSON integer numbers represented as CBOR signed or unsigned numbers
  • JSON maps with string keys that parse as numbers or hex byte strings, represented as CBOR map keys that are actually numbers or byte strings.

The string length limit depends on whether the hex string representation is used or not. For text strings the limit is 64 bytes for the UTF8 representation of the text string. For byte strings the limit is 64 bytes for the raw byte form (ie not the input hex, but after hex decoding).

In the "detailed schema" mapping, the idea is that we expose the full representation capability of the tx metadata in the form of a JSON schema. This means the full representation is available and can be controlled precisely. It also means any tx metadata can be converted into the JSON and back without loss. That is we can round-trip the tx metadata via the JSON and also round-trip schema-compliant JSON via tx metadata.

Constructors

TxMetadataJsonNoSchema

Use the "no schema" mapping between JSON and tx metadata as described above.

TxMetadataJsonDetailedSchema

Use the "detailed schema" mapping between JSON and tx metadata as described above.

metadataFromJsonTxMetadataJsonSchema → Value → Either TxMetadataJsonError TxMetadata Source #

Convert a value from JSON into tx metadata, using the given choice of mapping between JSON and tx metadata.

This may fail with a conversion error if the JSON is outside the supported subset for the chosen mapping. See TxMetadataJsonSchema for the details.

metadataToJsonTxMetadataJsonSchemaTxMetadata → Value Source #

Convert a tx metadata value into JSON , using the given choice of mapping between JSON and tx metadata.

This conversion is total but is not necessarily invertible. See TxMetadataJsonSchema for the details.

Certificates

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

Certificates that are embedded in transactions for registering and unregistering stake address, and for setting the stake pool delegation choice for a stake address.

Registering stake pools

Certificates that are embedded in transactions for registering and retiring stake pools. This includes updating the stake pool parameters.

Stake pool off-chain metadata

data StakePoolMetadata Source #

A representation of the required fields for off-chain stake pool metadata.

Instances

Instances details
Eq StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Show StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

FromJSON StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Methods

parseJSON ∷ Value → Parser StakePoolMetadata #

parseJSONList ∷ Value → Parser [StakePoolMetadata] #

HasTypeProxy StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Associated Types

data AsType StakePoolMetadata Source #

Eq (Hash StakePoolMetadata) Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Show (Hash StakePoolMetadata) Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

data AsType StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

newtype Hash StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

newtype Hash StakePoolMetadata = StakePoolMetadataHash (Hash StandardCrypto ByteString)

validateAndHashStakePoolMetadataByteStringEither StakePoolMetadataValidationError (StakePoolMetadata, Hash StakePoolMetadata) Source #

Decode and validate the provided JSON-encoded bytes as StakePoolMetadata. Return the decoded metadata and the hash of the original bytes.

Scripts

Both PaymentCredentials and StakeCredentials can use scripts.

Script languages

data SimpleScriptV1 Source #

The original simple script language which supports

  • require a signature from a given key (by verification key hash)
  • n-way and combinator
  • n-way or combinator
  • m-of-n combinator

This version of the language was introduced in the SophieEra.

data SimpleScriptV2 Source #

The second version of the simple script language. It has all the features of SimpleScriptV1 plus new atomic predicates:

  • require the time be before a given slot number
  • require the time be after a given slot number

This version of the language was introduced in the EvieEra.

data ZerepochScriptV1 Source #

Place holder type to show what the pattern is to extend to multiple languages, not just multiple versions of a single language.

data ScriptLanguage lang where Source #

Instances

Instances details
Eq (ScriptLanguage lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

(==)ScriptLanguage lang → ScriptLanguage lang → Bool Source #

(/=)ScriptLanguage lang → ScriptLanguage lang → Bool Source #

Show (ScriptLanguage lang) Source # 
Instance details

Defined in Bcc.Api.Script

TestEquality ScriptLanguage Source # 
Instance details

Defined in Bcc.Api.Script

Methods

testEquality ∷ ∀ (a ∷ k) (b ∷ k). ScriptLanguage a → ScriptLanguage b → Maybe (a :~: b) Source #

data SimpleScriptVersion lang where Source #

Instances

Instances details
Eq (SimpleScriptVersion lang) Source # 
Instance details

Defined in Bcc.Api.Script

Show (SimpleScriptVersion lang) Source # 
Instance details

Defined in Bcc.Api.Script

TestEquality SimpleScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Methods

testEquality ∷ ∀ (a ∷ k) (b ∷ k). SimpleScriptVersion a → SimpleScriptVersion b → Maybe (a :~: b) Source #

data ZerepochScriptVersion lang where Source #

Instances

Instances details
Eq (ZerepochScriptVersion lang) Source # 
Instance details

Defined in Bcc.Api.Script

Show (ZerepochScriptVersion lang) Source # 
Instance details

Defined in Bcc.Api.Script

TestEquality ZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Methods

testEquality ∷ ∀ (a ∷ k) (b ∷ k). ZerepochScriptVersion a → ZerepochScriptVersion b → Maybe (a :~: b) Source #

data AnyScriptLanguage where Source #

Instances

Instances details
Bounded AnyScriptLanguage Source # 
Instance details

Defined in Bcc.Api.Script

Enum AnyScriptLanguage Source # 
Instance details

Defined in Bcc.Api.Script

Eq AnyScriptLanguage Source # 
Instance details

Defined in Bcc.Api.Script

Ord AnyScriptLanguage Source # 
Instance details

Defined in Bcc.Api.Script

Show AnyScriptLanguage Source # 
Instance details

Defined in Bcc.Api.Script

data AnyZerepochScriptVersion where Source #

Instances

Instances details
Bounded AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Enum AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Eq AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Ord AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Show AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

FromJSON AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser AnyZerepochScriptVersion #

parseJSONList ∷ Value → Parser [AnyZerepochScriptVersion] #

ToJSON AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

FromCBOR AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

ToCBOR AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toCBORAnyZerepochScriptVersion → Encoding #

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

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

FromJSONKey AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Methods

fromJSONKey ∷ FromJSONKeyFunction AnyZerepochScriptVersion

fromJSONKeyList ∷ FromJSONKeyFunction [AnyZerepochScriptVersion]

ToJSONKey AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toJSONKey ∷ ToJSONKeyFunction AnyZerepochScriptVersion

toJSONKeyList ∷ ToJSONKeyFunction [AnyZerepochScriptVersion]

Scripts in a specific language

data Script lang where Source #

A script in a particular language.

See also ScriptInAnyLang for a script in any of the known languages.

See also ScriptInEra for a script in a language that is available within a particular era.

Note that some but not all scripts have an external JSON syntax, hence this type has no JSON serialisation instances. The SimpleScript family of languages do have a JSON syntax and thus have ToJSON/FromJSON instances.

Constructors

SimpleScript ∷ !(SimpleScriptVersion lang) → !(SimpleScript lang) → Script lang 
ZerepochScript ∷ !(ZerepochScriptVersion lang) → !(ZerepochScript lang) → Script lang 

Instances

Instances details
Eq (Script lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

(==)Script lang → Script lang → Bool Source #

(/=)Script lang → Script lang → Bool Source #

Show (Script lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

showsPrecIntScript lang → ShowS Source #

showScript lang → String Source #

showList ∷ [Script lang] → ShowS Source #

HasTypeProxy lang ⇒ HasTypeProxy (Script lang) Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType (Script lang) Source #

Methods

proxyToAsTypeProxy (Script lang) → AsType (Script lang) Source #

IsScriptLanguage lang ⇒ SerialiseAsCBOR (Script lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

serialiseToCBORScript lang → ByteString Source #

deserialiseFromCBORAsType (Script lang) → ByteStringEither DecoderError (Script lang) Source #

IsScriptLanguage lang ⇒ HasTextEnvelope (Script lang) 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)

Scripts in any language

data ScriptInAnyLang where Source #

Sometimes it is necessary to handle all languages without making static type distinctions between languages. For example, when reading external input, or before the era context is known.

Use toScriptInEra to convert to a script in the context of an era.

Constructors

ScriptInAnyLangScriptLanguage lang → Script lang → ScriptInAnyLang 

toScriptInAnyLangScript lang → ScriptInAnyLang Source #

Convert a script in a specific statically-known language to a ScriptInAnyLang.

No inverse to this is provided, just do case analysis on the ScriptLanguage field within the ScriptInAnyLang constructor.

Scripts in a specific era

data ScriptInEra era where Source #

Constructors

ScriptInEraScriptLanguageInEra lang era → Script lang → ScriptInEra era 

Instances

Instances details
Eq (ScriptInEra era) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

(==)ScriptInEra era → ScriptInEra era → Bool Source #

(/=)ScriptInEra era → ScriptInEra era → Bool Source #

Show (ScriptInEra era) Source # 
Instance details

Defined in Bcc.Api.Script

HasTypeProxy era ⇒ HasTypeProxy (ScriptInEra era) Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType (ScriptInEra era) Source #

data AsType (ScriptInEra era) Source # 
Instance details

Defined in Bcc.Api.Script

toScriptInEraBccEra era → ScriptInAnyLangMaybe (ScriptInEra era) Source #

Given a target era and a script in some language, check if the language is supported in that era, and if so return a ScriptInEra.

Use of a script in an era as a witness

data WitCtxTxIn Source #

A tag type for the context in which a script is used in a transaction.

This type tags the context as being to witness a transaction input.

data WitCtxMint Source #

A tag type for the context in which a script is used in a transaction.

This type tags the context as being to witness minting.

data WitCtxStake Source #

A tag type for the context in which a script is used in a transaction.

This type tags the context as being to witness the use of stake addresses in both certificates and withdrawals.

data WitCtx witctx where Source #

This GADT provides a value-level representation of all the witness contexts. This enables pattern matching on the context to allow them to be treated in a non-uniform way.

data ScriptWitness witctx era where Source #

A use of a script within a transaction body to witness that something is being used in an authorised manner. That can be

  • spending a transaction input
  • minting tokens
  • using a certificate (stake address certs specifically)
  • withdrawing from a reward account

For simple script languages, the use of the script is the same in all contexts. For Zerepoch scripts, using a script involves supplying a redeemer. In addition, Zerepoch scripts used for spending inputs must also supply the datum value used when originally creating the TxOut that is now being spent.

Instances

Instances details
Eq (ScriptWitness witctx era) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

(==)ScriptWitness witctx era → ScriptWitness witctx era → Bool Source #

(/=)ScriptWitness witctx era → ScriptWitness witctx era → Bool Source #

Show (ScriptWitness witctx era) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

showsPrecIntScriptWitness witctx era → ShowS Source #

showScriptWitness witctx era → String Source #

showList ∷ [ScriptWitness witctx era] → ShowS Source #

data Witness witctx era where Source #

Constructors

KeyWitnessKeyWitnessInCtx witctx → Witness witctx era 
ScriptWitnessScriptWitnessInCtx witctx → ScriptWitness witctx era → Witness witctx era 

Instances

Instances details
Eq (Witness witctx era) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

(==)Witness witctx era → Witness witctx era → Bool Source #

(/=)Witness witctx era → Witness witctx era → Bool Source #

Show (Witness witctx era) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

showsPrecIntWitness witctx era → ShowS Source #

showWitness witctx era → String Source #

showList ∷ [Witness witctx era] → ShowS Source #

data KeyWitnessInCtx witctx where Source #

Instances

Instances details
Eq (KeyWitnessInCtx witctx) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

(==)KeyWitnessInCtx witctx → KeyWitnessInCtx witctx → Bool Source #

(/=)KeyWitnessInCtx witctx → KeyWitnessInCtx witctx → Bool Source #

Show (KeyWitnessInCtx witctx) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

showsPrecIntKeyWitnessInCtx witctx → ShowS Source #

showKeyWitnessInCtx witctx → String Source #

showList ∷ [KeyWitnessInCtx witctx] → ShowS Source #

data ScriptDatum witctx where Source #

Instances

Instances details
Eq (ScriptDatum witctx) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

(==)ScriptDatum witctx → ScriptDatum witctx → Bool Source #

(/=)ScriptDatum witctx → ScriptDatum witctx → Bool Source #

Show (ScriptDatum witctx) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

showsPrecIntScriptDatum witctx → ShowS Source #

showScriptDatum witctx → String Source #

showList ∷ [ScriptDatum witctx] → ShowS Source #

Inspecting ScriptWitnesses

data AnyScriptWitness era where Source #

A ScriptWitness in any WitCtx. This lets us handle heterogeneous collections of script witnesses from multiple contexts.

Constructors

AnyScriptWitnessScriptWitness witctx era → AnyScriptWitness era 

data ScriptWitnessIndex Source #

Identify the location of a ScriptWitness within the context of a TxBody. These are indexes of the objects within the transaction that need or can use script witnesses: inputs, minted assets, withdrawals and certificates. These are simple numeric indices, enumerated from zero. Thus the indices are not stable if the transaction body is modified.

Constructors

ScriptWitnessIndexTxIn !Word

The n'th transaction input, in the order of the TxIds.

ScriptWitnessIndexMint !Word

The n'th minting PolicyId, in the order of the PolicyIds.

ScriptWitnessIndexCertificate !Word

The n'th certificate, in the list order of the certificates.

ScriptWitnessIndexWithdrawal !Word

The n'th withdrawal, in the order of the StakeAddresss.

mapTxScriptWitnesses ∷ ∀ era. (∀ witctx. ScriptWitnessIndexScriptWitness witctx era → ScriptWitness witctx era) → TxBodyContent BuildTx era → TxBodyContent BuildTx era Source #

Languages supported in each era

scriptLanguageSupportedInEraBccEra era → ScriptLanguage lang → Maybe (ScriptLanguageInEra lang era) Source #

Check if a given script language is supported in a given era, and if so return the evidence.

Simple scripts

Making multi-signature and time-lock scripts.

data SimpleScript lang where Source #

Constructors

RequireSignature ∷ !(Hash PaymentKey) → SimpleScript lang 
RequireTimeBefore ∷ !(TimeLocksSupported lang) → !SlotNoSimpleScript lang 
RequireTimeAfter ∷ !(TimeLocksSupported lang) → !SlotNoSimpleScript lang 
RequireAllOf ∷ [SimpleScript lang] → SimpleScript lang 
RequireAnyOf ∷ [SimpleScript lang] → SimpleScript lang 
RequireMOfInt → [SimpleScript lang] → SimpleScript lang 

Instances

Instances details
Eq (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

(==)SimpleScript lang → SimpleScript lang → Bool Source #

(/=)SimpleScript lang → SimpleScript lang → Bool Source #

Show (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

showsPrecIntSimpleScript lang → ShowS Source #

showSimpleScript lang → String Source #

showList ∷ [SimpleScript lang] → ShowS Source #

IsSimpleScriptLanguage lang ⇒ FromJSON (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser (SimpleScript lang) #

parseJSONList ∷ Value → Parser [SimpleScript lang] #

ToJSON (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toJSONSimpleScript lang → Value #

toEncodingSimpleScript lang → Encoding #

toJSONList ∷ [SimpleScript lang] → Value #

toEncodingList ∷ [SimpleScript lang] → Encoding #

HasTypeProxy lang ⇒ HasTypeProxy (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType (SimpleScript lang) Source #

data AsType (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

data TimeLocksSupported lang where Source #

Time lock feature in the SimpleScript language.

The constructors of this type serve as evidence that the timelocks feature is supported in particular versions of the language.

Instances

Instances details
Eq (TimeLocksSupported lang) Source # 
Instance details

Defined in Bcc.Api.Script

Show (TimeLocksSupported lang) Source # 
Instance details

Defined in Bcc.Api.Script

adjustSimpleScriptVersionSimpleScriptVersion lang' → SimpleScript lang → Maybe (SimpleScript lang') Source #

Try converting the SimpleScript into a different version of the language.

This will work when the script only uses the features of the target language version. For example converting from SimpleScriptV2 to SimpleScriptV1 will work if the script happens not to use time locks feature. On the other hand converting SimpleScriptV1 to SimpleScriptV2 will always work because it is backwards compatible.

Zerepoch scripts

data ZerepochScript lang Source #

Zerepoch scripts.

Note that Zerepoch scripts have a binary serialisation but no JSON serialisation.

Instances

Instances details
Eq (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

(==)ZerepochScript lang → ZerepochScript lang → Bool Source #

(/=)ZerepochScript lang → ZerepochScript lang → Bool Source #

Ord (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Show (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

(Typeable lang, HasTypeProxy lang) ⇒ FromCBOR (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

fromCBOR ∷ Decoder s (ZerepochScript lang) #

labelProxy (ZerepochScript lang) → Text #

(Typeable lang, HasTypeProxy lang) ⇒ ToCBOR (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toCBORZerepochScript lang → Encoding #

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

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

HasTypeProxy lang ⇒ HasTypeProxy (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType (ZerepochScript lang) Source #

(HasTypeProxy lang, Typeable lang) ⇒ SerialiseAsCBOR (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

HasTypeProxy lang ⇒ SerialiseAsRawBytes (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

(IsZerepochScriptLanguage lang, Typeable lang) ⇒ HasTextEnvelope (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

data AsType (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

exampleZerepochScriptAlwaysSucceedsWitCtx witctx → ZerepochScript ZerepochScriptV1 Source #

An example Zerepoch script that always succeeds, irrespective of inputs.

For example, if one were to use this for a payment address then it would allow anyone to spend from it.

The exact script depends on the context in which it is to be used.

exampleZerepochScriptAlwaysFailsWitCtx witctx → ZerepochScript ZerepochScriptV1 Source #

An example Zerepoch script that always fails, irrespective of inputs.

For example, if one were to use this for a payment address then it would be impossible for anyone to ever spend from it.

The exact script depends on the context in which it is to be used.

Script data

data ScriptData Source #

Instances

Instances details
Eq ScriptData Source # 
Instance details

Defined in Bcc.Api.ScriptData

Ord ScriptData Source # 
Instance details

Defined in Bcc.Api.ScriptData

Show ScriptData Source # 
Instance details

Defined in Bcc.Api.ScriptData

HasTypeProxy ScriptData Source # 
Instance details

Defined in Bcc.Api.ScriptData

Associated Types

data AsType ScriptData Source #

Eq (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Ord (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Show (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

IsString (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

parseJSON ∷ Value → Parser (Hash ScriptData) #

parseJSONList ∷ Value → Parser [Hash ScriptData] #

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

toJSONHash ScriptData → Value #

toEncodingHash ScriptData → Encoding #

toJSONList ∷ [Hash ScriptData] → Value #

toEncodingList ∷ [Hash ScriptData] → Encoding #

FromJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

fromJSONKey ∷ FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList ∷ FromJSONKeyFunction [Hash ScriptData]

ToJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList ∷ ToJSONKeyFunction [Hash ScriptData]

SerialiseAsRawBytes (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

data AsType ScriptData Source # 
Instance details

Defined in Bcc.Api.ScriptData

newtype Hash ScriptData Source # 
Instance details

Defined in Bcc.Api.ScriptData

newtype Hash ScriptData = ScriptDataHash (DataHash StandardCrypto)

Validation

data ScriptDataRangeError Source #

An error in script data due to an out-of-range value.

Constructors

ScriptDataNumberOutOfRange !Integer

The number is outside the maximum range of -2^64-1 .. 2^64-1.

ScriptDataConstructorOutOfRange !Integer

The number is outside the maximum range of -2^64-1 .. 2^64-1.

ScriptDataBytesTooLong !Int

The length of a byte string metadatum value exceeds the maximum of 64 bytes.

validateScriptDataScriptDataEither ScriptDataRangeError () Source #

Validate script data. This is for use with existing constructed script data values, e.g. constructed manually or decoded from CBOR directly.

Conversion to/from JSON

data ScriptDataJsonSchema Source #

Script data is similar to JSON but not exactly the same. It has some deliberate limitations such as no support for floating point numbers or special forms for null or boolean values. It also has limitations on the length of strings. On the other hand, unlike JSON, it distinguishes between byte strings and text strings. It also supports any value as map keys rather than just string. It also supports alternatives / tagged unions, used for representing constructors for Zerepoch data values.

We provide two different mappings between script data and JSON, useful for different purposes:

  1. A mapping that allows almost any JSON value to be converted into script data. This does not require a specific JSON schema for the input. It does not expose the full representation capability of script data.
  2. A mapping that exposes the full representation capability of script data, but relies on a specific JSON schema for the input JSON.

In the "no schema" mapping, the idea is that (almost) any JSON can be turned into script data and then converted back, without loss. That is, we can round-trip the JSON.

The subset of JSON supported is all JSON except: * No null or bool values * No floating point, only integers in the range of a 64bit signed integer * A limitation on string lengths

The approach for this mapping is to use whichever representation as script data is most compact. In particular:

  • JSON lists and maps represented as CBOR lists and maps
  • JSON strings represented as CBOR strings
  • JSON hex strings with "0x" prefix represented as CBOR byte strings
  • JSON integer numbers represented as CBOR signed or unsigned numbers
  • JSON maps with string keys that parse as numbers or hex byte strings, represented as CBOR map keys that are actually numbers or byte strings.

The string length limit depends on whether the hex string representation is used or not. For text strings the limit is 64 bytes for the UTF8 representation of the text string. For byte strings the limit is 64 bytes for the raw byte form (ie not the input hex, but after hex decoding).

In the "detailed schema" mapping, the idea is that we expose the full representation capability of the script data in the form of a JSON schema. This means the full representation is available and can be controlled precisely. It also means any script data can be converted into the JSON and back without loss. That is we can round-trip the script data via the JSON and also round-trip schema-compliant JSON via script data.

Constructors

ScriptDataJsonNoSchema

Use the "no schema" mapping between JSON and script data as described above.

ScriptDataJsonDetailedSchema

Use the "detailed schema" mapping between JSON and script data as described above.

scriptDataFromJsonScriptDataJsonSchema → Value → Either ScriptDataJsonError ScriptData Source #

Convert a value from JSON into script data, using the given choice of mapping between JSON and script data.

This may fail with a conversion error if the JSON is outside the supported subset for the chosen mapping. See ScriptDataJsonSchema for the details.

scriptDataToJsonScriptDataJsonSchemaScriptData → Value Source #

Convert a script data value into JSON , using the given choice of mapping between JSON and script data.

This conversion is total but is not necessarily invertible. See ScriptDataJsonSchema for the details.

Script execution units

data ExecutionUnits Source #

The units for how long a script executes for and how much memory it uses. This is used to declare the resources used by a particular use of a script.

This type is also used to describe the limits for the maximum overall execution units per transaction or per block.

Constructors

ExecutionUnits 

Fields

Instances

Instances details
Eq ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

Show ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

FromJSON ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser ExecutionUnits #

parseJSONList ∷ Value → Parser [ExecutionUnits] #

ToJSON ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toJSONExecutionUnits → Value #

toEncodingExecutionUnits → Encoding #

toJSONList ∷ [ExecutionUnits] → Value #

toEncodingList ∷ [ExecutionUnits] → Encoding #

FromCBOR ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

Methods

fromCBOR ∷ Decoder s ExecutionUnits #

labelProxy ExecutionUnitsText #

ToCBOR ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toCBORExecutionUnits → Encoding #

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

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

data ExecutionUnitPrices Source #

The prices for ExecutionUnits as a fraction of a Entropic.

These are used to determine the fee for the use of a script within a transaction, based on the ExecutionUnits needed by the use of the script.

Instances

Instances details
Eq ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Show ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

FromJSON ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser ExecutionUnitPrices #

parseJSONList ∷ Value → Parser [ExecutionUnitPrices] #

ToJSON ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toJSONExecutionUnitPrices → Value #

toEncodingExecutionUnitPrices → Encoding #

toJSONList ∷ [ExecutionUnitPrices] → Value #

toEncodingList ∷ [ExecutionUnitPrices] → Encoding #

FromCBOR ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

ToCBOR ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toCBORExecutionUnitPrices → Encoding #

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

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

newtype CostModel Source #

Constructors

CostModel (Map Text Integer) 

Instances

Instances details
Eq CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Show CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

FromJSON CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser CostModel #

parseJSONList ∷ Value → Parser [CostModel] #

ToJSON CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toJSONCostModel → Value #

toEncodingCostModel → Encoding #

toJSONList ∷ [CostModel] → Value #

toEncodingList ∷ [CostModel] → Encoding #

FromCBOR CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

fromCBOR ∷ Decoder s CostModel #

labelProxy CostModelText #

ToCBOR CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toCBORCostModel → Encoding #

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

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

validateCostModelZerepochScriptVersion lang → CostModelEither InvalidCostModel () Source #

Script addresses

Making addresses from scripts.

data ScriptHash Source #

We have this type separate from the Hash type to avoid the script hash type being parametrised by the era. The representation is era independent, and there are many places where we want to use a script hash where we don't want things to be era-parametrised.

Instances

Instances details
Eq ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

Ord ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

Show ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

IsString ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

FromJSON ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser ScriptHash #

parseJSONList ∷ Value → Parser [ScriptHash] #

ToJSON ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toJSONScriptHash → Value #

toEncodingScriptHash → Encoding #

toJSONList ∷ [ScriptHash] → Value #

toEncodingList ∷ [ScriptHash] → Encoding #

HasTypeProxy ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

Associated Types

data AsType ScriptHash Source #

SerialiseAsRawBytes ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

data AsType ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

Serialisation

Support for serialising data in JSON, CBOR and text files.

CBOR

class HasTypeProxy a ⇒ SerialiseAsCBOR a Source #

Instances

Instances details
SerialiseAsCBOR TxMetadata Source # 
Instance details

Defined in Bcc.Api.TxMetadata

SerialiseAsCBOR UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

SerialiseAsCBOR Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

SerialiseAsCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

SerialiseAsCBOR OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

SerialiseAsCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsCBOR (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

(HasTypeProxy lang, Typeable lang) ⇒ SerialiseAsCBOR (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

IsScriptLanguage lang ⇒ SerialiseAsCBOR (Script lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

serialiseToCBORScript lang → ByteString Source #

deserialiseFromCBORAsType (Script lang) → ByteStringEither DecoderError (Script lang) Source #

IsBccEra era ⇒ SerialiseAsCBOR (TxBody era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

serialiseToCBORTxBody era → ByteString Source #

deserialiseFromCBORAsType (TxBody era) → ByteStringEither DecoderError (TxBody era) Source #

IsBccEra era ⇒ SerialiseAsCBOR (KeyWitness era) Source # 
Instance details

Defined in Bcc.Api.Tx

IsBccEra era ⇒ SerialiseAsCBOR (Tx era) Source # 
Instance details

Defined in Bcc.Api.Tx

Methods

serialiseToCBORTx era → ByteString Source #

deserialiseFromCBORAsType (Tx era) → ByteStringEither DecoderError (Tx era) Source #

class Typeable a ⇒ ToCBOR a #

Minimal complete definition

toCBOR

Instances

Instances details
ToCBOR Bool 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORBool → Encoding #

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

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

ToCBOR Float 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORFloat → Encoding #

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

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

ToCBOR Int 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORInt → Encoding #

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

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

ToCBOR Int32 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORInt32 → Encoding #

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

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

ToCBOR Int64 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORInt64 → Encoding #

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

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

ToCBOR Integer 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORInteger → Encoding #

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

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

ToCBOR Natural 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORNatural → Encoding #

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

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

ToCBOR Word 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORWord → Encoding #

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

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

ToCBOR Word8 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORWord8 → Encoding #

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

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

ToCBOR Word16 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORWord16 → Encoding #

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

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

ToCBOR Word32 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORWord32 → Encoding #

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

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

ToCBOR Word64 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORWord64 → Encoding #

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

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

ToCBOR () 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBOR ∷ () → Encoding #

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

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

ToCBOR ByteString 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORByteString → Encoding #

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

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

ToCBOR ShortByteString 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORShortByteString → Encoding #

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

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

ToCBOR ByteString 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORByteString → Encoding #

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

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

ToCBOR Nano 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORNano → Encoding #

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

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

ToCBOR Pico 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORPico → Encoding #

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

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

ToCBOR Void 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORVoid → Encoding #

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

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

ToCBOR Text 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORText → Encoding #

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

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

ToCBOR UTCTime 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORUTCTime → Encoding #

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

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

ToCBOR NominalDiffTime 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORNominalDiffTime → Encoding #

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

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

ToCBOR BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

toCBORBlockNo → Encoding #

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

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

ToCBOR EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toCBOREpochNo → Encoding #

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

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

ToCBOR SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toCBORSlotNo → Encoding #

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

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

ToCBOR Raw 
Instance details

Defined in Bcc.Binary.Raw

Methods

toCBOR ∷ Raw → Encoding #

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

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

ToCBOR NonNegativeInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ NonNegativeInterval → Encoding #

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

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

ToCBOR UnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ UnitInterval → Encoding #

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

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

ToCBOR ProtVer 
Instance details

Defined in Bcc.Protocol.TOptimum

Methods

toCBOR ∷ ProtVer → Encoding #

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

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

ToCBOR AurumGenesis 
Instance details

Defined in Bcc.Ledger.Aurum.Genesis

Methods

toCBOR ∷ AurumGenesis → Encoding #

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

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

ToCBOR Coin 
Instance details

Defined in Bcc.Ledger.Coin

Methods

toCBOR ∷ Coin → Encoding #

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

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

ToCBOR Language 
Instance details

Defined in Bcc.Ledger.Aurum.Language

Methods

toCBOR ∷ Language → Encoding #

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

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

ToCBOR CostModel 
Instance details

Defined in Bcc.Ledger.Aurum.Scripts

Methods

toCBOR ∷ CostModel → Encoding #

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

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

ToCBOR Prices 
Instance details

Defined in Bcc.Ledger.Aurum.Scripts

Methods

toCBOR ∷ Prices → Encoding #

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

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

ToCBOR ExUnits 
Instance details

Defined in Bcc.Ledger.Aurum.Scripts

Methods

toCBOR ∷ ExUnits → Encoding #

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

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

ToCBOR Metadatum 
Instance details

Defined in Sophie.Spec.Ledger.Metadata

Methods

toCBOR ∷ Metadatum → Encoding #

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

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

ToCBOR AssetName 
Instance details

Defined in Bcc.Ledger.Jen.Value

Methods

toCBOR ∷ AssetName → Encoding #

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

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

ToCBOR Likelihood 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

toCBOR ∷ Likelihood → Encoding #

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

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

ToCBOR Ptr 
Instance details

Defined in Bcc.Ledger.Credential

Methods

toCBOR ∷ Ptr → Encoding #

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

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

ToCBOR Nonce 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ Nonce → Encoding #

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

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

ToCBOR Desirability 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

toCBOR ∷ Desirability → Encoding #

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

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

ToCBOR StakePoolRelay 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ StakePoolRelay → Encoding #

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

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

ToCBOR PoolMetadata 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ PoolMetadata → Encoding #

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

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

ToCBOR Network 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ Network → Encoding #

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

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

ToCBOR ValidityInterval 
Instance details

Defined in Bcc.Ledger.SophieMA.Timelocks

Methods

toCBOR ∷ ValidityInterval → Encoding #

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

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

ToCBOR ColeHash 
Instance details

Defined in Shardagnostic.Consensus.Cole.Ledger.Block

Methods

toCBOR ∷ ColeHash → Encoding #

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

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

ToCBOR PositiveUnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ PositiveUnitInterval → Encoding #

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

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

ToCBOR EpochAndSlotCount 
Instance details

Defined in Bcc.Chain.Slotting.EpochAndSlotCount

Methods

toCBOR ∷ EpochAndSlotCount → Encoding #

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

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

ToCBOR EpochNumber 
Instance details

Defined in Bcc.Chain.Slotting.EpochNumber

Methods

toCBOR ∷ EpochNumber → Encoding #

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

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

ToCBOR EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Methods

toCBOREpochSlots → Encoding #

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

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

ToCBOR SlotCount 
Instance details

Defined in Bcc.Chain.Slotting.SlotCount

Methods

toCBOR ∷ SlotCount → Encoding #

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

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

ToCBOR SlotNumber 
Instance details

Defined in Bcc.Chain.Slotting.SlotNumber

Methods

toCBOR ∷ SlotNumber → Encoding #

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

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

ToCBOR Config 
Instance details

Defined in Bcc.Chain.Genesis.Config

Methods

toCBOR ∷ Config → Encoding #

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

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

ToCBOR GenesisNonAvvmBalances 
Instance details

Defined in Bcc.Chain.Genesis.NonAvvmBalances

Methods

toCBOR ∷ GenesisNonAvvmBalances → Encoding #

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

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

ToCBOR GenesisDelegation 
Instance details

Defined in Bcc.Chain.Genesis.Delegation

Methods

toCBOR ∷ GenesisDelegation → Encoding #

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

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

ToCBOR GenesisKeyHashes 
Instance details

Defined in Bcc.Chain.Genesis.KeyHashes

Methods

toCBOR ∷ GenesisKeyHashes → Encoding #

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

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

ToCBOR CompactAddress 
Instance details

Defined in Bcc.Chain.Common.Compact

Methods

toCBOR ∷ CompactAddress → Encoding #

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

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

ToCBOR RequiresNetworkMagic 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

toCBOR ∷ RequiresNetworkMagic → Encoding #

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

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

ToCBOR GenesisAvvmBalances 
Instance details

Defined in Bcc.Chain.Genesis.AvvmBalances

Methods

toCBOR ∷ GenesisAvvmBalances → Encoding #

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

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

ToCBOR ProtocolParameters 
Instance details

Defined in Bcc.Chain.Update.ProtocolParameters

Methods

toCBOR ∷ ProtocolParameters → Encoding #

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

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

ToCBOR ProtocolVersion 
Instance details

Defined in Bcc.Chain.Update.ProtocolVersion

Methods

toCBOR ∷ ProtocolVersion → Encoding #

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

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

ToCBOR ProtocolMagicId 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

toCBOR ∷ ProtocolMagicId → Encoding #

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

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

ToCBOR Certificate 
Instance details

Defined in Bcc.Chain.Delegation.Certificate

Methods

toCBOR ∷ Certificate → Encoding #

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

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

ToCBOR SigningKey 
Instance details

Defined in Bcc.Crypto.Signing.SigningKey

Methods

toCBOR ∷ SigningKey → Encoding #

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

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

ToCBOR SoftwareVersion 
Instance details

Defined in Bcc.Chain.Update.SoftwareVersion

Methods

toCBOR ∷ SoftwareVersion → Encoding #

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

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

ToCBOR VerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.VerificationKey

Methods

toCBOR ∷ VerificationKey → Encoding #

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

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

ToCBOR KeyHash 
Instance details

Defined in Bcc.Chain.Common.KeyHash

Methods

toCBOR ∷ KeyHash → Encoding #

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

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

ToCBOR GenesisHash 
Instance details

Defined in Bcc.Chain.Genesis.Hash

Methods

toCBOR ∷ GenesisHash → Encoding #

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

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

ToCBOR CandidateProtocolUpdate 
Instance details

Defined in Bcc.Chain.Update.Validation.Endorsement

Methods

toCBOR ∷ CandidateProtocolUpdate → Encoding #

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

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

ToCBOR Endorsement 
Instance details

Defined in Bcc.Chain.Update.Validation.Endorsement

Methods

toCBOR ∷ Endorsement → Encoding #

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

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

ToCBOR ApplyMempoolPayloadErr 
Instance details

Defined in Bcc.Chain.Cole.API.Mempool

Methods

toCBORApplyMempoolPayloadErr → Encoding #

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

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

ToCBOR Tx 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

toCBOR ∷ Tx → Encoding #

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

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

ToCBOR Proposal 
Instance details

Defined in Bcc.Chain.Update.Proposal

Methods

toCBOR ∷ Proposal → Encoding #

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

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

ToCBOR Vote 
Instance details

Defined in Bcc.Chain.Update.Vote

Methods

toCBOR ∷ Vote → Encoding #

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

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

ToCBOR ChainValidationState 
Instance details

Defined in Bcc.Chain.Block.Validation

Methods

toCBOR ∷ ChainValidationState → Encoding #

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

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

ToCBOR Map 
Instance details

Defined in Bcc.Chain.Delegation.Map

Methods

toCBOR ∷ Map → Encoding #

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

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

ToCBOR ScheduledDelegation 
Instance details

Defined in Bcc.Chain.Delegation.Validation.Scheduling

Methods

toCBOR ∷ ScheduledDelegation → Encoding #

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

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

ToCBOR State 
Instance details

Defined in Bcc.Chain.Update.Validation.Interface

Methods

toCBOR ∷ State → Encoding #

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

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

ToCBOR UTxO 
Instance details

Defined in Bcc.Chain.UTxO.UTxO

Methods

toCBOR ∷ UTxO → Encoding #

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

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

ToCBOR Error 
Instance details

Defined in Bcc.Chain.Delegation.Validation.Scheduling

Methods

toCBOR ∷ Error → Encoding #

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

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

ToCBOR ToSign 
Instance details

Defined in Bcc.Chain.Block.Header

Methods

toCBOR ∷ ToSign → Encoding #

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

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

ToCBOR CompactRedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Compact

Methods

toCBOR ∷ CompactRedeemVerificationKey → Encoding #

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

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

ToCBOR Entropic 
Instance details

Defined in Bcc.Chain.Common.Entropic

Methods

toCBOR ∷ Entropic → Encoding #

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

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

ToCBOR SystemStart 
Instance details

Defined in Bcc.Slotting.Time

Methods

toCBORSystemStart → Encoding #

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

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

ToCBOR Point 
Instance details

Defined in Bcc.Crypto.VRF.Simple

Methods

toCBOR ∷ Point → Encoding #

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

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

ToCBOR Proof 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

toCBOR ∷ Proof → Encoding #

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

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

ToCBOR SignKey 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

toCBOR ∷ SignKey → Encoding #

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

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

ToCBOR VerKey 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

toCBOR ∷ VerKey → Encoding #

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

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

ToCBOR RedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.VerificationKey

Methods

toCBOR ∷ RedeemVerificationKey → Encoding #

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

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

ToCBOR RedeemSigningKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.SigningKey

Methods

toCBOR ∷ RedeemSigningKey → Encoding #

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

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

ToCBOR IsValid 
Instance details

Defined in Bcc.Ledger.Aurum.Tx

Methods

toCBOR ∷ IsValid → Encoding #

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

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

ToCBOR TagMismatchDescription 
Instance details

Defined in Bcc.Ledger.Aurum.Rules.Utxos

Methods

toCBOR ∷ TagMismatchDescription → Encoding #

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

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

ToCBOR FailureDescription 
Instance details

Defined in Bcc.Ledger.Aurum.TxInfo

Methods

toCBOR ∷ FailureDescription → Encoding #

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

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

ToCBOR RdmrPtr 
Instance details

Defined in Bcc.Ledger.Aurum.TxWitness

Methods

toCBOR ∷ RdmrPtr → Encoding #

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

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

ToCBOR Tag 
Instance details

Defined in Bcc.Ledger.Aurum.Scripts

Methods

toCBOR ∷ Tag → Encoding #

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

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

ToCBOR ScriptResult 
Instance details

Defined in Bcc.Ledger.Aurum.TxInfo

Methods

toCBOR ∷ ScriptResult → Encoding #

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

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

ToCBOR ZerepochDebug 
Instance details

Defined in Bcc.Ledger.Aurum.TxInfo

Methods

toCBOR ∷ ZerepochDebug → Encoding #

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

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

ToCBOR ChainDifficulty 
Instance details

Defined in Bcc.Chain.Common.ChainDifficulty

Methods

toCBOR ∷ ChainDifficulty → Encoding #

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

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

ToCBOR Proof 
Instance details

Defined in Bcc.Chain.Block.Proof

Methods

toCBOR ∷ Proof → Encoding #

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

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

ToCBOR SscPayload 
Instance details

Defined in Bcc.Chain.Ssc

Methods

toCBOR ∷ SscPayload → Encoding #

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

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

ToCBOR ProposalBody 
Instance details

Defined in Bcc.Chain.Update.Proposal

Methods

toCBOR ∷ ProposalBody → Encoding #

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

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

ToCBOR TxInWitness 
Instance details

Defined in Bcc.Chain.UTxO.TxWitness

Methods

toCBOR ∷ TxInWitness → Encoding #

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

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

ToCBOR Body 
Instance details

Defined in Bcc.Chain.Block.Body

Methods

toCBOR ∷ Body → Encoding #

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

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

ToCBOR TxPayload 
Instance details

Defined in Bcc.Chain.UTxO.TxPayload

Methods

toCBOR ∷ TxPayload → Encoding #

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

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

ToCBOR Payload 
Instance details

Defined in Bcc.Chain.Delegation.Payload

Methods

toCBOR ∷ Payload → Encoding #

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

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

ToCBOR Payload 
Instance details

Defined in Bcc.Chain.Update.Payload

Methods

toCBOR ∷ Payload → Encoding #

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

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

ToCBOR BlockSignature 
Instance details

Defined in Bcc.Chain.Block.Header

Methods

toCBOR ∷ BlockSignature → Encoding #

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

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

ToCBOR TxProof 
Instance details

Defined in Bcc.Chain.UTxO.TxProof

Methods

toCBOR ∷ TxProof → Encoding #

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

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

ToCBOR SscProof 
Instance details

Defined in Bcc.Chain.Ssc

Methods

toCBOR ∷ SscProof → Encoding #

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

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

ToCBOR CompactTxIn 
Instance details

Defined in Bcc.Chain.UTxO.Compact

Methods

toCBOR ∷ CompactTxIn → Encoding #

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

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

ToCBOR CompactTxOut 
Instance details

Defined in Bcc.Chain.UTxO.Compact

Methods

toCBOR ∷ CompactTxOut → Encoding #

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

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

ToCBOR State 
Instance details

Defined in Bcc.Chain.Delegation.Validation.Interface

Methods

toCBOR ∷ State → Encoding #

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

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

ToCBOR UTxOValidationError 
Instance details

Defined in Bcc.Chain.UTxO.Validation

Methods

toCBOR ∷ UTxOValidationError → Encoding #

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

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

ToCBOR BlockCount 
Instance details

Defined in Bcc.Chain.Common.BlockCount

Methods

toCBOR ∷ BlockCount → Encoding #

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

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

ToCBOR UTxOConfiguration 
Instance details

Defined in Bcc.Chain.UTxO.UTxOConfiguration

Methods

toCBOR ∷ UTxOConfiguration → Encoding #

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

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

ToCBOR ApplicationName 
Instance details

Defined in Bcc.Chain.Update.ApplicationName

Methods

toCBOR ∷ ApplicationName → Encoding #

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

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

ToCBOR ApplicationVersion 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

toCBOR ∷ ApplicationVersion → Encoding #

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

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

ToCBOR ProtocolUpdateProposal 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

toCBOR ∷ ProtocolUpdateProposal → Encoding #

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

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

ToCBOR SoftwareUpdateProposal 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

toCBOR ∷ SoftwareUpdateProposal → Encoding #

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

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

ToCBOR Error 
Instance details

Defined in Bcc.Chain.Update.Validation.Interface

Methods

toCBOR ∷ Error → Encoding #

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

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

ToCBOR HDAddressPayload 
Instance details

Defined in Bcc.Chain.Common.AddrAttributes

Methods

toCBOR ∷ HDAddressPayload → Encoding #

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

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

ToCBOR NetworkMagic 
Instance details

Defined in Bcc.Chain.Common.NetworkMagic

Methods

toCBOR ∷ NetworkMagic → Encoding #

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

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

ToCBOR AddrSpendingData 
Instance details

Defined in Bcc.Chain.Common.AddrSpendingData

Methods

toCBOR ∷ AddrSpendingData → Encoding #

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

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

ToCBOR AddrType 
Instance details

Defined in Bcc.Chain.Common.AddrSpendingData

Methods

toCBOR ∷ AddrType → Encoding #

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

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

ToCBOR Address 
Instance details

Defined in Bcc.Chain.Common.Address

Methods

toCBOR ∷ Address → Encoding #

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

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

ToCBOR Address' 
Instance details

Defined in Bcc.Chain.Common.Address

Methods

toCBOR ∷ Address' → Encoding #

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

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

ToCBOR EntropicError 
Instance details

Defined in Bcc.Chain.Common.Entropic

Methods

toCBOR ∷ EntropicError → Encoding #

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

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

ToCBOR EntropicPortion 
Instance details

Defined in Bcc.Chain.Common.EntropicPortion

Methods

toCBOR ∷ EntropicPortion → Encoding #

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

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

ToCBOR TxFeePolicy 
Instance details

Defined in Bcc.Chain.Common.TxFeePolicy

Methods

toCBOR ∷ TxFeePolicy → Encoding #

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

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

ToCBOR TxSizeLinear 
Instance details

Defined in Bcc.Chain.Common.TxSizeLinear

Methods

toCBOR ∷ TxSizeLinear → Encoding #

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

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

ToCBOR State 
Instance details

Defined in Bcc.Chain.Delegation.Validation.Activation

Methods

toCBOR ∷ State → Encoding #

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

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

ToCBOR State 
Instance details

Defined in Bcc.Chain.Delegation.Validation.Scheduling

Methods

toCBOR ∷ State → Encoding #

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

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

ToCBOR GenesisData 
Instance details

Defined in Bcc.Chain.Genesis.Data

Methods

toCBOR ∷ GenesisData → Encoding #

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

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

ToCBOR CompactTxId 
Instance details

Defined in Bcc.Chain.UTxO.Compact

Methods

toCBOR ∷ CompactTxId → Encoding #

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

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

ToCBOR TxIn 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

toCBOR ∷ TxIn → Encoding #

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

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

ToCBOR TxOut 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

toCBOR ∷ TxOut → Encoding #

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

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

ToCBOR TxAux 
Instance details

Defined in Bcc.Chain.UTxO.TxAux

Methods

toCBOR ∷ TxAux → Encoding #

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

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

ToCBOR TxSigData 
Instance details

Defined in Bcc.Chain.UTxO.TxWitness

Methods

toCBOR ∷ TxSigData → Encoding #

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

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

ToCBOR UTxOError 
Instance details

Defined in Bcc.Chain.UTxO.UTxO

Methods

toCBOR ∷ UTxOError → Encoding #

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

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

ToCBOR ApplicationNameError 
Instance details

Defined in Bcc.Chain.Update.ApplicationName

Methods

toCBOR ∷ ApplicationNameError → Encoding #

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

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

ToCBOR InstallerHash 
Instance details

Defined in Bcc.Chain.Update.InstallerHash

Methods

toCBOR ∷ InstallerHash → Encoding #

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

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

ToCBOR SystemTag 
Instance details

Defined in Bcc.Chain.Update.SystemTag

Methods

toCBOR ∷ SystemTag → Encoding #

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

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

ToCBOR ProtocolParametersUpdate 
Instance details

Defined in Bcc.Chain.Update.ProtocolParametersUpdate

Methods

toCBOR ∷ ProtocolParametersUpdate → Encoding #

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

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

ToCBOR SoftforkRule 
Instance details

Defined in Bcc.Chain.Update.SoftforkRule

Methods

toCBOR ∷ SoftforkRule → Encoding #

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

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

ToCBOR SoftwareVersionError 
Instance details

Defined in Bcc.Chain.Update.SoftwareVersion

Methods

toCBOR ∷ SoftwareVersionError → Encoding #

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

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

ToCBOR SystemTagError 
Instance details

Defined in Bcc.Chain.Update.SystemTag

Methods

toCBOR ∷ SystemTagError → Encoding #

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

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

ToCBOR Error 
Instance details

Defined in Bcc.Chain.Update.Validation.Endorsement

Methods

toCBOR ∷ Error → Encoding #

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

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

ToCBOR Error 
Instance details

Defined in Bcc.Chain.Update.Validation.Voting

Methods

toCBOR ∷ Error → Encoding #

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

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

ToCBOR Error 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

toCBOR ∷ Error → Encoding #

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

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

ToCBOR Adopted 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

toCBOR ∷ Adopted → Encoding #

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

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

ToCBOR ActiveSlotCoeff 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ ActiveSlotCoeff → Encoding #

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

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

ToCBOR DnsName 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ DnsName → Encoding #

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

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

ToCBOR Port 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ Port → Encoding #

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

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

ToCBOR PositiveInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ PositiveInterval → Encoding #

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

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

ToCBOR Seed 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ Seed → Encoding #

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

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

ToCBOR Url 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ Url → Encoding #

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

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

ToCBOR DeltaCoin 
Instance details

Defined in Bcc.Ledger.Coin

Methods

toCBOR ∷ DeltaCoin → Encoding #

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

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

ToCBOR Aptr 
Instance details

Defined in Bcc.Ledger.Credential

Methods

toCBOR ∷ Aptr → Encoding #

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

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

ToCBOR KESPeriod 
Instance details

Defined in Bcc.Protocol.TOptimum.OCert

Methods

toCBORKESPeriod → Encoding #

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

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

ToCBOR TicknState 
Instance details

Defined in Sophie.Spec.Ledger.STS.Tickn

Methods

toCBOR ∷ TicknState → Encoding #

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

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

ToCBOR ChainCode 
Instance details

Defined in Sophie.Spec.Ledger.Address.Bootstrap

Methods

toCBOR ∷ ChainCode → Encoding #

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

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

ToCBOR AccountState 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ AccountState → Encoding #

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

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

ToCBOR LogWeight 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

toCBOR ∷ LogWeight → Encoding #

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

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

ToCBOR MIRPot 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ MIRPot → Encoding #

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

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

ToCBOR PerformanceEstimate 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

toCBOR ∷ PerformanceEstimate → Encoding #

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

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

ToCBOR RewardType 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

toCBOR ∷ RewardType → Encoding #

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

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

ToCBOR VotingPeriod 
Instance details

Defined in Sophie.Spec.Ledger.STS.Ppup

Methods

toCBOR ∷ VotingPeriod → Encoding #

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

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

ToCBOR SizeOfPoolOwners 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ SizeOfPoolOwners → Encoding #

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

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

ToCBOR SizeOfPoolRelays 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ SizeOfPoolRelays → Encoding #

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

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

ToCBOR TxValidationError 
Instance details

Defined in Bcc.Chain.UTxO.Validation

Methods

toCBOR ∷ TxValidationError → Encoding #

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

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

ToCBOR ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toCBORExecutionUnits → Encoding #

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

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

ToCBOR AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toCBORAnyZerepochScriptVersion → Encoding #

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

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

ToCBOR Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toCBOREntropic → Encoding #

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

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

ToCBOR UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toCBORUpdateProposal → Encoding #

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

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

ToCBOR CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toCBORCostModel → Encoding #

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

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

ToCBOR ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toCBORExecutionUnitPrices → Encoding #

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

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

ToCBOR OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toCBOROptimumNonce → Encoding #

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

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

ToCBOR ProtocolParametersUpdate Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toCBORProtocolParametersUpdate → Encoding #

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

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

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 #

ToCBOR ScriptValidity Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toCBORScriptValidity → Encoding #

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

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

ToCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

Methods

toCBOROperationalCertificateIssueCounter → Encoding #

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

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

ToCBOR OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

Methods

toCBOROperationalCertificate → Encoding #

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

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

ToCBOR a ⇒ ToCBOR [a] 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBOR ∷ [a] → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [a] → Size #

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

ToCBOR a ⇒ ToCBOR (Maybe a) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORMaybe a → Encoding #

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

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

ToCBOR a ⇒ ToCBOR (Ratio a) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORRatio a → Encoding #

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

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

(Ord a, ToCBOR a) ⇒ ToCBOR (Set a) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORSet a → Encoding #

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

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

ToCBOR a ⇒ ToCBOR (NonEmpty a) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORNonEmpty a → Encoding #

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

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

(Serialise t, Typeable t) ⇒ ToCBOR (WithOrigin t) 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toCBOR ∷ WithOrigin t → Encoding #

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

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

ToCBOR a ⇒ ToCBOR (Vector a) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBOR ∷ Vector a → Encoding #

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

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

Typeable xs ⇒ ToCBOR (LengthOf xs) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBOR ∷ LengthOf xs → Encoding #

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

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

ToCBOR (SigDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Bcc.Api.Crypto.Ed25519Bip32

Methods

toCBORSigDSIGN Ed25519Bip32DSIGN → Encoding #

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

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

ToCBOR (SigDSIGN MockDSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Mock

Methods

toCBORSigDSIGN MockDSIGN → Encoding #

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

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

ToCBOR (SigDSIGN Ed25519DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed25519

Methods

toCBORSigDSIGN Ed25519DSIGN → Encoding #

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

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

ToCBOR (SigDSIGN Ed448DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed448

Methods

toCBORSigDSIGN Ed448DSIGN → Encoding #

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

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

ToCBOR (SignKeyDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Bcc.Api.Crypto.Ed25519Bip32

Methods

toCBORSignKeyDSIGN Ed25519Bip32DSIGN → Encoding #

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

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

ToCBOR (SignKeyDSIGN MockDSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Mock

Methods

toCBORSignKeyDSIGN MockDSIGN → Encoding #

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

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

ToCBOR (SignKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed25519

Methods

toCBORSignKeyDSIGN Ed25519DSIGN → Encoding #

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

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

ToCBOR (SignKeyDSIGN Ed448DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed448

Methods

toCBORSignKeyDSIGN Ed448DSIGN → Encoding #

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

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

ToCBOR (VerKeyDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Bcc.Api.Crypto.Ed25519Bip32

Methods

toCBORVerKeyDSIGN Ed25519Bip32DSIGN → Encoding #

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

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

ToCBOR (VerKeyDSIGN MockDSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Mock

Methods

toCBORVerKeyDSIGN MockDSIGN → Encoding #

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

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

ToCBOR (VerKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed25519

Methods

toCBORVerKeyDSIGN Ed25519DSIGN → Encoding #

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

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

ToCBOR (VerKeyDSIGN Ed448DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed448

Methods

toCBORVerKeyDSIGN Ed448DSIGN → Encoding #

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

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

(Era era, ToCBOR (PParamsDelta era)) ⇒ ToCBOR (PPUPState era) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ PPUPState era → Encoding #

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

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

ToCBOR a ⇒ ToCBOR (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

toCBOR ∷ StrictMaybe a → Encoding #

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

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

(SophieBased era, ToCBOR (PredicateFailure (EraRule "LEDGER" era))) ⇒ ToCBOR (ApplyTxError era) 
Instance details

Defined in Sophie.Spec.Ledger.API.Mempool

Methods

toCBOR ∷ ApplyTxError era → Encoding #

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

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

TransUTxOState ToCBOR era ⇒ ToCBOR (UTxOState era) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ UTxOState era → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (DPState crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ DPState crypto → Encoding #

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

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

(Typeable era, ToCBOR (TxBody era), ToCBOR (AuxiliaryData era)) ⇒ ToCBOR (ValidatedTx era) 
Instance details

Defined in Bcc.Ledger.Aurum.Tx

Methods

toCBOR ∷ ValidatedTx era → Encoding #

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

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

Era era ⇒ ToCBOR (PParamsUpdate era) 
Instance details

Defined in Bcc.Ledger.Aurum.PParams

Methods

toCBOR ∷ PParamsUpdate era → Encoding #

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

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

Era era ⇒ ToCBOR (PParams era) 
Instance details

Defined in Bcc.Ledger.Aurum.PParams

Methods

toCBOR ∷ PParams era → Encoding #

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

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

(ToCBOR (PredicateFailure (EraRule "DELEGS" era)), ToCBOR (PredicateFailure (EraRule "UTXOW" era)), Era era) ⇒ ToCBOR (LedgerPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Ledger

Methods

toCBOR ∷ LedgerPredicateFailure era → Encoding #

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

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

Typeable era ⇒ ToCBOR (TxWitness era) 
Instance details

Defined in Bcc.Ledger.Aurum.TxWitness

Methods

toCBOR ∷ TxWitness era → Encoding #

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

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

Typeable t ⇒ ToCBOR (MemoBytes t) 
Instance details

Defined in Data.MemoBytes

Methods

toCBOR ∷ MemoBytes t → Encoding #

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

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

Era era ⇒ ToCBOR (PParams era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

toCBOR ∷ PParams era → Encoding #

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

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

Era era ⇒ ToCBOR (PParamsUpdate era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

toCBOR ∷ PParamsUpdate era → Encoding #

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

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

Typeable era ⇒ ToCBOR (Tx era) 
Instance details

Defined in Sophie.Spec.Ledger.Tx

Methods

toCBOR ∷ Tx era → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (ScriptHash crypto) 
Instance details

Defined in Bcc.Ledger.Hashes

Methods

toCBOR ∷ ScriptHash crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (AuxiliaryDataHash crypto) 
Instance details

Defined in Bcc.Ledger.AuxiliaryData

Methods

toCBOR ∷ AuxiliaryDataHash crypto → Encoding #

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

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

TransEpoch ToCBOR era ⇒ ToCBOR (EpochState era) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ EpochState era → Encoding #

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

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

(Era era, TransLedgerState ToCBOR era) ⇒ ToCBOR (LedgerState era) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ LedgerState era → Encoding #

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

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

(Typeable era, TransEpoch ToCBOR era) ⇒ ToCBOR (NewEpochState era) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ NewEpochState era → Encoding #

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

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

(Era era, TransTxOut ToCBOR era) ⇒ ToCBOR (TxOut era) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ TxOut era → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (Addr crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

toCBOR ∷ Addr crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (BlocksMade crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

toCBOR ∷ BlocksMade crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (SnapShots crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

toCBOR ∷ SnapShots crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (NonMyopic crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

toCBOR ∷ NonMyopic crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (PulsingRewUpdate crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

toCBOR ∷ PulsingRewUpdate crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (PoolDistr crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum

Methods

toCBOR ∷ PoolDistr crypto → Encoding #

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

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

(Era era, ToCBOR (PParamsDelta era)) ⇒ ToCBOR (ProposedPPUpdates era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

toCBOR ∷ ProposedPPUpdates era → Encoding #

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

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

Era era ⇒ ToCBOR (SophieGenesis era) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

toCBORSophieGenesis era → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (GenDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toCBOR ∷ GenDelegPair crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (VestedDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toCBOR ∷ VestedDelegPair crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (SophieGenesisStaking crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

toCBOR ∷ SophieGenesisStaking crypto → Encoding #

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

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

ToCBOR (CompactForm Coin) 
Instance details

Defined in Bcc.Ledger.Coin

Methods

toCBOR ∷ CompactForm Coin → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (CompactForm (Value crypto)) 
Instance details

Defined in Bcc.Ledger.Jen.Value

Methods

toCBOR ∷ CompactForm (Value crypto) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CompactForm (Value crypto)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CompactForm (Value crypto)] → Size #

(Era era, ToCBOR (TxOut era)) ⇒ ToCBOR (UTxO era) 
Instance details

Defined in Sophie.Spec.Ledger.UTxO

Methods

toCBOR ∷ UTxO era → Encoding #

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

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

(Era era, ToCBOR (PParamsDelta era)) ⇒ ToCBOR (Update era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

toCBOR ∷ Update era → Encoding #

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

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

Typeable era ⇒ ToCBOR (AuxiliaryData era) 
Instance details

Defined in Bcc.Ledger.SophieMA.AuxiliaryData

Methods

toCBOR ∷ AuxiliaryData era → Encoding #

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

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

Typeable crypto ⇒ ToCBOR (Timelock crypto) 
Instance details

Defined in Bcc.Ledger.SophieMA.Timelocks

Methods

toCBOR ∷ Timelock crypto → Encoding #

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

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

Typeable era ⇒ ToCBOR (TxBody era) 
Instance details

Defined in Bcc.Ledger.SophieMA.TxBody

Methods

toCBOR ∷ TxBody era → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (TxIn crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ TxIn crypto → Encoding #

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

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

(Era era, Compactible (Value era)) ⇒ ToCBOR (TxOut era) 
Instance details

Defined in Bcc.Ledger.Aurum.TxBody

Methods

toCBOR ∷ TxOut era → Encoding #

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

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

Typeable era ⇒ ToCBOR (AuxiliaryData era) 
Instance details

Defined in Bcc.Ledger.Aurum.Data

Methods

toCBOR ∷ AuxiliaryData era → Encoding #

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

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

Typeable era ⇒ ToCBOR (Data era) 
Instance details

Defined in Bcc.Ledger.Aurum.Data

Methods

toCBOR ∷ Data era → Encoding #

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

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

(Typeable (Crypto era), Typeable era) ⇒ ToCBOR (Script era) 
Instance details

Defined in Bcc.Ledger.Aurum.Scripts

Methods

toCBOR ∷ Script era → Encoding #

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

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

(Typeable era, Ord (Script era), Script era ~ Script era, ToCBOR (Script era), Typeable (Crypto era)) ⇒ ToCBOR (AuxiliaryDataRaw era) 
Instance details

Defined in Bcc.Ledger.Aurum.Data

Methods

toCBOR ∷ AuxiliaryDataRaw era → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (Value crypto) 
Instance details

Defined in Bcc.Ledger.Jen.Value

Methods

toCBOR ∷ Value crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (PolicyID crypto) 
Instance details

Defined in Bcc.Ledger.Jen.Value

Methods

toCBOR ∷ PolicyID crypto → Encoding #

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

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

Era era ⇒ ToCBOR (Block era) 
Instance details

Defined in Sophie.Spec.Ledger.BlockChain

Methods

toCBOR ∷ Block era → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (BHeader crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.BHeader

Methods

toCBOR ∷ BHeader crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (DCert crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ DCert crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (Wdrl crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ Wdrl crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (PState crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ PState crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (PoolParams crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ PoolParams crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (InstantaneousRewards crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ InstantaneousRewards crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (SnapShot crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

toCBOR ∷ SnapShot crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (ChainDepState crypto) 
Instance details

Defined in Sophie.Spec.Ledger.API.Protocol

Methods

toCBOR ∷ ChainDepState crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (FutureGenDeleg crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ FutureGenDeleg crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (FutureVestedDeleg crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ FutureVestedDeleg crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (DState crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

toCBOR ∷ DState crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (IndividualPoolStake crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum

Methods

toCBOR ∷ IndividualPoolStake crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (RewardProvenance crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

toCBOR ∷ RewardProvenance crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (RewardProvenancePool crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

toCBOR ∷ RewardProvenancePool crypto → Encoding #

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

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

ToCBOR (VerKeyVRF OptimumVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

toCBOR ∷ VerKeyVRF OptimumVRF → Encoding #

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

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

ToCBOR (VerKeyVRF MockVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Mock

Methods

toCBOR ∷ VerKeyVRF MockVRF → Encoding #

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

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

ToCBOR (VerKeyVRF SimpleVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Simple

Methods

toCBOR ∷ VerKeyVRF SimpleVRF → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (RewardAcnt crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

toCBOR ∷ RewardAcnt crypto → Encoding #

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

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

Era era ⇒ ToCBOR (TxBody era) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ TxBody era → Encoding #

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

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

Typeable era ⇒ ToCBOR (Metadata era) 
Instance details

Defined in Sophie.Spec.Ledger.Metadata

Methods

toCBOR ∷ Metadata era → Encoding #

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

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

Typeable crypto ⇒ ToCBOR (MultiSig crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Scripts

Methods

toCBOR ∷ MultiSig crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (CompactAddr crypto) 
Instance details

Defined in Sophie.Spec.Ledger.CompactAddr

Methods

toCBOR ∷ CompactAddr crypto → Encoding #

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

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

DSIGNAlgorithm d ⇒ ToCBOR (SigKES (SingleKES d)) 
Instance details

Defined in Bcc.Crypto.KES.Single

Methods

toCBOR ∷ SigKES (SingleKES d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigKES (SingleKES d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigKES (SingleKES d)] → Size #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ ToCBOR (SigKES (SumKES h d)) 
Instance details

Defined in Bcc.Crypto.KES.Sum

Methods

toCBOR ∷ SigKES (SumKES h d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigKES (SumKES h d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigKES (SumKES h d)] → Size #

KnownNat t ⇒ ToCBOR (SigKES (MockKES t)) 
Instance details

Defined in Bcc.Crypto.KES.Mock

Methods

toCBOR ∷ SigKES (MockKES t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (SigKES (MockKES t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [SigKES (MockKES t)] → Size #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ ToCBOR (SigKES (SimpleKES d t)) 
Instance details

Defined in Bcc.Crypto.KES.Simple

Methods

toCBOR ∷ SigKES (SimpleKES d t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (SigKES (SimpleKES d t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [SigKES (SimpleKES d t)] → Size #

DSIGNAlgorithm d ⇒ ToCBOR (VerKeyKES (SingleKES d)) 
Instance details

Defined in Bcc.Crypto.KES.Single

Methods

toCBOR ∷ VerKeyKES (SingleKES d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerKeyKES (SingleKES d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKeyKES (SingleKES d)] → Size #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ ToCBOR (VerKeyKES (SumKES h d)) 
Instance details

Defined in Bcc.Crypto.KES.Sum

Methods

toCBOR ∷ VerKeyKES (SumKES h d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerKeyKES (SumKES h d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKeyKES (SumKES h d)] → Size #

KnownNat t ⇒ ToCBOR (VerKeyKES (MockKES t)) 
Instance details

Defined in Bcc.Crypto.KES.Mock

Methods

toCBOR ∷ VerKeyKES (MockKES t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (VerKeyKES (MockKES t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [VerKeyKES (MockKES t)] → Size #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ ToCBOR (VerKeyKES (SimpleKES d t)) 
Instance details

Defined in Bcc.Crypto.KES.Simple

Methods

toCBOR ∷ VerKeyKES (SimpleKES d t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (VerKeyKES (SimpleKES d t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [VerKeyKES (SimpleKES d t)] → Size #

DSIGNAlgorithm d ⇒ ToCBOR (SignKeyKES (SingleKES d)) 
Instance details

Defined in Bcc.Crypto.KES.Single

Methods

toCBOR ∷ SignKeyKES (SingleKES d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SignKeyKES (SingleKES d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKeyKES (SingleKES d)] → Size #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ ToCBOR (SignKeyKES (SumKES h d)) 
Instance details

Defined in Bcc.Crypto.KES.Sum

Methods

toCBOR ∷ SignKeyKES (SumKES h d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SignKeyKES (SumKES h d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKeyKES (SumKES h d)] → Size #

KnownNat t ⇒ ToCBOR (SignKeyKES (MockKES t)) 
Instance details

Defined in Bcc.Crypto.KES.Mock

Methods

toCBOR ∷ SignKeyKES (MockKES t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (SignKeyKES (MockKES t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [SignKeyKES (MockKES t)] → Size #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ ToCBOR (SignKeyKES (SimpleKES d t)) 
Instance details

Defined in Bcc.Crypto.KES.Simple

Methods

toCBOR ∷ SignKeyKES (SimpleKES d t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (SignKeyKES (SimpleKES d t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [SignKeyKES (SimpleKES d t)] → Size #

Typeable era ⇒ ToCBOR (TxBody era) 
Instance details

Defined in Bcc.Ledger.Aurum.TxBody

Methods

toCBOR ∷ TxBody era → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (BootstrapWitness crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Address.Bootstrap

Methods

toCBOR ∷ BootstrapWitness crypto → Encoding #

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

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

Typeable era ⇒ ToCBOR (TxDats era) 
Instance details

Defined in Bcc.Ledger.Aurum.TxWitness

Methods

toCBOR ∷ TxDats era → Encoding #

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

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

Typeable era ⇒ ToCBOR (Redeemers era) 
Instance details

Defined in Bcc.Ledger.Aurum.TxWitness

Methods

toCBOR ∷ Redeemers era → Encoding #

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

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

ToCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakePoolKey → Encoding #

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

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

ToCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedDelegateExtendedKey → Encoding #

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

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

ToCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedDelegateKey → Encoding #

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

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

ToCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedExtendedKey → Encoding #

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

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

ToCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedKey → Encoding #

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

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

ToCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedDelegateExtendedKey → Encoding #

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

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

ToCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedDelegateKey → Encoding #

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

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

ToCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedExtendedKey → Encoding #

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

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

ToCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedKey → Encoding #

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

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

ToCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedUTxOKey → Encoding #

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

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

ToCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisUTxOKey → Encoding #

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

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

ToCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisDelegateExtendedKey → Encoding #

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

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

ToCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisDelegateKey → Encoding #

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

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

ToCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisExtendedKey → Encoding #

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

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

ToCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisKey → Encoding #

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

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

ToCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakeExtendedKey → Encoding #

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

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

ToCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakeKey → Encoding #

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

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

ToCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash PaymentExtendedKey → Encoding #

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

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

ToCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash PaymentKey → Encoding #

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

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

ToCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORHash ColeKeyLegacy → Encoding #

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

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

ToCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORHash ColeKey → Encoding #

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

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

ToCBOR (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORHash VrfKey → Encoding #

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

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

ToCBOR (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORHash KesKey → Encoding #

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

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

SophieBasedEra era ⇒ ToCBOR (Header (SophieBlock era)) 
Instance details

Defined in Shardagnostic.Consensus.Sophie.Ledger.Block

Methods

toCBOR ∷ Header (SophieBlock era) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Header (SophieBlock era)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Header (SophieBlock era)] → Size #

SophieBasedEra era ⇒ ToCBOR (SophieBlock era) 
Instance details

Defined in Shardagnostic.Consensus.Sophie.Ledger.Block

Methods

toCBOR ∷ SophieBlock era → Encoding #

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

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

Crypto c ⇒ ToCBOR (SophieHash c) 
Instance details

Defined in Shardagnostic.Consensus.Sophie.Ledger.Block

Methods

toCBOR ∷ SophieHash c → Encoding #

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

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

Era era ⇒ ToCBOR (CompactGenesis era) 
Instance details

Defined in Shardagnostic.Consensus.Sophie.Ledger.Config

Methods

toCBOR ∷ CompactGenesis era → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (BHBody crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.BHeader

Methods

toCBOR ∷ BHBody crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (PrevHash crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.BHeader

Methods

toCBOR ∷ PrevHash crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (OCert crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.OCert

Methods

toCBOR ∷ OCert crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (HashHeader crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.BHeader

Methods

toCBOR ∷ HashHeader crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (TxId crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ TxId crypto → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (PrtclState crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.Rules.Prtcl

Methods

toCBOR ∷ PrtclState crypto → Encoding #

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

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

Typeable v ⇒ ToCBOR (OutputVRF v) 
Instance details

Defined in Bcc.Crypto.VRF.Class

Methods

toCBOR ∷ OutputVRF v → Encoding #

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

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

ToCBOR (CertVRF OptimumVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

toCBOR ∷ CertVRF OptimumVRF → Encoding #

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

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

ToCBOR (CertVRF MockVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Mock

Methods

toCBOR ∷ CertVRF MockVRF → Encoding #

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

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

ToCBOR (CertVRF SimpleVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Simple

Methods

toCBOR ∷ CertVRF SimpleVRF → Encoding #

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

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

ToCBOR (SignKeyVRF OptimumVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

toCBOR ∷ SignKeyVRF OptimumVRF → Encoding #

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

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

ToCBOR (SignKeyVRF MockVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Mock

Methods

toCBOR ∷ SignKeyVRF MockVRF → Encoding #

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

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

ToCBOR (SignKeyVRF SimpleVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Simple

Methods

toCBOR ∷ SignKeyVRF SimpleVRF → Encoding #

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

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

Typeable a ⇒ ToCBOR (RedeemSignature a) 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Signature

Methods

toCBOR ∷ RedeemSignature a → Encoding #

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

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

Typeable a ⇒ ToCBOR (Signature a) 
Instance details

Defined in Bcc.Crypto.Signing.Signature

Methods

toCBOR ∷ Signature a → Encoding #

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

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

(Typeable era, ToCBOR (BbodyPredicateFailure era)) ⇒ ToCBOR (AurumBbodyPredFail era) 
Instance details

Defined in Bcc.Ledger.Aurum.Rules.Bbody

Methods

toCBOR ∷ AurumBbodyPredFail era → Encoding #

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

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

(Era era, ToCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (AuxiliaryData era), Typeable (Script era), ToCBOR (Script era)) ⇒ ToCBOR (AurumPredFail era) 
Instance details

Defined in Bcc.Ledger.Aurum.Rules.Utxow

Methods

toCBOR ∷ AurumPredFail era → Encoding #

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

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

(Era era, Typeable (Script era), ToCBOR (PredicateFailure (EraRule "DELPL" era))) ⇒ ToCBOR (DelegsPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Delegs

Methods

toCBOR ∷ DelegsPredicateFailure era → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (GenDelegs crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toCBOR ∷ GenDelegs crypto → Encoding #

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

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

(Typeable era, Era era, ToCBOR (TxOut era), ToCBOR (Value era), ToCBOR (PredicateFailure (EraRule "UTXOS" era))) ⇒ ToCBOR (UtxoPredicateFailure era) 
Instance details

Defined in Bcc.Ledger.Aurum.Rules.Utxo

Methods

toCBOR ∷ UtxoPredicateFailure era → Encoding #

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

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

(Era era, ToCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ ToCBOR (UtxosPredicateFailure era) 
Instance details

Defined in Bcc.Ledger.Aurum.Rules.Utxos

Methods

toCBOR ∷ UtxosPredicateFailure era → Encoding #

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

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

(Typeable era, Era era) ⇒ ToCBOR (PpupPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Ppup

Methods

toCBOR ∷ PpupPredicateFailure era → Encoding #

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

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

Crypto crypto ⇒ ToCBOR (CollectError crypto) 
Instance details

Defined in Bcc.Ledger.Aurum.ZerepochScriptApi

Methods

toCBOR ∷ CollectError crypto → Encoding #

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

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

(Era era, Typeable (Script era), Typeable (AuxiliaryData era), ToCBOR (PredicateFailure (EraRule "UTXO" era))) ⇒ ToCBOR (UtxowPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Utxow

Methods

toCBOR ∷ UtxowPredicateFailure era → Encoding #

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

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

(Typeable c, Crypto c) ⇒ ToCBOR (ScriptPurpose c) 
Instance details

Defined in Bcc.Ledger.Aurum.Tx

Methods

toCBOR ∷ ScriptPurpose c → Encoding #

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

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

ToCBOR (Attributes ()) 
Instance details

Defined in Bcc.Chain.Common.Attributes

Methods

toCBOR ∷ Attributes () → Encoding #

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

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

ToCBOR (Attributes AddrAttributes) 
Instance details

Defined in Bcc.Chain.Common.AddrAttributes

Methods

toCBOR ∷ Attributes AddrAttributes → Encoding #

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

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

ToCBOR a ⇒ ToCBOR (MerkleRoot a) 
Instance details

Defined in Bcc.Chain.Common.Merkle

Methods

toCBOR ∷ MerkleRoot a → Encoding #

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

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

ToCBOR a ⇒ ToCBOR (MerkleTree a) 
Instance details

Defined in Bcc.Chain.Common.Merkle

Methods

toCBOR ∷ MerkleTree a → Encoding #

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

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

ToCBOR n ⇒ ToCBOR (TooLarge n) 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

toCBOR ∷ TooLarge n → Encoding #

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

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TooLarge n] → Size #

Crypto crypto ⇒ ToCBOR (GenesisCredential crypto) 
Instance details

Defined in Bcc.Ledger.Credential

Methods

toCBOR ∷ GenesisCredential crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (GenesisCredential crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [GenesisCredential crypto] → Size #

Crypto crypto ⇒ ToCBOR (VestedCredential crypto) 
Instance details

Defined in Bcc.Ledger.Credential

Methods

toCBOR ∷ VestedCredential crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VestedCredential crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VestedCredential crypto] → Size #

ToCBORGroup a ⇒ ToCBOR (CBORGroup a) 
Instance details

Defined in Bcc.Ledger.Serialization

Methods

toCBOR ∷ CBORGroup a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CBORGroup a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CBORGroup a] → Size #

Crypto crypto ⇒ ToCBOR (VestedDelegs crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toCBOR ∷ VestedDelegs crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VestedDelegs crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VestedDelegs crypto] → Size #

Crypto crypto ⇒ ToCBOR (CompactValue crypto) 
Instance details

Defined in Bcc.Ledger.Jen.Value

Methods

toCBOR ∷ CompactValue crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CompactValue crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CompactValue crypto] → Size #

(TransValue ToCBOR era, TransUTxOState ToCBOR era, ToCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ ToCBOR (UtxoPredicateFailure era) 
Instance details

Defined in Bcc.Ledger.SophieMA.Rules.Utxo

Methods

toCBOR ∷ UtxoPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (UtxoPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UtxoPredicateFailure era] → Size #

Crypto crypto ⇒ ToCBOR (LastAppliedBlock crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.BHeader

Methods

toCBOR ∷ LastAppliedBlock crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (LastAppliedBlock crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LastAppliedBlock crypto] → Size #

Crypto crypto ⇒ ToCBOR (OBftSlot crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.Rules.Overlay

Methods

toCBOR ∷ OBftSlot crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (OBftSlot crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [OBftSlot crypto] → Size #

(Era era, Typeable era) ⇒ ToCBOR (LaxBlock era) 
Instance details

Defined in Sophie.Spec.Ledger.BlockChain

Methods

toCBOR ∷ LaxBlock era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (LaxBlock era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LaxBlock era] → Size #

Crypto crypto ⇒ ToCBOR (Stake crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

toCBOR ∷ Stake crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Stake crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Stake crypto] → Size #

Crypto crypto ⇒ ToCBOR (RewardSnapShot crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

toCBOR ∷ RewardSnapShot crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (RewardSnapShot crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RewardSnapShot crypto] → Size #

Crypto crypto ⇒ ToCBOR (RewardUpdate crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

toCBOR ∷ RewardUpdate crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (RewardUpdate crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RewardUpdate crypto] → Size #

Crypto c ⇒ ToCBOR (RewardAns c) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

toCBOR ∷ RewardAns c → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (RewardAns c) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RewardAns c] → Size #

Crypto c ⇒ ToCBOR (Pulser c) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

toCBOR ∷ Pulser c → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Pulser c) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Pulser c] → Size #

Crypto crypto ⇒ ToCBOR (FreeVars crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

toCBOR ∷ FreeVars crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (FreeVars crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [FreeVars crypto] → Size #

Crypto crypto ⇒ ToCBOR (Reward crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

toCBOR ∷ Reward crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Reward crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Reward crypto] → Size #

(Typeable era, Era era, Typeable (Script era)) ⇒ ToCBOR (DelegPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Deleg

Methods

toCBOR ∷ DelegPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (DelegPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [DelegPredicateFailure era] → Size #

(Era era, ToCBOR (PredicateFailure (EraRule "POOL" era)), ToCBOR (PredicateFailure (EraRule "DELEG" era)), Typeable (Script era)) ⇒ ToCBOR (DelplPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Delpl

Methods

toCBOR ∷ DelplPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (DelplPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [DelplPredicateFailure era] → Size #

(Typeable era, Era era) ⇒ ToCBOR (PoolPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Pool

Methods

toCBOR ∷ PoolPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PoolPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PoolPredicateFailure era] → Size #

(SophieBased era, ToCBOR (PredicateFailure (EraRule "LEDGER" era))) ⇒ ToCBOR (LedgersPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Ledgers

Methods

toCBOR ∷ LedgersPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (LedgersPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LedgersPredicateFailure era] → Size #

(TransUTxOState ToCBOR era, ToCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ ToCBOR (UtxoPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Utxo

Methods

toCBOR ∷ UtxoPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (UtxoPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UtxoPredicateFailure era] → Size #

Crypto crypto ⇒ ToCBOR (MIRCert crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ MIRCert crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (MIRCert crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [MIRCert crypto] → Size #

Crypto crypto ⇒ ToCBOR (MIRTarget crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ MIRTarget crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (MIRTarget crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [MIRTarget crypto] → Size #

Crypto crypto ⇒ ToCBOR (StakeCreds crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ StakeCreds crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (StakeCreds crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [StakeCreds crypto] → Size #

(Era era, FromCBOR (PParamsDelta era), TransTxBody ToCBOR era) ⇒ ToCBOR (TxBodyRaw era) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ TxBodyRaw era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (TxBodyRaw era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxBodyRaw era] → Size #

ToCBOR a ⇒ ToCBOR (CborSeq a) 
Instance details

Defined in Bcc.Ledger.Serialization

Methods

toCBOR ∷ CborSeq a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CborSeq a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CborSeq a] → Size #

ToCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey StakePoolKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakePoolKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakePoolKey] → Size #

ToCBOR (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey VestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey VestedDelegateKey] → Size #

ToCBOR (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey VestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey VestedExtendedKey] → Size #

ToCBOR (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey VestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey VestedKey] → Size #

ToCBOR (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisVestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisVestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisVestedDelegateKey] → Size #

ToCBOR (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisVestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisVestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisVestedExtendedKey] → Size #

ToCBOR (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisVestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisVestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisVestedKey] → Size #

ToCBOR (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey VestedUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey VestedUTxOKey] → Size #

ToCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisUTxOKey] → Size #

ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisDelegateKey] → Size #

ToCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisExtendedKey] → Size #

ToCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisKey] → Size #

ToCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey StakeExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakeExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakeExtendedKey] → Size #

ToCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey StakeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakeKey] → Size #

ToCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey PaymentExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey PaymentExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey PaymentExtendedKey] → Size #

ToCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey PaymentKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey PaymentKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey PaymentKey] → Size #

ToCBOR (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORVerificationKey ColeKeyLegacy → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey ColeKeyLegacy) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey ColeKeyLegacy] → Size #

ToCBOR (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORVerificationKey ColeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey ColeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey ColeKey] → Size #

ToCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORVerificationKey VrfKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey VrfKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey VrfKey] → Size #

ToCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORVerificationKey KesKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey KesKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey KesKey] → Size #

ToCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey StakePoolKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey StakePoolKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey StakePoolKey] → Size #

ToCBOR (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey VestedDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VestedDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VestedDelegateExtendedKey] → Size #

ToCBOR (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey VestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VestedDelegateKey] → Size #

ToCBOR (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey VestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VestedExtendedKey] → Size #

ToCBOR (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey VestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VestedKey] → Size #

ToCBOR (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisVestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisVestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisVestedDelegateKey] → Size #

ToCBOR (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisVestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisVestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisVestedExtendedKey] → Size #

ToCBOR (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisVestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisVestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisVestedKey] → Size #

ToCBOR (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey VestedUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VestedUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VestedUTxOKey] → Size #

ToCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisUTxOKey] → Size #

ToCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisDelegateExtendedKey] → Size #

ToCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisDelegateKey] → Size #

ToCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisExtendedKey] → Size #

ToCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisKey] → Size #

ToCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey StakeExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey StakeExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey StakeExtendedKey] → Size #

ToCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey StakeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey StakeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey StakeKey] → Size #

ToCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey PaymentExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey PaymentExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey PaymentExtendedKey] → Size #

ToCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey PaymentKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey PaymentKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey PaymentKey] → Size #

ToCBOR (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORSigningKey ColeKeyLegacy → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey ColeKeyLegacy) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey ColeKeyLegacy] → Size #

ToCBOR (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

toCBORSigningKey ColeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey ColeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey ColeKey] → Size #

ToCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORSigningKey VrfKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VrfKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VrfKey] → Size #

ToCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

toCBORSigningKey KesKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey KesKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey KesKey] → Size #

(SerialiseAsRawBytes a, Typeable a) ⇒ ToCBOR (UsingRawBytes a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

toCBORUsingRawBytes a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (UsingRawBytes a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UsingRawBytes a] → Size #

(Typeable lang, HasTypeProxy lang) ⇒ ToCBOR (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toCBORZerepochScript lang → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ZerepochScript lang) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ZerepochScript lang] → Size #

(ToCBOR a, ToCBOR b) ⇒ ToCBOR (Either a b) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBOREither a b → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Either a b) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Either a b] → Size #

(ToCBOR a, ToCBOR b) ⇒ ToCBOR (a, b) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBOR ∷ (a, b) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (a, b) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [(a, b)] → Size #

(Ord k, ToCBOR k, ToCBOR v) ⇒ ToCBOR (Map k v) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBORMap k v → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Map k v) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Map k v] → Size #

(HashAlgorithm h, Typeable a) ⇒ ToCBOR (Hash h a) 
Instance details

Defined in Bcc.Crypto.Hash.Class

Methods

toCBOR ∷ Hash h a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash h a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash h a] → Size #

Era era ⇒ ToCBOR (WitnessSetHKD Identity era) 
Instance details

Defined in Sophie.Spec.Ledger.Tx

Methods

toCBOR ∷ WitnessSetHKD Identity era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (WitnessSetHKD Identity era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [WitnessSetHKD Identity era] → Size #

(Crypto crypto, Typeable disc) ⇒ ToCBOR (KeyHash disc crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toCBOR ∷ KeyHash disc crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (KeyHash disc crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [KeyHash disc crypto] → Size #

(Typeable index, Crypto c) ⇒ ToCBOR (SafeHash c index) 
Instance details

Defined in Bcc.Ledger.SafeHash

Methods

toCBOR ∷ SafeHash c index → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SafeHash c index) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SafeHash c index] → Size #

(Typeable kr, Crypto crypto) ⇒ ToCBOR (WitVKey kr crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toCBOR ∷ WitVKey kr crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (WitVKey kr crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [WitVKey kr crypto] → Size #

(Typeable kr, Crypto crypto) ⇒ ToCBOR (Credential kr crypto) 
Instance details

Defined in Bcc.Ledger.Credential

Methods

toCBOR ∷ Credential kr crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Credential kr crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Credential kr crypto] → Size #

(Typeable algo, Typeable a, HashAlgorithm algo) ⇒ ToCBOR (AbstractHash algo a) 
Instance details

Defined in Bcc.Crypto.Hashing

Methods

toCBOR ∷ AbstractHash algo a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (AbstractHash algo a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [AbstractHash algo a] → Size #

(Crypto crypto, Typeable kd) ⇒ ToCBOR (VKey kd crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toCBOR ∷ VKey kd crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VKey kd crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VKey kd crypto] → Size #

(VRFAlgorithm v, Typeable a) ⇒ ToCBOR (CertifiedVRF v a) 
Instance details

Defined in Bcc.Crypto.VRF.Class

Methods

toCBOR ∷ CertifiedVRF v a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CertifiedVRF v a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CertifiedVRF v a] → Size #

(ToCBOR a, Integral a, Bounded a, Typeable b, Typeable a) ⇒ ToCBOR (BoundedRatio b a) 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toCBOR ∷ BoundedRatio b a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (BoundedRatio b a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BoundedRatio b a] → Size #

(ToCBOR a, ToCBOR b, ToCBOR c) ⇒ ToCBOR (a, b, c) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBOR ∷ (a, b, c) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (a, b, c) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [(a, b, c)] → Size #

(Typeable s, ToCBOR a) ⇒ ToCBOR (Tagged s a) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBOR ∷ Tagged s a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Tagged s a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Tagged s a] → Size #

(Ord a, Ord b, ToCBOR a, ToCBOR b) ⇒ ToCBOR (BiMap b a b) 
Instance details

Defined in Control.Iterate.SetAlgebra

Methods

toCBOR ∷ BiMap b a b → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (BiMap b a b) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BiMap b a b] → Size #

(ToCBOR a, ToCBOR b, ToCBOR c, ToCBOR d) ⇒ ToCBOR (a, b, c, d) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBOR ∷ (a, b, c, d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (a, b, c, d) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [(a, b, c, d)] → Size #

(ToCBOR a, ToCBOR b, ToCBOR c, ToCBOR d, ToCBOR e) ⇒ ToCBOR (a, b, c, d, e) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBOR ∷ (a, b, c, d, e) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (a, b, c, d, e) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [(a, b, c, d, e)] → Size #

(ToCBOR a, ToCBOR b, ToCBOR c, ToCBOR d, ToCBOR e, ToCBOR f, ToCBOR g) ⇒ ToCBOR (a, b, c, d, e, f, g) 
Instance details

Defined in Bcc.Binary.ToCBOR

Methods

toCBOR ∷ (a, b, c, d, e, f, g) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (a, b, c, d, e, f, g) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [(a, b, c, d, e, f, g)] → Size #

class Typeable a ⇒ FromCBOR a #

Minimal complete definition

fromCBOR

Instances

Instances details
FromCBOR Bool 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Bool #

labelProxy BoolText #

FromCBOR Float 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Float #

labelProxy FloatText #

FromCBOR Int 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Int #

labelProxy IntText #

FromCBOR Int32 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Int32 #

labelProxy Int32Text #

FromCBOR Int64 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Int64 #

labelProxy Int64Text #

FromCBOR Integer 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Integer #

labelProxy IntegerText #

FromCBOR Natural 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Natural #

labelProxy NaturalText #

FromCBOR Word 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Word #

labelProxy WordText #

FromCBOR Word8 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Word8 #

labelProxy Word8Text #

FromCBOR Word16 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Word16 #

labelProxy Word16Text #

FromCBOR Word32 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Word32 #

labelProxy Word32Text #

FromCBOR Word64 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Word64 #

labelProxy Word64Text #

FromCBOR () 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s () #

labelProxy () → Text #

FromCBOR ByteString 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s ByteString #

labelProxy ByteStringText #

FromCBOR ShortByteString 
Instance details

Defined in Bcc.Binary.FromCBOR

FromCBOR Nano 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Nano #

labelProxy NanoText #

FromCBOR Pico 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Pico #

labelProxy PicoText #

FromCBOR Void 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Void #

labelProxy VoidText #

FromCBOR Text 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Text #

labelProxy TextText #

FromCBOR UTCTime 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s UTCTime #

labelProxy UTCTimeText #

FromCBOR NominalDiffTime 
Instance details

Defined in Bcc.Binary.FromCBOR

FromCBOR BlockNo 
Instance details

Defined in Bcc.Slotting.Block

Methods

fromCBOR ∷ Decoder s BlockNo #

labelProxy BlockNoText #

FromCBOR LByteString 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s LByteString #

labelProxy LByteString → Text #

FromCBOR EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

fromCBOR ∷ Decoder s EpochNo #

labelProxy EpochNoText #

FromCBOR SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

fromCBOR ∷ Decoder s SlotNo #

labelProxy SlotNoText #

FromCBOR Raw 
Instance details

Defined in Bcc.Binary.Raw

Methods

fromCBOR ∷ Decoder s Raw #

labelProxy Raw → Text #

FromCBOR NonNegativeInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s NonNegativeInterval #

labelProxy NonNegativeInterval → Text #

FromCBOR UnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s UnitInterval #

labelProxy UnitInterval → Text #

FromCBOR ProtVer 
Instance details

Defined in Bcc.Protocol.TOptimum

Methods

fromCBOR ∷ Decoder s ProtVer #

labelProxy ProtVer → Text #

FromCBOR AurumGenesis 
Instance details

Defined in Bcc.Ledger.Aurum.Genesis

Methods

fromCBOR ∷ Decoder s AurumGenesis #

labelProxy AurumGenesis → Text #

FromCBOR Coin 
Instance details

Defined in Bcc.Ledger.Coin

Methods

fromCBOR ∷ Decoder s Coin #

labelProxy Coin → Text #

FromCBOR Language 
Instance details

Defined in Bcc.Ledger.Aurum.Language

Methods

fromCBOR ∷ Decoder s Language #

labelProxy Language → Text #

FromCBOR Prices 
Instance details

Defined in Bcc.Ledger.Aurum.Scripts

Methods

fromCBOR ∷ Decoder s Prices #

labelProxy Prices → Text #

FromCBOR ExUnits 
Instance details

Defined in Bcc.Ledger.Aurum.Scripts

Methods

fromCBOR ∷ Decoder s ExUnits #

labelProxy ExUnits → Text #

FromCBOR Metadatum 
Instance details

Defined in Sophie.Spec.Ledger.Metadata

Methods

fromCBOR ∷ Decoder s Metadatum #

labelProxy Metadatum → Text #

FromCBOR AssetName 
Instance details

Defined in Bcc.Ledger.Jen.Value

Methods

fromCBOR ∷ Decoder s AssetName #

labelProxy AssetName → Text #

FromCBOR Likelihood 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s Likelihood #

labelProxy Likelihood → Text #

FromCBOR Ptr 
Instance details

Defined in Bcc.Ledger.Credential

Methods

fromCBOR ∷ Decoder s Ptr #

labelProxy Ptr → Text #

FromCBOR Nonce 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s Nonce #

labelProxy Nonce → Text #

FromCBOR Desirability 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

fromCBOR ∷ Decoder s Desirability #

labelProxy Desirability → Text #

FromCBOR StakePoolRelay 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s StakePoolRelay #

labelProxy StakePoolRelay → Text #

FromCBOR PoolMetadata 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s PoolMetadata #

labelProxy PoolMetadata → Text #

FromCBOR Network 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s Network #

labelProxy Network → Text #

FromCBOR ValidityInterval 
Instance details

Defined in Bcc.Ledger.SophieMA.Timelocks

Methods

fromCBOR ∷ Decoder s ValidityInterval #

labelProxy ValidityInterval → Text #

FromCBOR ColeHash 
Instance details

Defined in Shardagnostic.Consensus.Cole.Ledger.Block

Methods

fromCBOR ∷ Decoder s ColeHash #

labelProxy ColeHash → Text #

FromCBOR PositiveUnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s PositiveUnitInterval #

labelProxy PositiveUnitInterval → Text #

FromCBOR EpochAndSlotCount 
Instance details

Defined in Bcc.Chain.Slotting.EpochAndSlotCount

Methods

fromCBOR ∷ Decoder s EpochAndSlotCount #

labelProxy EpochAndSlotCount → Text #

FromCBOR EpochNumber 
Instance details

Defined in Bcc.Chain.Slotting.EpochNumber

Methods

fromCBOR ∷ Decoder s EpochNumber #

labelProxy EpochNumber → Text #

FromCBOR EpochSlots 
Instance details

Defined in Bcc.Chain.Slotting.EpochSlots

Methods

fromCBOR ∷ Decoder s EpochSlots #

labelProxy EpochSlotsText #

FromCBOR SlotCount 
Instance details

Defined in Bcc.Chain.Slotting.SlotCount

Methods

fromCBOR ∷ Decoder s SlotCount #

labelProxy SlotCount → Text #

FromCBOR SlotNumber 
Instance details

Defined in Bcc.Chain.Slotting.SlotNumber

Methods

fromCBOR ∷ Decoder s SlotNumber #

labelProxy SlotNumber → Text #

FromCBOR Config 
Instance details

Defined in Bcc.Chain.Genesis.Config

Methods

fromCBOR ∷ Decoder s Config #

labelProxy Config → Text #

FromCBOR GenesisNonAvvmBalances 
Instance details

Defined in Bcc.Chain.Genesis.NonAvvmBalances

Methods

fromCBOR ∷ Decoder s GenesisNonAvvmBalances #

labelProxy GenesisNonAvvmBalances → Text #

FromCBOR GenesisDelegation 
Instance details

Defined in Bcc.Chain.Genesis.Delegation

Methods

fromCBOR ∷ Decoder s GenesisDelegation #

labelProxy GenesisDelegation → Text #

FromCBOR GenesisKeyHashes 
Instance details

Defined in Bcc.Chain.Genesis.KeyHashes

Methods

fromCBOR ∷ Decoder s GenesisKeyHashes #

labelProxy GenesisKeyHashes → Text #

FromCBOR CompactAddress 
Instance details

Defined in Bcc.Chain.Common.Compact

Methods

fromCBOR ∷ Decoder s CompactAddress #

labelProxy CompactAddress → Text #

FromCBOR RequiresNetworkMagic 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

fromCBOR ∷ Decoder s RequiresNetworkMagic #

labelProxy RequiresNetworkMagic → Text #

FromCBOR GenesisAvvmBalances 
Instance details

Defined in Bcc.Chain.Genesis.AvvmBalances

Methods

fromCBOR ∷ Decoder s GenesisAvvmBalances #

labelProxy GenesisAvvmBalances → Text #

FromCBOR ProtocolParameters 
Instance details

Defined in Bcc.Chain.Update.ProtocolParameters

Methods

fromCBOR ∷ Decoder s ProtocolParameters #

labelProxy ProtocolParameters → Text #

FromCBOR ProtocolVersion 
Instance details

Defined in Bcc.Chain.Update.ProtocolVersion

Methods

fromCBOR ∷ Decoder s ProtocolVersion #

labelProxy ProtocolVersion → Text #

FromCBOR ProtocolMagicId 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

fromCBOR ∷ Decoder s ProtocolMagicId #

labelProxy ProtocolMagicId → Text #

FromCBOR Certificate 
Instance details

Defined in Bcc.Chain.Delegation.Certificate

Methods

fromCBOR ∷ Decoder s Certificate #

labelProxy Certificate → Text #

FromCBOR SigningKey 
Instance details

Defined in Bcc.Crypto.Signing.SigningKey

Methods

fromCBOR ∷ Decoder s SigningKey #

labelProxy SigningKey → Text #

FromCBOR SoftwareVersion 
Instance details

Defined in Bcc.Chain.Update.SoftwareVersion

Methods

fromCBOR ∷ Decoder s SoftwareVersion #

labelProxy SoftwareVersion → Text #

FromCBOR VerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.VerificationKey

Methods

fromCBOR ∷ Decoder s VerificationKey #

labelProxy VerificationKey → Text #

FromCBOR KeyHash 
Instance details

Defined in Bcc.Chain.Common.KeyHash

Methods

fromCBOR ∷ Decoder s KeyHash #

labelProxy KeyHash → Text #

FromCBOR GenesisHash 
Instance details

Defined in Bcc.Chain.Genesis.Hash

Methods

fromCBOR ∷ Decoder s GenesisHash #

labelProxy GenesisHash → Text #

FromCBOR CandidateProtocolUpdate 
Instance details

Defined in Bcc.Chain.Update.Validation.Endorsement

Methods

fromCBOR ∷ Decoder s CandidateProtocolUpdate #

labelProxy CandidateProtocolUpdate → Text #

FromCBOR Endorsement 
Instance details

Defined in Bcc.Chain.Update.Validation.Endorsement

Methods

fromCBOR ∷ Decoder s Endorsement #

labelProxy Endorsement → Text #

FromCBOR ApplyMempoolPayloadErr 
Instance details

Defined in Bcc.Chain.Cole.API.Mempool

FromCBOR Tx 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

fromCBOR ∷ Decoder s Tx #

labelProxy Tx → Text #

FromCBOR Proposal 
Instance details

Defined in Bcc.Chain.Update.Proposal

Methods

fromCBOR ∷ Decoder s Proposal #

labelProxy Proposal → Text #

FromCBOR Vote 
Instance details

Defined in Bcc.Chain.Update.Vote

Methods

fromCBOR ∷ Decoder s Vote #

labelProxy Vote → Text #

FromCBOR ChainValidationState 
Instance details

Defined in Bcc.Chain.Block.Validation

Methods

fromCBOR ∷ Decoder s ChainValidationState #

labelProxy ChainValidationState → Text #

FromCBOR Map 
Instance details

Defined in Bcc.Chain.Delegation.Map

Methods

fromCBOR ∷ Decoder s Map #

labelProxy Map → Text #

FromCBOR ScheduledDelegation 
Instance details

Defined in Bcc.Chain.Delegation.Validation.Scheduling

Methods

fromCBOR ∷ Decoder s ScheduledDelegation #

labelProxy ScheduledDelegation → Text #

FromCBOR State 
Instance details

Defined in Bcc.Chain.Update.Validation.Interface

Methods

fromCBOR ∷ Decoder s State #

labelProxy State → Text #

FromCBOR UTxO 
Instance details

Defined in Bcc.Chain.UTxO.UTxO

Methods

fromCBOR ∷ Decoder s UTxO #

labelProxy UTxO → Text #

FromCBOR Error 
Instance details

Defined in Bcc.Chain.Delegation.Validation.Scheduling

Methods

fromCBOR ∷ Decoder s Error #

labelProxy Error → Text #

FromCBOR ToSign 
Instance details

Defined in Bcc.Chain.Block.Header

Methods

fromCBOR ∷ Decoder s ToSign #

labelProxy ToSign → Text #

FromCBOR CompactRedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Compact

Methods

fromCBOR ∷ Decoder s CompactRedeemVerificationKey #

labelProxy CompactRedeemVerificationKey → Text #

FromCBOR Entropic 
Instance details

Defined in Bcc.Chain.Common.Entropic

Methods

fromCBOR ∷ Decoder s Entropic #

labelProxy Entropic → Text #

FromCBOR SystemStart 
Instance details

Defined in Bcc.Slotting.Time

Methods

fromCBOR ∷ Decoder s SystemStart #

labelProxy SystemStartText #

FromCBOR Point 
Instance details

Defined in Bcc.Crypto.VRF.Simple

Methods

fromCBOR ∷ Decoder s Point #

labelProxy Point → Text #

FromCBOR Proof 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

fromCBOR ∷ Decoder s Proof #

labelProxy Proof → Text #

FromCBOR SignKey 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

fromCBOR ∷ Decoder s SignKey #

labelProxy SignKey → Text #

FromCBOR VerKey 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

fromCBOR ∷ Decoder s VerKey #

labelProxy VerKey → Text #

FromCBOR RedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.VerificationKey

Methods

fromCBOR ∷ Decoder s RedeemVerificationKey #

labelProxy RedeemVerificationKey → Text #

FromCBOR RedeemSigningKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.SigningKey

Methods

fromCBOR ∷ Decoder s RedeemSigningKey #

labelProxy RedeemSigningKey → Text #

FromCBOR IsValid 
Instance details

Defined in Bcc.Ledger.Aurum.Tx

Methods

fromCBOR ∷ Decoder s IsValid #

labelProxy IsValid → Text #

FromCBOR TagMismatchDescription 
Instance details

Defined in Bcc.Ledger.Aurum.Rules.Utxos

Methods

fromCBOR ∷ Decoder s TagMismatchDescription #

labelProxy TagMismatchDescription → Text #

FromCBOR FailureDescription 
Instance details

Defined in Bcc.Ledger.Aurum.TxInfo

Methods

fromCBOR ∷ Decoder s FailureDescription #

labelProxy FailureDescription → Text #

FromCBOR RdmrPtr 
Instance details

Defined in Bcc.Ledger.Aurum.TxWitness

Methods

fromCBOR ∷ Decoder s RdmrPtr #

labelProxy RdmrPtr → Text #

FromCBOR Tag 
Instance details

Defined in Bcc.Ledger.Aurum.Scripts

Methods

fromCBOR ∷ Decoder s Tag #

labelProxy Tag → Text #

FromCBOR ScriptResult 
Instance details

Defined in Bcc.Ledger.Aurum.TxInfo

Methods

fromCBOR ∷ Decoder s ScriptResult #

labelProxy ScriptResult → Text #

FromCBOR ZerepochDebug 
Instance details

Defined in Bcc.Ledger.Aurum.TxInfo

Methods

fromCBOR ∷ Decoder s ZerepochDebug #

labelProxy ZerepochDebug → Text #

FromCBOR ChainDifficulty 
Instance details

Defined in Bcc.Chain.Common.ChainDifficulty

Methods

fromCBOR ∷ Decoder s ChainDifficulty #

labelProxy ChainDifficulty → Text #

FromCBOR Proof 
Instance details

Defined in Bcc.Chain.Block.Proof

Methods

fromCBOR ∷ Decoder s Proof #

labelProxy Proof → Text #

FromCBOR SscPayload 
Instance details

Defined in Bcc.Chain.Ssc

Methods

fromCBOR ∷ Decoder s SscPayload #

labelProxy SscPayload → Text #

FromCBOR ProposalBody 
Instance details

Defined in Bcc.Chain.Update.Proposal

Methods

fromCBOR ∷ Decoder s ProposalBody #

labelProxy ProposalBody → Text #

FromCBOR TxInWitness 
Instance details

Defined in Bcc.Chain.UTxO.TxWitness

Methods

fromCBOR ∷ Decoder s TxInWitness #

labelProxy TxInWitness → Text #

FromCBOR Body 
Instance details

Defined in Bcc.Chain.Block.Body

Methods

fromCBOR ∷ Decoder s Body #

labelProxy Body → Text #

FromCBOR TxPayload 
Instance details

Defined in Bcc.Chain.UTxO.TxPayload

Methods

fromCBOR ∷ Decoder s TxPayload #

labelProxy TxPayload → Text #

FromCBOR Payload 
Instance details

Defined in Bcc.Chain.Delegation.Payload

Methods

fromCBOR ∷ Decoder s Payload #

labelProxy Payload → Text #

FromCBOR Payload 
Instance details

Defined in Bcc.Chain.Update.Payload

Methods

fromCBOR ∷ Decoder s Payload #

labelProxy Payload → Text #

FromCBOR BlockSignature 
Instance details

Defined in Bcc.Chain.Block.Header

Methods

fromCBOR ∷ Decoder s BlockSignature #

labelProxy BlockSignature → Text #

FromCBOR TxProof 
Instance details

Defined in Bcc.Chain.UTxO.TxProof

Methods

fromCBOR ∷ Decoder s TxProof #

labelProxy TxProof → Text #

FromCBOR SscProof 
Instance details

Defined in Bcc.Chain.Ssc

Methods

fromCBOR ∷ Decoder s SscProof #

labelProxy SscProof → Text #

FromCBOR CompactTxIn 
Instance details

Defined in Bcc.Chain.UTxO.Compact

Methods

fromCBOR ∷ Decoder s CompactTxIn #

labelProxy CompactTxIn → Text #

FromCBOR CompactTxOut 
Instance details

Defined in Bcc.Chain.UTxO.Compact

Methods

fromCBOR ∷ Decoder s CompactTxOut #

labelProxy CompactTxOut → Text #

FromCBOR State 
Instance details

Defined in Bcc.Chain.Delegation.Validation.Interface

Methods

fromCBOR ∷ Decoder s State #

labelProxy State → Text #

FromCBOR UTxOValidationError 
Instance details

Defined in Bcc.Chain.UTxO.Validation

Methods

fromCBOR ∷ Decoder s UTxOValidationError #

labelProxy UTxOValidationError → Text #

FromCBOR BlockCount 
Instance details

Defined in Bcc.Chain.Common.BlockCount

Methods

fromCBOR ∷ Decoder s BlockCount #

labelProxy BlockCount → Text #

FromCBOR UTxOConfiguration 
Instance details

Defined in Bcc.Chain.UTxO.UTxOConfiguration

Methods

fromCBOR ∷ Decoder s UTxOConfiguration #

labelProxy UTxOConfiguration → Text #

FromCBOR ApplicationName 
Instance details

Defined in Bcc.Chain.Update.ApplicationName

Methods

fromCBOR ∷ Decoder s ApplicationName #

labelProxy ApplicationName → Text #

FromCBOR ApplicationVersion 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s ApplicationVersion #

labelProxy ApplicationVersion → Text #

FromCBOR ProtocolUpdateProposal 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s ProtocolUpdateProposal #

labelProxy ProtocolUpdateProposal → Text #

FromCBOR SoftwareUpdateProposal 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s SoftwareUpdateProposal #

labelProxy SoftwareUpdateProposal → Text #

FromCBOR Error 
Instance details

Defined in Bcc.Chain.Update.Validation.Interface

Methods

fromCBOR ∷ Decoder s Error #

labelProxy Error → Text #

FromCBOR HDAddressPayload 
Instance details

Defined in Bcc.Chain.Common.AddrAttributes

Methods

fromCBOR ∷ Decoder s HDAddressPayload #

labelProxy HDAddressPayload → Text #

FromCBOR NetworkMagic 
Instance details

Defined in Bcc.Chain.Common.NetworkMagic

Methods

fromCBOR ∷ Decoder s NetworkMagic #

labelProxy NetworkMagic → Text #

FromCBOR AddrSpendingData 
Instance details

Defined in Bcc.Chain.Common.AddrSpendingData

Methods

fromCBOR ∷ Decoder s AddrSpendingData #

labelProxy AddrSpendingData → Text #

FromCBOR AddrType 
Instance details

Defined in Bcc.Chain.Common.AddrSpendingData

Methods

fromCBOR ∷ Decoder s AddrType #

labelProxy AddrType → Text #

FromCBOR Address 
Instance details

Defined in Bcc.Chain.Common.Address

Methods

fromCBOR ∷ Decoder s Address #

labelProxy Address → Text #

FromCBOR Address' 
Instance details

Defined in Bcc.Chain.Common.Address

Methods

fromCBOR ∷ Decoder s Address' #

labelProxy Address' → Text #

FromCBOR EntropicError 
Instance details

Defined in Bcc.Chain.Common.Entropic

Methods

fromCBOR ∷ Decoder s EntropicError #

labelProxy EntropicError → Text #

FromCBOR EntropicPortion 
Instance details

Defined in Bcc.Chain.Common.EntropicPortion

Methods

fromCBOR ∷ Decoder s EntropicPortion #

labelProxy EntropicPortion → Text #

FromCBOR TxFeePolicy 
Instance details

Defined in Bcc.Chain.Common.TxFeePolicy

Methods

fromCBOR ∷ Decoder s TxFeePolicy #

labelProxy TxFeePolicy → Text #

FromCBOR TxSizeLinear 
Instance details

Defined in Bcc.Chain.Common.TxSizeLinear

Methods

fromCBOR ∷ Decoder s TxSizeLinear #

labelProxy TxSizeLinear → Text #

FromCBOR State 
Instance details

Defined in Bcc.Chain.Delegation.Validation.Activation

Methods

fromCBOR ∷ Decoder s State #

labelProxy State → Text #

FromCBOR State 
Instance details

Defined in Bcc.Chain.Delegation.Validation.Scheduling

Methods

fromCBOR ∷ Decoder s State #

labelProxy State → Text #

FromCBOR GenesisData 
Instance details

Defined in Bcc.Chain.Genesis.Data

Methods

fromCBOR ∷ Decoder s GenesisData #

labelProxy GenesisData → Text #

FromCBOR CompactTxId 
Instance details

Defined in Bcc.Chain.UTxO.Compact

Methods

fromCBOR ∷ Decoder s CompactTxId #

labelProxy CompactTxId → Text #

FromCBOR TxIn 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

fromCBOR ∷ Decoder s TxIn #

labelProxy TxIn → Text #

FromCBOR TxOut 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

fromCBOR ∷ Decoder s TxOut #

labelProxy TxOut → Text #

FromCBOR TxAux 
Instance details

Defined in Bcc.Chain.UTxO.TxAux

Methods

fromCBOR ∷ Decoder s TxAux #

labelProxy TxAux → Text #

FromCBOR TxSigData 
Instance details

Defined in Bcc.Chain.UTxO.TxWitness

Methods

fromCBOR ∷ Decoder s TxSigData #

labelProxy TxSigData → Text #

FromCBOR UTxOError 
Instance details

Defined in Bcc.Chain.UTxO.UTxO

Methods

fromCBOR ∷ Decoder s UTxOError #

labelProxy UTxOError → Text #

FromCBOR ApplicationNameError 
Instance details

Defined in Bcc.Chain.Update.ApplicationName

Methods

fromCBOR ∷ Decoder s ApplicationNameError #

labelProxy ApplicationNameError → Text #

FromCBOR InstallerHash 
Instance details

Defined in Bcc.Chain.Update.InstallerHash

Methods

fromCBOR ∷ Decoder s InstallerHash #

labelProxy InstallerHash → Text #

FromCBOR SystemTag 
Instance details

Defined in Bcc.Chain.Update.SystemTag

Methods

fromCBOR ∷ Decoder s SystemTag #

labelProxy SystemTag → Text #

FromCBOR ProtocolParametersUpdate 
Instance details

Defined in Bcc.Chain.Update.ProtocolParametersUpdate

Methods

fromCBOR ∷ Decoder s ProtocolParametersUpdate #

labelProxy ProtocolParametersUpdate → Text #

FromCBOR SoftforkRule 
Instance details

Defined in Bcc.Chain.Update.SoftforkRule

Methods

fromCBOR ∷ Decoder s SoftforkRule #

labelProxy SoftforkRule → Text #

FromCBOR SoftwareVersionError 
Instance details

Defined in Bcc.Chain.Update.SoftwareVersion

Methods

fromCBOR ∷ Decoder s SoftwareVersionError #

labelProxy SoftwareVersionError → Text #

FromCBOR SystemTagError 
Instance details

Defined in Bcc.Chain.Update.SystemTag

Methods

fromCBOR ∷ Decoder s SystemTagError #

labelProxy SystemTagError → Text #

FromCBOR Error 
Instance details

Defined in Bcc.Chain.Update.Validation.Endorsement

Methods

fromCBOR ∷ Decoder s Error #

labelProxy Error → Text #

FromCBOR Error 
Instance details

Defined in Bcc.Chain.Update.Validation.Voting

Methods

fromCBOR ∷ Decoder s Error #

labelProxy Error → Text #

FromCBOR Error 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s Error #

labelProxy Error → Text #

FromCBOR Adopted 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s Adopted #

labelProxy Adopted → Text #

FromCBOR ActiveSlotCoeff 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s ActiveSlotCoeff #

labelProxy ActiveSlotCoeff → Text #

FromCBOR DnsName 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s DnsName #

labelProxy DnsName → Text #

FromCBOR Port 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s Port #

labelProxy Port → Text #

FromCBOR PositiveInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s PositiveInterval #

labelProxy PositiveInterval → Text #

FromCBOR Url 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s Url #

labelProxy Url → Text #

FromCBOR DeltaCoin 
Instance details

Defined in Bcc.Ledger.Coin

Methods

fromCBOR ∷ Decoder s DeltaCoin #

labelProxy DeltaCoin → Text #

FromCBOR Aptr 
Instance details

Defined in Bcc.Ledger.Credential

Methods

fromCBOR ∷ Decoder s Aptr #

labelProxy Aptr → Text #

FromCBOR KESPeriod 
Instance details

Defined in Bcc.Protocol.TOptimum.OCert

Methods

fromCBOR ∷ Decoder s KESPeriod #

labelProxy KESPeriodText #

FromCBOR TicknState 
Instance details

Defined in Sophie.Spec.Ledger.STS.Tickn

Methods

fromCBOR ∷ Decoder s TicknState #

labelProxy TicknState → Text #

FromCBOR ChainCode 
Instance details

Defined in Sophie.Spec.Ledger.Address.Bootstrap

Methods

fromCBOR ∷ Decoder s ChainCode #

labelProxy ChainCode → Text #

FromCBOR AccountState 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s AccountState #

labelProxy AccountState → Text #

FromCBOR LogWeight 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s LogWeight #

labelProxy LogWeight → Text #

FromCBOR MIRPot 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s MIRPot #

labelProxy MIRPot → Text #

FromCBOR PerformanceEstimate 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s PerformanceEstimate #

labelProxy PerformanceEstimate → Text #

FromCBOR RewardType 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s RewardType #

labelProxy RewardType → Text #

FromCBOR VotingPeriod 
Instance details

Defined in Sophie.Spec.Ledger.STS.Ppup

Methods

fromCBOR ∷ Decoder s VotingPeriod #

labelProxy VotingPeriod → Text #

FromCBOR TxValidationError 
Instance details

Defined in Bcc.Chain.UTxO.Validation

Methods

fromCBOR ∷ Decoder s TxValidationError #

labelProxy TxValidationError → Text #

FromCBOR ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

Methods

fromCBOR ∷ Decoder s ExecutionUnits #

labelProxy ExecutionUnitsText #

FromCBOR AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

FromCBOR Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Methods

fromCBOR ∷ Decoder s Entropic #

labelProxy EntropicText #

FromCBOR UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

fromCBOR ∷ Decoder s UpdateProposal #

labelProxy UpdateProposalText #

FromCBOR CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

fromCBOR ∷ Decoder s CostModel #

labelProxy CostModelText #

FromCBOR ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

FromCBOR OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

fromCBOR ∷ Decoder s OptimumNonce #

labelProxy OptimumNonceText #

FromCBOR ProtocolParametersUpdate Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

FromCBOR Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

Methods

fromCBOR ∷ Decoder s Certificate #

labelProxy CertificateText #

FromCBOR ScriptValidity Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

fromCBOR ∷ Decoder s ScriptValidity #

labelProxy ScriptValidityText #

FromCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

FromCBOR OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

FromCBOR a ⇒ FromCBOR [a] 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s [a] #

labelProxy [a] → Text #

FromCBOR a ⇒ FromCBOR (Maybe a) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Maybe a) #

labelProxy (Maybe a) → Text #

(Integral a, FromCBOR a) ⇒ FromCBOR (Ratio a) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Ratio a) #

labelProxy (Ratio a) → Text #

(Ord a, FromCBOR a) ⇒ FromCBOR (Set a) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Set a) #

labelProxy (Set a) → Text #

FromCBOR a ⇒ FromCBOR (NonEmpty a) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (NonEmpty a) #

labelProxy (NonEmpty a) → Text #

(Serialise t, Typeable t) ⇒ FromCBOR (WithOrigin t) 
Instance details

Defined in Bcc.Slotting.Slot

Methods

fromCBOR ∷ Decoder s (WithOrigin t) #

labelProxy (WithOrigin t) → Text #

FromCBOR a ⇒ FromCBOR (Vector a) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Vector a) #

labelProxy (Vector a) → Text #

(Era era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Witnesses era)), ValidateScript era, Script era ~ Script era) ⇒ FromCBOR (Annotator (ValidatedTx era)) 
Instance details

Defined in Bcc.Ledger.Aurum.Tx

Methods

fromCBOR ∷ Decoder s (Annotator (ValidatedTx era)) #

labelProxy (Annotator (ValidatedTx era)) → Text #

(FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Script era)), FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (Witnesses era)), ToCBOR (AuxiliaryData era), ToCBOR (Script era), ToCBOR (TxBody era), ToCBOR (Witnesses era), ValidateScript era, Script era ~ Script era, Era era) ⇒ FromCBOR (Annotator (TxSeq era)) 
Instance details

Defined in Bcc.Ledger.Aurum.TxSeq

Methods

fromCBOR ∷ Decoder s (Annotator (TxSeq era)) #

labelProxy (Annotator (TxSeq era)) → Text #

(Era era, ValidateScript era, Script era ~ Script era) ⇒ FromCBOR (Annotator (TxWitness era)) 
Instance details

Defined in Bcc.Ledger.Aurum.TxWitness

Methods

fromCBOR ∷ Decoder s (Annotator (TxWitness era)) #

labelProxy (Annotator (TxWitness era)) → Text #

(Typeable t, FromCBOR (Annotator t)) ⇒ FromCBOR (Annotator (MemoBytes t)) 
Instance details

Defined in Data.MemoBytes

Methods

fromCBOR ∷ Decoder s (Annotator (MemoBytes t)) #

labelProxy (Annotator (MemoBytes t)) → Text #

(Era era, ToCBOR (Data era), ToCBOR (Script era), Typeable (Script era), ValidateScript era, Script era ~ Script era) ⇒ FromCBOR (Annotator (TxWitnessRaw era)) 
Instance details

Defined in Bcc.Ledger.Aurum.TxWitness

Methods

fromCBOR ∷ Decoder s (Annotator (TxWitnessRaw era)) #

labelProxy (Annotator (TxWitnessRaw era)) → Text #

(Typeable era, FromCBOR (Annotator (Script era)), ValidateScript era) ⇒ FromCBOR (Annotator (WitnessSetHKD Identity era)) 
Instance details

Defined in Sophie.Spec.Ledger.Tx

Methods

fromCBOR ∷ Decoder s (Annotator (WitnessSetHKD Identity era)) #

labelProxy (Annotator (WitnessSetHKD Identity era)) → Text #

(BlockAnn era, Typeable era) ⇒ FromCBOR (Annotator (TxSeq era)) 
Instance details

Defined in Sophie.Spec.Ledger.BlockChain

Methods

fromCBOR ∷ Decoder s (Annotator (TxSeq era)) #

labelProxy (Annotator (TxSeq era)) → Text #

(Era era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Witnesses era))) ⇒ FromCBOR (Annotator (Tx era)) 
Instance details

Defined in Sophie.Spec.Ledger.Tx

Methods

fromCBOR ∷ Decoder s (Annotator (Tx era)) #

labelProxy (Annotator (Tx era)) → Text #

(Era era, AnnotatedData (Script era)) ⇒ FromCBOR (Annotator (AuxiliaryData era)) 
Instance details

Defined in Bcc.Ledger.SophieMA.AuxiliaryData

Methods

fromCBOR ∷ Decoder s (Annotator (AuxiliaryData era)) #

labelProxy (Annotator (AuxiliaryData era)) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (Timelock crypto)) 
Instance details

Defined in Bcc.Ledger.SophieMA.Timelocks

Methods

fromCBOR ∷ Decoder s (Annotator (Timelock crypto)) #

labelProxy (Annotator (Timelock crypto)) → Text #

FamsFrom era ⇒ FromCBOR (Annotator (TxBody era)) 
Instance details

Defined in Bcc.Ledger.SophieMA.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (TxBody era)) #

labelProxy (Annotator (TxBody era)) → Text #

(Era era, Ord (Script era), FromCBOR (Annotator (Script era)), Script era ~ Script era) ⇒ FromCBOR (Annotator (AuxiliaryData era)) 
Instance details

Defined in Bcc.Ledger.Aurum.Data

Methods

fromCBOR ∷ Decoder s (Annotator (AuxiliaryData era)) #

labelProxy (Annotator (AuxiliaryData era)) → Text #

Typeable era ⇒ FromCBOR (Annotator (Data era)) 
Instance details

Defined in Bcc.Ledger.Aurum.Data

Methods

fromCBOR ∷ Decoder s (Annotator (Data era)) #

labelProxy (Annotator (Data era)) → Text #

(Crypto (Crypto era), Typeable (Crypto era), Typeable era) ⇒ FromCBOR (Annotator (Script era)) 
Instance details

Defined in Bcc.Ledger.Aurum.Scripts

Methods

fromCBOR ∷ Decoder s (Annotator (Script era)) #

labelProxy (Annotator (Script era)) → Text #

(Era era, Ord (Script era), FromCBOR (Annotator (Script era)), Script era ~ Script era) ⇒ FromCBOR (Annotator (AuxiliaryDataRaw era)) 
Instance details

Defined in Bcc.Ledger.Aurum.Data

Methods

fromCBOR ∷ Decoder s (Annotator (AuxiliaryDataRaw era)) #

labelProxy (Annotator (AuxiliaryDataRaw era)) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (TimelockRaw crypto)) 
Instance details

Defined in Bcc.Ledger.SophieMA.Timelocks

Methods

fromCBOR ∷ Decoder s (Annotator (TimelockRaw crypto)) #

labelProxy (Annotator (TimelockRaw crypto)) → Text #

(Era era, AnnotatedData (Script era)) ⇒ FromCBOR (Annotator (AuxiliaryDataRaw era)) 
Instance details

Defined in Bcc.Ledger.SophieMA.AuxiliaryData

Methods

fromCBOR ∷ Decoder s (Annotator (AuxiliaryDataRaw era)) #

labelProxy (Annotator (AuxiliaryDataRaw era)) → Text #

(BlockAnn era, ValidateScript era, SupportsSegWit era, FromCBOR (Annotator (TxSeq era))) ⇒ FromCBOR (Annotator (Block era)) 
Instance details

Defined in Sophie.Spec.Ledger.BlockChain

Methods

fromCBOR ∷ Decoder s (Annotator (Block era)) #

labelProxy (Annotator (Block era)) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (BHeader crypto)) 
Instance details

Defined in Bcc.Protocol.TOptimum.BHeader

Methods

fromCBOR ∷ Decoder s (Annotator (BHeader crypto)) #

labelProxy (Annotator (BHeader crypto)) → Text #

(Typeable kr, Crypto crypto) ⇒ FromCBOR (Annotator (WitVKey kr crypto)) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (WitVKey kr crypto)) #

labelProxy (Annotator (WitVKey kr crypto)) → Text #

(Era era, FromCBOR (TxOut era), FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) ⇒ FromCBOR (Annotator (TxBody era)) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (TxBody era)) #

labelProxy (Annotator (TxBody era)) → Text #

Typeable era ⇒ FromCBOR (Annotator (Metadata era)) 
Instance details

Defined in Sophie.Spec.Ledger.Metadata

Methods

fromCBOR ∷ Decoder s (Annotator (Metadata era)) #

labelProxy (Annotator (Metadata era)) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (MultiSig crypto)) 
Instance details

Defined in Sophie.Spec.Ledger.Scripts

Methods

fromCBOR ∷ Decoder s (Annotator (MultiSig crypto)) #

labelProxy (Annotator (MultiSig crypto)) → Text #

(Era era, Typeable (Script era), Typeable (AuxiliaryData era), Compactible (Value era), Show (Value era), DecodeNonNegative (Value era), FromCBOR (Annotator (Script era)), SerialisableData (PParamsDelta era)) ⇒ FromCBOR (Annotator (TxBody era)) 
Instance details

Defined in Bcc.Ledger.Aurum.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (TxBody era)) #

labelProxy (Annotator (TxBody era)) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (BootstrapWitness crypto)) 
Instance details

Defined in Sophie.Spec.Ledger.Address.Bootstrap

Methods

fromCBOR ∷ Decoder s (Annotator (BootstrapWitness crypto)) #

labelProxy (Annotator (BootstrapWitness crypto)) → Text #

Era era ⇒ FromCBOR (Annotator (TxDats era)) 
Instance details

Defined in Bcc.Ledger.Aurum.TxWitness

Methods

fromCBOR ∷ Decoder s (Annotator (TxDats era)) #

labelProxy (Annotator (TxDats era)) → Text #

Era era ⇒ FromCBOR (Annotator (Redeemers era)) 
Instance details

Defined in Bcc.Ledger.Aurum.TxWitness

Methods

fromCBOR ∷ Decoder s (Annotator (Redeemers era)) #

labelProxy (Annotator (Redeemers era)) → Text #

SophieBasedEra era ⇒ FromCBOR (Annotator (Header (SophieBlock era))) 
Instance details

Defined in Shardagnostic.Consensus.Sophie.Ledger.Block

Methods

fromCBOR ∷ Decoder s (Annotator (Header (SophieBlock era))) #

labelProxy (Annotator (Header (SophieBlock era))) → Text #

SophieBasedEra era ⇒ FromCBOR (Annotator (SophieBlock era)) 
Instance details

Defined in Shardagnostic.Consensus.Sophie.Ledger.Block

Methods

fromCBOR ∷ Decoder s (Annotator (SophieBlock era)) #

labelProxy (Annotator (SophieBlock era)) → Text #

(Typeable era, Era era) ⇒ FromCBOR (Annotator (TxDatsRaw era)) 
Instance details

Defined in Bcc.Ledger.Aurum.TxWitness

Methods

fromCBOR ∷ Decoder s (Annotator (TxDatsRaw era)) #

labelProxy (Annotator (TxDatsRaw era)) → Text #

Era era ⇒ FromCBOR (Annotator (RedeemersRaw era)) 
Instance details

Defined in Bcc.Ledger.Aurum.TxWitness

Methods

fromCBOR ∷ Decoder s (Annotator (RedeemersRaw era)) #

labelProxy (Annotator (RedeemersRaw era)) → Text #

(Era era, Typeable (Script era), Typeable (AuxiliaryData era), Compactible (Value era), Show (Value era), DecodeNonNegative (Value era), FromCBOR (Annotator (Script era)), FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) ⇒ FromCBOR (Annotator (TxBodyRaw era)) 
Instance details

Defined in Bcc.Ledger.Aurum.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (TxBodyRaw era)) #

labelProxy (Annotator (TxBodyRaw era)) → Text #

FamsFrom era ⇒ FromCBOR (Annotator (TxBodyRaw era)) 
Instance details

Defined in Bcc.Ledger.SophieMA.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (TxBodyRaw era)) #

labelProxy (Annotator (TxBodyRaw era)) → Text #

(Era era, BlockAnn era, ValidateScript era, TxSeq era ~ TxSeq era) ⇒ FromCBOR (Annotator (LaxBlock era)) 
Instance details

Defined in Sophie.Spec.Ledger.BlockChain

Methods

fromCBOR ∷ Decoder s (Annotator (LaxBlock era)) #

labelProxy (Annotator (LaxBlock era)) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (MultiSigRaw crypto)) 
Instance details

Defined in Sophie.Spec.Ledger.Scripts

Methods

fromCBOR ∷ Decoder s (Annotator (MultiSigRaw crypto)) #

labelProxy (Annotator (MultiSigRaw crypto)) → Text #

(Era era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Witnesses era))) ⇒ FromCBOR (Annotator (TxRaw era)) 
Instance details

Defined in Sophie.Spec.Ledger.Tx

Methods

fromCBOR ∷ Decoder s (Annotator (TxRaw era)) #

labelProxy (Annotator (TxRaw era)) → Text #

(TransTxBody FromCBOR era, ToCBOR (PParamsDelta era), Era era) ⇒ FromCBOR (Annotator (TxBodyRaw era)) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (TxBodyRaw era)) #

labelProxy (Annotator (TxBodyRaw era)) → Text #

FromCBOR (SigDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Bcc.Api.Crypto.Ed25519Bip32

FromCBOR (SigDSIGN MockDSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Mock

Methods

fromCBOR ∷ Decoder s (SigDSIGN MockDSIGN) #

labelProxy (SigDSIGN MockDSIGN) → Text #

FromCBOR (SigDSIGN Ed25519DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed25519

Methods

fromCBOR ∷ Decoder s (SigDSIGN Ed25519DSIGN) #

labelProxy (SigDSIGN Ed25519DSIGN) → Text #

FromCBOR (SigDSIGN Ed448DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed448

Methods

fromCBOR ∷ Decoder s (SigDSIGN Ed448DSIGN) #

labelProxy (SigDSIGN Ed448DSIGN) → Text #

FromCBOR (SignKeyDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Bcc.Api.Crypto.Ed25519Bip32

FromCBOR (SignKeyDSIGN MockDSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Mock

Methods

fromCBOR ∷ Decoder s (SignKeyDSIGN MockDSIGN) #

labelProxy (SignKeyDSIGN MockDSIGN) → Text #

FromCBOR (SignKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed25519

Methods

fromCBOR ∷ Decoder s (SignKeyDSIGN Ed25519DSIGN) #

labelProxy (SignKeyDSIGN Ed25519DSIGN) → Text #

FromCBOR (SignKeyDSIGN Ed448DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed448

Methods

fromCBOR ∷ Decoder s (SignKeyDSIGN Ed448DSIGN) #

labelProxy (SignKeyDSIGN Ed448DSIGN) → Text #

FromCBOR (VerKeyDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Bcc.Api.Crypto.Ed25519Bip32

FromCBOR (VerKeyDSIGN MockDSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Mock

Methods

fromCBOR ∷ Decoder s (VerKeyDSIGN MockDSIGN) #

labelProxy (VerKeyDSIGN MockDSIGN) → Text #

FromCBOR (VerKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed25519

Methods

fromCBOR ∷ Decoder s (VerKeyDSIGN Ed25519DSIGN) #

labelProxy (VerKeyDSIGN Ed25519DSIGN) → Text #

FromCBOR (VerKeyDSIGN Ed448DSIGN) 
Instance details

Defined in Bcc.Crypto.DSIGN.Ed448

Methods

fromCBOR ∷ Decoder s (VerKeyDSIGN Ed448DSIGN) #

labelProxy (VerKeyDSIGN Ed448DSIGN) → Text #

(Era era, FromCBOR (PParamsDelta era)) ⇒ FromCBOR (PPUPState era) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (PPUPState era) #

labelProxy (PPUPState era) → Text #

FromCBOR a ⇒ FromCBOR (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

fromCBOR ∷ Decoder s (StrictMaybe a) #

labelProxy (StrictMaybe a) → Text #

(SophieBased era, FromCBOR (PredicateFailure (EraRule "LEDGER" era))) ⇒ FromCBOR (ApplyTxError era) 
Instance details

Defined in Sophie.Spec.Ledger.API.Mempool

Methods

fromCBOR ∷ Decoder s (ApplyTxError era) #

labelProxy (ApplyTxError era) → Text #

(TransValue FromCBOR era, FromCBOR (State (EraRule "PPUP" era)), FromCBOR (TxOut era), HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era)) ⇒ FromCBOR (UTxOState era) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (UTxOState era) #

labelProxy (UTxOState era) → Text #

Crypto crypto ⇒ FromCBOR (DPState crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (DPState crypto) #

labelProxy (DPState crypto) → Text #

Era era ⇒ FromCBOR (PParamsUpdate era) 
Instance details

Defined in Bcc.Ledger.Aurum.PParams

Methods

fromCBOR ∷ Decoder s (PParamsUpdate era) #

labelProxy (PParamsUpdate era) → Text #

Era era ⇒ FromCBOR (PParams era) 
Instance details

Defined in Bcc.Ledger.Aurum.PParams

Methods

fromCBOR ∷ Decoder s (PParams era) #

labelProxy (PParams era) → Text #

(FromCBOR (PredicateFailure (EraRule "DELEGS" era)), FromCBOR (PredicateFailure (EraRule "UTXOW" era)), Era era) ⇒ FromCBOR (LedgerPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Ledger

Methods

fromCBOR ∷ Decoder s (LedgerPredicateFailure era) #

labelProxy (LedgerPredicateFailure era) → Text #

Era era ⇒ FromCBOR (PParams era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s (PParams era) #

labelProxy (PParams era) → Text #

Era era ⇒ FromCBOR (PParamsUpdate era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s (PParamsUpdate era) #

labelProxy (PParamsUpdate era) → Text #

Crypto crypto ⇒ FromCBOR (ScriptHash crypto) 
Instance details

Defined in Bcc.Ledger.Hashes

Methods

fromCBOR ∷ Decoder s (ScriptHash crypto) #

labelProxy (ScriptHash crypto) → Text #

Crypto crypto ⇒ FromCBOR (AuxiliaryDataHash crypto) 
Instance details

Defined in Bcc.Ledger.AuxiliaryData

Methods

fromCBOR ∷ Decoder s (AuxiliaryDataHash crypto) #

labelProxy (AuxiliaryDataHash crypto) → Text #

(FromCBOR (PParams era), TransValue FromCBOR era, HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era), FromCBOR (TxOut era), FromCBOR (State (EraRule "PPUP" era)), Era era) ⇒ FromCBOR (EpochState era) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (EpochState era) #

labelProxy (EpochState era) → Text #

(Era era, HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era), FromCBOR (TxOut era), FromCBOR (Value era), FromCBOR (State (EraRule "PPUP" era))) ⇒ FromCBOR (LedgerState era) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (LedgerState era) #

labelProxy (LedgerState era) → Text #

(Era era, FromCBOR (PParams era), FromCBOR (TxOut era), FromCBOR (Value era), FromCBOR (State (EraRule "PPUP" era))) ⇒ FromCBOR (NewEpochState era) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (NewEpochState era) #

labelProxy (NewEpochState era) → Text #

(Era era, TransTxOut DecodeNonNegative era, Show (Value era)) ⇒ FromCBOR (TxOut era) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (TxOut era) #

labelProxy (TxOut era) → Text #

Crypto crypto ⇒ FromCBOR (Addr crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

fromCBOR ∷ Decoder s (Addr crypto) #

labelProxy (Addr crypto) → Text #

Crypto crypto ⇒ FromCBOR (BlocksMade crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

fromCBOR ∷ Decoder s (BlocksMade crypto) #

labelProxy (BlocksMade crypto) → Text #

Crypto crypto ⇒ FromCBOR (SnapShots crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

fromCBOR ∷ Decoder s (SnapShots crypto) #

labelProxy (SnapShots crypto) → Text #

Crypto crypto ⇒ FromCBOR (NonMyopic crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s (NonMyopic crypto) #

labelProxy (NonMyopic crypto) → Text #

Crypto crypto ⇒ FromCBOR (PulsingRewUpdate crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

fromCBOR ∷ Decoder s (PulsingRewUpdate crypto) #

labelProxy (PulsingRewUpdate crypto) → Text #

Crypto crypto ⇒ FromCBOR (PoolDistr crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum

Methods

fromCBOR ∷ Decoder s (PoolDistr crypto) #

labelProxy (PoolDistr crypto) → Text #

(Era era, FromCBOR (PParamsDelta era)) ⇒ FromCBOR (ProposedPPUpdates era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s (ProposedPPUpdates era) #

labelProxy (ProposedPPUpdates era) → Text #

Era era ⇒ FromCBOR (SophieGenesis era) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

fromCBOR ∷ Decoder s (SophieGenesis era) #

labelProxy (SophieGenesis era) → Text #

Crypto crypto ⇒ FromCBOR (GenDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

fromCBOR ∷ Decoder s (GenDelegPair crypto) #

labelProxy (GenDelegPair crypto) → Text #

Crypto crypto ⇒ FromCBOR (VestedDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

fromCBOR ∷ Decoder s (VestedDelegPair crypto) #

labelProxy (VestedDelegPair crypto) → Text #

Crypto crypto ⇒ FromCBOR (SophieGenesisStaking crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

fromCBOR ∷ Decoder s (SophieGenesisStaking crypto) #

labelProxy (SophieGenesisStaking crypto) → Text #

FromCBOR (CompactForm Coin) 
Instance details

Defined in Bcc.Ledger.Coin

Methods

fromCBOR ∷ Decoder s (CompactForm Coin) #

labelProxy (CompactForm Coin) → Text #

Crypto crypto ⇒ FromCBOR (CompactForm (Value crypto)) 
Instance details

Defined in Bcc.Ledger.Jen.Value

Methods

fromCBOR ∷ Decoder s (CompactForm (Value crypto)) #

labelProxy (CompactForm (Value crypto)) → Text #

(FromCBOR (TxOut era), Era era) ⇒ FromCBOR (UTxO era) 
Instance details

Defined in Sophie.Spec.Ledger.UTxO

Methods

fromCBOR ∷ Decoder s (UTxO era) #

labelProxy (UTxO era) → Text #

(Era era, FromCBOR (PParamsDelta era)) ⇒ FromCBOR (Update era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s (Update era) #

labelProxy (Update era) → Text #

Crypto crypto ⇒ FromCBOR (TxIn crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (TxIn crypto) #

labelProxy (TxIn crypto) → Text #

(Era era, DecodeNonNegative (Value era), Show (Value era), Compactible (Value era)) ⇒ FromCBOR (TxOut era) 
Instance details

Defined in Bcc.Ledger.Aurum.TxBody

Methods

fromCBOR ∷ Decoder s (TxOut era) #

labelProxy (TxOut era) → Text #

Crypto crypto ⇒ FromCBOR (Value crypto) 
Instance details

Defined in Bcc.Ledger.Jen.Value

Methods

fromCBOR ∷ Decoder s (Value crypto) #

labelProxy (Value crypto) → Text #

Crypto crypto ⇒ FromCBOR (PolicyID crypto) 
Instance details

Defined in Bcc.Ledger.Jen.Value

Methods

fromCBOR ∷ Decoder s (PolicyID crypto) #

labelProxy (PolicyID crypto) → Text #

Crypto crypto ⇒ FromCBOR (DCert crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (DCert crypto) #

labelProxy (DCert crypto) → Text #

Crypto crypto ⇒ FromCBOR (Wdrl crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (Wdrl crypto) #

labelProxy (Wdrl crypto) → Text #

Crypto crypto ⇒ FromCBOR (PState crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (PState crypto) #

labelProxy (PState crypto) → Text #

Crypto crypto ⇒ FromCBOR (PoolParams crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (PoolParams crypto) #

labelProxy (PoolParams crypto) → Text #

Crypto crypto ⇒ FromCBOR (InstantaneousRewards crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (InstantaneousRewards crypto) #

labelProxy (InstantaneousRewards crypto) → Text #

Crypto crypto ⇒ FromCBOR (SnapShot crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

fromCBOR ∷ Decoder s (SnapShot crypto) #

labelProxy (SnapShot crypto) → Text #

Crypto crypto ⇒ FromCBOR (ChainDepState crypto) 
Instance details

Defined in Sophie.Spec.Ledger.API.Protocol

Methods

fromCBOR ∷ Decoder s (ChainDepState crypto) #

labelProxy (ChainDepState crypto) → Text #

Crypto crypto ⇒ FromCBOR (FutureGenDeleg crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (FutureGenDeleg crypto) #

labelProxy (FutureGenDeleg crypto) → Text #

Crypto crypto ⇒ FromCBOR (FutureVestedDeleg crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (FutureVestedDeleg crypto) #

labelProxy (FutureVestedDeleg crypto) → Text #

Crypto crypto ⇒ FromCBOR (DState crypto) 
Instance details

Defined in Sophie.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (DState crypto) #

labelProxy (DState crypto) → Text #

Crypto crypto ⇒ FromCBOR (IndividualPoolStake crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum

Methods

fromCBOR ∷ Decoder s (IndividualPoolStake crypto) #

labelProxy (IndividualPoolStake crypto) → Text #

Crypto crypto ⇒ FromCBOR (RewardProvenance crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

fromCBOR ∷ Decoder s (RewardProvenance crypto) #

labelProxy (RewardProvenance crypto) → Text #

Crypto crypto ⇒ FromCBOR (RewardProvenancePool crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

fromCBOR ∷ Decoder s (RewardProvenancePool crypto) #

labelProxy (RewardProvenancePool crypto) → Text #

FromCBOR (VerKeyVRF OptimumVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

fromCBOR ∷ Decoder s (VerKeyVRF OptimumVRF) #

labelProxy (VerKeyVRF OptimumVRF) → Text #

FromCBOR (VerKeyVRF MockVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Mock

Methods

fromCBOR ∷ Decoder s (VerKeyVRF MockVRF) #

labelProxy (VerKeyVRF MockVRF) → Text #

FromCBOR (VerKeyVRF SimpleVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Simple

Methods

fromCBOR ∷ Decoder s (VerKeyVRF SimpleVRF) #

labelProxy (VerKeyVRF SimpleVRF) → Text #

Crypto crypto ⇒ FromCBOR (RewardAcnt crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

fromCBOR ∷ Decoder s (RewardAcnt crypto) #

labelProxy (RewardAcnt crypto) → Text #

Crypto crypto ⇒ FromCBOR (CompactAddr crypto) 
Instance details

Defined in Sophie.Spec.Ledger.CompactAddr

Methods

fromCBOR ∷ Decoder s (CompactAddr crypto) #

labelProxy (CompactAddr crypto) → Text #

DSIGNAlgorithm d ⇒ FromCBOR (SigKES (SingleKES d)) 
Instance details

Defined in Bcc.Crypto.KES.Single

Methods

fromCBOR ∷ Decoder s (SigKES (SingleKES d)) #

labelProxy (SigKES (SingleKES d)) → Text #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ FromCBOR (SigKES (SumKES h d)) 
Instance details

Defined in Bcc.Crypto.KES.Sum

Methods

fromCBOR ∷ Decoder s (SigKES (SumKES h d)) #

labelProxy (SigKES (SumKES h d)) → Text #

KnownNat t ⇒ FromCBOR (SigKES (MockKES t)) 
Instance details

Defined in Bcc.Crypto.KES.Mock

Methods

fromCBOR ∷ Decoder s (SigKES (MockKES t)) #

labelProxy (SigKES (MockKES t)) → Text #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (SigKES (SimpleKES d t)) 
Instance details

Defined in Bcc.Crypto.KES.Simple

Methods

fromCBOR ∷ Decoder s (SigKES (SimpleKES d t)) #

labelProxy (SigKES (SimpleKES d t)) → Text #

DSIGNAlgorithm d ⇒ FromCBOR (VerKeyKES (SingleKES d)) 
Instance details

Defined in Bcc.Crypto.KES.Single

Methods

fromCBOR ∷ Decoder s (VerKeyKES (SingleKES d)) #

labelProxy (VerKeyKES (SingleKES d)) → Text #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ FromCBOR (VerKeyKES (SumKES h d)) 
Instance details

Defined in Bcc.Crypto.KES.Sum

Methods

fromCBOR ∷ Decoder s (VerKeyKES (SumKES h d)) #

labelProxy (VerKeyKES (SumKES h d)) → Text #

KnownNat t ⇒ FromCBOR (VerKeyKES (MockKES t)) 
Instance details

Defined in Bcc.Crypto.KES.Mock

Methods

fromCBOR ∷ Decoder s (VerKeyKES (MockKES t)) #

labelProxy (VerKeyKES (MockKES t)) → Text #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (VerKeyKES (SimpleKES d t)) 
Instance details

Defined in Bcc.Crypto.KES.Simple

Methods

fromCBOR ∷ Decoder s (VerKeyKES (SimpleKES d t)) #

labelProxy (VerKeyKES (SimpleKES d t)) → Text #

DSIGNAlgorithm d ⇒ FromCBOR (SignKeyKES (SingleKES d)) 
Instance details

Defined in Bcc.Crypto.KES.Single

Methods

fromCBOR ∷ Decoder s (SignKeyKES (SingleKES d)) #

labelProxy (SignKeyKES (SingleKES d)) → Text #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ FromCBOR (SignKeyKES (SumKES h d)) 
Instance details

Defined in Bcc.Crypto.KES.Sum

Methods

fromCBOR ∷ Decoder s (SignKeyKES (SumKES h d)) #

labelProxy (SignKeyKES (SumKES h d)) → Text #

KnownNat t ⇒ FromCBOR (SignKeyKES (MockKES t)) 
Instance details

Defined in Bcc.Crypto.KES.Mock

Methods

fromCBOR ∷ Decoder s (SignKeyKES (MockKES t)) #

labelProxy (SignKeyKES (MockKES t)) → Text #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (SignKeyKES (SimpleKES d t)) 
Instance details

Defined in Bcc.Crypto.KES.Simple

Methods

fromCBOR ∷ Decoder s (SignKeyKES (SimpleKES d t)) #

labelProxy (SignKeyKES (SimpleKES d t)) → Text #

FromCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash StakePoolKey) #

labelProxy (Hash StakePoolKey) → Text #

FromCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash VestedKey) #

labelProxy (Hash VestedKey) → Text #

FromCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash VestedUTxOKey) #

labelProxy (Hash VestedUTxOKey) → Text #

FromCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash GenesisUTxOKey) #

labelProxy (Hash GenesisUTxOKey) → Text #

FromCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash GenesisKey) #

labelProxy (Hash GenesisKey) → Text #

FromCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash StakeKey) #

labelProxy (Hash StakeKey) → Text #

FromCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash PaymentKey) #

labelProxy (Hash PaymentKey) → Text #

FromCBOR (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

fromCBOR ∷ Decoder s (Hash ColeKeyLegacy) #

labelProxy (Hash ColeKeyLegacy) → Text #

FromCBOR (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

fromCBOR ∷ Decoder s (Hash ColeKey) #

labelProxy (Hash ColeKey) → Text #

FromCBOR (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

fromCBOR ∷ Decoder s (Hash VrfKey) #

labelProxy (Hash VrfKey) → Text #

FromCBOR (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

fromCBOR ∷ Decoder s (Hash KesKey) #

labelProxy (Hash KesKey) → Text #

Crypto c ⇒ FromCBOR (SophieHash c) 
Instance details

Defined in Shardagnostic.Consensus.Sophie.Ledger.Block

Methods

fromCBOR ∷ Decoder s (SophieHash c) #

labelProxy (SophieHash c) → Text #

Era era ⇒ FromCBOR (CompactGenesis era) 
Instance details

Defined in Shardagnostic.Consensus.Sophie.Ledger.Config

Methods

fromCBOR ∷ Decoder s (CompactGenesis era) #

labelProxy (CompactGenesis era) → Text #

FromCBOR (ATxAux ByteSpan) 
Instance details

Defined in Bcc.Chain.UTxO.TxAux

Methods

fromCBOR ∷ Decoder s (ATxAux ByteSpan) #

labelProxy (ATxAux ByteSpan) → Text #

FromCBOR (ACertificate ByteSpan) 
Instance details

Defined in Bcc.Chain.Delegation.Certificate

Methods

fromCBOR ∷ Decoder s (ACertificate ByteSpan) #

labelProxy (ACertificate ByteSpan) → Text #

FromCBOR (AProposal ByteSpan) 
Instance details

Defined in Bcc.Chain.Update.Proposal

Methods

fromCBOR ∷ Decoder s (AProposal ByteSpan) #

labelProxy (AProposal ByteSpan) → Text #

FromCBOR (AVote ByteSpan) 
Instance details

Defined in Bcc.Chain.Update.Vote

Methods

fromCBOR ∷ Decoder s (AVote ByteSpan) #

labelProxy (AVote ByteSpan) → Text #

Crypto crypto ⇒ FromCBOR (BHBody crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.BHeader

Methods

fromCBOR ∷ Decoder s (BHBody crypto) #

labelProxy (BHBody crypto) → Text #

Crypto crypto ⇒ FromCBOR (PrevHash crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.BHeader

Methods

fromCBOR ∷ Decoder s (PrevHash crypto) #

labelProxy (PrevHash crypto) → Text #

Crypto crypto ⇒ FromCBOR (HashHeader crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.BHeader

Methods

fromCBOR ∷ Decoder s (HashHeader crypto) #

labelProxy (HashHeader crypto) → Text #

Crypto crypto ⇒ FromCBOR (TxId crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (TxId crypto) #

labelProxy (TxId crypto) → Text #

Crypto crypto ⇒ FromCBOR (PrtclState crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.Rules.Prtcl

Methods

fromCBOR ∷ Decoder s (PrtclState crypto) #

labelProxy (PrtclState crypto) → Text #

Typeable v ⇒ FromCBOR (OutputVRF v) 
Instance details

Defined in Bcc.Crypto.VRF.Class

Methods

fromCBOR ∷ Decoder s (OutputVRF v) #

labelProxy (OutputVRF v) → Text #

FromCBOR (CertVRF OptimumVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

fromCBOR ∷ Decoder s (CertVRF OptimumVRF) #

labelProxy (CertVRF OptimumVRF) → Text #

FromCBOR (CertVRF MockVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Mock

Methods

fromCBOR ∷ Decoder s (CertVRF MockVRF) #

labelProxy (CertVRF MockVRF) → Text #

FromCBOR (CertVRF SimpleVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Simple

Methods

fromCBOR ∷ Decoder s (CertVRF SimpleVRF) #

labelProxy (CertVRF SimpleVRF) → Text #

FromCBOR (SignKeyVRF OptimumVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Optimum

Methods

fromCBOR ∷ Decoder s (SignKeyVRF OptimumVRF) #

labelProxy (SignKeyVRF OptimumVRF) → Text #

FromCBOR (SignKeyVRF MockVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Mock

Methods

fromCBOR ∷ Decoder s (SignKeyVRF MockVRF) #

labelProxy (SignKeyVRF MockVRF) → Text #

FromCBOR (SignKeyVRF SimpleVRF) 
Instance details

Defined in Bcc.Crypto.VRF.Simple

Methods

fromCBOR ∷ Decoder s (SignKeyVRF SimpleVRF) #

labelProxy (SignKeyVRF SimpleVRF) → Text #

Typeable a ⇒ FromCBOR (RedeemSignature a) 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Signature

Methods

fromCBOR ∷ Decoder s (RedeemSignature a) #

labelProxy (RedeemSignature a) → Text #

Typeable a ⇒ FromCBOR (Signature a) 
Instance details

Defined in Bcc.Crypto.Signing.Signature

Methods

fromCBOR ∷ Decoder s (Signature a) #

labelProxy (Signature a) → Text #

(Typeable era, FromCBOR (BbodyPredicateFailure era)) ⇒ FromCBOR (AurumBbodyPredFail era) 
Instance details

Defined in Bcc.Ledger.Aurum.Rules.Bbody

Methods

fromCBOR ∷ Decoder s (AurumBbodyPredFail era) #

labelProxy (AurumBbodyPredFail era) → Text #

(Era era, FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) ⇒ FromCBOR (AurumPredFail era) 
Instance details

Defined in Bcc.Ledger.Aurum.Rules.Utxow

Methods

fromCBOR ∷ Decoder s (AurumPredFail era) #

labelProxy (AurumPredFail era) → Text #

(Era era, FromCBOR (PredicateFailure (EraRule "DELPL" era)), Typeable (Script era)) ⇒ FromCBOR (DelegsPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Delegs

Methods

fromCBOR ∷ Decoder s (DelegsPredicateFailure era) #

labelProxy (DelegsPredicateFailure era) → Text #

Crypto crypto ⇒ FromCBOR (GenDelegs crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

fromCBOR ∷ Decoder s (GenDelegs crypto) #

labelProxy (GenDelegs crypto) → Text #

(Era era, FromCBOR (TxOut era), FromCBOR (Value era), FromCBOR (PredicateFailure (EraRule "UTXOS" era))) ⇒ FromCBOR (UtxoPredicateFailure era) 
Instance details

Defined in Bcc.Ledger.Aurum.Rules.Utxo

Methods

fromCBOR ∷ Decoder s (UtxoPredicateFailure era) #

labelProxy (UtxoPredicateFailure era) → Text #

(Era era, FromCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ FromCBOR (UtxosPredicateFailure era) 
Instance details

Defined in Bcc.Ledger.Aurum.Rules.Utxos

Methods

fromCBOR ∷ Decoder s (UtxosPredicateFailure era) #

labelProxy (UtxosPredicateFailure era) → Text #

Era era ⇒ FromCBOR (PpupPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Ppup

Methods

fromCBOR ∷ Decoder s (PpupPredicateFailure era) #

labelProxy (PpupPredicateFailure era) → Text #

Crypto crypto ⇒ FromCBOR (CollectError crypto) 
Instance details

Defined in Bcc.Ledger.Aurum.ZerepochScriptApi

Methods

fromCBOR ∷ Decoder s (CollectError crypto) #

labelProxy (CollectError crypto) → Text #

(Era era, FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) ⇒ FromCBOR (UtxowPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Utxow

Methods

fromCBOR ∷ Decoder s (UtxowPredicateFailure era) #

labelProxy (UtxowPredicateFailure era) → Text #

(Typeable c, Crypto c) ⇒ FromCBOR (ScriptPurpose c) 
Instance details

Defined in Bcc.Ledger.Aurum.Tx

Methods

fromCBOR ∷ Decoder s (ScriptPurpose c) #

labelProxy (ScriptPurpose c) → Text #

(Era era, Typeable (Script era), Typeable (AuxiliaryData era), Compactible (Value era), Show (Value era), DecodeNonNegative (Value era), FromCBOR (Annotator (Script era)), FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) ⇒ FromCBOR (TxBodyRaw era) 
Instance details

Defined in Bcc.Ledger.Aurum.TxBody

Methods

fromCBOR ∷ Decoder s (TxBodyRaw era) #

labelProxy (TxBodyRaw era) → Text #

FromCBOR (ABody ByteSpan) 
Instance details

Defined in Bcc.Chain.Block.Body

Methods

fromCBOR ∷ Decoder s (ABody ByteSpan) #

labelProxy (ABody ByteSpan) → Text #

FromCBOR (APayload ByteSpan) 
Instance details

Defined in Bcc.Chain.Delegation.Payload

Methods

fromCBOR ∷ Decoder s (APayload ByteSpan) #

labelProxy (APayload ByteSpan) → Text #

FromCBOR (ABlockSignature ByteSpan) 
Instance details

Defined in Bcc.Chain.Block.Header

Methods

fromCBOR ∷ Decoder s (ABlockSignature ByteSpan) #

labelProxy (ABlockSignature ByteSpan) → Text #

FromCBOR (ATxPayload ByteSpan) 
Instance details

Defined in Bcc.Chain.UTxO.TxPayload

Methods

fromCBOR ∷ Decoder s (ATxPayload ByteSpan) #

labelProxy (ATxPayload ByteSpan) → Text #

FromCBOR (APayload ByteSpan) 
Instance details

Defined in Bcc.Chain.Update.Payload

Methods

fromCBOR ∷ Decoder s (APayload ByteSpan) #

labelProxy (APayload ByteSpan) → Text #

FromCBOR (Attributes ()) 
Instance details

Defined in Bcc.Chain.Common.Attributes

Methods

fromCBOR ∷ Decoder s (Attributes ()) #

labelProxy (Attributes ()) → Text #

FromCBOR (Attributes AddrAttributes) 
Instance details

Defined in Bcc.Chain.Common.AddrAttributes

Methods

fromCBOR ∷ Decoder s (Attributes AddrAttributes) #

labelProxy (Attributes AddrAttributes) → Text #

FromCBOR a ⇒ FromCBOR (MerkleRoot a) 
Instance details

Defined in Bcc.Chain.Common.Merkle

Methods

fromCBOR ∷ Decoder s (MerkleRoot a) #

labelProxy (MerkleRoot a) → Text #

(FromCBOR a, ToCBOR a) ⇒ FromCBOR (MerkleTree a) 
Instance details

Defined in Bcc.Chain.Common.Merkle

Methods

fromCBOR ∷ Decoder s (MerkleTree a) #

labelProxy (MerkleTree a) → Text #

FromCBOR n ⇒ FromCBOR (TooLarge n) 
Instance details

Defined in Bcc.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s (TooLarge n) #

labelProxy (TooLarge n) → Text #

(FromCBORGroup a, ToCBORGroup a) ⇒ FromCBOR (CBORGroup a) 
Instance details

Defined in Bcc.Ledger.Serialization

Methods

fromCBOR ∷ Decoder s (CBORGroup a) #

labelProxy (CBORGroup a) → Text #

Crypto crypto ⇒ FromCBOR (VestedDelegs crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

fromCBOR ∷ Decoder s (VestedDelegs crypto) #

labelProxy (VestedDelegs crypto) → Text #

Crypto crypto ⇒ FromCBOR (CompactValue crypto) 
Instance details

Defined in Bcc.Ledger.Jen.Value

Methods

fromCBOR ∷ Decoder s (CompactValue crypto) #

labelProxy (CompactValue crypto) → Text #

(TransValue FromCBOR era, TransUTxO FromCBOR era, DecodeNonNegative (Value era), Show (Value era), FromCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ FromCBOR (UtxoPredicateFailure era) 
Instance details

Defined in Bcc.Ledger.SophieMA.Rules.Utxo

Methods

fromCBOR ∷ Decoder s (UtxoPredicateFailure era) #

labelProxy (UtxoPredicateFailure era) → Text #

FamsFrom era ⇒ FromCBOR (TxBodyRaw era) 
Instance details

Defined in Bcc.Ledger.SophieMA.TxBody

Methods

fromCBOR ∷ Decoder s (TxBodyRaw era) #

labelProxy (TxBodyRaw era) → Text #

Crypto crypto ⇒ FromCBOR (LastAppliedBlock crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.BHeader

Methods

fromCBOR ∷ Decoder s (LastAppliedBlock crypto) #

labelProxy (LastAppliedBlock crypto) → Text #

Crypto crypto ⇒ FromCBOR (OBftSlot crypto) 
Instance details

Defined in Bcc.Protocol.TOptimum.Rules.Overlay

Methods

fromCBOR ∷ Decoder s (OBftSlot crypto) #

labelProxy (OBftSlot crypto) → Text #

Crypto crypto ⇒ FromCBOR (Stake crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

fromCBOR ∷ Decoder s (Stake crypto) #

labelProxy (Stake crypto) → Text #

Crypto crypto ⇒ FromCBOR (RewardSnapShot crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

fromCBOR ∷ Decoder s (RewardSnapShot crypto) #

labelProxy (RewardSnapShot crypto) → Text #

Crypto crypto ⇒ FromCBOR (RewardUpdate crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

fromCBOR ∷ Decoder s (RewardUpdate crypto) #

labelProxy (RewardUpdate crypto) → Text #

Crypto c ⇒ FromCBOR (RewardAns c) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

fromCBOR ∷ Decoder s (RewardAns c) #

labelProxy (RewardAns c) → Text #

Crypto c ⇒ FromCBOR (Pulser c) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

fromCBOR ∷ Decoder s (Pulser c) #

labelProxy (Pulser c) → Text #

Crypto crypto ⇒ FromCBOR (FreeVars crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardUpdate

Methods

fromCBOR ∷ Decoder s (FreeVars crypto) #

labelProxy (FreeVars crypto) → Text #

Crypto crypto ⇒ FromCBOR (Reward crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s (Reward crypto) #

labelProxy (Reward crypto) → Text #

(Era era, Typeable (Script era)) ⇒ FromCBOR (DelegPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Deleg

Methods

fromCBOR ∷ Decoder s (DelegPredicateFailure era) #

labelProxy (DelegPredicateFailure era) → Text #

(Era era, FromCBOR (PredicateFailure (EraRule "POOL" era)), FromCBOR (PredicateFailure (EraRule "DELEG" era)), Typeable (Script era)) ⇒ FromCBOR (DelplPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Delpl

Methods

fromCBOR ∷ Decoder s (DelplPredicateFailure era) #

labelProxy (DelplPredicateFailure era) → Text #

Era era ⇒ FromCBOR (PoolPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Pool

Methods

fromCBOR ∷ Decoder s (PoolPredicateFailure era) #

labelProxy (PoolPredicateFailure era) → Text #

(SophieBased era, FromCBOR (PredicateFailure (EraRule "LEDGER" era))) ⇒ FromCBOR (LedgersPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Ledgers

Methods

fromCBOR ∷ Decoder s (LedgersPredicateFailure era) #

labelProxy (LedgersPredicateFailure era) → Text #

(TransValue FromCBOR era, TransUTxO FromCBOR era, DecodeNonNegative (Value era), Show (Value era), FromCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ FromCBOR (UtxoPredicateFailure era) 
Instance details

Defined in Sophie.Spec.Ledger.STS.Utxo

Methods

fromCBOR ∷ Decoder s (UtxoPredicateFailure era) #

labelProxy (UtxoPredicateFailure era) → Text #

Crypto crypto ⇒ FromCBOR (MIRCert crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (MIRCert crypto) #

labelProxy (MIRCert crypto) → Text #

Crypto crypto ⇒ FromCBOR (MIRTarget crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (MIRTarget crypto) #

labelProxy (MIRTarget crypto) → Text #

Crypto crypto ⇒ FromCBOR (StakeCreds crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (StakeCreds crypto) #

labelProxy (StakeCreds crypto) → Text #

(FromCBOR (TxOut era), Era era, FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) ⇒ FromCBOR (TxBodyRaw era) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (TxBodyRaw era) #

labelProxy (TxBodyRaw era) → Text #

FromCBOR a ⇒ FromCBOR (CborSeq a) 
Instance details

Defined in Bcc.Ledger.Serialization

Methods

fromCBOR ∷ Decoder s (CborSeq a) #

labelProxy (CborSeq a) → Text #

FromCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

FromCBOR (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

FromCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

FromCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

FromCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (SigningKey StakeKey) #

labelProxy (SigningKey StakeKey) → Text #

FromCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

FromCBOR (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

Methods

fromCBOR ∷ Decoder s (SigningKey ColeKey) #

labelProxy (SigningKey ColeKey) → Text #

FromCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

fromCBOR ∷ Decoder s (SigningKey VrfKey) #

labelProxy (SigningKey VrfKey) → Text #

FromCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

Methods

fromCBOR ∷ Decoder s (SigningKey KesKey) #

labelProxy (SigningKey KesKey) → Text #

(SerialiseAsRawBytes a, Typeable a) ⇒ FromCBOR (UsingRawBytes a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

fromCBOR ∷ Decoder s (UsingRawBytes a) #

labelProxy (UsingRawBytes a) → Text #

(Typeable lang, HasTypeProxy lang) ⇒ FromCBOR (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

fromCBOR ∷ Decoder s (ZerepochScript lang) #

labelProxy (ZerepochScript lang) → Text #

(Typeable era, TransLedgerState FromCBOR (SophieLedgerEra era)) ⇒ FromCBOR (DebugLedgerState era) Source # 
Instance details

Defined in Bcc.Api.Query

Methods

fromCBOR ∷ Decoder s (DebugLedgerState era) #

labelProxy (DebugLedgerState era) → Text #

(FromCBOR a, FromCBOR b) ⇒ FromCBOR (Either a b) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Either a b) #

labelProxy (Either a b) → Text #

(FromCBOR a, FromCBOR b) ⇒ FromCBOR (a, b) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (a, b) #

labelProxy (a, b) → Text #

(Ord k, FromCBOR k, FromCBOR v) ⇒ FromCBOR (Map k v) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Map k v) #

labelProxy (Map k v) → Text #

(HashAlgorithm h, Typeable a) ⇒ FromCBOR (Hash h a) 
Instance details

Defined in Bcc.Crypto.Hash.Class

Methods

fromCBOR ∷ Decoder s (Hash h a) #

labelProxy (Hash h a) → Text #

(Crypto crypto, Typeable disc) ⇒ FromCBOR (KeyHash disc crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

fromCBOR ∷ Decoder s (KeyHash disc crypto) #

labelProxy (KeyHash disc crypto) → Text #

(Typeable index, Crypto c) ⇒ FromCBOR (SafeHash c index) 
Instance details

Defined in Bcc.Ledger.SafeHash

Methods

fromCBOR ∷ Decoder s (SafeHash c index) #

labelProxy (SafeHash c index) → Text #

(Typeable kr, Crypto crypto) ⇒ FromCBOR (Credential kr crypto) 
Instance details

Defined in Bcc.Ledger.Credential

Methods

fromCBOR ∷ Decoder s (Credential kr crypto) #

labelProxy (Credential kr crypto) → Text #

(Typeable algo, Typeable a, HashAlgorithm algo) ⇒ FromCBOR (AbstractHash algo a) 
Instance details

Defined in Bcc.Crypto.Hashing

Methods

fromCBOR ∷ Decoder s (AbstractHash algo a) #

labelProxy (AbstractHash algo a) → Text #

(Crypto crypto, Typeable kd) ⇒ FromCBOR (VKey kd crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

fromCBOR ∷ Decoder s (VKey kd crypto) #

labelProxy (VKey kd crypto) → Text #

(VRFAlgorithm v, Typeable a) ⇒ FromCBOR (CertifiedVRF v a) 
Instance details

Defined in Bcc.Crypto.VRF.Class

Methods

fromCBOR ∷ Decoder s (CertifiedVRF v a) #

labelProxy (CertifiedVRF v a) → Text #

(FromCBOR a, Bounded (BoundedRatio b a), Bounded a, Integral a, Typeable b, Typeable a, Show a) ⇒ FromCBOR (BoundedRatio b a) 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s (BoundedRatio b a) #

labelProxy (BoundedRatio b a) → Text #

(FromCBOR a, FromCBOR b, FromCBOR c) ⇒ FromCBOR (a, b, c) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (a, b, c) #

labelProxy (a, b, c) → Text #

(Typeable s, FromCBOR a) ⇒ FromCBOR (Tagged s a) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s0 (Tagged s a) #

labelProxy (Tagged s a) → Text #

(Ord a, Ord b, FromCBOR a, FromCBOR b) ⇒ FromCBOR (BiMap b a b) 
Instance details

Defined in Control.Iterate.SetAlgebra

Methods

fromCBOR ∷ Decoder s (BiMap b a b) #

labelProxy (BiMap b a b) → Text #

(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d) ⇒ FromCBOR (a, b, c, d) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (a, b, c, d) #

labelProxy (a, b, c, d) → Text #

(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d, FromCBOR e) ⇒ FromCBOR (a, b, c, d, e) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (a, b, c, d, e) #

labelProxy (a, b, c, d, e) → Text #

(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d, FromCBOR e, FromCBOR f, FromCBOR g) ⇒ FromCBOR (a, b, c, d, e, f, g) 
Instance details

Defined in Bcc.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (a, b, c, d, e, f, g) #

labelProxy (a, b, c, d, e, f, g) → Text #

JSON

class ToJSON a #

Instances

Instances details
ToJSON Bool 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONBool → Value #

toEncodingBool → Encoding #

toJSONList ∷ [Bool] → Value #

toEncodingList ∷ [Bool] → Encoding #

ToJSON Char 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONChar → Value #

toEncodingChar → Encoding #

toJSONList ∷ [Char] → Value #

toEncodingList ∷ [Char] → Encoding #

ToJSON Double 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDouble → Value #

toEncodingDouble → Encoding #

toJSONList ∷ [Double] → Value #

toEncodingList ∷ [Double] → Encoding #

ToJSON Float 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFloat → Value #

toEncodingFloat → Encoding #

toJSONList ∷ [Float] → Value #

toEncodingList ∷ [Float] → Encoding #

ToJSON Int 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt → Value #

toEncodingInt → Encoding #

toJSONList ∷ [Int] → Value #

toEncodingList ∷ [Int] → Encoding #

ToJSON Int8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt8 → Value #

toEncodingInt8 → Encoding #

toJSONList ∷ [Int8] → Value #

toEncodingList ∷ [Int8] → Encoding #

ToJSON Int16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt16 → Value #

toEncodingInt16 → Encoding #

toJSONList ∷ [Int16] → Value #

toEncodingList ∷ [Int16] → Encoding #

ToJSON Int32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt32 → Value #

toEncodingInt32 → Encoding #

toJSONList ∷ [Int32] → Value #

toEncodingList ∷ [Int32] → Encoding #

ToJSON Int64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt64 → Value #

toEncodingInt64 → Encoding #

toJSONList ∷ [Int64] → Value #

toEncodingList ∷ [Int64] → Encoding #

ToJSON Integer 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInteger → Value #

toEncodingInteger → Encoding #

toJSONList ∷ [Integer] → Value #

toEncodingList ∷ [Integer] → Encoding #

ToJSON Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNatural → Value #

toEncodingNatural → Encoding #

toJSONList ∷ [Natural] → Value #

toEncodingList ∷ [Natural] → Encoding #

ToJSON Ordering 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONOrdering → Value #

toEncodingOrdering → Encoding #

toJSONList ∷ [Ordering] → Value #

toEncodingList ∷ [Ordering] → Encoding #

ToJSON Word 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord → Value #

toEncodingWord → Encoding #

toJSONList ∷ [Word] → Value #

toEncodingList ∷ [Word] → Encoding #

ToJSON Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord8 → Value #

toEncodingWord8 → Encoding #

toJSONList ∷ [Word8] → Value #

toEncodingList ∷ [Word8] → Encoding #

ToJSON Word16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord16 → Value #

toEncodingWord16 → Encoding #

toJSONList ∷ [Word16] → Value #

toEncodingList ∷ [Word16] → Encoding #

ToJSON Word32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord32 → Value #

toEncodingWord32 → Encoding #

toJSONList ∷ [Word32] → Value #

toEncodingList ∷ [Word32] → Encoding #

ToJSON Word64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord64 → Value #

toEncodingWord64 → Encoding #

toJSONList ∷ [Word64] → Value #

toEncodingList ∷ [Word64] → Encoding #

ToJSON () 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ () → Value #

toEncoding ∷ () → Encoding #

toJSONList ∷ [()] → Value #

toEncodingList ∷ [()] → Encoding #

ToJSON Version 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVersion → Value #

toEncodingVersion → Encoding #

toJSONList ∷ [Version] → Value #

toEncodingList ∷ [Version] → Encoding #

ToJSON Void 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVoid → Value #

toEncodingVoid → Encoding #

toJSONList ∷ [Void] → Value #

toEncodingList ∷ [Void] → Encoding #

ToJSON CTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCTime → Value #

toEncodingCTime → Encoding #

toJSONList ∷ [CTime] → Value #

toEncodingList ∷ [CTime] → Encoding #

ToJSON IntSet 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIntSet → Value #

toEncodingIntSet → Encoding #

toJSONList ∷ [IntSet] → Value #

toEncodingList ∷ [IntSet] → Encoding #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONText → Value #

toEncodingText → Encoding #

toJSONList ∷ [Text] → Value #

toEncodingList ∷ [Text] → Encoding #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONText → Value #

toEncodingText → Encoding #

toJSONList ∷ [Text] → Value #

toEncodingList ∷ [Text] → Encoding #

ToJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONZonedTime → Value #

toEncodingZonedTime → Encoding #

toJSONList ∷ [ZonedTime] → Value #

toEncodingList ∷ [ZonedTime] → Encoding #

ToJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLocalTime → Value #

toEncodingLocalTime → Encoding #

toJSONList ∷ [LocalTime] → Value #

toEncodingList ∷ [LocalTime] → Encoding #

ToJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONTimeOfDay → Value #

toEncodingTimeOfDay → Encoding #

toJSONList ∷ [TimeOfDay] → Value #

toEncodingList ∷ [TimeOfDay] → Encoding #

ToJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCalendarDiffTime → Value #

toEncodingCalendarDiffTime → Encoding #

toJSONList ∷ [CalendarDiffTime] → Value #

toEncodingList ∷ [CalendarDiffTime] → Encoding #

ToJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONUTCTime → Value #

toEncodingUTCTime → Encoding #

toJSONList ∷ [UTCTime] → Value #

toEncodingList ∷ [UTCTime] → Encoding #

ToJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSystemTime → Value #

toEncodingSystemTime → Encoding #

toJSONList ∷ [SystemTime] → Value #

toEncodingList ∷ [SystemTime] → Encoding #

ToJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNominalDiffTime → Value #

toEncodingNominalDiffTime → Encoding #

toJSONList ∷ [NominalDiffTime] → Value #

toEncodingList ∷ [NominalDiffTime] → Encoding #

ToJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDiffTime → Value #

toEncodingDiffTime → Encoding #

toJSONList ∷ [DiffTime] → Value #

toEncodingList ∷ [DiffTime] → Encoding #

ToJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDayOfWeek → Value #

toEncodingDayOfWeek → Encoding #

toJSONList ∷ [DayOfWeek] → Value #

toEncodingList ∷ [DayOfWeek] → Encoding #

ToJSON Day 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDay → Value #

toEncodingDay → Encoding #

toJSONList ∷ [Day] → Value #

toEncodingList ∷ [Day] → Encoding #

ToJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCalendarDiffDays → Value #

toEncodingCalendarDiffDays → Encoding #

toJSONList ∷ [CalendarDiffDays] → Value #

toEncodingList ∷ [CalendarDiffDays] → Encoding #

ToJSON Number 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Number → Value #

toEncoding ∷ Number → Encoding #

toJSONList ∷ [Number] → Value #

toEncodingList ∷ [Number] → Encoding #

ToJSON Scientific 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Scientific → Value #

toEncoding ∷ Scientific → Encoding #

toJSONList ∷ [Scientific] → Value #

toEncodingList ∷ [Scientific] → Encoding #

ToJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DotNetTime → Value #

toEncoding ∷ DotNetTime → Encoding #

toJSONList ∷ [DotNetTime] → Value #

toEncodingList ∷ [DotNetTime] → Encoding #

ToJSON Value 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Value → Value #

toEncoding ∷ Value → Encoding #

toJSONList ∷ [Value] → Value #

toEncodingList ∷ [Value] → Encoding #

ToJSON ByteSpan 
Instance details

Defined in Bcc.Binary.Annotated

Methods

toJSON ∷ ByteSpan → Value #

toEncoding ∷ ByteSpan → Encoding #

toJSONList ∷ [ByteSpan] → Value #

toEncodingList ∷ [ByteSpan] → Encoding #

ToJSON EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toJSONEpochNo → Value #

toEncodingEpochNo → Encoding #

toJSONList ∷ [EpochNo] → Value #

toEncodingList ∷ [EpochNo] → Encoding #

ToJSON EpochSize 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toJSONEpochSize → Value #

toEncodingEpochSize → Encoding #

toJSONList ∷ [EpochSize] → Value #

toEncodingList ∷ [EpochSize] → Encoding #

ToJSON SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toJSONSlotNo → Value #

toEncodingSlotNo → Encoding #

toJSONList ∷ [SlotNo] → Value #

toEncodingList ∷ [SlotNo] → Encoding #

ToJSON UUID 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ UUID → Value #

toEncoding ∷ UUID → Encoding #

toJSONList ∷ [UUID] → Value #

toEncodingList ∷ [UUID] → Encoding #

ToJSON NonNegativeInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ NonNegativeInterval → Value #

toEncoding ∷ NonNegativeInterval → Encoding #

toJSONList ∷ [NonNegativeInterval] → Value #

toEncodingList ∷ [NonNegativeInterval] → Encoding #

ToJSON UnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ UnitInterval → Value #

toEncoding ∷ UnitInterval → Encoding #

toJSONList ∷ [UnitInterval] → Value #

toEncodingList ∷ [UnitInterval] → Encoding #

ToJSON ProtVer 
Instance details

Defined in Bcc.Protocol.TOptimum

Methods

toJSON ∷ ProtVer → Value #

toEncoding ∷ ProtVer → Encoding #

toJSONList ∷ [ProtVer] → Value #

toEncodingList ∷ [ProtVer] → Encoding #

ToJSON AurumGenesis Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ AurumGenesis → Value #

toEncoding ∷ AurumGenesis → Encoding #

toJSONList ∷ [AurumGenesis] → Value #

toEncodingList ∷ [AurumGenesis] → Encoding #

ToJSON Coin 
Instance details

Defined in Bcc.Ledger.Coin

Methods

toJSON ∷ Coin → Value #

toEncoding ∷ Coin → Encoding #

toJSONList ∷ [Coin] → Value #

toEncodingList ∷ [Coin] → Encoding #

ToJSON Language Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Language → Value #

toEncoding ∷ Language → Encoding #

toJSONList ∷ [Language] → Value #

toEncodingList ∷ [Language] → Encoding #

ToJSON CostModel Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ CostModel → Value #

toEncoding ∷ CostModel → Encoding #

toJSONList ∷ [CostModel] → Value #

toEncodingList ∷ [CostModel] → Encoding #

ToJSON Prices Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Prices → Value #

toEncoding ∷ Prices → Encoding #

toJSONList ∷ [Prices] → Value #

toEncodingList ∷ [Prices] → Encoding #

ToJSON ExUnits Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ ExUnits → Value #

toEncoding ∷ ExUnits → Encoding #

toJSONList ∷ [ExUnits] → Value #

toEncodingList ∷ [ExUnits] → Encoding #

ToJSON AssetClass 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

toJSON ∷ AssetClass → Value #

toEncoding ∷ AssetClass → Encoding #

toJSONList ∷ [AssetClass] → Value #

toEncodingList ∷ [AssetClass] → Encoding #

ToJSON CurrencySymbol 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

toJSON ∷ CurrencySymbol → Value #

toEncoding ∷ CurrencySymbol → Encoding #

toJSONList ∷ [CurrencySymbol] → Value #

toEncodingList ∷ [CurrencySymbol] → Encoding #

ToJSON TokenName 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

toJSON ∷ TokenName → Value #

toEncoding ∷ TokenName → Encoding #

toJSONList ∷ [TokenName] → Value #

toEncodingList ∷ [TokenName] → Encoding #

ToJSON Value 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

toJSON ∷ Value → Value0 #

toEncoding ∷ Value → Encoding #

toJSONList ∷ [Value] → Value0 #

toEncodingList ∷ [Value] → Encoding #

ToJSON MintingPolicyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ MintingPolicyHash → Value #

toEncoding ∷ MintingPolicyHash → Encoding #

toJSONList ∷ [MintingPolicyHash] → Value #

toEncodingList ∷ [MintingPolicyHash] → Encoding #

ToJSON Context 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ Context → Value #

toEncoding ∷ Context → Encoding #

toJSONList ∷ [Context] → Value #

toEncodingList ∷ [Context] → Encoding #

ToJSON Datum 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ Datum → Value #

toEncoding ∷ Datum → Encoding #

toJSONList ∷ [Datum] → Value #

toEncodingList ∷ [Datum] → Encoding #

ToJSON DatumHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ DatumHash → Value #

toEncoding ∷ DatumHash → Encoding #

toJSONList ∷ [DatumHash] → Value #

toEncodingList ∷ [DatumHash] → Encoding #

ToJSON MintingPolicy 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ MintingPolicy → Value #

toEncoding ∷ MintingPolicy → Encoding #

toJSONList ∷ [MintingPolicy] → Value #

toEncodingList ∷ [MintingPolicy] → Encoding #

ToJSON Redeemer 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ Redeemer → Value #

toEncoding ∷ Redeemer → Encoding #

toJSONList ∷ [Redeemer] → Value #

toEncodingList ∷ [Redeemer] → Encoding #

ToJSON RedeemerHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ RedeemerHash → Value #

toEncoding ∷ RedeemerHash → Encoding #

toJSONList ∷ [RedeemerHash] → Value #

toEncodingList ∷ [RedeemerHash] → Encoding #

ToJSON Script 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ Script → Value #

toEncoding ∷ Script → Encoding #

toJSONList ∷ [Script] → Value #

toEncodingList ∷ [Script] → Encoding #

ToJSON ScriptError 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ ScriptError → Value #

toEncoding ∷ ScriptError → Encoding #

toJSONList ∷ [ScriptError] → Value #

toEncodingList ∷ [ScriptError] → Encoding #

ToJSON StakeValidator 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ StakeValidator → Value #

toEncoding ∷ StakeValidator → Encoding #

toJSONList ∷ [StakeValidator] → Value #

toEncodingList ∷ [StakeValidator] → Encoding #

ToJSON StakeValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ StakeValidatorHash → Value #

toEncoding ∷ StakeValidatorHash → Encoding #

toJSONList ∷ [StakeValidatorHash] → Value #

toEncodingList ∷ [StakeValidatorHash] → Encoding #

ToJSON Validator 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ Validator → Value #

toEncoding ∷ Validator → Encoding #

toJSONList ∷ [Validator] → Value #

toEncodingList ∷ [Validator] → Encoding #

ToJSON ValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ ValidatorHash → Value #

toEncoding ∷ ValidatorHash → Encoding #

toJSONList ∷ [ValidatorHash] → Value #

toEncodingList ∷ [ValidatorHash] → Encoding #

ToJSON ExBudget 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExBudget

Methods

toJSON ∷ ExBudget → Value #

toEncoding ∷ ExBudget → Encoding #

toJSONList ∷ [ExBudget] → Value #

toEncodingList ∷ [ExBudget] → Encoding #

ToJSON AssetName Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ AssetName → Value #

toEncoding ∷ AssetName → Encoding #

toJSONList ∷ [AssetName] → Value #

toEncodingList ∷ [AssetName] → Encoding #

ToJSON Likelihood Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Likelihood → Value #

toEncoding ∷ Likelihood → Encoding #

toJSONList ∷ [Likelihood] → Value #

toEncodingList ∷ [Likelihood] → Encoding #

ToJSON Ptr Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Ptr → Value #

toEncoding ∷ Ptr → Encoding #

toJSONList ∷ [Ptr] → Value #

toEncodingList ∷ [Ptr] → Encoding #

ToJSON Nonce 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ Nonce → Value #

toEncoding ∷ Nonce → Encoding #

toJSONList ∷ [Nonce] → Value #

toEncodingList ∷ [Nonce] → Encoding #

ToJSON Desirability 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

toJSON ∷ Desirability → Value #

toEncoding ∷ Desirability → Encoding #

toJSONList ∷ [Desirability] → Value #

toEncodingList ∷ [Desirability] → Encoding #

ToJSON StakePoolRelay 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toJSON ∷ StakePoolRelay → Value #

toEncoding ∷ StakePoolRelay → Encoding #

toJSONList ∷ [StakePoolRelay] → Value #

toEncodingList ∷ [StakePoolRelay] → Encoding #

ToJSON PoolMetadata 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toJSON ∷ PoolMetadata → Value #

toEncoding ∷ PoolMetadata → Encoding #

toJSONList ∷ [PoolMetadata] → Value #

toEncodingList ∷ [PoolMetadata] → Encoding #

ToJSON Network 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ Network → Value #

toEncoding ∷ Network → Encoding #

toJSONList ∷ [Network] → Value #

toEncodingList ∷ [Network] → Encoding #

ToJSON AnyBccEra Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

toJSONAnyBccEra → Value #

toEncodingAnyBccEra → Encoding #

toJSONList ∷ [AnyBccEra] → Value #

toEncodingList ∷ [AnyBccEra] → Encoding #

ToJSON Month 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Month → Value #

toEncoding ∷ Month → Encoding #

toJSONList ∷ [Month] → Value #

toEncodingList ∷ [Month] → Encoding #

ToJSON Quarter 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Quarter → Value #

toEncoding ∷ Quarter → Encoding #

toJSONList ∷ [Quarter] → Value #

toEncodingList ∷ [Quarter] → Encoding #

ToJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ QuarterOfYear → Value #

toEncoding ∷ QuarterOfYear → Encoding #

toJSONList ∷ [QuarterOfYear] → Value #

toEncodingList ∷ [QuarterOfYear] → Encoding #

ToJSON PositiveUnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ PositiveUnitInterval → Value #

toEncoding ∷ PositiveUnitInterval → Encoding #

toJSONList ∷ [PositiveUnitInterval] → Value #

toEncodingList ∷ [PositiveUnitInterval] → Encoding #

ToJSON EpochNumber 
Instance details

Defined in Bcc.Chain.Slotting.EpochNumber

Methods

toJSON ∷ EpochNumber → Value #

toEncoding ∷ EpochNumber → Encoding #

toJSONList ∷ [EpochNumber] → Value #

toEncodingList ∷ [EpochNumber] → Encoding #

ToJSON SlotNumber 
Instance details

Defined in Bcc.Chain.Slotting.SlotNumber

Methods

toJSON ∷ SlotNumber → Value #

toEncoding ∷ SlotNumber → Encoding #

toJSONList ∷ [SlotNumber] → Value #

toEncodingList ∷ [SlotNumber] → Encoding #

ToJSON RequiresNetworkMagic 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

toJSON ∷ RequiresNetworkMagic → Value #

toEncoding ∷ RequiresNetworkMagic → Encoding #

toJSONList ∷ [RequiresNetworkMagic] → Value #

toEncodingList ∷ [RequiresNetworkMagic] → Encoding #

ToJSON ProtocolVersion 
Instance details

Defined in Bcc.Chain.Update.ProtocolVersion

Methods

toJSON ∷ ProtocolVersion → Value #

toEncoding ∷ ProtocolVersion → Encoding #

toJSONList ∷ [ProtocolVersion] → Value #

toEncodingList ∷ [ProtocolVersion] → Encoding #

ToJSON ProtocolMagicId 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

toJSON ∷ ProtocolMagicId → Value #

toEncoding ∷ ProtocolMagicId → Encoding #

toJSONList ∷ [ProtocolMagicId] → Value #

toEncodingList ∷ [ProtocolMagicId] → Encoding #

ToJSON SoftwareVersion 
Instance details

Defined in Bcc.Chain.Update.SoftwareVersion

Methods

toJSON ∷ SoftwareVersion → Value #

toEncoding ∷ SoftwareVersion → Encoding #

toJSONList ∷ [SoftwareVersion] → Value #

toEncodingList ∷ [SoftwareVersion] → Encoding #

ToJSON VerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.VerificationKey

Methods

toJSON ∷ VerificationKey → Value #

toEncoding ∷ VerificationKey → Encoding #

toJSONList ∷ [VerificationKey] → Value #

toEncodingList ∷ [VerificationKey] → Encoding #

ToJSON GenesisHash 
Instance details

Defined in Bcc.Chain.Genesis.Hash

Methods

toJSON ∷ GenesisHash → Value #

toEncoding ∷ GenesisHash → Encoding #

toJSONList ∷ [GenesisHash] → Value #

toEncodingList ∷ [GenesisHash] → Encoding #

ToJSON Tx 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

toJSON ∷ Tx → Value #

toEncoding ∷ Tx → Encoding #

toJSONList ∷ [Tx] → Value #

toEncodingList ∷ [Tx] → Encoding #

ToJSON ProtocolMagic 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

toJSON ∷ ProtocolMagic → Value #

toEncoding ∷ ProtocolMagic → Encoding #

toJSONList ∷ [ProtocolMagic] → Value #

toEncodingList ∷ [ProtocolMagic] → Encoding #

ToJSON CompactRedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Compact

Methods

toJSON ∷ CompactRedeemVerificationKey → Value #

toEncoding ∷ CompactRedeemVerificationKey → Encoding #

toJSONList ∷ [CompactRedeemVerificationKey] → Value #

toEncodingList ∷ [CompactRedeemVerificationKey] → Encoding #

ToJSON Entropic 
Instance details

Defined in Bcc.Chain.Common.Entropic

Methods

toJSON ∷ Entropic → Value #

toEncoding ∷ Entropic → Encoding #

toJSONList ∷ [Entropic] → Value #

toEncodingList ∷ [Entropic] → Encoding #

ToJSON SystemStart Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSONSystemStart → Value #

toEncodingSystemStart → Encoding #

toJSONList ∷ [SystemStart] → Value #

toEncodingList ∷ [SystemStart] → Encoding #

ToJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

toJSON ∷ ByteString64 → Value #

toEncoding ∷ ByteString64 → Encoding #

toJSONList ∷ [ByteString64] → Value #

toEncodingList ∷ [ByteString64] → Encoding #

ToJSON RedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.VerificationKey

Methods

toJSON ∷ RedeemVerificationKey → Value #

toEncoding ∷ RedeemVerificationKey → Encoding #

toJSONList ∷ [RedeemVerificationKey] → Value #

toEncodingList ∷ [RedeemVerificationKey] → Encoding #

ToJSON StakingCredential 
Instance details

Defined in Zerepoch.V1.Ledger.Credential

Methods

toJSON ∷ StakingCredential → Value #

toEncoding ∷ StakingCredential → Encoding #

toJSONList ∷ [StakingCredential] → Value #

toEncodingList ∷ [StakingCredential] → Encoding #

ToJSON POSIXTime 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

toJSON ∷ POSIXTime → Value #

toEncoding ∷ POSIXTime → Encoding #

toJSONList ∷ [POSIXTime] → Value #

toEncodingList ∷ [POSIXTime] → Encoding #

ToJSON Address 
Instance details

Defined in Zerepoch.V1.Ledger.Address

Methods

toJSON ∷ Address → Value #

toEncoding ∷ Address → Encoding #

toJSONList ∷ [Address] → Value #

toEncodingList ∷ [Address] → Encoding #

ToJSON DCert 
Instance details

Defined in Zerepoch.V1.Ledger.DCert

Methods

toJSON ∷ DCert → Value #

toEncoding ∷ DCert → Encoding #

toJSONList ∷ [DCert] → Value #

toEncodingList ∷ [DCert] → Encoding #

ToJSON Credential 
Instance details

Defined in Zerepoch.V1.Ledger.Credential

Methods

toJSON ∷ Credential → Value #

toEncoding ∷ Credential → Encoding #

toJSONList ∷ [Credential] → Value #

toEncodingList ∷ [Credential] → Encoding #

ToJSON TxOut 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ TxOut → Value #

toEncoding ∷ TxOut → Encoding #

toJSONList ∷ [TxOut] → Value #

toEncodingList ∷ [TxOut] → Encoding #

ToJSON PubKeyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

toJSON ∷ PubKeyHash → Value #

toEncoding ∷ PubKeyHash → Encoding #

toJSONList ∷ [PubKeyHash] → Value #

toEncodingList ∷ [PubKeyHash] → Encoding #

ToJSON TxId 
Instance details

Defined in Zerepoch.V1.Ledger.TxId

Methods

toJSON ∷ TxId → Value #

toEncoding ∷ TxId → Encoding #

toJSONList ∷ [TxId] → Value #

toEncodingList ∷ [TxId] → Encoding #

ToJSON TxOutRef 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ TxOutRef → Value #

toEncoding ∷ TxOutRef → Encoding #

toJSONList ∷ [TxOutRef] → Value #

toEncodingList ∷ [TxOutRef] → Encoding #

ToJSON ChainDifficulty 
Instance details

Defined in Bcc.Chain.Common.ChainDifficulty

Methods

toJSON ∷ ChainDifficulty → Value #

toEncoding ∷ ChainDifficulty → Encoding #

toJSONList ∷ [ChainDifficulty] → Value #

toEncodingList ∷ [ChainDifficulty] → Encoding #

ToJSON Proof 
Instance details

Defined in Bcc.Chain.Block.Proof

Methods

toJSON ∷ Proof → Value #

toEncoding ∷ Proof → Encoding #

toJSONList ∷ [Proof] → Value #

toEncodingList ∷ [Proof] → Encoding #

ToJSON SscPayload 
Instance details

Defined in Bcc.Chain.Ssc

Methods

toJSON ∷ SscPayload → Value #

toEncoding ∷ SscPayload → Encoding #

toJSONList ∷ [SscPayload] → Value #

toEncodingList ∷ [SscPayload] → Encoding #

ToJSON ProposalBody 
Instance details

Defined in Bcc.Chain.Update.Proposal

Methods

toJSON ∷ ProposalBody → Value #

toEncoding ∷ ProposalBody → Encoding #

toJSONList ∷ [ProposalBody] → Value #

toEncodingList ∷ [ProposalBody] → Encoding #

ToJSON TxInWitness 
Instance details

Defined in Bcc.Chain.UTxO.TxWitness

Methods

toJSON ∷ TxInWitness → Value #

toEncoding ∷ TxInWitness → Encoding #

toJSONList ∷ [TxInWitness] → Value #

toEncodingList ∷ [TxInWitness] → Encoding #

ToJSON TxProof 
Instance details

Defined in Bcc.Chain.UTxO.TxProof

Methods

toJSON ∷ TxProof → Value #

toEncoding ∷ TxProof → Encoding #

toJSONList ∷ [TxProof] → Value #

toEncodingList ∷ [TxProof] → Encoding #

ToJSON SscProof 
Instance details

Defined in Bcc.Chain.Ssc

Methods

toJSON ∷ SscProof → Value #

toEncoding ∷ SscProof → Encoding #

toJSONList ∷ [SscProof] → Value #

toEncodingList ∷ [SscProof] → Encoding #

ToJSON ApplicationName 
Instance details

Defined in Bcc.Chain.Update.ApplicationName

Methods

toJSON ∷ ApplicationName → Value #

toEncoding ∷ ApplicationName → Encoding #

toJSONList ∷ [ApplicationName] → Value #

toEncodingList ∷ [ApplicationName] → Encoding #

ToJSON AddrAttributes 
Instance details

Defined in Bcc.Chain.Common.AddrAttributes

Methods

toJSON ∷ AddrAttributes → Value #

toEncoding ∷ AddrAttributes → Encoding #

toJSONList ∷ [AddrAttributes] → Value #

toEncodingList ∷ [AddrAttributes] → Encoding #

ToJSON HDAddressPayload 
Instance details

Defined in Bcc.Chain.Common.AddrAttributes

Methods

toJSON ∷ HDAddressPayload → Value #

toEncoding ∷ HDAddressPayload → Encoding #

toJSONList ∷ [HDAddressPayload] → Value #

toEncodingList ∷ [HDAddressPayload] → Encoding #

ToJSON NetworkMagic 
Instance details

Defined in Bcc.Chain.Common.NetworkMagic

Methods

toJSON ∷ NetworkMagic → Value #

toEncoding ∷ NetworkMagic → Encoding #

toJSONList ∷ [NetworkMagic] → Value #

toEncodingList ∷ [NetworkMagic] → Encoding #

ToJSON UnparsedFields 
Instance details

Defined in Bcc.Chain.Common.Attributes

Methods

toJSON ∷ UnparsedFields → Value #

toEncoding ∷ UnparsedFields → Encoding #

toJSONList ∷ [UnparsedFields] → Value #

toEncodingList ∷ [UnparsedFields] → Encoding #

ToJSON AddrType 
Instance details

Defined in Bcc.Chain.Common.AddrSpendingData

Methods

toJSON ∷ AddrType → Value #

toEncoding ∷ AddrType → Encoding #

toJSONList ∷ [AddrType] → Value #

toEncodingList ∷ [AddrType] → Encoding #

ToJSON Address 
Instance details

Defined in Bcc.Chain.Common.Address

Methods

toJSON ∷ Address → Value #

toEncoding ∷ Address → Encoding #

toJSONList ∷ [Address] → Value #

toEncodingList ∷ [Address] → Encoding #

ToJSON EntropicPortion 
Instance details

Defined in Bcc.Chain.Common.EntropicPortion

Methods

toJSON ∷ EntropicPortion → Value #

toEncoding ∷ EntropicPortion → Encoding #

toJSONList ∷ [EntropicPortion] → Value #

toEncodingList ∷ [EntropicPortion] → Encoding #

ToJSON TxFeePolicy 
Instance details

Defined in Bcc.Chain.Common.TxFeePolicy

Methods

toJSON ∷ TxFeePolicy → Value #

toEncoding ∷ TxFeePolicy → Encoding #

toJSONList ∷ [TxFeePolicy] → Value #

toEncodingList ∷ [TxFeePolicy] → Encoding #

ToJSON TxSizeLinear 
Instance details

Defined in Bcc.Chain.Common.TxSizeLinear

Methods

toJSON ∷ TxSizeLinear → Value #

toEncoding ∷ TxSizeLinear → Encoding #

toJSONList ∷ [TxSizeLinear] → Value #

toEncodingList ∷ [TxSizeLinear] → Encoding #

ToJSON TxIn 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

toJSON ∷ TxIn → Value #

toEncoding ∷ TxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSON TxOut 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

toJSON ∷ TxOut → Value #

toEncoding ∷ TxOut → Encoding #

toJSONList ∷ [TxOut] → Value #

toEncodingList ∷ [TxOut] → Encoding #

ToJSON TxSigData 
Instance details

Defined in Bcc.Chain.UTxO.TxWitness

Methods

toJSON ∷ TxSigData → Value #

toEncoding ∷ TxSigData → Encoding #

toJSONList ∷ [TxSigData] → Value #

toEncodingList ∷ [TxSigData] → Encoding #

ToJSON InstallerHash 
Instance details

Defined in Bcc.Chain.Update.InstallerHash

Methods

toJSON ∷ InstallerHash → Value #

toEncoding ∷ InstallerHash → Encoding #

toJSONList ∷ [InstallerHash] → Value #

toEncodingList ∷ [InstallerHash] → Encoding #

ToJSON SystemTag 
Instance details

Defined in Bcc.Chain.Update.SystemTag

Methods

toJSON ∷ SystemTag → Value #

toEncoding ∷ SystemTag → Encoding #

toJSONList ∷ [SystemTag] → Value #

toEncodingList ∷ [SystemTag] → Encoding #

ToJSON ProtocolParametersUpdate 
Instance details

Defined in Bcc.Chain.Update.ProtocolParametersUpdate

Methods

toJSON ∷ ProtocolParametersUpdate → Value #

toEncoding ∷ ProtocolParametersUpdate → Encoding #

toJSONList ∷ [ProtocolParametersUpdate] → Value #

toEncodingList ∷ [ProtocolParametersUpdate] → Encoding #

ToJSON SoftforkRule 
Instance details

Defined in Bcc.Chain.Update.SoftforkRule

Methods

toJSON ∷ SoftforkRule → Value #

toEncoding ∷ SoftforkRule → Encoding #

toJSONList ∷ [SoftforkRule] → Value #

toEncodingList ∷ [SoftforkRule] → Encoding #

ToJSON DnsName 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ DnsName → Value #

toEncoding ∷ DnsName → Encoding #

toJSONList ∷ [DnsName] → Value #

toEncodingList ∷ [DnsName] → Encoding #

ToJSON Port 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ Port → Value #

toEncoding ∷ Port → Encoding #

toJSONList ∷ [Port] → Value #

toEncodingList ∷ [Port] → Encoding #

ToJSON PositiveInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ PositiveInterval → Value #

toEncoding ∷ PositiveInterval → Encoding #

toJSONList ∷ [PositiveInterval] → Value #

toEncodingList ∷ [PositiveInterval] → Encoding #

ToJSON Url 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ Url → Value #

toEncoding ∷ Url → Encoding #

toJSONList ∷ [Url] → Value #

toEncodingList ∷ [Url] → Encoding #

ToJSON DeltaCoin Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ DeltaCoin → Value #

toEncoding ∷ DeltaCoin → Encoding #

toJSONList ∷ [DeltaCoin] → Value #

toEncodingList ∷ [DeltaCoin] → Encoding #

ToJSON AccountState Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ AccountState → Value #

toEncoding ∷ AccountState → Encoding #

toJSONList ∷ [AccountState] → Value #

toEncodingList ∷ [AccountState] → Encoding #

ToJSON RewardType Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ RewardType → Value #

toEncoding ∷ RewardType → Encoding #

toJSONList ∷ [RewardType] → Value #

toEncodingList ∷ [RewardType] → Encoding #

ToJSON SatInt 
Instance details

Defined in Data.SatInt

Methods

toJSON ∷ SatInt → Value #

toEncoding ∷ SatInt → Encoding #

toJSONList ∷ [SatInt] → Value #

toEncodingList ∷ [SatInt] → Encoding #

ToJSON CekMachineCosts 
Instance details

Defined in UntypedZerepochCore.Evaluation.Machine.Cek.CekMachineCosts

Methods

toJSON ∷ CekMachineCosts → Value #

toEncoding ∷ CekMachineCosts → Encoding #

toJSONList ∷ [CekMachineCosts] → Value #

toEncodingList ∷ [CekMachineCosts] → Encoding #

ToJSON ModelAddedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelAddedSizes → Value #

toEncoding ∷ ModelAddedSizes → Encoding #

toJSONList ∷ [ModelAddedSizes] → Value #

toEncodingList ∷ [ModelAddedSizes] → Encoding #

ToJSON ModelConstantOrLinear 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelConstantOrLinear → Value #

toEncoding ∷ ModelConstantOrLinear → Encoding #

toJSONList ∷ [ModelConstantOrLinear] → Value #

toEncodingList ∷ [ModelConstantOrLinear] → Encoding #

ToJSON ModelConstantOrTwoArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelConstantOrTwoArguments → Value #

toEncoding ∷ ModelConstantOrTwoArguments → Encoding #

toJSONList ∷ [ModelConstantOrTwoArguments] → Value #

toEncodingList ∷ [ModelConstantOrTwoArguments] → Encoding #

ToJSON ModelFiveArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelFiveArguments → Value #

toEncoding ∷ ModelFiveArguments → Encoding #

toJSONList ∷ [ModelFiveArguments] → Value #

toEncodingList ∷ [ModelFiveArguments] → Encoding #

ToJSON ModelFourArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelFourArguments → Value #

toEncoding ∷ ModelFourArguments → Encoding #

toJSONList ∷ [ModelFourArguments] → Value #

toEncodingList ∷ [ModelFourArguments] → Encoding #

ToJSON ModelLinearSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelLinearSize → Value #

toEncoding ∷ ModelLinearSize → Encoding #

toJSONList ∷ [ModelLinearSize] → Value #

toEncodingList ∷ [ModelLinearSize] → Encoding #

ToJSON ModelMaxSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelMaxSize → Value #

toEncoding ∷ ModelMaxSize → Encoding #

toJSONList ∷ [ModelMaxSize] → Value #

toEncodingList ∷ [ModelMaxSize] → Encoding #

ToJSON ModelMinSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelMinSize → Value #

toEncoding ∷ ModelMinSize → Encoding #

toJSONList ∷ [ModelMinSize] → Value #

toEncodingList ∷ [ModelMinSize] → Encoding #

ToJSON ModelMultipliedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelMultipliedSizes → Value #

toEncoding ∷ ModelMultipliedSizes → Encoding #

toJSONList ∷ [ModelMultipliedSizes] → Value #

toEncodingList ∷ [ModelMultipliedSizes] → Encoding #

ToJSON ModelOneArgument 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelOneArgument → Value #

toEncoding ∷ ModelOneArgument → Encoding #

toJSONList ∷ [ModelOneArgument] → Value #

toEncodingList ∷ [ModelOneArgument] → Encoding #

ToJSON ModelSixArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelSixArguments → Value #

toEncoding ∷ ModelSixArguments → Encoding #

toJSONList ∷ [ModelSixArguments] → Value #

toEncodingList ∷ [ModelSixArguments] → Encoding #

ToJSON ModelSubtractedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelSubtractedSizes → Value #

toEncoding ∷ ModelSubtractedSizes → Encoding #

toJSONList ∷ [ModelSubtractedSizes] → Value #

toEncodingList ∷ [ModelSubtractedSizes] → Encoding #

ToJSON ModelThreeArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelThreeArguments → Value #

toEncoding ∷ ModelThreeArguments → Encoding #

toJSONList ∷ [ModelThreeArguments] → Value #

toEncodingList ∷ [ModelThreeArguments] → Encoding #

ToJSON ModelTwoArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelTwoArguments → Value #

toEncoding ∷ ModelTwoArguments → Encoding #

toJSONList ∷ [ModelTwoArguments] → Value #

toEncodingList ∷ [ModelTwoArguments] → Encoding #

ToJSON ExMemory 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExMemory

Methods

toJSON ∷ ExMemory → Value #

toEncoding ∷ ExMemory → Encoding #

toJSONList ∷ [ExMemory] → Value #

toEncodingList ∷ [ExMemory] → Encoding #

ToJSON ExCPU 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExMemory

Methods

toJSON ∷ ExCPU → Value #

toEncoding ∷ ExCPU → Encoding #

toJSONList ∷ [ExCPU] → Value #

toEncodingList ∷ [ExCPU] → Encoding #

ToJSON Bcc 
Instance details

Defined in Zerepoch.V1.Ledger.Bcc

Methods

toJSON ∷ Bcc → Value #

toEncoding ∷ Bcc → Encoding #

toJSONList ∷ [Bcc] → Value #

toEncodingList ∷ [Bcc] → Encoding #

ToJSON LedgerBytes 
Instance details

Defined in Zerepoch.V1.Ledger.Bytes

Methods

toJSON ∷ LedgerBytes → Value #

toEncoding ∷ LedgerBytes → Encoding #

toJSONList ∷ [LedgerBytes] → Value #

toEncodingList ∷ [LedgerBytes] → Encoding #

ToJSON Signature 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

toJSON ∷ Signature → Value #

toEncoding ∷ Signature → Encoding #

toJSONList ∷ [Signature] → Value #

toEncodingList ∷ [Signature] → Encoding #

ToJSON PubKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

toJSON ∷ PubKey → Value #

toEncoding ∷ PubKey → Encoding #

toJSONList ∷ [PubKey] → Value #

toEncodingList ∷ [PubKey] → Encoding #

ToJSON PrivateKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

toJSON ∷ PrivateKey → Value #

toEncoding ∷ PrivateKey → Encoding #

toJSONList ∷ [PrivateKey] → Value #

toEncodingList ∷ [PrivateKey] → Encoding #

ToJSON Slot 
Instance details

Defined in Zerepoch.V1.Ledger.Slot

Methods

toJSON ∷ Slot → Value #

toEncoding ∷ Slot → Encoding #

toJSONList ∷ [Slot] → Value #

toEncodingList ∷ [Slot] → Encoding #

ToJSON DiffMilliSeconds 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

toJSON ∷ DiffMilliSeconds → Value #

toEncoding ∷ DiffMilliSeconds → Encoding #

toJSONList ∷ [DiffMilliSeconds] → Value #

toEncodingList ∷ [DiffMilliSeconds] → Encoding #

ToJSON RedeemerPtr 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ RedeemerPtr → Value #

toEncoding ∷ RedeemerPtr → Encoding #

toJSONList ∷ [RedeemerPtr] → Value #

toEncodingList ∷ [RedeemerPtr] → Encoding #

ToJSON ScriptTag 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ ScriptTag → Value #

toEncoding ∷ ScriptTag → Encoding #

toJSONList ∷ [ScriptTag] → Value #

toEncodingList ∷ [ScriptTag] → Encoding #

ToJSON Tx 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ Tx → Value #

toEncoding ∷ Tx → Encoding #

toJSONList ∷ [Tx] → Value #

toEncodingList ∷ [Tx] → Encoding #

ToJSON TxIn 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ TxIn → Value #

toEncoding ∷ TxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSON TxInType 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ TxInType → Value #

toEncoding ∷ TxInType → Encoding #

toJSONList ∷ [TxInType] → Value #

toEncodingList ∷ [TxInType] → Encoding #

ToJSON TxOutTx 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ TxOutTx → Value #

toEncoding ∷ TxOutTx → Encoding #

toJSONList ∷ [TxOutTx] → Value #

toEncodingList ∷ [TxOutTx] → Encoding #

ToJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

toJSON ∷ StudentT → Value #

toEncoding ∷ StudentT → Encoding #

toJSONList ∷ [StudentT] → Value #

toEncodingList ∷ [StudentT] → Encoding #

ToJSON TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelope → Value #

toEncodingTextEnvelope → Encoding #

toJSONList ∷ [TextEnvelope] → Value #

toEncodingList ∷ [TextEnvelope] → Encoding #

ToJSON TextEnvelopeDescr Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelopeDescr → Value #

toEncodingTextEnvelopeDescr → Encoding #

toJSONList ∷ [TextEnvelopeDescr] → Value #

toEncodingList ∷ [TextEnvelopeDescr] → Encoding #

ToJSON TextEnvelopeType Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelopeType → Value #

toEncodingTextEnvelopeType → Encoding #

toJSONList ∷ [TextEnvelopeType] → Value #

toEncodingList ∷ [TextEnvelopeType] → Encoding #

ToJSON TxSubmitStatus Source # 
Instance details

Defined in Bcc.Api.TxSubmit.Types

Methods

toJSONTxSubmitStatus → Value #

toEncodingTxSubmitStatus → Encoding #

toJSONList ∷ [TxSubmitStatus] → Value #

toEncodingList ∷ [TxSubmitStatus] → Encoding #

ToJSON ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toJSONScriptHash → Value #

toEncodingScriptHash → Encoding #

toJSONList ∷ [ScriptHash] → Value #

toEncodingList ∷ [ScriptHash] → Encoding #

ToJSON ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toJSONExecutionUnits → Value #

toEncodingExecutionUnits → Encoding #

toJSONList ∷ [ExecutionUnits] → Value #

toEncodingList ∷ [ExecutionUnits] → Encoding #

ToJSON AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

ToJSON ValueNestedRep Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONValueNestedRep → Value #

toEncodingValueNestedRep → Encoding #

toJSONList ∷ [ValueNestedRep] → Value #

toEncodingList ∷ [ValueNestedRep] → Encoding #

ToJSON Value Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONValue → Value0 #

toEncodingValue → Encoding #

toJSONList ∷ [Value] → Value0 #

toEncodingList ∷ [Value] → Encoding #

ToJSON AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONAssetName → Value #

toEncodingAssetName → Encoding #

toJSONList ∷ [AssetName] → Value #

toEncodingList ∷ [AssetName] → Encoding #

ToJSON PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONPolicyId → Value #

toEncodingPolicyId → Encoding #

toJSONList ∷ [PolicyId] → Value #

toEncodingList ∷ [PolicyId] → Encoding #

ToJSON Quantity Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONQuantity → Value #

toEncodingQuantity → Encoding #

toJSONList ∷ [Quantity] → Value #

toEncodingList ∷ [Quantity] → Encoding #

ToJSON Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONEntropic → Value #

toEncodingEntropic → Encoding #

toJSONList ∷ [Entropic] → Value #

toEncodingList ∷ [Entropic] → Encoding #

ToJSON CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toJSONCostModel → Value #

toEncodingCostModel → Encoding #

toJSONList ∷ [CostModel] → Value #

toEncodingList ∷ [CostModel] → Encoding #

ToJSON ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toJSONExecutionUnitPrices → Value #

toEncodingExecutionUnitPrices → Encoding #

toJSONList ∷ [ExecutionUnitPrices] → Value #

toEncodingList ∷ [ExecutionUnitPrices] → Encoding #

ToJSON OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toJSONOptimumNonce → Value #

toEncodingOptimumNonce → Encoding #

toJSONList ∷ [OptimumNonce] → Value #

toEncodingList ∷ [OptimumNonce] → Encoding #

ToJSON ProtocolParameters Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toJSONProtocolParameters → Value #

toEncodingProtocolParameters → Encoding #

toJSONList ∷ [ProtocolParameters] → Value #

toEncodingList ∷ [ProtocolParameters] → Encoding #

ToJSON TxIx Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxIx → Value #

toEncodingTxIx → Encoding #

toJSONList ∷ [TxIx] → Value #

toEncodingList ∷ [TxIx] → Encoding #

ToJSON TxIn Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxIn → Value #

toEncodingTxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSON TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxId → Value #

toEncodingTxId → Encoding #

toJSONList ∷ [TxId] → Value #

toEncodingList ∷ [TxId] → Encoding #

ToJSON ChainTip Source # 
Instance details

Defined in Bcc.Api.Block

Methods

toJSONChainTip → Value #

toEncodingChainTip → Encoding #

toJSONList ∷ [ChainTip] → Value #

toEncodingList ∷ [ChainTip] → Encoding #

ToJSON a ⇒ ToJSON [a] 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ [a] → Value #

toEncoding ∷ [a] → Encoding #

toJSONList ∷ [[a]] → Value #

toEncodingList ∷ [[a]] → Encoding #

ToJSON a ⇒ ToJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMaybe a → Value #

toEncodingMaybe a → Encoding #

toJSONList ∷ [Maybe a] → Value #

toEncodingList ∷ [Maybe a] → Encoding #

(ToJSON a, Integral a) ⇒ ToJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONRatio a → Value #

toEncodingRatio a → Encoding #

toJSONList ∷ [Ratio a] → Value #

toEncodingList ∷ [Ratio a] → Encoding #

ToJSON a ⇒ ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFirst a → Value #

toEncodingFirst a → Encoding #

toJSONList ∷ [First a] → Value #

toEncodingList ∷ [First a] → Encoding #

ToJSON a ⇒ ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLast a → Value #

toEncodingLast a → Encoding #

toJSONList ∷ [Last a] → Value #

toEncodingList ∷ [Last a] → Encoding #

ToJSON a ⇒ ToJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSet a → Value #

toEncodingSet a → Encoding #

toJSONList ∷ [Set a] → Value #

toEncodingList ∷ [Set a] → Encoding #

ToJSON a ⇒ ToJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNonEmpty a → Value #

toEncodingNonEmpty a → Encoding #

toJSONList ∷ [NonEmpty a] → Value #

toEncodingList ∷ [NonEmpty a] → Encoding #

ToJSON a ⇒ ToJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIdentity a → Value #

toEncodingIdentity a → Encoding #

toJSONList ∷ [Identity a] → Value #

toEncodingList ∷ [Identity a] → Encoding #

ToJSON a ⇒ ToJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMin a → Value #

toEncodingMin a → Encoding #

toJSONList ∷ [Min a] → Value #

toEncodingList ∷ [Min a] → Encoding #

ToJSON a ⇒ ToJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMax a → Value #

toEncodingMax a → Encoding #

toJSONList ∷ [Max a] → Value #

toEncodingList ∷ [Max a] → Encoding #

ToJSON a ⇒ ToJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWrappedMonoid a → Value #

toEncodingWrappedMonoid a → Encoding #

toJSONList ∷ [WrappedMonoid a] → Value #

toEncodingList ∷ [WrappedMonoid a] → Encoding #

ToJSON a ⇒ ToJSON (Option a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONOption a → Value #

toEncodingOption a → Encoding #

toJSONList ∷ [Option a] → Value #

toEncodingList ∷ [Option a] → Encoding #

ToJSON a ⇒ ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFirst a → Value #

toEncodingFirst a → Encoding #

toJSONList ∷ [First a] → Value #

toEncodingList ∷ [First a] → Encoding #

ToJSON a ⇒ ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLast a → Value #

toEncodingLast a → Encoding #

toJSONList ∷ [Last a] → Value #

toEncodingList ∷ [Last a] → Encoding #

ToJSON a ⇒ ToJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDual a → Value #

toEncodingDual a → Encoding #

toJSONList ∷ [Dual a] → Value #

toEncodingList ∷ [Dual a] → Encoding #

ToJSON a ⇒ ToJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIntMap a → Value #

toEncodingIntMap a → Encoding #

toJSONList ∷ [IntMap a] → Value #

toEncodingList ∷ [IntMap a] → Encoding #

ToJSON v ⇒ ToJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONTree v → Value #

toEncodingTree v → Encoding #

toJSONList ∷ [Tree v] → Value #

toEncodingList ∷ [Tree v] → Encoding #

ToJSON a ⇒ ToJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSeq a → Value #

toEncodingSeq a → Encoding #

toJSONList ∷ [Seq a] → Value #

toEncodingList ∷ [Seq a] → Encoding #

(Vector Vector a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

ToJSON a ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

ToJSON1 f ⇒ ToJSON (Fix f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Fix f → Value #

toEncoding ∷ Fix f → Encoding #

toJSONList ∷ [Fix f] → Value #

toEncodingList ∷ [Fix f] → Encoding #

(ToJSON1 f, Functor f) ⇒ ToJSON (Mu f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Mu f → Value #

toEncoding ∷ Mu f → Encoding #

toJSONList ∷ [Mu f] → Value #

toEncodingList ∷ [Mu f] → Encoding #

(ToJSON1 f, Functor f) ⇒ ToJSON (Nu f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Nu f → Value #

toEncoding ∷ Nu f → Encoding #

toJSONList ∷ [Nu f] → Value #

toEncodingList ∷ [Nu f] → Encoding #

ToJSON a ⇒ ToJSON (DNonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DNonEmpty a → Value #

toEncoding ∷ DNonEmpty a → Encoding #

toJSONList ∷ [DNonEmpty a] → Value #

toEncodingList ∷ [DNonEmpty a] → Encoding #

ToJSON a ⇒ ToJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DList a → Value #

toEncoding ∷ DList a → Encoding #

toJSONList ∷ [DList a] → Value #

toEncodingList ∷ [DList a] → Encoding #

ToJSON a ⇒ ToJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Array a → Value #

toEncoding ∷ Array a → Encoding #

toJSONList ∷ [Array a] → Value #

toEncodingList ∷ [Array a] → Encoding #

(Prim a, ToJSON a) ⇒ ToJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ PrimArray a → Value #

toEncoding ∷ PrimArray a → Encoding #

toJSONList ∷ [PrimArray a] → Value #

toEncodingList ∷ [PrimArray a] → Encoding #

ToJSON a ⇒ ToJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ SmallArray a → Value #

toEncoding ∷ SmallArray a → Encoding #

toJSONList ∷ [SmallArray a] → Value #

toEncodingList ∷ [SmallArray a] → Encoding #

ToJSON a ⇒ ToJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Maybe a → Value #

toEncoding ∷ Maybe a → Encoding #

toJSONList ∷ [Maybe a] → Value #

toEncodingList ∷ [Maybe a] → Encoding #

ToJSON a ⇒ ToJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ HashSet a → Value #

toEncoding ∷ HashSet a → Encoding #

toJSONList ∷ [HashSet a] → Value #

toEncodingList ∷ [HashSet a] → Encoding #

(Prim a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

(Storable a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

(ToJSON (PParamsDelta era), UsesPParams era) ⇒ ToJSON (PPUPState era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PPUPState era → Value #

toEncoding ∷ PPUPState era → Encoding #

toJSONList ∷ [PPUPState era] → Value #

toEncodingList ∷ [PPUPState era] → Encoding #

ToJSON a ⇒ ToJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

toJSON ∷ StrictMaybe a → Value #

toEncoding ∷ StrictMaybe a → Encoding #

toJSONList ∷ [StrictMaybe a] → Value #

toEncodingList ∷ [StrictMaybe a] → Encoding #

(SophieBasedEra era, ToJSON (TxOut era), ToJSON (PParamsDelta era)) ⇒ ToJSON (UTxOState era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ UTxOState era → Value #

toEncoding ∷ UTxOState era → Encoding #

toJSONList ∷ [UTxOState era] → Value #

toEncodingList ∷ [UTxOState era] → Encoding #

Crypto crypto ⇒ ToJSON (DPState crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ DPState crypto → Value #

toEncoding ∷ DPState crypto → Encoding #

toJSONList ∷ [DPState crypto] → Value #

toEncodingList ∷ [DPState crypto] → Encoding #

ToJSON (PParamsUpdate (AurumEra StandardCrypto)) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PParamsUpdate (AurumEra StandardCrypto) → Value #

toEncoding ∷ PParamsUpdate (AurumEra StandardCrypto) → Encoding #

toJSONList ∷ [PParamsUpdate (AurumEra StandardCrypto)] → Value #

toEncodingList ∷ [PParamsUpdate (AurumEra StandardCrypto)] → Encoding #

ToJSON (PParams era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PParams era → Value #

toEncoding ∷ PParams era → Encoding #

toJSONList ∷ [PParams era] → Value #

toEncodingList ∷ [PParams era] → Encoding #

ToJSON (PParams era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

toJSON ∷ PParams era → Value #

toEncoding ∷ PParams era → Encoding #

toJSONList ∷ [PParams era] → Value #

toEncodingList ∷ [PParams era] → Encoding #

ToJSON (PParamsUpdate era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PParamsUpdate era → Value #

toEncoding ∷ PParamsUpdate era → Encoding #

toJSONList ∷ [PParamsUpdate era] → Value #

toEncodingList ∷ [PParamsUpdate era] → Encoding #

Crypto crypto ⇒ ToJSON (ScriptHash crypto) 
Instance details

Defined in Bcc.Ledger.Hashes

Methods

toJSON ∷ ScriptHash crypto → Value #

toEncoding ∷ ScriptHash crypto → Encoding #

toJSONList ∷ [ScriptHash crypto] → Value #

toEncodingList ∷ [ScriptHash crypto] → Encoding #

(SophieBasedEra era, ToJSON (TxOut era), ToJSON (PParams era), ToJSON (PParamsDelta era)) ⇒ ToJSON (EpochState era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ EpochState era → Value #

toEncoding ∷ EpochState era → Encoding #

toJSONList ∷ [EpochState era] → Value #

toEncodingList ∷ [EpochState era] → Encoding #

(SophieBasedEra era, ToJSON (TxOut era), ToJSON (PParamsDelta era)) ⇒ ToJSON (LedgerState era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ LedgerState era → Value #

toEncoding ∷ LedgerState era → Encoding #

toJSONList ∷ [LedgerState era] → Value #

toEncodingList ∷ [LedgerState era] → Encoding #

(SophieBasedEra era, ToJSON (Value era)) ⇒ ToJSON (TxOut era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ TxOut era → Value #

toEncoding ∷ TxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

ToJSON (Addr crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

toJSON ∷ Addr crypto → Value #

toEncoding ∷ Addr crypto → Encoding #

toJSONList ∷ [Addr crypto] → Value #

toEncodingList ∷ [Addr crypto] → Encoding #

Crypto crypto ⇒ ToJSON (BlocksMade crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

toJSON ∷ BlocksMade crypto → Value #

toEncoding ∷ BlocksMade crypto → Encoding #

toJSONList ∷ [BlocksMade crypto] → Value #

toEncodingList ∷ [BlocksMade crypto] → Encoding #

Crypto crypto ⇒ ToJSON (SnapShots crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ SnapShots crypto → Value #

toEncoding ∷ SnapShots crypto → Encoding #

toJSONList ∷ [SnapShots crypto] → Value #

toEncodingList ∷ [SnapShots crypto] → Encoding #

Crypto crypto ⇒ ToJSON (NonMyopic crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ NonMyopic crypto → Value #

toEncoding ∷ NonMyopic crypto → Encoding #

toJSONList ∷ [NonMyopic crypto] → Value #

toEncodingList ∷ [NonMyopic crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PulsingRewUpdate crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PulsingRewUpdate crypto → Value #

toEncoding ∷ PulsingRewUpdate crypto → Encoding #

toJSONList ∷ [PulsingRewUpdate crypto] → Value #

toEncodingList ∷ [PulsingRewUpdate crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PoolDistr crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PoolDistr crypto → Value #

toEncoding ∷ PoolDistr crypto → Encoding #

toJSONList ∷ [PoolDistr crypto] → Value #

toEncodingList ∷ [PoolDistr crypto] → Encoding #

(ToJSON (PParamsDelta era), UsesPParams era) ⇒ ToJSON (ProposedPPUpdates era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ ProposedPPUpdates era → Value #

toEncoding ∷ ProposedPPUpdates era → Encoding #

toJSONList ∷ [ProposedPPUpdates era] → Value #

toEncodingList ∷ [ProposedPPUpdates era] → Encoding #

Era era ⇒ ToJSON (SophieGenesis era) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

toJSONSophieGenesis era → Value #

toEncodingSophieGenesis era → Encoding #

toJSONList ∷ [SophieGenesis era] → Value #

toEncodingList ∷ [SophieGenesis era] → Encoding #

Crypto crypto ⇒ ToJSON (GenDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toJSON ∷ GenDelegPair crypto → Value #

toEncoding ∷ GenDelegPair crypto → Encoding #

toJSONList ∷ [GenDelegPair crypto] → Value #

toEncodingList ∷ [GenDelegPair crypto] → Encoding #

Crypto crypto ⇒ ToJSON (VestedDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toJSON ∷ VestedDelegPair crypto → Value #

toEncoding ∷ VestedDelegPair crypto → Encoding #

toJSONList ∷ [VestedDelegPair crypto] → Value #

toEncodingList ∷ [VestedDelegPair crypto] → Encoding #

Crypto crypto ⇒ ToJSON (SophieGenesisStaking crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

toJSON ∷ SophieGenesisStaking crypto → Value #

toEncoding ∷ SophieGenesisStaking crypto → Encoding #

toJSONList ∷ [SophieGenesisStaking crypto] → Value #

toEncodingList ∷ [SophieGenesisStaking crypto] → Encoding #

(SophieBasedEra era, ToJSON (TxOut era)) ⇒ ToJSON (UTxO era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ UTxO era → Value #

toEncoding ∷ UTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

Crypto crypto ⇒ ToJSON (TxIn crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ TxIn crypto → Value #

toEncoding ∷ TxIn crypto → Encoding #

toJSONList ∷ [TxIn crypto] → Value #

toEncodingList ∷ [TxIn crypto] → Encoding #

(Era era, Show (Value era), ToJSON (Value era)) ⇒ ToJSON (TxOut era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ TxOut era → Value #

toEncoding ∷ TxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

ToJSON (Value era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Value era → Value0 #

toEncoding ∷ Value era → Encoding #

toJSONList ∷ [Value era] → Value0 #

toEncodingList ∷ [Value era] → Encoding #

ToJSON (PolicyID era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PolicyID era → Value #

toEncoding ∷ PolicyID era → Encoding #

toJSONList ∷ [PolicyID era] → Value #

toEncodingList ∷ [PolicyID era] → Encoding #

Crypto crypto ⇒ ToJSON (PState crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PState crypto → Value #

toEncoding ∷ PState crypto → Encoding #

toJSONList ∷ [PState crypto] → Value #

toEncodingList ∷ [PState crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PoolParams crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toJSON ∷ PoolParams crypto → Value #

toEncoding ∷ PoolParams crypto → Encoding #

toJSONList ∷ [PoolParams crypto] → Value #

toEncodingList ∷ [PoolParams crypto] → Encoding #

Crypto crypto ⇒ ToJSON (InstantaneousRewards crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ InstantaneousRewards crypto → Value #

toEncoding ∷ InstantaneousRewards crypto → Encoding #

toJSONList ∷ [InstantaneousRewards crypto] → Value #

toEncodingList ∷ [InstantaneousRewards crypto] → Encoding #

Crypto crypto ⇒ ToJSON (SnapShot crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ SnapShot crypto → Value #

toEncoding ∷ SnapShot crypto → Encoding #

toJSONList ∷ [SnapShot crypto] → Value #

toEncodingList ∷ [SnapShot crypto] → Encoding #

Crypto crypto ⇒ ToJSON (FutureGenDeleg crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ FutureGenDeleg crypto → Value #

toEncoding ∷ FutureGenDeleg crypto → Encoding #

toJSONList ∷ [FutureGenDeleg crypto] → Value #

toEncodingList ∷ [FutureGenDeleg crypto] → Encoding #

Crypto crypto ⇒ ToJSON (DState crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ DState crypto → Value #

toEncoding ∷ DState crypto → Encoding #

toJSONList ∷ [DState crypto] → Value #

toEncodingList ∷ [DState crypto] → Encoding #

Crypto crypto ⇒ ToJSON (IndividualPoolStake crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ IndividualPoolStake crypto → Value #

toEncoding ∷ IndividualPoolStake crypto → Encoding #

toJSONList ∷ [IndividualPoolStake crypto] → Value #

toEncodingList ∷ [IndividualPoolStake crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardProvenance crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

toJSON ∷ RewardProvenance crypto → Value #

toEncoding ∷ RewardProvenance crypto → Encoding #

toJSONList ∷ [RewardProvenance crypto] → Value #

toEncodingList ∷ [RewardProvenance crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardProvenancePool crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

toJSON ∷ RewardProvenancePool crypto → Value #

toEncoding ∷ RewardProvenancePool crypto → Encoding #

toJSONList ∷ [RewardProvenancePool crypto] → Value #

toEncodingList ∷ [RewardProvenancePool crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardAcnt crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

toJSON ∷ RewardAcnt crypto → Value #

toEncoding ∷ RewardAcnt crypto → Encoding #

toJSONList ∷ [RewardAcnt crypto] → Value #

toEncodingList ∷ [RewardAcnt crypto] → Encoding #

ToJSON (BccEra era) Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

toJSONBccEra era → Value #

toEncodingBccEra era → Encoding #

toJSONList ∷ [BccEra era] → Value #

toEncodingList ∷ [BccEra era] → Encoding #

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toJSONHash StakePoolKey → Value #

toEncodingHash StakePoolKey → Encoding #

toJSONList ∷ [Hash StakePoolKey] → Value #

toEncodingList ∷ [Hash StakePoolKey] → Encoding #

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

toJSONHash ScriptData → Value #

toEncodingHash ScriptData → Encoding #

toJSONList ∷ [Hash ScriptData] → Value #

toEncodingList ∷ [Hash ScriptData] → Encoding #

ToJSON a ⇒ ToJSON (AHeader a) 
Instance details

Defined in Bcc.Chain.Block.Header

Methods

toJSON ∷ AHeader a → Value #

toEncoding ∷ AHeader a → Encoding #

toJSONList ∷ [AHeader a] → Value #

toEncodingList ∷ [AHeader a] → Encoding #

ToJSON a ⇒ ToJSON (ATxAux a) 
Instance details

Defined in Bcc.Chain.UTxO.TxAux

Methods

toJSON ∷ ATxAux a → Value #

toEncoding ∷ ATxAux a → Encoding #

toJSONList ∷ [ATxAux a] → Value #

toEncodingList ∷ [ATxAux a] → Encoding #

ToJSON a ⇒ ToJSON (ACertificate a) 
Instance details

Defined in Bcc.Chain.Delegation.Certificate

Methods

toJSON ∷ ACertificate a → Value #

toEncoding ∷ ACertificate a → Encoding #

toJSONList ∷ [ACertificate a] → Value #

toEncodingList ∷ [ACertificate a] → Encoding #

ToJSON a ⇒ ToJSON (AProposal a) 
Instance details

Defined in Bcc.Chain.Update.Proposal

Methods

toJSON ∷ AProposal a → Value #

toEncoding ∷ AProposal a → Encoding #

toJSONList ∷ [AProposal a] → Value #

toEncodingList ∷ [AProposal a] → Encoding #

ToJSON a ⇒ ToJSON (AVote a) 
Instance details

Defined in Bcc.Chain.Update.Vote

Methods

toJSON ∷ AVote a → Value #

toEncoding ∷ AVote a → Encoding #

toJSONList ∷ [AVote a] → Value #

toEncodingList ∷ [AVote a] → Encoding #

ToJSON a ⇒ ToJSON (ABlockOrBoundary a) 
Instance details

Defined in Bcc.Chain.Block.Block

Methods

toJSON ∷ ABlockOrBoundary a → Value #

toEncoding ∷ ABlockOrBoundary a → Encoding #

toJSONList ∷ [ABlockOrBoundary a] → Value #

toEncodingList ∷ [ABlockOrBoundary a] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryHeader a) 
Instance details

Defined in Bcc.Chain.Block.Header

Methods

toJSON ∷ ABoundaryHeader a → Value #

toEncoding ∷ ABoundaryHeader a → Encoding #

toJSONList ∷ [ABoundaryHeader a] → Value #

toEncodingList ∷ [ABoundaryHeader a] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryBlock a) 
Instance details

Defined in Bcc.Chain.Block.Block

Methods

toJSON ∷ ABoundaryBlock a → Value #

toEncoding ∷ ABoundaryBlock a → Encoding #

toJSONList ∷ [ABoundaryBlock a] → Value #

toEncodingList ∷ [ABoundaryBlock a] → Encoding #

ToJSON a ⇒ ToJSON (ABlock a) 
Instance details

Defined in Bcc.Chain.Block.Block

Methods

toJSON ∷ ABlock a → Value #

toEncoding ∷ ABlock a → Encoding #

toJSONList ∷ [ABlock a] → Value #

toEncodingList ∷ [ABlock a] → Encoding #

ToJSON a ⇒ ToJSON (RedeemSignature a) 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Signature

Methods

toJSON ∷ RedeemSignature a → Value #

toEncoding ∷ RedeemSignature a → Encoding #

toJSONList ∷ [RedeemSignature a] → Value #

toEncodingList ∷ [RedeemSignature a] → Encoding #

ToJSON (Signature w) 
Instance details

Defined in Bcc.Crypto.Signing.Signature

Methods

toJSON ∷ Signature w → Value #

toEncoding ∷ Signature w → Encoding #

toJSONList ∷ [Signature w] → Value #

toEncodingList ∷ [Signature w] → Encoding #

Crypto crypto ⇒ ToJSON (GenDelegs crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ GenDelegs crypto → Value #

toEncoding ∷ GenDelegs crypto → Encoding #

toJSONList ∷ [GenDelegs crypto] → Value #

toEncodingList ∷ [GenDelegs crypto] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryBody a) 
Instance details

Defined in Bcc.Chain.Block.Block

Methods

toJSON ∷ ABoundaryBody a → Value #

toEncoding ∷ ABoundaryBody a → Encoding #

toJSONList ∷ [ABoundaryBody a] → Value #

toEncodingList ∷ [ABoundaryBody a] → Encoding #

ToJSON a ⇒ ToJSON (ABody a) 
Instance details

Defined in Bcc.Chain.Block.Body

Methods

toJSON ∷ ABody a → Value #

toEncoding ∷ ABody a → Encoding #

toJSONList ∷ [ABody a] → Value #

toEncodingList ∷ [ABody a] → Encoding #

ToJSON a ⇒ ToJSON (APayload a) 
Instance details

Defined in Bcc.Chain.Delegation.Payload

Methods

toJSON ∷ APayload a → Value #

toEncoding ∷ APayload a → Encoding #

toJSONList ∷ [APayload a] → Value #

toEncodingList ∷ [APayload a] → Encoding #

ToJSON a ⇒ ToJSON (ABlockSignature a) 
Instance details

Defined in Bcc.Chain.Block.Header

Methods

toJSON ∷ ABlockSignature a → Value #

toEncoding ∷ ABlockSignature a → Encoding #

toJSONList ∷ [ABlockSignature a] → Value #

toEncodingList ∷ [ABlockSignature a] → Encoding #

ToJSON a ⇒ ToJSON (ATxPayload a) 
Instance details

Defined in Bcc.Chain.UTxO.TxPayload

Methods

toJSON ∷ ATxPayload a → Value #

toEncoding ∷ ATxPayload a → Encoding #

toJSONList ∷ [ATxPayload a] → Value #

toEncodingList ∷ [ATxPayload a] → Encoding #

ToJSON a ⇒ ToJSON (APayload a) 
Instance details

Defined in Bcc.Chain.Update.Payload

Methods

toJSON ∷ APayload a → Value #

toEncoding ∷ APayload a → Encoding #

toJSONList ∷ [APayload a] → Value #

toEncodingList ∷ [APayload a] → Encoding #

ToJSON a ⇒ ToJSON (Attributes a) 
Instance details

Defined in Bcc.Chain.Common.Attributes

Methods

toJSON ∷ Attributes a → Value #

toEncoding ∷ Attributes a → Encoding #

toJSONList ∷ [Attributes a] → Value #

toEncodingList ∷ [Attributes a] → Encoding #

ToJSON a ⇒ ToJSON (MerkleRoot a) 
Instance details

Defined in Bcc.Chain.Common.Merkle

Methods

toJSON ∷ MerkleRoot a → Value #

toEncoding ∷ MerkleRoot a → Encoding #

toJSONList ∷ [MerkleRoot a] → Value #

toEncodingList ∷ [MerkleRoot a] → Encoding #

Crypto crypto ⇒ ToJSON (Stake crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Stake crypto → Value #

toEncoding ∷ Stake crypto → Encoding #

toJSONList ∷ [Stake crypto] → Value #

toEncodingList ∷ [Stake crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardUpdate crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ RewardUpdate crypto → Value #

toEncoding ∷ RewardUpdate crypto → Encoding #

toJSONList ∷ [RewardUpdate crypto] → Value #

toEncodingList ∷ [RewardUpdate crypto] → Encoding #

Crypto crypto ⇒ ToJSON (Reward crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Reward crypto → Value #

toEncoding ∷ Reward crypto → Encoding #

toJSONList ∷ [Reward crypto] → Value #

toEncodingList ∷ [Reward crypto] → Encoding #

Crypto crypto ⇒ ToJSON (StakeCreds crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toJSON ∷ StakeCreds crypto → Value #

toEncoding ∷ StakeCreds crypto → Encoding #

toJSONList ∷ [StakeCreds crypto] → Value #

toEncodingList ∷ [StakeCreds crypto] → Encoding #

ToJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ BuiltinCostModelBase CostingFun → Value #

toEncoding ∷ BuiltinCostModelBase CostingFun → Encoding #

toJSONList ∷ [BuiltinCostModelBase CostingFun] → Value #

toEncodingList ∷ [BuiltinCostModelBase CostingFun] → Encoding #

ToJSON model ⇒ ToJSON (CostingFun model) 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ CostingFun model → Value #

toEncoding ∷ CostingFun model → Encoding #

toJSONList ∷ [CostingFun model] → Value #

toEncodingList ∷ [CostingFun model] → Encoding #

ToJSON a ⇒ ToJSON (Interval a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

toJSON ∷ Interval a → Value #

toEncoding ∷ Interval a → Encoding #

toJSONList ∷ [Interval a] → Value #

toEncodingList ∷ [Interval a] → Encoding #

ToJSON a ⇒ ToJSON (Extended a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

toJSON ∷ Extended a → Value #

toEncoding ∷ Extended a → Encoding #

toJSONList ∷ [Extended a] → Value #

toEncodingList ∷ [Extended a] → Encoding #

ToJSON a ⇒ ToJSON (LowerBound a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

toJSON ∷ LowerBound a → Value #

toEncoding ∷ LowerBound a → Encoding #

toJSONList ∷ [LowerBound a] → Value #

toEncodingList ∷ [LowerBound a] → Encoding #

ToJSON a ⇒ ToJSON (UpperBound a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

toJSON ∷ UpperBound a → Value #

toEncoding ∷ UpperBound a → Encoding #

toJSONList ∷ [UpperBound a] → Value #

toEncodingList ∷ [UpperBound a] → Encoding #

ToJSON a ⇒ ToJSON (Ratio a) 
Instance details

Defined in ZerepochTx.Ratio

Methods

toJSON ∷ Ratio a → Value #

toEncoding ∷ Ratio a → Encoding #

toJSONList ∷ [Ratio a] → Value #

toEncodingList ∷ [Ratio a] → Encoding #

ToJSON d ⇒ ToJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

Methods

toJSON ∷ LinearTransform d → Value #

toEncoding ∷ LinearTransform d → Encoding #

toJSONList ∷ [LinearTransform d] → Value #

toEncodingList ∷ [LinearTransform d] → Encoding #

SerialiseAsBech32 a ⇒ ToJSON (UsingBech32 a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

toJSONUsingBech32 a → Value #

toEncodingUsingBech32 a → Encoding #

toJSONList ∷ [UsingBech32 a] → Value #

toEncodingList ∷ [UsingBech32 a] → Encoding #

SerialiseAsRawBytes a ⇒ ToJSON (UsingRawBytesHex a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

toJSONUsingRawBytesHex a → Value #

toEncodingUsingRawBytesHex a → Encoding #

toJSONList ∷ [UsingRawBytesHex a] → Value #

toEncodingList ∷ [UsingRawBytesHex a] → Encoding #

ToJSON (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toJSONSimpleScript lang → Value #

toEncodingSimpleScript lang → Encoding #

toJSONList ∷ [SimpleScript lang] → Value #

toEncodingList ∷ [SimpleScript lang] → Encoding #

IsBccEra era ⇒ ToJSON (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

toJSONAddressInEra era → Value #

toEncodingAddressInEra era → Encoding #

toJSONList ∷ [AddressInEra era] → Value #

toEncodingList ∷ [AddressInEra era] → Encoding #

ToJSON (TxOutValue era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxOutValue era → Value #

toEncodingTxOutValue era → Encoding #

toJSONList ∷ [TxOutValue era] → Value #

toEncodingList ∷ [TxOutValue era] → Encoding #

ToJSON (MultiAssetSupportedInEra era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONMultiAssetSupportedInEra era → Value #

toEncodingMultiAssetSupportedInEra era → Encoding #

toJSONList ∷ [MultiAssetSupportedInEra era] → Value #

toEncodingList ∷ [MultiAssetSupportedInEra era] → Encoding #

IsBccEra era ⇒ ToJSON (TxOut era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxOut era → Value #

toEncodingTxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

(IsSophieBasedEra era, SophieLedgerEra era ~ ledgerera, SophieBasedEra ledgerera, ToJSON (PParams ledgerera), ToJSON (PParamsDelta ledgerera), ToJSON (TxOut ledgerera)) ⇒ ToJSON (DebugLedgerState era) Source # 
Instance details

Defined in Bcc.Api.Query

Methods

toJSONDebugLedgerState era → Value #

toEncodingDebugLedgerState era → Encoding #

toJSONList ∷ [DebugLedgerState era] → Value #

toEncodingList ∷ [DebugLedgerState era] → Encoding #

IsBccEra era ⇒ ToJSON (UTxO era) Source # 
Instance details

Defined in Bcc.Api.Query

Methods

toJSONUTxO era → Value #

toEncodingUTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONEither a b → Value #

toEncodingEither a b → Encoding #

toJSONList ∷ [Either a b] → Value #

toEncodingList ∷ [Either a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b) → Value #

toEncoding ∷ (a, b) → Encoding #

toJSONList ∷ [(a, b)] → Value #

toEncodingList ∷ [(a, b)] → Encoding #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMap k v → Value #

toEncodingMap k v → Encoding #

toJSONList ∷ [Map k v] → Value #

toEncodingList ∷ [Map k v] → Encoding #

ToJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONProxy a → Value #

toEncodingProxy a → Encoding #

toJSONList ∷ [Proxy a] → Value #

toEncodingList ∷ [Proxy a] → Encoding #

HasResolution a ⇒ ToJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFixed a → Value #

toEncodingFixed a → Encoding #

toJSONList ∷ [Fixed a] → Value #

toEncodingList ∷ [Fixed a] → Encoding #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ HashMap k v → Value #

toEncoding ∷ HashMap k v → Encoding #

toJSONList ∷ [HashMap k v] → Value #

toEncodingList ∷ [HashMap k v] → Encoding #

ToJSON b ⇒ ToJSON (Annotated b a) 
Instance details

Defined in Bcc.Binary.Annotated

Methods

toJSON ∷ Annotated b a → Value #

toEncoding ∷ Annotated b a → Encoding #

toJSONList ∷ [Annotated b a] → Value #

toEncodingList ∷ [Annotated b a] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Either a b → Value #

toEncoding ∷ Either a b → Encoding #

toJSONList ∷ [Either a b] → Value #

toEncodingList ∷ [Either a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These a b → Value #

toEncoding ∷ These a b → Encoding #

toJSONList ∷ [These a b] → Value #

toEncodingList ∷ [These a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These a b → Value #

toEncoding ∷ These a b → Encoding #

toJSONList ∷ [These a b] → Value #

toEncodingList ∷ [These a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Pair a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Pair a b → Value #

toEncoding ∷ Pair a b → Encoding #

toJSONList ∷ [Pair a b] → Value #

toEncodingList ∷ [Pair a b] → Encoding #

HashAlgorithm h ⇒ ToJSON (Hash h a) 
Instance details

Defined in Bcc.Crypto.Hash.Class

Methods

toJSON ∷ Hash h a → Value #

toEncoding ∷ Hash h a → Encoding #

toJSONList ∷ [Hash h a] → Value #

toEncodingList ∷ [Hash h a] → Encoding #

Crypto crypto ⇒ ToJSON (KeyHash disc crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toJSON ∷ KeyHash disc crypto → Value #

toEncoding ∷ KeyHash disc crypto → Encoding #

toJSONList ∷ [KeyHash disc crypto] → Value #

toEncodingList ∷ [KeyHash disc crypto] → Encoding #

Crypto c ⇒ ToJSON (SafeHash c a) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ SafeHash c a → Value #

toEncoding ∷ SafeHash c a → Encoding #

toJSONList ∷ [SafeHash c a] → Value #

toEncodingList ∷ [SafeHash c a] → Encoding #

Crypto crypto ⇒ ToJSON (Credential kr crypto) 
Instance details

Defined in Bcc.Ledger.Credential

Methods

toJSON ∷ Credential kr crypto → Value #

toEncoding ∷ Credential kr crypto → Encoding #

toJSONList ∷ [Credential kr crypto] → Value #

toEncodingList ∷ [Credential kr crypto] → Encoding #

ToJSON (AbstractHash algo a) 
Instance details

Defined in Bcc.Crypto.Hashing

Methods

toJSON ∷ AbstractHash algo a → Value #

toEncoding ∷ AbstractHash algo a → Encoding #

toJSONList ∷ [AbstractHash algo a] → Value #

toEncodingList ∷ [AbstractHash algo a] → Encoding #

ToJSON (BoundedRatio b Word64) 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ BoundedRatio b Word64 → Value #

toEncoding ∷ BoundedRatio b Word64 → Encoding #

toJSONList ∷ [BoundedRatio b Word64] → Value #

toEncodingList ∷ [BoundedRatio b Word64] → Encoding #

(ToJSON a, ToJSONKey k) ⇒ ToJSON (MonoidalMap k a) 
Instance details

Defined in Data.Map.Monoidal

Methods

toJSON ∷ MonoidalMap k a → Value #

toEncoding ∷ MonoidalMap k a → Encoding #

toJSONList ∷ [MonoidalMap k a] → Value #

toEncodingList ∷ [MonoidalMap k a] → Encoding #

Crypto crypto ⇒ ToJSON (Bimap Ptr (Credential 'Staking crypto)) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Bimap Ptr (Credential 'Staking crypto) → Value #

toEncoding ∷ Bimap Ptr (Credential 'Staking crypto) → Encoding #

toJSONList ∷ [Bimap Ptr (Credential 'Staking crypto)] → Value #

toEncodingList ∷ [Bimap Ptr (Credential 'Staking crypto)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c) ⇒ ToJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c) → Value #

toEncoding ∷ (a, b, c) → Encoding #

toJSONList ∷ [(a, b, c)] → Value #

toEncodingList ∷ [(a, b, c)] → Encoding #

ToJSON a ⇒ ToJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONConst a b → Value #

toEncodingConst a b → Encoding #

toJSONList ∷ [Const a b] → Value #

toEncodingList ∷ [Const a b] → Encoding #

ToJSON b ⇒ ToJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Tagged a b → Value #

toEncoding ∷ Tagged a b → Encoding #

toJSONList ∷ [Tagged a b] → Value #

toEncodingList ∷ [Tagged a b] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (These1 f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These1 f g a → Value #

toEncoding ∷ These1 f g a → Encoding #

toJSONList ∷ [These1 f g a] → Value #

toEncodingList ∷ [These1 f g a] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d) ⇒ ToJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d) → Value #

toEncoding ∷ (a, b, c, d) → Encoding #

toJSONList ∷ [(a, b, c, d)] → Value #

toEncodingList ∷ [(a, b, c, d)] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONProduct f g a → Value #

toEncodingProduct f g a → Encoding #

toJSONList ∷ [Product f g a] → Value #

toEncodingList ∷ [Product f g a] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSum f g a → Value #

toEncodingSum f g a → Encoding #

toJSONList ∷ [Sum f g a] → Value #

toEncodingList ∷ [Sum f g a] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e) ⇒ ToJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e) → Value #

toEncoding ∷ (a, b, c, d, e) → Encoding #

toJSONList ∷ [(a, b, c, d, e)] → Value #

toEncodingList ∷ [(a, b, c, d, e)] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCompose f g a → Value #

toEncodingCompose f g a → Encoding #

toJSONList ∷ [Compose f g a] → Value #

toEncodingList ∷ [Compose f g a] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f) ⇒ ToJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f) → Value #

toEncoding ∷ (a, b, c, d, e, f) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g) ⇒ ToJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g) → Value #

toEncoding ∷ (a, b, c, d, e, f, g) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h) ⇒ ToJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i) ⇒ ToJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n, ToJSON o) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] → Encoding #

class FromJSON a #

Instances

Instances details
FromJSON Bool 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Bool #

parseJSONList ∷ Value → Parser [Bool] #

FromJSON Char 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Char #

parseJSONList ∷ Value → Parser [Char] #

FromJSON Double 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Double #

parseJSONList ∷ Value → Parser [Double] #

FromJSON Float 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Float #

parseJSONList ∷ Value → Parser [Float] #

FromJSON Int 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int #

parseJSONList ∷ Value → Parser [Int] #

FromJSON Int8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int8 #

parseJSONList ∷ Value → Parser [Int8] #

FromJSON Int16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int16 #

parseJSONList ∷ Value → Parser [Int16] #

FromJSON Int32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int32 #

parseJSONList ∷ Value → Parser [Int32] #

FromJSON Int64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int64 #

parseJSONList ∷ Value → Parser [Int64] #

FromJSON Integer 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Integer #

parseJSONList ∷ Value → Parser [Integer] #

FromJSON Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Natural #

parseJSONList ∷ Value → Parser [Natural] #

FromJSON Ordering 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Ordering #

parseJSONList ∷ Value → Parser [Ordering] #

FromJSON Word 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word #

parseJSONList ∷ Value → Parser [Word] #

FromJSON Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word8 #

parseJSONList ∷ Value → Parser [Word8] #

FromJSON Word16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word16 #

parseJSONList ∷ Value → Parser [Word16] #

FromJSON Word32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word32 #

parseJSONList ∷ Value → Parser [Word32] #

FromJSON Word64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word64 #

parseJSONList ∷ Value → Parser [Word64] #

FromJSON () 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser () #

parseJSONList ∷ Value → Parser [()] #

FromJSON Version 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Version #

parseJSONList ∷ Value → Parser [Version] #

FromJSON Void 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Void #

parseJSONList ∷ Value → Parser [Void] #

FromJSON CTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CTime #

parseJSONList ∷ Value → Parser [CTime] #

FromJSON IntSet 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser IntSet #

parseJSONList ∷ Value → Parser [IntSet] #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Text #

parseJSONList ∷ Value → Parser [Text] #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Text #

parseJSONList ∷ Value → Parser [Text] #

FromJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser ZonedTime #

parseJSONList ∷ Value → Parser [ZonedTime] #

FromJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser LocalTime #

parseJSONList ∷ Value → Parser [LocalTime] #

FromJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser TimeOfDay #

parseJSONList ∷ Value → Parser [TimeOfDay] #

FromJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CalendarDiffTime #

parseJSONList ∷ Value → Parser [CalendarDiffTime] #

FromJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser UTCTime #

parseJSONList ∷ Value → Parser [UTCTime] #

FromJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser SystemTime #

parseJSONList ∷ Value → Parser [SystemTime] #

FromJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser NominalDiffTime #

parseJSONList ∷ Value → Parser [NominalDiffTime] #

FromJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DiffTime #

parseJSONList ∷ Value → Parser [DiffTime] #

FromJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DayOfWeek #

parseJSONList ∷ Value → Parser [DayOfWeek] #

FromJSON Day 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Day #

parseJSONList ∷ Value → Parser [Day] #

FromJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CalendarDiffDays #

parseJSONList ∷ Value → Parser [CalendarDiffDays] #

FromJSON Scientific 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Scientific #

parseJSONList ∷ Value → Parser [Scientific] #

FromJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DotNetTime #

parseJSONList ∷ Value → Parser [DotNetTime] #

FromJSON Value 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Value #

parseJSONList ∷ Value → Parser [Value] #

FromJSON EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochNo #

parseJSONList ∷ Value → Parser [EpochNo] #

FromJSON EpochSize 
Instance details

Defined in Bcc.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochSize #

parseJSONList ∷ Value → Parser [EpochSize] #

FromJSON SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

parseJSON ∷ Value → Parser SlotNo #

parseJSONList ∷ Value → Parser [SlotNo] #

FromJSON UUID 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser UUID #

parseJSONList ∷ Value → Parser [UUID] #

FromJSON NonNegativeInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser NonNegativeInterval #

parseJSONList ∷ Value → Parser [NonNegativeInterval] #

FromJSON UnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser UnitInterval #

parseJSONList ∷ Value → Parser [UnitInterval] #

FromJSON ProtVer 
Instance details

Defined in Bcc.Protocol.TOptimum

Methods

parseJSON ∷ Value → Parser ProtVer #

parseJSONList ∷ Value → Parser [ProtVer] #

FromJSON AurumGenesis Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser AurumGenesis #

parseJSONList ∷ Value → Parser [AurumGenesis] #

FromJSON Coin 
Instance details

Defined in Bcc.Ledger.Coin

Methods

parseJSON ∷ Value → Parser Coin #

parseJSONList ∷ Value → Parser [Coin] #

FromJSON Language Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser Language #

parseJSONList ∷ Value → Parser [Language] #

FromJSON CostModel Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser CostModel #

parseJSONList ∷ Value → Parser [CostModel] #

FromJSON Prices Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser Prices #

parseJSONList ∷ Value → Parser [Prices] #

FromJSON ExUnits Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser ExUnits #

parseJSONList ∷ Value → Parser [ExUnits] #

FromJSON AssetClass 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

parseJSON ∷ Value → Parser AssetClass #

parseJSONList ∷ Value → Parser [AssetClass] #

FromJSON CurrencySymbol 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

parseJSON ∷ Value → Parser CurrencySymbol #

parseJSONList ∷ Value → Parser [CurrencySymbol] #

FromJSON TokenName 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

parseJSON ∷ Value → Parser TokenName #

parseJSONList ∷ Value → Parser [TokenName] #

FromJSON Value 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

parseJSON ∷ Value0 → Parser Value #

parseJSONList ∷ Value0 → Parser [Value] #

FromJSON MintingPolicyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser MintingPolicyHash #

parseJSONList ∷ Value → Parser [MintingPolicyHash] #

FromJSON Context 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser Context #

parseJSONList ∷ Value → Parser [Context] #

FromJSON Datum 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser Datum #

parseJSONList ∷ Value → Parser [Datum] #

FromJSON DatumHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser DatumHash #

parseJSONList ∷ Value → Parser [DatumHash] #

FromJSON MintingPolicy 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser MintingPolicy #

parseJSONList ∷ Value → Parser [MintingPolicy] #

FromJSON Redeemer 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser Redeemer #

parseJSONList ∷ Value → Parser [Redeemer] #

FromJSON RedeemerHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser RedeemerHash #

parseJSONList ∷ Value → Parser [RedeemerHash] #

FromJSON Script 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser Script #

parseJSONList ∷ Value → Parser [Script] #

FromJSON ScriptError 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser ScriptError #

parseJSONList ∷ Value → Parser [ScriptError] #

FromJSON StakeValidator 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser StakeValidator #

parseJSONList ∷ Value → Parser [StakeValidator] #

FromJSON StakeValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser StakeValidatorHash #

parseJSONList ∷ Value → Parser [StakeValidatorHash] #

FromJSON Validator 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser Validator #

parseJSONList ∷ Value → Parser [Validator] #

FromJSON ValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser ValidatorHash #

parseJSONList ∷ Value → Parser [ValidatorHash] #

FromJSON ExBudget 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExBudget

Methods

parseJSON ∷ Value → Parser ExBudget #

parseJSONList ∷ Value → Parser [ExBudget] #

FromJSON Nonce 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Nonce #

parseJSONList ∷ Value → Parser [Nonce] #

FromJSON Desirability 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

parseJSON ∷ Value → Parser Desirability #

parseJSONList ∷ Value → Parser [Desirability] #

FromJSON StakePoolRelay 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser StakePoolRelay #

parseJSONList ∷ Value → Parser [StakePoolRelay] #

FromJSON PoolMetadata 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser PoolMetadata #

parseJSONList ∷ Value → Parser [PoolMetadata] #

FromJSON Network 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Network #

parseJSONList ∷ Value → Parser [Network] #

FromJSON Month 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Month #

parseJSONList ∷ Value → Parser [Month] #

FromJSON Quarter 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Quarter #

parseJSONList ∷ Value → Parser [Quarter] #

FromJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser QuarterOfYear #

parseJSONList ∷ Value → Parser [QuarterOfYear] #

FromJSON PositiveUnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser PositiveUnitInterval #

parseJSONList ∷ Value → Parser [PositiveUnitInterval] #

FromJSON RequiresNetworkMagic 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser RequiresNetworkMagic #

parseJSONList ∷ Value → Parser [RequiresNetworkMagic] #

FromJSON ProtocolMagicId 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser ProtocolMagicId #

parseJSONList ∷ Value → Parser [ProtocolMagicId] #

FromJSON VerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.VerificationKey

Methods

parseJSON ∷ Value → Parser VerificationKey #

parseJSONList ∷ Value → Parser [VerificationKey] #

FromJSON ProtocolMagic 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser ProtocolMagic #

parseJSONList ∷ Value → Parser [ProtocolMagic] #

FromJSON CompactRedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Compact

Methods

parseJSON ∷ Value → Parser CompactRedeemVerificationKey #

parseJSONList ∷ Value → Parser [CompactRedeemVerificationKey] #

FromJSON SystemStart Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser SystemStart #

parseJSONList ∷ Value → Parser [SystemStart] #

FromJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

parseJSON ∷ Value → Parser ByteString64 #

parseJSONList ∷ Value → Parser [ByteString64] #

FromJSON RedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.VerificationKey

Methods

parseJSON ∷ Value → Parser RedeemVerificationKey #

parseJSONList ∷ Value → Parser [RedeemVerificationKey] #

FromJSON StakingCredential 
Instance details

Defined in Zerepoch.V1.Ledger.Credential

Methods

parseJSON ∷ Value → Parser StakingCredential #

parseJSONList ∷ Value → Parser [StakingCredential] #

FromJSON POSIXTime 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

parseJSON ∷ Value → Parser POSIXTime #

parseJSONList ∷ Value → Parser [POSIXTime] #

FromJSON Address 
Instance details

Defined in Zerepoch.V1.Ledger.Address

Methods

parseJSON ∷ Value → Parser Address #

parseJSONList ∷ Value → Parser [Address] #

FromJSON DCert 
Instance details

Defined in Zerepoch.V1.Ledger.DCert

Methods

parseJSON ∷ Value → Parser DCert #

parseJSONList ∷ Value → Parser [DCert] #

FromJSON Credential 
Instance details

Defined in Zerepoch.V1.Ledger.Credential

Methods

parseJSON ∷ Value → Parser Credential #

parseJSONList ∷ Value → Parser [Credential] #

FromJSON TxOut 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser TxOut #

parseJSONList ∷ Value → Parser [TxOut] #

FromJSON PubKeyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

parseJSON ∷ Value → Parser PubKeyHash #

parseJSONList ∷ Value → Parser [PubKeyHash] #

FromJSON TxId 
Instance details

Defined in Zerepoch.V1.Ledger.TxId

Methods

parseJSON ∷ Value → Parser TxId #

parseJSONList ∷ Value → Parser [TxId] #

FromJSON TxOutRef 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser TxOutRef #

parseJSONList ∷ Value → Parser [TxOutRef] #

FromJSON DnsName 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser DnsName #

parseJSONList ∷ Value → Parser [DnsName] #

FromJSON Port 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Port #

parseJSONList ∷ Value → Parser [Port] #

FromJSON PositiveInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser PositiveInterval #

parseJSONList ∷ Value → Parser [PositiveInterval] #

FromJSON Url 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Url #

parseJSONList ∷ Value → Parser [Url] #

FromJSON SatInt 
Instance details

Defined in Data.SatInt

Methods

parseJSON ∷ Value → Parser SatInt #

parseJSONList ∷ Value → Parser [SatInt] #

FromJSON CekMachineCosts 
Instance details

Defined in UntypedZerepochCore.Evaluation.Machine.Cek.CekMachineCosts

Methods

parseJSON ∷ Value → Parser CekMachineCosts #

parseJSONList ∷ Value → Parser [CekMachineCosts] #

FromJSON ModelAddedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelAddedSizes #

parseJSONList ∷ Value → Parser [ModelAddedSizes] #

FromJSON ModelConstantOrLinear 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelConstantOrLinear #

parseJSONList ∷ Value → Parser [ModelConstantOrLinear] #

FromJSON ModelConstantOrTwoArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelConstantOrTwoArguments #

parseJSONList ∷ Value → Parser [ModelConstantOrTwoArguments] #

FromJSON ModelFiveArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelFiveArguments #

parseJSONList ∷ Value → Parser [ModelFiveArguments] #

FromJSON ModelFourArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelFourArguments #

parseJSONList ∷ Value → Parser [ModelFourArguments] #

FromJSON ModelLinearSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelLinearSize #

parseJSONList ∷ Value → Parser [ModelLinearSize] #

FromJSON ModelMaxSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelMaxSize #

parseJSONList ∷ Value → Parser [ModelMaxSize] #

FromJSON ModelMinSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelMinSize #

parseJSONList ∷ Value → Parser [ModelMinSize] #

FromJSON ModelMultipliedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelMultipliedSizes #

parseJSONList ∷ Value → Parser [ModelMultipliedSizes] #

FromJSON ModelOneArgument 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelOneArgument #

parseJSONList ∷ Value → Parser [ModelOneArgument] #

FromJSON ModelSixArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelSixArguments #

parseJSONList ∷ Value → Parser [ModelSixArguments] #

FromJSON ModelSubtractedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelSubtractedSizes #

parseJSONList ∷ Value → Parser [ModelSubtractedSizes] #

FromJSON ModelThreeArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelThreeArguments #

parseJSONList ∷ Value → Parser [ModelThreeArguments] #

FromJSON ModelTwoArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelTwoArguments #

parseJSONList ∷ Value → Parser [ModelTwoArguments] #

FromJSON ExMemory 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExMemory

Methods

parseJSON ∷ Value → Parser ExMemory #

parseJSONList ∷ Value → Parser [ExMemory] #

FromJSON ExCPU 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExMemory

Methods

parseJSON ∷ Value → Parser ExCPU #

parseJSONList ∷ Value → Parser [ExCPU] #

FromJSON Bcc 
Instance details

Defined in Zerepoch.V1.Ledger.Bcc

Methods

parseJSON ∷ Value → Parser Bcc #

parseJSONList ∷ Value → Parser [Bcc] #

FromJSON LedgerBytes 
Instance details

Defined in Zerepoch.V1.Ledger.Bytes

Methods

parseJSON ∷ Value → Parser LedgerBytes #

parseJSONList ∷ Value → Parser [LedgerBytes] #

FromJSON Signature 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

parseJSON ∷ Value → Parser Signature #

parseJSONList ∷ Value → Parser [Signature] #

FromJSON PubKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

parseJSON ∷ Value → Parser PubKey #

parseJSONList ∷ Value → Parser [PubKey] #

FromJSON PrivateKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

parseJSON ∷ Value → Parser PrivateKey #

parseJSONList ∷ Value → Parser [PrivateKey] #

FromJSON Slot 
Instance details

Defined in Zerepoch.V1.Ledger.Slot

Methods

parseJSON ∷ Value → Parser Slot #

parseJSONList ∷ Value → Parser [Slot] #

FromJSON DiffMilliSeconds 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

parseJSON ∷ Value → Parser DiffMilliSeconds #

parseJSONList ∷ Value → Parser [DiffMilliSeconds] #

FromJSON RedeemerPtr 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser RedeemerPtr #

parseJSONList ∷ Value → Parser [RedeemerPtr] #

FromJSON ScriptTag 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser ScriptTag #

parseJSONList ∷ Value → Parser [ScriptTag] #

FromJSON Tx 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser Tx #

parseJSONList ∷ Value → Parser [Tx] #

FromJSON TxIn 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser TxIn #

parseJSONList ∷ Value → Parser [TxIn] #

FromJSON TxInType 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser TxInType #

parseJSONList ∷ Value → Parser [TxInType] #

FromJSON TxOutTx 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser TxOutTx #

parseJSONList ∷ Value → Parser [TxOutTx] #

FromJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

parseJSON ∷ Value → Parser StudentT #

parseJSONList ∷ Value → Parser [StudentT] #

FromJSON TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelope #

parseJSONList ∷ Value → Parser [TextEnvelope] #

FromJSON TextEnvelopeDescr Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelopeDescr #

parseJSONList ∷ Value → Parser [TextEnvelopeDescr] #

FromJSON TextEnvelopeType Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelopeType #

parseJSONList ∷ Value → Parser [TextEnvelopeType] #

FromJSON ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser ScriptHash #

parseJSONList ∷ Value → Parser [ScriptHash] #

FromJSON ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser ExecutionUnits #

parseJSONList ∷ Value → Parser [ExecutionUnits] #

FromJSON AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser AnyZerepochScriptVersion #

parseJSONList ∷ Value → Parser [AnyZerepochScriptVersion] #

FromJSON StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Methods

parseJSON ∷ Value → Parser StakePoolMetadata #

parseJSONList ∷ Value → Parser [StakePoolMetadata] #

FromJSON ValueNestedRep Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser ValueNestedRep #

parseJSONList ∷ Value → Parser [ValueNestedRep] #

FromJSON Value Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value0 → Parser Value #

parseJSONList ∷ Value0 → Parser [Value] #

FromJSON AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser AssetName #

parseJSONList ∷ Value → Parser [AssetName] #

FromJSON PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser PolicyId #

parseJSONList ∷ Value → Parser [PolicyId] #

FromJSON Quantity Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser Quantity #

parseJSONList ∷ Value → Parser [Quantity] #

FromJSON Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser Entropic #

parseJSONList ∷ Value → Parser [Entropic] #

FromJSON CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser CostModel #

parseJSONList ∷ Value → Parser [CostModel] #

FromJSON ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser ExecutionUnitPrices #

parseJSONList ∷ Value → Parser [ExecutionUnitPrices] #

FromJSON OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser OptimumNonce #

parseJSONList ∷ Value → Parser [OptimumNonce] #

FromJSON ProtocolParameters Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser ProtocolParameters #

parseJSONList ∷ Value → Parser [ProtocolParameters] #

FromJSON TxIx Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

parseJSON ∷ Value → Parser TxIx #

parseJSONList ∷ Value → Parser [TxIx] #

FromJSON TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

parseJSON ∷ Value → Parser TxId #

parseJSONList ∷ Value → Parser [TxId] #

FromJSON a ⇒ FromJSON [a] 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser [a] #

parseJSONList ∷ Value → Parser [[a]] #

FromJSON a ⇒ FromJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Maybe a) #

parseJSONList ∷ Value → Parser [Maybe a] #

(FromJSON a, Integral a) ⇒ FromJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Ratio a) #

parseJSONList ∷ Value → Parser [Ratio a] #

FromJSON a ⇒ FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (First a) #

parseJSONList ∷ Value → Parser [First a] #

FromJSON a ⇒ FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Last a) #

parseJSONList ∷ Value → Parser [Last a] #

(Ord a, FromJSON a) ⇒ FromJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Set a) #

parseJSONList ∷ Value → Parser [Set a] #

FromJSON a ⇒ FromJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (NonEmpty a) #

parseJSONList ∷ Value → Parser [NonEmpty a] #

FromJSON a ⇒ FromJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Identity a) #

parseJSONList ∷ Value → Parser [Identity a] #

FromJSON a ⇒ FromJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Min a) #

parseJSONList ∷ Value → Parser [Min a] #

FromJSON a ⇒ FromJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Max a) #

parseJSONList ∷ Value → Parser [Max a] #

FromJSON a ⇒ FromJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (WrappedMonoid a) #

parseJSONList ∷ Value → Parser [WrappedMonoid a] #

FromJSON a ⇒ FromJSON (Option a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Option a) #

parseJSONList ∷ Value → Parser [Option a] #

FromJSON a ⇒ FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (First a) #

parseJSONList ∷ Value → Parser [First a] #

FromJSON a ⇒ FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Last a) #

parseJSONList ∷ Value → Parser [Last a] #

FromJSON a ⇒ FromJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Dual a) #

parseJSONList ∷ Value → Parser [Dual a] #

FromJSON a ⇒ FromJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (IntMap a) #

parseJSONList ∷ Value → Parser [IntMap a] #

FromJSON v ⇒ FromJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Tree v) #

parseJSONList ∷ Value → Parser [Tree v] #

FromJSON a ⇒ FromJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Seq a) #

parseJSONList ∷ Value → Parser [Seq a] #

(Vector Vector a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

FromJSON a ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

FromJSON1 f ⇒ FromJSON (Fix f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Fix f) #

parseJSONList ∷ Value → Parser [Fix f] #

(FromJSON1 f, Functor f) ⇒ FromJSON (Mu f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Mu f) #

parseJSONList ∷ Value → Parser [Mu f] #

(FromJSON1 f, Functor f) ⇒ FromJSON (Nu f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Nu f) #

parseJSONList ∷ Value → Parser [Nu f] #

FromJSON a ⇒ FromJSON (DNonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (DNonEmpty a) #

parseJSONList ∷ Value → Parser [DNonEmpty a] #

FromJSON a ⇒ FromJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (DList a) #

parseJSONList ∷ Value → Parser [DList a] #

FromJSON a ⇒ FromJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Array a) #

parseJSONList ∷ Value → Parser [Array a] #

(Prim a, FromJSON a) ⇒ FromJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (PrimArray a) #

parseJSONList ∷ Value → Parser [PrimArray a] #

FromJSON a ⇒ FromJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (SmallArray a) #

parseJSONList ∷ Value → Parser [SmallArray a] #

FromJSON a ⇒ FromJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Maybe a) #

parseJSONList ∷ Value → Parser [Maybe a] #

(Eq a, Hashable a, FromJSON a) ⇒ FromJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (HashSet a) #

parseJSONList ∷ Value → Parser [HashSet a] #

(Prim a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

(Storable a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

FromJSON a ⇒ FromJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

parseJSON ∷ Value → Parser (StrictMaybe a) #

parseJSONList ∷ Value → Parser [StrictMaybe a] #

FromJSON (PParams era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser (PParams era) #

parseJSONList ∷ Value → Parser [PParams era] #

FromJSON (PParams era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

parseJSON ∷ Value → Parser (PParams era) #

parseJSONList ∷ Value → Parser [PParams era] #

Crypto crypto ⇒ FromJSON (ScriptHash crypto) 
Instance details

Defined in Bcc.Ledger.Hashes

Methods

parseJSON ∷ Value → Parser (ScriptHash crypto) #

parseJSONList ∷ Value → Parser [ScriptHash crypto] #

Crypto crypto ⇒ FromJSON (Addr crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

parseJSON ∷ Value → Parser (Addr crypto) #

parseJSONList ∷ Value → Parser [Addr crypto] #

Crypto crypto ⇒ FromJSON (BlocksMade crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

parseJSON ∷ Value → Parser (BlocksMade crypto) #

parseJSONList ∷ Value → Parser [BlocksMade crypto] #

Era era ⇒ FromJSON (SophieGenesis era) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

parseJSON ∷ Value → Parser (SophieGenesis era) #

parseJSONList ∷ Value → Parser [SophieGenesis era] #

Crypto crypto ⇒ FromJSON (GenDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

parseJSON ∷ Value → Parser (GenDelegPair crypto) #

parseJSONList ∷ Value → Parser [GenDelegPair crypto] #

Crypto crypto ⇒ FromJSON (VestedDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

parseJSON ∷ Value → Parser (VestedDelegPair crypto) #

parseJSONList ∷ Value → Parser [VestedDelegPair crypto] #

Crypto crypto ⇒ FromJSON (SophieGenesisStaking crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

parseJSON ∷ Value → Parser (SophieGenesisStaking crypto) #

parseJSONList ∷ Value → Parser [SophieGenesisStaking crypto] #

Crypto crypto ⇒ FromJSON (PoolParams crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser (PoolParams crypto) #

parseJSONList ∷ Value → Parser [PoolParams crypto] #

Crypto crypto ⇒ FromJSON (RewardProvenance crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

parseJSON ∷ Value → Parser (RewardProvenance crypto) #

parseJSONList ∷ Value → Parser [RewardProvenance crypto] #

Crypto crypto ⇒ FromJSON (RewardProvenancePool crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

parseJSON ∷ Value → Parser (RewardProvenancePool crypto) #

parseJSONList ∷ Value → Parser [RewardProvenancePool crypto] #

Crypto crypto ⇒ FromJSON (RewardAcnt crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

parseJSON ∷ Value → Parser (RewardAcnt crypto) #

parseJSONList ∷ Value → Parser [RewardAcnt crypto] #

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

parseJSON ∷ Value → Parser (Hash ScriptData) #

parseJSONList ∷ Value → Parser [Hash ScriptData] #

FromJSON a ⇒ FromJSON (RedeemSignature a) 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Signature

Methods

parseJSON ∷ Value → Parser (RedeemSignature a) #

parseJSONList ∷ Value → Parser [RedeemSignature a] #

FromJSON (Signature w) 
Instance details

Defined in Bcc.Crypto.Signing.Signature

Methods

parseJSON ∷ Value → Parser (Signature w) #

parseJSONList ∷ Value → Parser [Signature w] #

Crypto crypto ⇒ FromJSON (StakeCreds crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser (StakeCreds crypto) #

parseJSONList ∷ Value → Parser [StakeCreds crypto] #

FromJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser (BuiltinCostModelBase CostingFun) #

parseJSONList ∷ Value → Parser [BuiltinCostModelBase CostingFun] #

FromJSON model ⇒ FromJSON (CostingFun model) 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser (CostingFun model) #

parseJSONList ∷ Value → Parser [CostingFun model] #

FromJSON a ⇒ FromJSON (Interval a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

parseJSON ∷ Value → Parser (Interval a) #

parseJSONList ∷ Value → Parser [Interval a] #

FromJSON a ⇒ FromJSON (Extended a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

parseJSON ∷ Value → Parser (Extended a) #

parseJSONList ∷ Value → Parser [Extended a] #

FromJSON a ⇒ FromJSON (LowerBound a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

parseJSON ∷ Value → Parser (LowerBound a) #

parseJSONList ∷ Value → Parser [LowerBound a] #

FromJSON a ⇒ FromJSON (UpperBound a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

parseJSON ∷ Value → Parser (UpperBound a) #

parseJSONList ∷ Value → Parser [UpperBound a] #

FromJSON a ⇒ FromJSON (Ratio a) 
Instance details

Defined in ZerepochTx.Ratio

Methods

parseJSON ∷ Value → Parser (Ratio a) #

parseJSONList ∷ Value → Parser [Ratio a] #

FromJSON d ⇒ FromJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

Methods

parseJSON ∷ Value → Parser (LinearTransform d) #

parseJSONList ∷ Value → Parser [LinearTransform d] #

(SerialiseAsBech32 a, Typeable a) ⇒ FromJSON (UsingBech32 a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

parseJSON ∷ Value → Parser (UsingBech32 a) #

parseJSONList ∷ Value → Parser [UsingBech32 a] #

(SerialiseAsRawBytes a, Typeable a) ⇒ FromJSON (UsingRawBytesHex a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

parseJSON ∷ Value → Parser (UsingRawBytesHex a) #

parseJSONList ∷ Value → Parser [UsingRawBytesHex a] #

IsSimpleScriptLanguage lang ⇒ FromJSON (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser (SimpleScript lang) #

parseJSONList ∷ Value → Parser [SimpleScript lang] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Either a b) #

parseJSONList ∷ Value → Parser [Either a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b) #

parseJSONList ∷ Value → Parser [(a, b)] #

(FromJSONKey k, Ord k, FromJSON v) ⇒ FromJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Map k v) #

parseJSONList ∷ Value → Parser [Map k v] #

FromJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Proxy a) #

parseJSONList ∷ Value → Parser [Proxy a] #

HasResolution a ⇒ FromJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Fixed a) #

parseJSONList ∷ Value → Parser [Fixed a] #

(FromJSON v, FromJSONKey k, Eq k, Hashable k) ⇒ FromJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (HashMap k v) #

parseJSONList ∷ Value → Parser [HashMap k v] #

FromJSON b ⇒ FromJSON (Annotated b ()) 
Instance details

Defined in Bcc.Binary.Annotated

Methods

parseJSON ∷ Value → Parser (Annotated b ()) #

parseJSONList ∷ Value → Parser [Annotated b ()] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Either a b) #

parseJSONList ∷ Value → Parser [Either a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These a b) #

parseJSONList ∷ Value → Parser [These a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These a b) #

parseJSONList ∷ Value → Parser [These a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Pair a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Pair a b) #

parseJSONList ∷ Value → Parser [Pair a b] #

HashAlgorithm h ⇒ FromJSON (Hash h a) 
Instance details

Defined in Bcc.Crypto.Hash.Class

Methods

parseJSON ∷ Value → Parser (Hash h a) #

parseJSONList ∷ Value → Parser [Hash h a] #

Crypto crypto ⇒ FromJSON (KeyHash disc crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

parseJSON ∷ Value → Parser (KeyHash disc crypto) #

parseJSONList ∷ Value → Parser [KeyHash disc crypto] #

Crypto crypto ⇒ FromJSON (Credential kr crypto) 
Instance details

Defined in Bcc.Ledger.Credential

Methods

parseJSON ∷ Value → Parser (Credential kr crypto) #

parseJSONList ∷ Value → Parser [Credential kr crypto] #

HashAlgorithm algo ⇒ FromJSON (AbstractHash algo a) 
Instance details

Defined in Bcc.Crypto.Hashing

Methods

parseJSON ∷ Value → Parser (AbstractHash algo a) #

parseJSONList ∷ Value → Parser [AbstractHash algo a] #

Bounded (BoundedRatio b Word64) ⇒ FromJSON (BoundedRatio b Word64) 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser (BoundedRatio b Word64) #

parseJSONList ∷ Value → Parser [BoundedRatio b Word64] #

(FromJSONKey k, Ord k, FromJSON a) ⇒ FromJSON (MonoidalMap k a) 
Instance details

Defined in Data.Map.Monoidal

Methods

parseJSON ∷ Value → Parser (MonoidalMap k a) #

parseJSONList ∷ Value → Parser [MonoidalMap k a] #

(FromJSON a, FromJSON b, FromJSON c) ⇒ FromJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c) #

parseJSONList ∷ Value → Parser [(a, b, c)] #

FromJSON a ⇒ FromJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Const a b) #

parseJSONList ∷ Value → Parser [Const a b] #

FromJSON b ⇒ FromJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Tagged a b) #

parseJSONList ∷ Value → Parser [Tagged a b] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (These1 f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These1 f g a) #

parseJSONList ∷ Value → Parser [These1 f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d) ⇒ FromJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d) #

parseJSONList ∷ Value → Parser [(a, b, c, d)] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Product f g a) #

parseJSONList ∷ Value → Parser [Product f g a] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Sum f g a) #

parseJSONList ∷ Value → Parser [Sum f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e) ⇒ FromJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e)] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Compose f g a) #

parseJSONList ∷ Value → Parser [Compose f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f) ⇒ FromJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g) ⇒ FromJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h) ⇒ FromJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i) ⇒ FromJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n, FromJSON o) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] #

writeFileJSONToJSON a ⇒ FilePath → a → IO (Either (FileError ()) ()) Source #

Bech32

class (HasTypeProxy a, SerialiseAsRawBytes a) ⇒ SerialiseAsBech32 a Source #

Minimal complete definition

bech32PrefixFor, bech32PrefixesPermitted

Instances

Instances details
SerialiseAsBech32 StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAsBech32 (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsBech32 (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsBech32 (SigningKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (SigningKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsBech32 (SigningKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsBech32 (Address SophieAddr) Source # 
Instance details

Defined in Bcc.Api.Address

data Bech32DecodeError Source #

Bech32 decoding error.

Constructors

Bech32DecodingError !DecodingError

There was an error decoding the string as Bech32.

Bech32UnexpectedPrefix !Text !(Set Text)

The human-readable prefix in the Bech32-encoded string is not one of the ones expected.

Bech32DataPartToBytesError !Text

There was an error in extracting a ByteString from the data part of the Bech32-encoded string.

Bech32DeserialiseFromBytesError !ByteString

There was an error in deserialising the bytes into a value of the expected type.

Bech32WrongPrefix !Text !Text

The human-readable prefix in the Bech32-encoded string does not correspond to the prefix that should be used for the payload value.

Addresses

Address serialisation is (sadly) special

class HasTypeProxy addr ⇒ SerialiseAddress addr Source #

Address serialisation uses different serialisation formats for different kinds of addresses, so it needs its own class.

In particular, Cole addresses are typically formatted in base 58, while Sophie addresses (payment and stake) are formatted using Bech32.

Minimal complete definition

serialiseAddress, deserialiseAddress

Raw binary

Some types have a natural raw binary format.

class HasTypeProxy a ⇒ SerialiseAsRawBytes a Source #

Minimal complete definition

serialiseToRawBytes, deserialiseFromRawBytes

Instances

Instances details
SerialiseAsRawBytes ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

SerialiseAsRawBytes ColeVote Source # 
Instance details

Defined in Bcc.Api.SpecialCole

SerialiseAsRawBytes ColeUpdateProposal Source # 
Instance details

Defined in Bcc.Api.SpecialCole

SerialiseAsRawBytes StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAsRawBytes AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAsRawBytes AssetName Source # 
Instance details

Defined in Bcc.Api.Value

SerialiseAsRawBytes PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

SerialiseAsRawBytes OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

SerialiseAsRawBytes TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

SerialiseAsRawBytes (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

SerialiseAsRawBytes (Hash ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (Hash ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (Hash VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (Hash KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Bcc.Api.Block

SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (SigningKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

SerialiseAsRawBytes (SigningKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

SerialiseAsRawBytes (SigningKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

HasTypeProxy lang ⇒ SerialiseAsRawBytes (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

IsBccEra era ⇒ SerialiseAsRawBytes (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAsRawBytes (Address SophieAddr) Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAsRawBytes (Address ColeAddr) Source # 
Instance details

Defined in Bcc.Api.Address

Text envelope

Support for a envelope file format with text headers and a hex-encoded binary payload.

class SerialiseAsCBOR a ⇒ HasTextEnvelope a where Source #

Minimal complete definition

textEnvelopeType

Instances

Instances details
HasTextEnvelope UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

HasTextEnvelope Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

HasTextEnvelope OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

HasTextEnvelope OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

HasTextEnvelope (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

HasTextEnvelope (VerificationKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

HasTextEnvelope (VerificationKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

HasTextEnvelope (VerificationKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

HasTextEnvelope (SigningKey StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey PaymentKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey ColeKeyLegacy) Source # 
Instance details

Defined in Bcc.Api.KeysCole

HasTextEnvelope (SigningKey ColeKey) Source # 
Instance details

Defined in Bcc.Api.KeysCole

HasTextEnvelope (SigningKey VrfKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

HasTextEnvelope (SigningKey KesKey) Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

(IsZerepochScriptLanguage lang, Typeable lang) ⇒ HasTextEnvelope (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

IsScriptLanguage lang ⇒ HasTextEnvelope (Script lang) Source # 
Instance details

Defined in Bcc.Api.Script

IsBccEra era ⇒ HasTextEnvelope (TxBody era) Source # 
Instance details

Defined in Bcc.Api.TxBody

IsBccEra era ⇒ HasTextEnvelope (KeyWitness era) Source # 
Instance details

Defined in Bcc.Api.Tx

IsBccEra era ⇒ HasTextEnvelope (Tx era) Source # 
Instance details

Defined in Bcc.Api.Tx

data TextEnvelope Source #

A TextEnvelope is a structured envelope for serialised binary values with an external format with a semi-readable textual format.

It contains a "type" field, e.g. "PublicKeyCole" or "TxSignedSophie" to indicate the type of the encoded data. This is used as a sanity check and to help readers.

It also contains a "title" field which is free-form, and could be used to indicate the role or purpose to a reader.

Instances

Instances details
Eq TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Show TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

FromJSON TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelope #

parseJSONList ∷ Value → Parser [TextEnvelope] #

ToJSON TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelope → Value #

toEncodingTextEnvelope → Encoding #

toJSONList ∷ [TextEnvelope] → Value #

toEncodingList ∷ [TextEnvelope] → Encoding #

HasTypeProxy TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Associated Types

data AsType TextEnvelope Source #

data AsType TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

newtype TextEnvelopeType Source #

Constructors

TextEnvelopeType String 

data TextEnvelopeDescr Source #

Reading one of several key types

data FromSomeType (c ∷ TypeConstraint) b where Source #

Constructors

FromSomeType ∷ c a ⇒ AsType a → (a → b) → FromSomeType c b 

Errors

class Show e ⇒ Error e where Source #

Methods

displayError ∷ e → String Source #

Instances

Instances details
Error () Source # 
Instance details

Defined in Bcc.Api.Error

Methods

displayError ∷ () → String Source #

Error JsonDecodeError Source # 
Instance details

Defined in Bcc.Api.SerialiseJSON

Error TextEnvelopeError Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Error TxMetadataJsonSchemaError Source # 
Instance details

Defined in Bcc.Api.TxMetadata

Error TxMetadataJsonError Source # 
Instance details

Defined in Bcc.Api.TxMetadata

Error TxMetadataRangeError Source # 
Instance details

Defined in Bcc.Api.TxMetadata

Error Bech32DecodeError Source # 
Instance details

Defined in Bcc.Api.SerialiseBech32

Error ScriptDataJsonSchemaError Source # 
Instance details

Defined in Bcc.Api.ScriptData

Error ScriptDataJsonError Source # 
Instance details

Defined in Bcc.Api.ScriptData

Error ScriptDataRangeError Source # 
Instance details

Defined in Bcc.Api.ScriptData

Error StakePoolMetadataValidationError Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Error ProtocolParametersError Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Error TxBodyError Source # 
Instance details

Defined in Bcc.Api.TxBody

Error OperationalCertIssueError Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

Error MinimumUTxOError Source # 
Instance details

Defined in Bcc.Api.Fees

Error TxBodyErrorAutoBalance Source # 
Instance details

Defined in Bcc.Api.Fees

Error TransactionValidityIntervalError Source # 
Instance details

Defined in Bcc.Api.Fees

Error ScriptExecutionError Source # 
Instance details

Defined in Bcc.Api.Fees

Error e ⇒ Error (FileError e) Source # 
Instance details

Defined in Bcc.Api.Error

throwErrorAsExceptionError e ⇒ e → IO a Source #

The preferred approach is to use Except or ExceptT, but you can if necessary use IO exceptions.

data FileError e Source #

Instances

Instances details
Show e ⇒ Show (FileError e) Source # 
Instance details

Defined in Bcc.Api.Error

Error e ⇒ Error (FileError e) Source # 
Instance details

Defined in Bcc.Api.Error

Node interaction

Operations that involve talking to a local Bcc node.

Queries

Submitting transactions

High level protocol interaction with a Bcc node

Initialization / Accumulation

data Env Source #

Constructors

Env 

Fields

newtype LedgerState Source #

Constructors

LedgerState 

Fields

Bundled Patterns

pattern LedgerStateColeLedgerState ColeBlock → LedgerState 
pattern LedgerStateSophieLedgerState (SophieBlock (SophieEra StandardCrypto)) → LedgerState 
pattern LedgerStateEvieLedgerState (SophieBlock (EvieEra StandardCrypto)) → LedgerState 
pattern LedgerStateJenLedgerState (SophieBlock (JenEra StandardCrypto)) → LedgerState 

initialLedgerState Source #

Arguments

FilePath

Path to the bcc-node config file (e.g. to bcc-node projectconfigurationbcc/mainnet-config.json)

ExceptT InitialLedgerStateError IO (Env, LedgerState)

The environment and initial ledger state

Get the environment and initial ledger state.

applyBlock Source #

Arguments

Env

The environment returned by initialLedgerState

LedgerState

The current ledger state

ValidationMode 
Block era

Some block to apply

Either Text LedgerState

The new ledger state (or an error).

Apply a single block to the current ledger state.

data ValidationMode Source #

How to do validation when applying a block to a ledger state.

Constructors

FullValidation

Do all validation implied by the ledger layer's applyBlock.

QuickValidation

Only check that the previous hash from the block matches the head hash of the ledger state.

Traversing the block chain

foldBlocks Source #

Arguments

∷ ∀ a. FilePath

Path to the bcc-node config file (e.g. to bcc-node projectconfigurationbcc/mainnet-config.json)

ConsensusModeParams BccMode

This is needed for the number of slots per epoch for the Cole era (on mainnet that should be 21600).

FilePath

Path to local bcc-node socket. This is the path specified by the --socket-path command line option when running the node.

ValidationMode 
→ a

The initial accumulator state.

→ (EnvLedgerStateBlockInMode BccMode → a → IO a)

Accumulator function Takes:

  • Environment (this is a constant over the whole fold).
  • The Ledger state (with block i applied) at block i.
  • Block i.
  • The accumulator state at block i - 1.

And returns:

  • The accumulator state at block i

Note: This function can safely assume no rollback will occur even though internally this is implemented with a client protocol that may require rollback. This is achieved by only calling the accumulator on states/blocks that are older than the security parameter, k. This has the side effect of truncating the last k blocks before the node's tip.

ExceptT FoldBlocksError IO a

The final state

Monadic fold over all blocks and ledger states. Stopping k blocks before the node's tip where k is the security parameter.

chainSyncClientWithLedgerState Source #

Arguments

∷ ∀ m a. Monad m 
Env 
LedgerState

Initial ledger state

ValidationMode 
ChainSyncClient (BlockInMode BccMode, Either Text LedgerState) ChainPoint ChainTip m a

A client to wrap. The block is annotated with a 'Either Text LedgerState'. This is either an error from validating a block or the current LedgerState from applying the current block. If we trust the node, then we generally expect blocks to validate. Also note that after a block fails to validate we may still roll back to a validated block, in which case the valid LedgerState will be passed here again.

ChainSyncClient (BlockInMode BccMode) ChainPoint ChainTip m a

A client that acts just like the wrapped client but doesn't require the LedgerState annotation on the block type.

Wrap a ChainSyncClient with logic that tracks the ledger state.

Errors

data InitialLedgerStateError Source #

Constructors

ILSEConfigFile Text

Failed to read or parse the network config file.

ILSEGenesisFile GenesisConfigError

Failed to read or parse a genesis file linked from the network config file.

ILSELedgerConsensusConfig GenesisConfigError

Failed to derive the Ledger or Consensus config.

Low level protocol interaction with a Bcc node

connectToLocalNodeLocalNodeConnectInfo mode → LocalNodeClientProtocolsInMode mode → IO () Source #

Establish a connection to a local node and execute the given set of protocol handlers.

connectToLocalNodeWithVersionLocalNodeConnectInfo mode → (NodeToClientVersionLocalNodeClientProtocolsInMode mode) → IO () Source #

Establish a connection to a local node and execute the given set of protocol handlers parameterized on the negotiated node-to-client protocol version.

data AnyConsensusMode where Source #

Instances

Instances details
Show AnyConsensusMode Source # 
Instance details

Defined in Bcc.Api.Modes

data ConsensusMode mode where Source #

This GADT provides a value-level representation of all the consensus modes. This enables pattern matching on the era to allow them to be treated in a non-uniform way.

Constructors

BccModeConsensusMode BccMode 

Instances

Instances details
Show (ConsensusMode mode) Source # 
Instance details

Defined in Bcc.Api.Modes

data ConsensusModeIsMultiEra mode where Source #

The subset of consensus modes that consist of multiple eras. Some features are not supported in single-era modes (for exact compatibility with not using the hard fork combinatior at all).

Instances

Instances details
Show (ConsensusModeIsMultiEra mode) Source # 
Instance details

Defined in Bcc.Api.Modes

data ConsensusModeParams mode where Source #

The consensus-mode-specific parameters needed to connect to a local node that is using each consensus mode.

It is in fact only the Cole era that requires extra parameters, but this is of course inherited by the BccMode that uses the Cole era. The reason this parameter is needed stems from unfortunate design decisions from the legacy Cole era. The slots per epoch are needed to be able to decode epoch boundary blocks from the Cole era.

It is possible in future that we may be able to eliminate this parameter by discovering it from the node during the initial handshake.

Instances

Instances details
Show (ConsensusModeParams mode) Source # 
Instance details

Defined in Bcc.Api.Modes

toEraInModeBccEra era → ConsensusMode mode → Maybe (EraInMode era mode) Source #

data LocalNodeClientProtocols block point tip tx txerr query m Source #

The protocols we can use with a local node. Use in conjunction with connectToLocalNode.

These protocols use the types from the rest of this API. The conversion to/from the types used by the underlying wire formats is handled by connectToLocalNode.

data BccMode Source #

The Bcc consensus mode consists of all the eras currently in use on the Bcc mainnet. This is currently: the ColeEra; SophieEra, EvieEra and JenEra, in that order.

This mode will be extended with new eras as the Bcc mainnet develops.

Chain sync protocol

To construct a ChainSyncClient see Bcc.Api.Client or Bcc.Api.ClientPipelined.

newtype ChainSyncClient header point tip (m ∷ TypeType) a #

Constructors

ChainSyncClient 

Fields

newtype ChainSyncClientPipelined header point tip (m ∷ TypeType) a #

Constructors

ChainSyncClientPipelined 

Fields

data BlockInMode mode where Source #

A Block in one of the eras supported by a given protocol mode.

For multi-era modes such as the BccMode this type is a sum of the different block types for all the eras. It is used in the ChainSync protocol.

Constructors

BlockInModeBlock era → EraInMode era mode → BlockInMode mode 

Instances

Instances details
Show (BlockInMode mode) Source # 
Instance details

Defined in Bcc.Api.Block

Methods

showsPrecIntBlockInMode mode → ShowS Source #

showBlockInMode mode → String Source #

showList ∷ [BlockInMode mode] → ShowS Source #

Local tx submission

data LocalTxSubmissionClient tx reject (m ∷ TypeType) a #

data TxInMode mode where Source #

A Tx in one of the eras supported by a given protocol mode.

For multi-era modes such as the BccMode this type is a sum of the different transaction types for all the eras. It is used in the LocalTxSubmission protocol.

Constructors

TxInModeTx era → EraInMode era mode → TxInMode mode

Everything we consider a normal transaction.

TxInColeSpecial ∷ GenTx ColeBlock → EraInMode ColeEra mode → TxInMode mode

Cole has various things we can post to the chain which are not actually transactions. This covers: update proposals, votes and delegation certs.

Instances

Instances details
Show (TxInMode mode) Source # 
Instance details

Defined in Bcc.Api.TxInMode

Methods

showsPrecIntTxInMode mode → ShowS Source #

showTxInMode mode → String Source #

showList ∷ [TxInMode mode] → ShowS Source #

data TxValidationErrorInMode mode where Source #

A TxValidationError in one of the eras supported by a given protocol mode.

This is used in the LocalStateQuery protocol.

Instances

Instances details
Show (TxValidationErrorInMode mode) Source # 
Instance details

Defined in Bcc.Api.TxInMode

runLocalTxSubmissionClientLocalTxSubmissionClient tx reject m a → m (LocalTxClientStIdle tx reject m a) #

Local state query

newtype LocalStateQueryClient block point (query ∷ TypeType) (m ∷ TypeType) a #

Constructors

LocalStateQueryClient 

Fields

data QueryInMode mode result where Source #

Constructors

QueryCurrentEraConsensusModeIsMultiEra mode → QueryInMode mode AnyBccEra 
QueryInEraEraInMode era mode → QueryInEra era result → QueryInMode mode (Either EraMismatch result) 
QueryEraHistoryConsensusModeIsMultiEra mode → QueryInMode mode (EraHistory mode) 
QuerySystemStartQueryInMode mode SystemStart 

Instances

Instances details
Show (QueryInMode mode result) Source # 
Instance details

Defined in Bcc.Api.Query

Methods

showsPrecIntQueryInMode mode result → ShowS Source #

showQueryInMode mode result → String Source #

showList ∷ [QueryInMode mode result] → ShowS Source #

data QueryInEra era result where Source #

Constructors

QueryColeUpdateStateQueryInEra ColeEra ColeUpdateState 
QueryInSophieBasedEraSophieBasedEra era → QueryInSophieBasedEra era result → QueryInEra era result 

Instances

Instances details
Show (QueryInEra era result) Source # 
Instance details

Defined in Bcc.Api.Query

Methods

showsPrecIntQueryInEra era result → ShowS Source #

showQueryInEra era result → String Source #

showList ∷ [QueryInEra era result] → ShowS Source #

data QueryUTxOFilter Source #

Getting the whole UTxO is obviously not efficient since the result can be huge. Filtering by address is also not efficient because it requires a linear search.

The QueryUTxOFilterByTxIn is efficient since it fits with the structure of the UTxO (which is indexed by TxIn).

Constructors

QueryUTxOWhole

O(n) time and space for utxo size n

QueryUTxOByAddress (Set AddressAny)

O(n) time, O(m) space for utxo size n, and address set size m

QueryUTxOByTxIn (Set TxIn)

O(m log n) time, O(m) space for utxo size n, and address set size m

Instances

Instances details
Eq QueryUTxOFilter Source # 
Instance details

Defined in Bcc.Api.Query

Show QueryUTxOFilter Source # 
Instance details

Defined in Bcc.Api.Query

newtype UTxO era Source #

Constructors

UTxO (Map TxIn (TxOut era)) 

Instances

Instances details
Eq (UTxO era) Source # 
Instance details

Defined in Bcc.Api.Query

Methods

(==)UTxO era → UTxO era → Bool Source #

(/=)UTxO era → UTxO era → Bool Source #

Show (UTxO era) Source # 
Instance details

Defined in Bcc.Api.Query

Methods

showsPrecIntUTxO era → ShowS Source #

showUTxO era → String Source #

showList ∷ [UTxO era] → ShowS Source #

IsBccEra era ⇒ ToJSON (UTxO era) Source # 
Instance details

Defined in Bcc.Api.Query

Methods

toJSONUTxO era → Value #

toEncodingUTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

queryNodeLocalState ∷ ∀ mode result. LocalNodeConnectInfo mode → Maybe ChainPointQueryInMode mode result → IO (Either AcquireFailure result) Source #

Establish a connection to a node and execute a single query using the local state query protocol.

data EraHistory mode where Source #

Constructors

EraHistoryConsensusBlockForMode mode ~ HardForkBlock xs ⇒ ConsensusMode mode → Interpreter xs → EraHistory mode 

getProgressSlotNoEraHistory mode → Either PastHorizonException (RelativeTime, SlotLength) Source #

Common queries

Node operation

Support for the steps needed to operate a node

Operational certificates

data OperationalCertificate Source #

Instances

Instances details
Eq OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

Show OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

FromCBOR OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

ToCBOR OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

Methods

toCBOROperationalCertificate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy OperationalCertificate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [OperationalCertificate] → Size #

HasTypeProxy OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

Associated Types

data AsType OperationalCertificate Source #

SerialiseAsCBOR OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

HasTextEnvelope OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

data AsType OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

data OperationalCertificateIssueCounter Source #

Instances

Instances details
Eq OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

Show OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

FromCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

ToCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

Methods

toCBOROperationalCertificateIssueCounter → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy OperationalCertificateIssueCounter → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [OperationalCertificateIssueCounter] → Size #

HasTypeProxy OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

SerialiseAsCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

HasTextEnvelope OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

Genesis file

Types and functions needed to inspect or create a genesis file.

data GenesisKey Source #

Instances

Instances details
HasTypeProxy GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType GenesisKey Source #

Key GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisExtendedKey GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash GenesisKey) #

labelProxy (Hash GenesisKey) → Text #

FromCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisKey] → Size #

ToCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisKey] → Size #

ToCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisKey] → Size #

SerialiseAsCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisKey = GenesisKeyHash (KeyHash 'Genesis StandardCrypto)
newtype VerificationKey GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisKey = GenesisVerificationKey (VKey 'Genesis StandardCrypto)
newtype SigningKey GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey GenesisKey = GenesisSigningKey (SignKeyDSIGN StandardCrypto)

data GenesisExtendedKey Source #

Sophie-era vested keys using extended ed25519 cryptographic keys.

These serve the same role as normal vested keys, but are here to support legacy Cole vested keys which used extended keys.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey GenesisKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey GenesisKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType GenesisExtendedKey Source #

Key GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisExtendedKey GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisExtendedKey] → Size #

ToCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisExtendedKey] → Size #

ToCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisExtendedKey] → Size #

SerialiseAsCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisExtendedKey = GenesisExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data GenesisDelegateKey Source #

Instances

Instances details
HasTypeProxy GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType GenesisDelegateKey Source #

Key GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastSigningKeyRole GenesisDelegateKey StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisDelegateExtendedKey GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisDelegateKey StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisDelegateKey] → Size #

ToCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisDelegateKey] → Size #

ToCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisDelegateKey] → Size #

SerialiseAsCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisDelegateKey = GenesisDelegateKeyHash (KeyHash 'GenesisDelegate StandardCrypto)
newtype VerificationKey GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisDelegateKey = GenesisDelegateVerificationKey (VKey 'GenesisDelegate StandardCrypto)
newtype SigningKey GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey GenesisDelegateKey = GenesisDelegateSigningKey (SignKeyDSIGN StandardCrypto)

data GenesisDelegateExtendedKey Source #

Sophie-era vested keys using extended ed25519 cryptographic keys.

These serve the same role as normal vested keys, but are here to support legacy Cole vested keys which used extended keys.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey GenesisKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey GenesisKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisDelegateExtendedKey GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisDelegateExtendedKey] → Size #

ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisDelegateExtendedKey] → Size #

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisDelegateExtendedKey = GenesisDelegateExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data GenesisUTxOKey Source #

Instances

Instances details
HasTypeProxy GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType GenesisUTxOKey Source #

Key GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastSigningKeyRole GenesisUTxOKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisUTxOKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash GenesisUTxOKey) #

labelProxy (Hash GenesisUTxOKey) → Text #

FromCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisUTxOKey] → Size #

ToCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisUTxOKey] → Size #

ToCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisUTxOKey] → Size #

SerialiseAsCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisUTxOKey = GenesisUTxOKeyHash (KeyHash 'Payment StandardCrypto)
newtype VerificationKey GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisUTxOKey = GenesisUTxOVerificationKey (VKey 'Payment StandardCrypto)
newtype SigningKey GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey GenesisUTxOKey = GenesisUTxOSigningKey (SignKeyDSIGN StandardCrypto)

genesisUTxOPseudoTxInNetworkIdHash GenesisUTxOKeyTxIn Source #

Compute the TxIn of the initial UTxO pseudo-transaction corresponding to the given address in the genesis initial funds.

The Sophie initial UTxO is constructed from the sgInitialFunds which is not a full UTxO but just a map from addresses to coin values.

This gets turned into a UTxO by making a pseudo-transaction for each address, with the 0th output being the coin value. So to spend from the initial UTxO we need this same TxIn to use as an input to the spending transaction.

data GenesisVestedKey Source #

Instances

Instances details
HasTypeProxy GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType GenesisVestedKey Source #

Key GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisVestedExtendedKey GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisVestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisVestedKey] → Size #

ToCBOR (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisVestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisVestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisVestedKey] → Size #

ToCBOR (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisVestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisVestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisVestedKey] → Size #

SerialiseAsCBOR (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisVestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedKey = GenesisVestedKeyHash (KeyHash 'Genesis StandardCrypto)
newtype VerificationKey GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisVestedKey = GenesisVestedVerificationKey (VKey 'Genesis StandardCrypto)
newtype SigningKey GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey GenesisVestedKey = GenesisVestedSigningKey (SignKeyDSIGN StandardCrypto)

data GenesisVestedExtendedKey Source #

Sophie-era vested keys using extended ed25519 cryptographic keys.

These serve the same role as normal vested keys, but are here to support legacy Cole vested keys which used extended keys.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey GenesisKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey GenesisKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisVestedExtendedKey GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisVestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisVestedExtendedKey] → Size #

ToCBOR (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisVestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisVestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisVestedExtendedKey] → Size #

ToCBOR (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisVestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisVestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisVestedExtendedKey] → Size #

SerialiseAsCBOR (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisVestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedExtendedKey = GenesisVestedExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data GenesisVestedDelegateKey Source #

Instances

Instances details
HasTypeProxy GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastSigningKeyRole GenesisVestedDelegateKey StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisVestedDelegateExtendedKey GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisVestedDelegateKey StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisVestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisVestedDelegateKey] → Size #

ToCBOR (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey GenesisVestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisVestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisVestedDelegateKey] → Size #

ToCBOR (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey GenesisVestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisVestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisVestedDelegateKey] → Size #

SerialiseAsCBOR (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisVestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedDelegateKey = GenesisVestedDelegateKeyHash (KeyHash 'VestedDelegate StandardCrypto)
newtype VerificationKey GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisVestedDelegateKey = GenesisVestedDelegateVerificationKey (VKey 'VestedDelegate StandardCrypto)
newtype SigningKey GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data GenesisVestedDelegateExtendedKey Source #

Sophie-era vested keys using extended ed25519 cryptographic keys.

These serve the same role as normal vested keys, but are here to support legacy Cole vested keys which used extended keys.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey GenesisKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey GenesisKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole GenesisVestedDelegateExtendedKey GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash GenesisVestedDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash GenesisVestedDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash GenesisVestedDelegateExtendedKey] → Size #

ToCBOR (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey GenesisVestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Genesis paramaters

data GenesisParameters Source #

Constructors

GenesisParameters 

Fields

Types and functions needed to inspect or create a genesis file.

data VestedKey Source #

Instances

Instances details
HasTypeProxy VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType VestedKey Source #

Key VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole VestedExtendedKey VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash VestedKey) #

labelProxy (Hash VestedKey) → Text #

FromCBOR (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash VestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash VestedKey] → Size #

ToCBOR (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey VestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey VestedKey] → Size #

ToCBOR (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey VestedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VestedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VestedKey] → Size #

SerialiseAsCBOR (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey VestedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedKey = VestedKeyHash (KeyHash 'Vested StandardCrypto)
newtype VerificationKey VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey VestedKey = VestedVerificationKey (VKey 'Vested StandardCrypto)
newtype SigningKey VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey VestedKey = VestedSigningKey (SignKeyDSIGN StandardCrypto)

data VestedExtendedKey Source #

Sophie-era vested keys using extended ed25519 cryptographic keys.

These serve the same role as normal vested keys, but are here to support legacy Cole vested keys which used extended keys.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey VestedKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey VestedKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType VestedExtendedKey Source #

Key VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole VestedExtendedKey VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash VestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash VestedExtendedKey] → Size #

ToCBOR (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey VestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey VestedExtendedKey] → Size #

ToCBOR (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey VestedExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VestedExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VestedExtendedKey] → Size #

SerialiseAsCBOR (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey VestedExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedExtendedKey = VestedExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data VestedDelegateKey Source #

Instances

Instances details
HasTypeProxy VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType VestedDelegateKey Source #

Key VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastSigningKeyRole VestedDelegateKey StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole VestedDelegateExtendedKey VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole VestedDelegateKey StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash VestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash VestedDelegateKey] → Size #

ToCBOR (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey VestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey VestedDelegateKey] → Size #

ToCBOR (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey VestedDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VestedDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VestedDelegateKey] → Size #

SerialiseAsCBOR (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey VestedDelegateKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedDelegateKey = VestedDelegateKeyHash (KeyHash 'VestedDelegate StandardCrypto)
newtype VerificationKey VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey VestedDelegateKey = VestedDelegateVerificationKey (VKey 'VestedDelegate StandardCrypto)
newtype SigningKey VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey VestedDelegateKey = VestedDelegateSigningKey (SignKeyDSIGN StandardCrypto)

data VestedDelegateExtendedKey Source #

Sophie-era vested keys using extended ed25519 cryptographic keys.

These serve the same role as normal vested keys, but are here to support legacy Cole vested keys which used extended keys.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey VestedKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey VestedKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Key VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole VestedDelegateExtendedKey VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash VestedDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash VestedDelegateExtendedKey] → Size #

ToCBOR (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey VestedDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VestedDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VestedDelegateExtendedKey] → Size #

SerialiseAsCBOR (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey VestedDelegateExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedDelegateExtendedKey = VestedDelegateExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data VestedUTxOKey Source #

Vested UTxO keys

Instances

Instances details
HasTypeProxy VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType VestedUTxOKey Source #

Key VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastSigningKeyRole VestedUTxOKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole VestedUTxOKey PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash VestedUTxOKey) #

labelProxy (Hash VestedUTxOKey) → Text #

FromCBOR (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash VestedUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash VestedUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash VestedUTxOKey] → Size #

ToCBOR (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey VestedUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey VestedUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey VestedUTxOKey] → Size #

ToCBOR (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey VestedUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VestedUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VestedUTxOKey] → Size #

SerialiseAsCBOR (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey VestedUTxOKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash VestedUTxOKey = VestedUTxOKeyHash (KeyHash 'Payment StandardCrypto)
newtype VerificationKey VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey VestedUTxOKey = VestedUTxOVerificationKey (VKey 'Payment StandardCrypto)
newtype SigningKey VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey VestedUTxOKey = VestedUTxOSigningKey (SignKeyDSIGN StandardCrypto)

Special transactions

There are various additional things that can be embedded in a transaction for special operations.

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

Protocol parameter updates

data UpdateProposal Source #

Instances

Instances details
Eq UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Show UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

FromCBOR UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

fromCBOR ∷ Decoder s UpdateProposal #

labelProxy UpdateProposalText #

ToCBOR UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toCBORUpdateProposal → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy UpdateProposal → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UpdateProposal] → Size #

HasTypeProxy UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Associated Types

data AsType UpdateProposal Source #

SerialiseAsCBOR UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

HasTextEnvelope UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

data AsType UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

data ProtocolParametersUpdate Source #

The representation of a change in the ProtocolParameters.

Constructors

ProtocolParametersUpdate 

Fields

Instances

Instances details
Eq ProtocolParametersUpdate Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Show ProtocolParametersUpdate Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Semigroup ProtocolParametersUpdate Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Monoid ProtocolParametersUpdate Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

FromCBOR ProtocolParametersUpdate Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

ToCBOR ProtocolParametersUpdate Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toCBORProtocolParametersUpdate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ProtocolParametersUpdate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ProtocolParametersUpdate] → Size #

data OptimumNonce Source #

Instances

Instances details
Eq OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Ord OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Show OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

IsString OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Generic OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Associated Types

type Rep OptimumNonceTypeType Source #

FromJSON OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser OptimumNonce #

parseJSONList ∷ Value → Parser [OptimumNonce] #

ToJSON OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toJSONOptimumNonce → Value #

toEncodingOptimumNonce → Encoding #

toJSONList ∷ [OptimumNonce] → Value #

toEncodingList ∷ [OptimumNonce] → Encoding #

FromCBOR OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

fromCBOR ∷ Decoder s OptimumNonce #

labelProxy OptimumNonceText #

ToCBOR OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toCBOROptimumNonce → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy OptimumNonce → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [OptimumNonce] → Size #

HasTypeProxy OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Associated Types

data AsType OptimumNonce Source #

SerialiseAsRawBytes OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

type Rep OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

type Rep OptimumNonce = D1 ('MetaData "OptimumNonce" "Bcc.Api.ProtocolParameters" "bcc-api-1.99.0-inplace" 'True) (C1 ('MetaCons "OptimumNonce" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash StandardCrypto ByteString))))
data AsType OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

newtype NetworkMagic #

Constructors

NetworkMagic 

Instances

Instances details
Eq NetworkMagic 
Instance details

Defined in Shardagnostic.Network.Magic

Show NetworkMagic 
Instance details

Defined in Shardagnostic.Network.Magic

Generic NetworkMagic 
Instance details

Defined in Shardagnostic.Network.Magic

Associated Types

type Rep NetworkMagicTypeType Source #

NoThunks NetworkMagic 
Instance details

Defined in Shardagnostic.Network.Magic

Methods

noThunks ∷ Context → NetworkMagicIO (Maybe ThunkInfo)

wNoThunks ∷ Context → NetworkMagicIO (Maybe ThunkInfo)

showTypeOfProxy NetworkMagicString

type Rep NetworkMagic 
Instance details

Defined in Shardagnostic.Network.Magic

type Rep NetworkMagic = D1 ('MetaData "NetworkMagic" "Shardagnostic.Network.Magic" "shardagnostic-network-0.1.0.0-5c350aed8ecd813d3e0e78a45ca35fdda83036491303e35a58d283b38c865e88" 'True) (C1 ('MetaCons "NetworkMagic" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNetworkMagic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)))

Conversions

fromLedgerTxOutsSophieBasedEra era → TxBody (SophieLedgerEra era) → [TxOut era] Source #

toLedgerUTxOSophieLedgerEra era ~ ledgerera ⇒ Crypto ledgerera ~ StandardCrypto ⇒ SophieBasedEra era → UTxO era → UTxO ledgerera Source #

newtype SlotsInEpoch Source #

Constructors

SlotsInEpoch Word64 

slotToEpochSlotNoEraHistory mode → Either PastHorizonException (EpochNo, SlotsInEpoch, SlotsToEpochEnd) Source #

data NodeToClientVersion #

Instances

Instances details
Bounded NodeToClientVersion 
Instance details

Defined in Shardagnostic.Network.NodeToClient.Version

Enum NodeToClientVersion 
Instance details

Defined in Shardagnostic.Network.NodeToClient.Version

Eq NodeToClientVersion 
Instance details

Defined in Shardagnostic.Network.NodeToClient.Version

Ord NodeToClientVersion 
Instance details

Defined in Shardagnostic.Network.NodeToClient.Version

Show NodeToClientVersion 
Instance details

Defined in Shardagnostic.Network.NodeToClient.Version

Monadic queries

data LocalStateQueryExpr block point query r m a Source #

Monadic type for constructing local state query expressions.

Use queryExpr in a do block to construct queries of this type and convert the expression to a LocalStateQueryClient with setupLocalStateQueryExpr.

Some consideration was made to use Applicative instead of Monad as the abstraction in order to support pipelining, but we actually have a fair amount of code where the next query depends on the result of the former and therefore actually need Monad.

In order to make pipelining still possible we can explore the use of Selective Functors which would allow us to straddle both worlds.

Instances

Instances details
Monad (LocalStateQueryExpr block point query r m) Source # 
Instance details

Defined in Bcc.Api.IPC.Monad

Methods

(>>=)LocalStateQueryExpr block point query r m a → (a → LocalStateQueryExpr block point query r m b) → LocalStateQueryExpr block point query r m b Source #

(>>)LocalStateQueryExpr block point query r m a → LocalStateQueryExpr block point query r m b → LocalStateQueryExpr block point query r m b Source #

return ∷ a → LocalStateQueryExpr block point query r m a Source #

Functor (LocalStateQueryExpr block point query r m) Source # 
Instance details

Defined in Bcc.Api.IPC.Monad

Methods

fmap ∷ (a → b) → LocalStateQueryExpr block point query r m a → LocalStateQueryExpr block point query r m b Source #

(<$) ∷ a → LocalStateQueryExpr block point query r m b → LocalStateQueryExpr block point query r m a Source #

Applicative (LocalStateQueryExpr block point query r m) Source # 
Instance details

Defined in Bcc.Api.IPC.Monad

Methods

pure ∷ a → LocalStateQueryExpr block point query r m a Source #

(<*>)LocalStateQueryExpr block point query r m (a → b) → LocalStateQueryExpr block point query r m a → LocalStateQueryExpr block point query r m b Source #

liftA2 ∷ (a → b → c) → LocalStateQueryExpr block point query r m a → LocalStateQueryExpr block point query r m b → LocalStateQueryExpr block point query r m c Source #

(*>)LocalStateQueryExpr block point query r m a → LocalStateQueryExpr block point query r m b → LocalStateQueryExpr block point query r m b Source #

(<*)LocalStateQueryExpr block point query r m a → LocalStateQueryExpr block point query r m b → LocalStateQueryExpr block point query r m a Source #

MonadIO m ⇒ MonadIO (LocalStateQueryExpr block point query r m) Source # 
Instance details

Defined in Bcc.Api.IPC.Monad

Methods

liftIOIO a → LocalStateQueryExpr block point query r m a Source #

executeLocalStateQueryExprWithChainSyncLocalNodeConnectInfo mode → Maybe ChainPoint → (NodeToClientVersionLocalStateQueryExpr (BlockInMode mode) ChainPoint (QueryInMode mode) () IO a) → IO (ChainTip, Either AcquireFailure a) Source #

Execute a local state query expression concurrently with a chain sync.

queryExprQueryInMode mode a → LocalStateQueryExpr block point (QueryInMode mode) r IO a Source #

Use queryExpr in a do block to construct monadic local state queries.

determineEraExprConsensusModeParams mode → LocalStateQueryExpr block point (QueryInMode mode) r IO AnyBccEra Source #

A monad expresion that determines what era the node is in.