Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ChainState Source #
TxInState | |
|
data ChainIndex Source #
ChainIndex | |
|
Instances
Semigroup ChainIndex Source # | |
Defined in Test.QuickCheck.ContractModel.Internal.ChainIndex (<>) :: ChainIndex -> ChainIndex -> ChainIndex Source # sconcat :: NonEmpty ChainIndex -> ChainIndex Source # stimes :: Integral b => b -> ChainIndex -> ChainIndex Source # |
class HasChainIndex m where Source #
getChainIndex :: m ChainIndex Source #
getChainState :: m ChainState Source #
Instances
allMinAda :: ChainIndex -> ProtocolParameters -> [Lovelace] Source #
type FeeCalculation = NetworkId -> TxInState -> Map (AddressInEra Era) Value Source #
mkAddrFromWitness :: NetworkId -> KeyWitness Era -> Address ShelleyAddr Source #
getBalanceChangesDiscountingFees :: ChainIndex -> FeeCalculation -> Map (AddressInEra Era) Value Source #
txBalanceChanges :: TxInState -> Map (AddressInEra Era) Value Source #