Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data AdaPots = AdaPots {}
- totalAdaES ∷ (EraTxOut era, EraGov era) ⇒ EpochState era → Coin
- totalAdaPotsES ∷ (EraTxOut era, EraGov era) ⇒ EpochState era → AdaPots
- data Produced = Produced {
- proOutputs ∷ !Coin
- proFees ∷ !Coin
- proDeposits ∷ !Coin
- data Consumed = Consumed {
- conInputs ∷ !Coin
- conRefunds ∷ !Coin
- conWithdrawals ∷ !Coin
- consumedTxBody ∷ EraTxBody era ⇒ TxBody era → PParams era → CertState era → UTxO era → Consumed
- producedTxBody ∷ EraTxBody era ⇒ TxBody era → PParams era → CertState era → Produced
- sumAdaPots ∷ AdaPots → Coin
Documentation
Instances
totalAdaES ∷ (EraTxOut era, EraGov era) ⇒ EpochState era → Coin Source #
Calculate the total ada in the epoch state
totalAdaPotsES ∷ (EraTxOut era, EraGov era) ⇒ EpochState era → AdaPots Source #
Calculate the total ada pots in the epoch state
Itemizing what is Produced by a transaction
Produced | |
|
Itemizing what is consumed by a transaction
Consumed | |
|
consumedTxBody ∷ EraTxBody era ⇒ TxBody era → PParams era → CertState era → UTxO era → Consumed Source #
Compute the Coin part of what is consumed by a TxBody, itemized as a Consume
producedTxBody ∷ EraTxBody era ⇒ TxBody era → PParams era → CertState era → Produced Source #
Compute the Coin part of what is produced by a TxBody, itemized as a Produced
sumAdaPots ∷ AdaPots → Coin Source #