Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Hydra.Chain.Direct.Contract.Init
Description
Mutation-based script validator tests for the init transaction where a
healthyInitTx
gets mutated by an arbitrary InitMutation
.
Documentation
healthyInitTx :: (Tx, UTxO) Source #
healthyHeadParameters :: HeadParameters Source #
healthySeedInput :: TxIn Source #
healthyParties :: [Party] Source #
healthyCardanoKeys :: [VerificationKey PaymentKey] Source #
healthyLookupUTxO :: UTxO Source #
data InitMutation Source #
Constructors
MintTooManyTokens | Mint more than one ST and PTs. |
MutateAddAnotherPT | |
MutateDropInitialOutput | |
MutateDropSeedInput | |
MutateInitialOutputValue | |
MutateHeadIdInDatum | |
MutateSeedInDatum |
Instances
data ObserveInitMutation Source #
Constructors
MutateSomePT |
Instances
genInitMutation :: (Tx, UTxO) -> Gen SomeMutation Source #