Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Api.LedgerEvent
Synopsis
- data LedgerEvent
- = PoolRegistration
- | PoolReRegistration
- | IncrementalRewardsDistribution EpochNo (Map StakeCredential (Set (Reward StandardCrypto)))
- | RewardsDistribution EpochNo (Map StakeCredential (Set (Reward StandardCrypto)))
- | MIRDistribution MIRDistributionDetails
- | PoolReap PoolReapDetails
- | SuccessfulPlutusScript (NonEmpty PlutusDebug)
- | FailedPlutusScript (NonEmpty PlutusDebug)
- | NewGovernanceProposals (TxId StandardCrypto) AnyProposals
- | EpochBoundaryRatificationState AnyRatificationState
- data MIRDistributionDetails = MIRDistributionDetails {}
- data PoolReapDetails = PoolReapDetails {
- prdEpochNo :: EpochNo
- prdRefunded :: Map StakeCredential (Map (Hash StakePoolKey) Lovelace)
- prdUnclaimed :: Map StakeCredential (Map (Hash StakePoolKey) Lovelace)
- data AnyProposals = forall era.EraPParams era => AnyProposals (Proposals era)
- data AnyRatificationState = forall era.EraPParams era => AnyRatificationState (RatifyState era)
- toLedgerEvent :: ConvertLedgerEvent blk => WrapLedgerEvent blk -> Maybe LedgerEvent
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
Show LedgerEvent Source # | |
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.
Constructors
MIRDistributionDetails | |
Instances
Show MIRDistributionDetails Source # | |
Defined in Cardano.Api.LedgerEvent |
data PoolReapDetails Source #
Constructors
PoolReapDetails | |
Fields
|
Instances
Show PoolReapDetails Source # | |
Defined in Cardano.Api.LedgerEvent |
data AnyProposals Source #
Constructors
forall era.EraPParams era => AnyProposals (Proposals era) |
Instances
Show AnyProposals Source # | |
Defined in Cardano.Api.LedgerEvent |
data AnyRatificationState Source #
Constructors
forall era.EraPParams era => AnyRatificationState (RatifyState era) |
Instances
Show AnyRatificationState Source # | |
Defined in Cardano.Api.LedgerEvent |
toLedgerEvent :: ConvertLedgerEvent blk => WrapLedgerEvent blk -> Maybe LedgerEvent Source #