Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module contains example values to be used for testing. These should NOT be used in non-test code!
Documentation
alwaysSucceedingNAryFunction ∷ Natural → SerialisedScript Source #
Creates a script which has N arguments, and always succeeds.
alwaysFailingNAryFunction ∷ Natural → SerialisedScript Source #
Creates a script which has N arguments, and always fails.
saltFunction ∷ Integer → SerialisedScript → SerialisedScript Source #
Wrap a script with lambda/app so that, for instance, it has a different hash but the same behavior.