Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
healthyCollectComTx :: (Tx, UTxO) Source #
healthyParticipants :: [VerificationKey PaymentKey] Source #
healthyCommits :: Map TxIn HealthyCommit Source #
healthyContestationPeriod :: ContestationPeriod Source #
healthyHeadTxIn :: TxIn Source #
healthyHeadTxOut :: TxOut CtxUTxO Source #
healthyCollectComInitialDatum :: State Source #
healthyOnChainParties :: [Party] Source #
healthyParties :: [Party] Source #
data HealthyCommit Source #
HealthyCommit | |
|
Instances
healthyCommitOutput :: OnChainId -> Party -> UTxO -> (TxIn, HealthyCommit) Source #
data CollectComMutation Source #
NotContinueContract | Ensures collectCom does not allow any output address but νHead. |
ExtractSomeValue | Needs to prevent that not all value is collected into the head output. |
MutateOpenUTxOHash | |
MutateCommitToInitial | Ensures collectCom cannot collect from an initial UTxO. |
MutateNumberOfParties | Every party should have commited and been taken into account for the collectCom transaction to be valid. Here we increase the number of parties in input and output but keep the commits unchanged. This simulates the situation where one participant would not have commited already or whose commit would have been ignored by the collectCom transaction. |
MutateHeadId | |
MutateRequiredSigner | |
MutateTokenMintingOrBurning | Minting or burning of tokens should not be possible in collectCom. |
RemoveSTFromOutput | νCommit validator checks the ST is in the output |
Instances
genCollectComMutation :: (Tx, UTxO) -> Gen SomeMutation Source #