bcc-api-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.Api.LedgerEvent

Synopsis

Documentation

data LedgerEvent Source #

Constructors

PoolRegistration Certificate

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

PoolReRegistration Certificate

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

RewardsDistribution EpochNo (Map StakeCredential Entropic)

Rewards are being distributed.

MIRDistribution MIRDistributionDetails

MIR are being distributed.

PoolReap PoolReapDetails

Pools have been reaped and deposits refunded.

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 BCC 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

toLedgerEvent ∷ ConvertLedgerEvent blk ⇒ WrapLedgerEvent blk → Maybe LedgerEvent Source #