Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Specs necessary to generate, environment, state, and signal for the UTXO rule
Documentation
witnessDepositPurpose ∷ ∀ fn era. (Era era, IsConwayUniv fn) ⇒ WitUniv era → Specification fn DepositPurpose Source #
data DepositPurpose Source #
CredentialDeposit !(Credential 'Staking) | |
PoolDeposit !(KeyHash 'StakePool) | |
DRepDeposit !(Credential 'DRepRole) | |
GovActionDeposit !GovActionId |
Instances
utxoEnvSpec ∷ IsConwayUniv fn ⇒ UtxoExecContext ConwayEra → Specification fn (UtxoEnv ConwayEra) Source #
utxoStateSpec ∷ IsConwayUniv fn ⇒ UtxoExecContext ConwayEra → UtxoEnv ConwayEra → Specification fn (UTxOState ConwayEra) 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) → Pred fn Source #
depositsMap ∷ CertState era → Proposals era → Map DepositPurpose Coin Source #