cardano-api-8.36.1.1: The cardano api
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.LedgerEvent

Synopsis

Documentation

data LedgerEvent Source #

Constructors

PoolRegistration

The given pool is being registered for the first time on chain.

PoolReRegistration

The given pool already exists and is being re-registered.

IncrementalRewardsDistribution EpochNo (Map StakeCredential (Set (Reward StandardCrypto)))

Incremental rewards are being computed.

RewardsDistribution EpochNo (Map StakeCredential (Set (Reward StandardCrypto)))

Reward distribution has completed.

MIRDistribution MIRDistributionDetails

MIR are being distributed.

PoolReap PoolReapDetails

Pools have been reaped and deposits refunded.

SuccessfulPlutusScript (NonEmpty PlutusDebug)

A number of succeeded Plutus script evaluations.

FailedPlutusScript (NonEmpty PlutusDebug)

A number of failed Plutus script evaluations.

NewGovernanceProposals (TxId StandardCrypto) AnyProposals

Newly submittted governance proposals in a single transaction.

EpochBoundaryRatificationState AnyRatificationState

The current state of governance matters at the epoch boundary. I.E the current constitution, committee, protocol parameters, etc.

Instances

Instances details
Show LedgerEvent Source # 
Instance details

Defined in Cardano.Api.LedgerEvent

data MIRDistributionDetails Source #

Details of fund transfers due to MIR certificates.

Note that the transfers from reserves to treasury and treasury to reserves are inverse; a transfer of 100 ADA in either direction will result in a net movement of 0, but we include both directions for assistance in debugging.

data PoolReapDetails Source #

Constructors

PoolReapDetails 

Fields

data AnyProposals Source #

Constructors

forall era.EraPParams era => AnyProposals (Proposals era) 

Instances

Instances details
Show AnyProposals Source # 
Instance details

Defined in Cardano.Api.LedgerEvent

data AnyRatificationState Source #

Constructors

forall era.EraPParams era => AnyRatificationState (RatifyState era) 

toLedgerEvent :: ConvertLedgerEvent blk => WrapLedgerEvent blk -> Maybe LedgerEvent Source #