Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Specs necessary to generate, environment, state, and signal for the UTXO rule
Documentation
data DepositPurpose c Source #
CredentialDeposit !(Credential 'Staking c) | |
PoolDeposit !(KeyHash 'StakePool c) | |
DRepDeposit !(Credential 'DRepRole c) | |
GovActionDeposit !(GovActionId c) |
Instances
utxoEnvSpec ∷ IsConwayUniv fn ⇒ UtxoExecContext Conway → Specification fn (UtxoEnv (ConwayEra StandardCrypto)) Source #
utxoStateSpec ∷ IsConwayUniv fn ⇒ UtxoExecContext (ConwayEra StandardCrypto) → UtxoEnv (ConwayEra StandardCrypto) → Specification fn (UTxOState (ConwayEra StandardCrypto)) Source #
data UtxoExecContext era Source #
Instances
utxoTxSpec ∷ (IsConwayUniv fn, HasSpec fn (AlonzoTx era)) ⇒ UtxoExecContext era → Specification fn (AlonzoTx era) Source #
correctAddrAndWFCoin ∷ IsConwayUniv fn ⇒ Term fn (TxOut (ConwayEra StandardCrypto)) → Pred fn Source #
depositsMap ∷ CertState era → Proposals era → Map (DepositPurpose (EraCrypto era)) Coin Source #