plutus-ledger-api-1.30.0.0: Interface to the Plutus ledger for the Cardano ledger.
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusLedgerApi.Test.Examples

Description

This module contains example values to be used for testing. These should NOT be used in non-test code!

Synopsis

Documentation

alwaysSucceedingNAryFunctionNaturalSerialisedScript Source #

Creates a script which has N arguments, and always succeeds.

alwaysFailingNAryFunctionNaturalSerialisedScript Source #

Creates a script which has N arguments, and always fails.

saltFunctionIntegerSerialisedScriptSerialisedScript Source #

Wrap a script with lambda/app so that, for instance, it has a different hash but the same behavior.