_algopy_testing.models.logicsig

Module Contents

Classes

LogicSig

A logic signature.

Functions

logicsig

Decorator to indicate a function is a logic signature.

API

class LogicSig(func: collections.abc.Callable[[], bool | algopy.UInt64], name: str)

A logic signature.

Initialization

logicsig(
sub: collections.abc.Callable[[], bool | algopy.UInt64] | None = None,
*,
name: str | None = None,
) algopy.LogicSig | collections.abc.Callable[[collections.abc.Callable[[], bool | algopy.UInt64]], _algopy_testing.models.logicsig.LogicSig]

Decorator to indicate a function is a logic signature.