Skip to content

Commit

Permalink
Export AdaPots and related functions from Wallet API
Browse files Browse the repository at this point in the history
  • Loading branch information
teodanciu committed May 18, 2022
1 parent 03141e1 commit 58c4000
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eras/shelley/impl/src/Cardano/Ledger/Shelley/API/Wallet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ module Cardano.Ledger.Shelley.API.Wallet
-- * Transaction helpers
CLI (..),
addShelleyKeyWitnesses,
-- -- * Ada pots
AdaPots (..),
totalAdaES,
totalAdaPotsES,
)
where

Expand Down Expand Up @@ -68,6 +72,11 @@ import Cardano.Ledger.PoolDistr
PoolDistr (..),
)
import Cardano.Ledger.Shelley (ShelleyEra)
import Cardano.Ledger.Shelley.AdaPots
( AdaPots (..),
totalAdaES,
totalAdaPotsES,
)
import qualified Cardano.Ledger.Shelley.EpochBoundary as EB
import Cardano.Ledger.Shelley.LedgerState
( DPState (..),
Expand Down

0 comments on commit 58c4000

Please sign in to comment.