cardano-wallet-core-2022.7.1: The Wallet Backend for a Cardano node.
Safe Haskell None
Language Haskell2010

Cardano.Wallet.Primitive.Delegation.UTxO

Synopsis

Documentation

stakeKeyCoinDistr :: ( Address -> Maybe RewardAccount ) -> UTxO -> Map ( Maybe RewardAccount ) Coin Source #

Calculate how much Coin exists on each `Maybe RewardAccount` in the UTxO given a way to extract `Maybe RewardAccount` from an Address .

This is intended to be used with rewardAccountFromAddress , which exists elsewhere because of the cardano-wallet-core / cardano-wallet split.